26 COUNTER FUNCTION BLOCKS
26.1 Up Counter
849
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
ON ON
OFF
ON
OFF
ON
ON ON
(s1)
OFF OFF
ON
(s2)
OFF
201 3 201
OFF
ON
(d1)
(d2)
When (s2) is on,
(d2) is cleared to 0.
When (s1) is on,
(d2) counts up.
OFF OFF
ON
OFF
ON
(s1)
ON
ON
OFF
ON
OFF
ON
ON ON
OFF OFF
ON
(s2)
OFF OFF
ON
(d1)
(d2)
OFF
ON
ON
201 3 0 1
ENO
ON
ON ON
When EN and (s1) are on,
(d2) turns on.
When (s2) is on,
(d2) is cleared to 0.