PLC Programming Languages
PLC Programming Languages
PROGRAMMING LANGUAGES
ICE BREAKER 🧊
LADDER LOGIC AND PLC
PROGRAMMING LANGUAGES
PLC programming languages (IEC 61131-3)
PLCs have evolved in different ways depending on the
manufacturer. Programming software and methods of
handling data can differ immensely from platform to
platform. Because of this, the International
Electrotechnical Commission (IEC) created an open
standard in 1982 that defines what equipment, software,
communications, safety and other aspects of
programmable controllers should look like. After the
national committees had reviewed the first draft, they
decided it was too complex to treat as one document. They
originally split it into five sections:
5 types of PLC Programming
Languages
PLC Programming Languages
LS1 A B D Y
C
(LS1)
AND_BOOL
A B
A
Ladder diagram
B
A BAND_01
OR_BOOL
BAND
A
B Boolean And Caution
B 0
Out PL 1
0
AND_BOOL Sensor 1 In1
A B
A 0
Sensor 2 In2
B
Function block diagram
• Sequential function
Initial
chart programming Step 1
Action
advanced processes
Step 3 Action
Stop
PLC Programming Languages: Instruction List
The OTE is an output instruction and will set a boolean to TRUE if all the
preceding conditions are TRUE leading to it. The OTE would also set the
boolean to FALSE should there be no TRUE path of inputs leading to it. The
Output Energize instruction is used to set digital outputs on field devices such
as valves, motor contactors, relays, solenoids and more.
Ladder Logic Programming in RSLogix
5000 Basics
Examine If Closed [XIC]
We've looked at these instructions at the start of the tutorial. It's the
essential input check you can make on your data. In short, if the
boolean assigned to the XIC is TRUE, the output will go through. If it's
FALSE, it won't. Although it may seem that this would have limited
utility, many of the advanced constructs within PLCs have a boolean
state. For example, a Variable Frequency Drive may have an array of
boolean structures that are tied to different faults. Therefore, you may
create the same number of XIC instructions to verify which failure is
present on the drive
Ladder Logic Programming in RSLogix 5000
Basics
Timer ON [TON]
Timers are a basic data-structure of PLCs. They allow the user to create
a condition that will start an internal timer and execute an action based
on what the user has programmed.
Limit Switch | Examples of common industrial limit switches that are wired to a PLC
and programmed using Ladder Logic
QUIZ TIME!
REFERENCES:
https://www.controleng.com/articles/plc-programmin
g-language-fundamentals-for-improved-operations-m
aintenance/
https://www.solisplc.com/tutorials/how-to-read-ladde
r-logic
THANK YOU!!!