1990
36 COUNTER/TIMER FUNCTION BLOCKS
36.5 Pulse Timer
■Operation result
1. Function block without EN/ENO
The operation result will be as follows.
• Timing chart
When n=T#5s (5s)
2. Function block with EN/ENO
The execution conditions and operation results will be as follows.
• Timing chart
When n=T#5s (5s)
Operation result (d1), (d2)
No operation error Operation result output value
Operation error Undefined value
(1) When (s) turns on, (d1) turns on. When (s) turns on, (d2) starts measuring time.
(2) When the time measured in (d2) reaches the time set in (n), (d1) turns off.
(3) When both (s) and (d1) are off, the value in (d2) is initialized.
Execution condition Operation result
EN ENO (d1), (d2)
TRUE (executed) TRUE (no operation error) Operation result output value
FALSE (operation error) Undefined value
FALSE (not executed) FALSE Previous output value
(1) When (s) turns on while EN is on, (d1) turns on. When (s) turns on while EN is on, (d2) starts measuring time.
(2) While EN is on, the time value is incremented by 1.
(3) When the time measured in (d2) reaches the time set in (n), (d1) turns off.
(4) When EN is on and both (s) and (d1) are off, the value in (d2) is initialized.
OFF
ON
OFF
ON ON
OFF OFF
ON ON
(s)
(d1)
(d2)
0012345 0 012 43
(1) (2) (3)
OFF
ON ON ON ON ON
EN
OFF
ON
OFF
(s)
OFF
ENO
OFF OFF
ON ON
(d1)
(d2)
00 1 2 3 540123
(1)
(2)
(3)
(4)