36 COUNTER/TIMER FUNCTION BLOCKS
36.2 Down Counter
1983
36
■Operation result
1. Function block without EN/ENO
The operation processing is performed. The operation result is output from (d1) and (d2).
• Timing chart
When (n)=3
2. Function block with EN/ENO
The execution conditions and operation results will be as follows.
• Timing chart
When (n)=3
There is no operation error.
(1) When (s2) turns on, the value in (d2) is initialized.
(2) When (s1) turns on, the value in (d2) is counted down.
Execution condition Operation result
EN ENO (d1), (d2)
TRUE (executed) TRUE Operation result output value
FALSE (not executed) FALSE Previous output value
(1) When (s2) turns on while EN is on, the value in (d2) is initialized.
(2) When (s1) turns on while EN is on, the value in (d2) is counted down.
OFF OFF
ON
OFF
ON
(s1)
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
30 321 0 21
OFF
ON
ON
OFF
ON
(s2)
OFF
ON
OFF
(d1)
(d2)
(1) (2)
OFF
ON ON
EN
ON ON ON ON ON ON
OFF OFF
ON
OFF
ON
(s1)
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF OFF
ON
OFF
ON
(s2)
ENO
OFF
3021032
OFF
ON
(d1)
(d2)
ON
OFF
(1) (2)