43
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2 Instruction Functions
2
2-2-4 Timer and Counter Instructions
ONE-MS TIMER
TMHH
540
(BCD)
TMHHX
552
(BCD)
(CJ2, 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
225
TENTH-MS
TIMER (CJ1-H-R
and CJ2 only)
TIMU
541
(BCD)
TIMU(541)/TIMUX(556) operates an decrementing timer with units of
0.1-s. The setting range for the set value (SV) is 0 to 0.999 s for BCD
and 0 to 6,553.5 s for binary (decimal or hexadecimal).
Note: The timer’s present value cannot be accessed for a TENTH-MS
TIMER instruction.
Output
Required
228
TIMUX
556
(BCD)
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
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
N: Timer number
S: Set value
TIMU(541)
N
S
ON
OFF
0
ON
OFF
Timer Input Turns OFF before Completion Flag Turns ON
SV
ON
OFF
0
ON
OFF
Timer input
Timer PV
Completion
Flag
Timer input
Timer PV
Completion
Flag
SV
N: Timer number
S: Set value
TIMUX(556)
N
S