Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: What is an Instruction List? – PLC Programming
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
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 !

Continue Reading

PLC Analog I/O and Network I/O
Best Way to Build Troubleshooting Mindset for Automation Engineer
What is a Retro-Reflective Sensor? – Principle, Applications
What are AI, AO, DI, and DO? – Definition, Examples, Purpose
Top 100 PLC Projects List
Omron PLC for Product Painting with Integrated Weighing System
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
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Rules for Writing SCL Language in Tia Portal
#4 PLC Best Practices – Use PLC Flags as Integrity Checks
Automatic Coffee Vending Machine – PLC Logic Programming
PID in Studio 5000
Types of Interlocks
How to Read the PLC Datasheet? – Important Notes About PLC
Contacts and Coils in PLC Ladder Logic
Edge Detection in PLC Programming

Keep Learning

InTouch SCADA Password Protection

InTouch SCADA Login Password Security

Real-time and historical SCADA Trends

What are Trends in SCADA?

Online PLC Ladder Logic

Mis-conceptions of PLC Ladder Logic

Best Practices of PLC Wiring

Best Practices of PLC Wiring – Programmable Logic Controller

Lamp Counter Logic

Function Block (FB) for Motor Control Logic

How to Design a Motor Faceplate in Graphics - SCADA Tutorials

How to Design a Motor Faceplate in Graphics? – SCADA Tutorials

PLC Totalizer

PLC Program for Flow Totalizer

PLC Boxes Sorting Based on Height

PLC Programming: Sorting and Distribution of Boxes by Height

Learn More

Read Temperature in PLC

PLC Program to Read Temperature in PLC

Electric Solenoid Actuators Principle

What is a Electric Solenoid Actuator ?

Averaging Pitot Tube Principle

What is a Torbar? – Averaging Pitot Tubes

Gas-to-air-mixture

Basics of Gas Monitoring

Difference between Signal Cables and Control Cables

Difference between Signal Cables and Control Cables

What is Linear Electric Motor

What is Linear Electric Motor?

Data Transmission Objective Questions

Data Transmission Objective Questions

PLC-Complete-Training-Package

Free PLC Training Software Download

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

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?