PLC Basic Programming
PLC Basic Programming
Instruction Addressing
Instruction Addressing
Instruction Addressing
Evaluate ladder
Inputs
• Input instructions change state
when power is applied to the input
terminal with the corresponding
address
Inputs
Set/Reset
• A Set instruction remains True
even after the rung conditions
that made it True become False
• A Set instruction must be
accompanied by a Reset
instruction addressed with the
same address in order to reset
the bit, based on your logic
Set/Reset Example
Timer 1 Out 1
In 2 Out 2
Ladder is evaluated
(scanned) starting from the
top rung, left to right,
followed by the next rung,
and so on, until the bottom
is reached. Then starts
© 2012 Eaton Corporation. All rights reserved. 11
PLC Programming Basics
If Input A OR
Input B is true,
the Output will
energize
• Timers
• Two basic types of timers in PLCs:
1. On-delay timers
2. Off-delay timers
• On-delay timers
When an On-delay timer is
energized (True) it delays
turning On the timer’s output bit
until the timer’s preset time
value is reached. The output bit
is often called the timer’s
“Done” bit and it indicates the
timer has attained its preset
time.
© 2012 Eaton Corporation. All rights reserved. 15
PLC Programming Basics - Timers
• Off-delay timers
When an Off-delay timer is
energized (True) it immediately
turns On its output (Done) bit.
The timer then delays turning Off
the output (Done) bit for the
timer’s preset time, after the
timer is de-energized (False).
Off-delay timers are less common
than On-delay timers.
© 2012 Eaton Corporation. All rights reserved. 16