34
Instruction Functions Section 2-2
2-2-4 Timer and Counter Instructions
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
HUNDRED-MS
TIMER
TIM
(BCD)
TIMX
(Binary)
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
Output
Required
245
TEN-MS TIMER
TIMH
015
(BCD)
TIMHX
551
(Binary)
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
TIMH(015)/TIMHX(551) operates a decrementing timer with units of
10-ms. The setting range for the set value (SV) is 0 to 99.99 s for BCD
and 0 to 655.35 s for binary (decimal or hexadecimal).
Output
Required
249
ONE-MS TIMER
TMHH
540
(BCD)
TMHHX
552
(BCD)
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
TMHH(540)/TMHHX(552) operates a decrementing timer with units of
1-ms. The setting range for the set value (SV) is 0 to 9.999 s for BCD
and 0 to 65.535 s for binary (decimal or hexadecimal).
Output
Required
253
TIM
N
S
N: Timer number
S: Set value
SV
SV
Timer input
Timer PV
Timer input
Timer PV
TIM/TIMX(550) operates a decrementing timer with units of 0.1-s.
The setting range for the set value (SV) is 0 to 999.9 s for BCD
and 0 to 6,553.5 s for binary (decimal or hexadecimal).
Completion
Flag
Completion
Flag
TIMX(550)
N
S
N: Timer number
S: Set value
TIMH(015)
N
S
N: Timer number
S: Set value
SV
SV
Timer input
Timer PV
Timer input
Timer PV
Completion
Flag
Completion
Flag
TIMHX(551)
N
S
N: Timer number
S: Set value
TMHH(540)
N
S
N: Timer number
S: Set value
SV
SV
Timer input
Timer PV
Timer input
Timer PV
Completion
Flag
Completion
Flag
TMHHX(552)
N
S
N: Timer number
S: Set value