26 COUNTER FUNCTION BLOCKS
26.2 Down Counter
851
26
â– Operation result
1. Function block without EN/ENO
The operation processing is executed. The operation output value is output from (d1) and (d2).
• Timing chart
2. Function block with EN/ENO
The following table lists the execution conditions and operation results.
• Timing chart
There is no operation error.
When 3 is specified in n
Execution condition Operation result
EN ENO (d1), (d2)
TRUE (Executes operation) TRUE Operation output value
FALSE (Stops operation) FALSE Previous output value
When 3 is specified in n
OFF OFF
ON
OFF
ON
(s1)
OFF
ON
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)
When (s2) is on,
(d2) is initialized.
On the falling edge of (s1),
(d2) counts down.
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)
OFF
ENO
30 2 1 0 -1 -2 -3
OFF
ON
(d1)
(d2)
ON
OFF
When EN and (s2) are on,
(d2) is initialized.
When EN is on and on the falling edge of (s1),
(d2) counts down.