Professional Documents
Culture Documents
Siemens: S7-200 PLC Training Courses
Siemens: S7-200 PLC Training Courses
:Special instructions
They are used to manipulate data
.Shift, table, conversion, real time instruction
Not contact
Input contacts example
Output instructions
Output Instruction
No Operation instruction
O.L. contact
Circuit Breaker
Stop
Contactor
Star Aux. contact
t
Thermal
Overload Contact coil
Induction
Motor
Induction Motor
Using PLC
Before start
Starting
After start
Stopping
Input & Output connections
Timer instructions
On-Delay Timer
Off-Delay Timer
On-Delay & Retentive On-Delay timers
The On-Delay timer current value is cleared when (IN) is OFF, while the
.current value of the Retentive On-Delay Timer is maintained
You can use the Retentive On-Delay Timer to accumulate time for multiple
.periods of the input ON
Off-Delay timer
When (IN) turns ON, the timer bit turns ON immediately, and the
.current value is set to 0
When (IN) turns OFF, the timer counts till PT and the timer bit
.turns OFF and the current value stops counting
If the input is OFF for a time shorter than PT, the timer bit
.remains ON
Timers numbers & resolutions
Note
.You cannot share the same timer numbers for TOF and TON
.For example, you cannot have both a TON T32 and a TOF T32
Timer examples
On-Delay
Retentive
On-Delay
Off-Delay
Hard-wired on-delay timer
Timer example
TONR example
Timer example
Counter instructions
Up counter
Up/down counter
Down counter
When the current value (Cxxx) > (PV), the counter bit
.(Cxxx) turns on
.The counter is reset when the Reset (R) input turns on
Up/Down counter
. It counts down from the PV on the rising edges of the (CD) input
When the current value is equal to zero, the counter bit (Cxxx)
.turns on
The counter resets the counter bit (Cxxx) and loads the current
.value with the (PV) when the load input (LD) turns on
Down-counter example
Up/down-counter example
Counter example