PLC Software: Hand Held Programmer
PLC Software: Hand Held Programmer
PLC Software: Hand Held Programmer
Comparison blocks
Less than
Less than or equal to
Greater than
Greater than or equal to
Equal to
Not equal to
Arithmatic block
Converter blocks
Binary addition
Binary subtraction
Binary multiplication
Binary division
BCD to integer
BCD to double integer
Integer to BCD
Integer to double integer
Timers
On delay
Off delay
Counters
Up counter
Down counter
Programming Methods
Different manufacturers have different procedures but all do follow ladder at
elementary level.
Some other advance techniques are
Function block diagram
Statement List
Programming through higher level language
Ladder technique
In this method the two ends of the ladder are formed by power supply.
If it is AC it becomes phase and neutral and if DC positive and negative
The contacts and other actions as required by the user is selected at the time
of programming as per requirement and finally connected to a coil.
If the input conditions are satisfied the coil gets actuated else not activated.
Each step in a ladder ends invariably with a coil.
Number of steps depend on the application.
While executing the logics the ladder performs step by step
It is apparent that coil in each step though an output it need not be an object.
It is so because it is an intermediate result. These intermediate results are
stored as flags
AN user encounter the following parameters while programming
Input ------------ May be a bit or byte or word or double word
Output ---------- May be a bit or byte or word or double word
Flag ----------- May be a bit or byte or word or double word
The syntax has to be entered by the programmer properly for precise
execution of the program.
To get the proper understanding of the programming the following syntax
are used, This will change with PLC models.
Type
Input
Output
Bit
Byte
Word
Ix.y
IB
IW
Qx.y
QB
QW
Flag
Mx.y
MB
MW
Dword
ID
QD
MD
The programming of various blocks are discussed as under
PULSE TIMER
ON DELAY TIMER
UP COUNTER
DOWN COUNTER
COMPARISON