Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: What is an Instruction List? – PLC Programming
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > What is an Instruction List? – PLC Programming

What is an Instruction List? – PLC Programming

A PLC program written in Instruction List language consists of series of instructions that are executed sequentially by the logic controller.

Last updated: October 18, 2023 2:51 pm
Viral Nagda
PLC Tutorials
No Comments
Share
7 Min Read
SHARE

PLC programming has five types of languages – ladder logic, instruction list, structured text, functional block diagram, and sequential flow chart. Each type of PLC language has its own merits and demerits. While some of the languages look good visually and are easy to troubleshoot, other languages have lower memory consumption and faster processing speed.

Contents
What is an Instruction List?Components of Instruction ListInstruction List in PLC Programming

One of the most basic PLC languages used is the instruction list. It is not as famous as other languages and is used only by a few PLC programmers due to outdated technology, but still available in almost all the software of PLC manufacturers. In this post, we will see the concept of instruction list language in PLC.

What is an Instruction List?

A PLC program written in Instruction List language consists of a series of instructions that are executed sequentially by the logic controller. Each instruction is represented by a single program line and consists of the following components:

  • Line number
  • Current value (in online mode only)
  • Instruction operator
  • Operand(s)
  • Optional comment

Basically, if you have seen traditional assembly language used in microprocessors, then you would easily relate to this language. It can also be termed as a mixture of ladder logic and structured text. Ladder logic in the sense that instructions must be written in a linear way, and structured text in the sense that mnemonics are used in words.

Refer to the below image for more understanding. The first image shows a PLC logic written in ladder language. The logic is – %M3 will turn on if %M0 is on and %M1 is on or %M2 is on.

PLC Programming Sample

Now, refer to the below logic for the instruction list. You can see that each line has only one component – the first line has %M0, and the second line has %M1 doing AND logic with the next line.

The third line has %M2 doing OR logic with the previous line, the fourth line closes the commands and the fifth line turns on the output %M3. It is thus a representation of both the ladder logic and structured text.

What is an Instruction List

Components of Instruction List

The main components of a PLC instruction list are mentioned below.

  • Line number – Four-digit line numbers are generated when you create a new program line and are managed automatically by the software. It can be seen in the above figure as 0000 to 0004.
  • Current values – In online mode, you can see the current values of each element, as shown in the below figure. It is indicated as true or false in the below image during online animation.
  • Instruction operators – This operator is a type of command for executing an instruction. It can also be termed as the input side and output side of the logic written. It is a mnemonic symbol that is used to denote the type of command to be performed on the output side, and also how the output side will execute it. For example, in the above image, LD stands for load which starts the execution by loading the value of the first bit, AND / OR denotes logical instructions and ST denotes storing values of the result in the destination bit.
  • Comment – This is optional. It allows the programmer to write any comment to help him troubleshoot the logic easily.
Instruction List in PLC Programming

Instruction List in PLC Programming

Some of the instructions list of PLC are mentioned below.

  • LD – Loads the Boolean value of the operand into the accumulator.
  • LDN – Loads the negated Boolean value of the operand into the accumulator.
  • LDR – Loads the Boolean value of the operand into the accumulator when the value changes from 0 to 1 (rising edge).
  • LDF – Loads the Boolean value of the operand into the accumulator when the value changes from 1 to 0 (falling edge).
  • AND – It performs an AND operation between the previous result and the current operand.
  • ANDN – It performs an AND operation between the previous result and the inverse of the current operand.
  • ANDR – It performs AND operation between the previous result and the rising edge of the current operand.
  • ANDF – It performs an AND operation between the previous result and the falling edge of the current operand.
  • OR – It performs OR operation between the previous result and the current operand.
  • NOT – It performs the inverse operation of the operand.
  • ST – It takes the value of the result generated.
  • STN – It takes the inverse value of the result generated.
  • S – It does the set operation of the operand.
  • R – It does the reset operation of the operand.

Apart from these, it has other instructions too like jump, subroutine, end, AND with, OR with, etc. depending on the PLC manufacturer.

In this way, we saw the concept of the instruction list in PLC programming.

If you liked this article, then please subscribe to our YouTube Channel for Instrumentation, Electrical, PLC, and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • PID Controllers Explained
  • Comparison of Control Loops
  • Top Best Practices of PLC Wiring
  • Site Commissioning Steps for PLC
  • Top 100 PLC Projects for Students
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !
PLC Energize or De-energize the Outputs based on Events
PLC Programming to Control Lights in a Sequence
STL Programming – SET, RESET, ASSIGN
PLC Program for Daily Production Record
PLC Ladder Program for Automatic Car Wash using Siemens TIA Portal
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

Top Automation Vendors

Top Automation Vendors from Around the World – An Overview

different PLC brands of Distributed IO

What is Distributed IO? – Decentralized Peripherals in PLC

Car Parking System using PLC Programming

Car Parking System using PLC Programming

Ladder Logic Questions and Answers

Ladder Logic MCQ Questions and Answers

Boolean Algebra to PLC Logic

From Boolean Algebra to PLC Logic

PLC or DCS Control System Spares

PLC or DCS Control System Spares

Siemens Communication between PLCs using I-Device

Tutorial: Siemens Communication between PLCs using I-Device

Ladder Logic for Motor Control

PLC Programming for 3 Motors control in Ladder logic

More Articles

What is a Network

What is a Network ?

control of level in three cascaded Loops

Multiple Lags (orders)

PLC Program using Timers

PLC Timers Program

5 Tips to Pass CFSE Exam

5 Tips to Pass CFSE Exam

Voltage Polarities

Voltage Polarity and Current Direction

level control system

Practical Process Control System Questions & Answers – 11

ESG in Industrial PLC Automation Systems

ESG in Industrial PLC Automation Systems

Analog Electronics Objective Questions

Analog Electronics Objective Questions – Set 6

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?