You are on page 1of 12

Counter & Timer in PLC S7

Counter
Counter is a simple device intended to do one simple thing – count. We have three kind of
counter. First counter is called S_CU and it counts up, it's means it count from 0 to requiered
value by one. Second counter which is called S_CD counts down, it's means it count from begin
value to zero. And Third counter which is called S_CUD counts down and up. Direction of count
depend on input. If I use inptu CU, S_CUD counts up. If I use inptu CU, S_CUD counts down.
Counter UP/DOWN
Counter UP
Counter Down
Timers
What is a timer? Its exactly what the word says... it is an instruction that waits a set amount of
time before doing something. Sounds simple doesn't it.
S_PULSE
S_PEXT
S_ODT

You might also like