D-48
Mnemonic Function
TMR 16-bit
timer
Operand
T-K T0~T15,
K0~K32,767
T-D T0~T15,
D0~D29
Explanations:
When TMR command is executed, the specific coil of timer is ON and timer will start to count. When
the setting value of timer is attained (counting value >= setting value), the contact will be as
following:
NO(Normally Open) contact
Close
NC(Normally Closed) contact
Open
Program Example:
Ladder diagram:
Command code:
Operation:
X0
T5
TMR
K1000
LD
X0
Load contact A of X0 T5 timer
TMR T5 K1000
Setting is K1000
Mnemonic Function
CNT 16-bit
counter
Operand
C-K
C0~C7, K0~K32,767
C-D
C0~C7, D0~D29
Explanations:
1.
When the CNT command is executed from OFF
ON, which means that the counter coil
is driven, and 1 should thus be added to the counter’s value; when the counter achieved
specific set value (value of counter = the setting value), motion of the contact is as follows:
NO(Normally Open) contact
Close
NC(Normally Closed) contact
Open
2.
If there is counting pulse input after counting is attained, the contacts and the counting
values will be unchanged. To re-count or to conduct the CLEAR motion, please use the
RST command.