1986
36 COUNTER/TIMER FUNCTION BLOCKS
36.3 Up/Down Counter
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.
Execution condition Operation result
EN ENO (d1), (d2), (d3)
TRUE (executed) TRUE Operation result output value
FALSE (not executed) FALSE Previous output value
(1) When (s1) turns on while EN is on, the value in (d3) is counted up.
(2) When (s3) turns on while EN is on, the value in (d3) is initialized.
(3) When (s2) turns on while EN is on, the value in (d3) is counted down.
(4) When (s4) turns on while EN is on, the value in (d3) is initialized.
OFF
ON ON ON ON ON
EN
OFF OFF
ON
(s1)
OFF OFF
ON
OFF
ON
(s2)
OFF OFF
ON
(s3)
OFF OFF
ON
OFF
ON
(s4)
OFF
ON
201001 321
ENO
OFF
OFF
ON
(d1)
ON ON ON
(d2)
(d3)
OFF
ON
OFF
ON
OFF
ON
OFF
ON ON
OFF
ON
OFF
ON
OFF
ON ON
OFF
ON
ON ON ON ON
(1) (2)
(3) (4)