Professional Documents
Culture Documents
Programmable Logic Controller (PLC) - Programming Languages
Programmable Logic Controller (PLC) - Programming Languages
CONTROLLER (PLC)-
PROGRAMMING LANGUAGES
LEARNING OBJECTIVE : AFTER END OF THE
SESSION TRAINEES ARE ABLE TO KNOW
Output on right side can not be connected directly with left side.
The inputs and outputs are all identified by their addresses, the
notation used depending on the PLC manufacturer.
LADDER LOGIC –ADVANTAGES AND
DISADVANTAGES
Advantages
The rungs allow it to be organized and easy to follow.
Disadvantages
LD/STR Load/start Starts a logic sequence with a NO
contact
LDN/STRN Load/start not Starts a logic sequence with a NC
contact
AND And point Makes a NO contact series
connection
connection
OR Or point Makes a NO contact parallel
connection
ORN Or not point Makes a NC contact parallel
connection
output coil
SEQUENTIAL FUNCTION CHART (SFC)
Step
Action
STRUCTURED TEXT(ST)
Structured Text is a high-level language that is like
Basic, Pascal and “C”.
It is a very powerful tool that can execute complex tasks
utilizing algorithms and mathematical functions along
with repetitive tasks.
The code uses statements that are separated by
semicolons and then either inputs, outputs, or variables
are changed by these statements.
You must write out each line of code and it uses
functions such as FOR, WHILE, IF, ELSE, ELSEIF
AND CASE.
ST –ADVANTAGES AND
DISADVANTAGES
Advantages
1.It is very organized and good at computing large
mathematical calculations.
2. It will enable you to cover some instructions that are
not available in some other languages like the Ladder
Diagram.
Disadvantages
2. It is hard to debug.