Appendices
A-12
CJ2 CPU Unit Software User’s Manual
LONG TIMER TIML
(BCD)
542 Output Required
TIMLX
(Binary)
553
MULTI-OUT-
PUT TIMER
MTIM
(BCD)
543 Output Required
MTIMX
(Binary)
554
TIMER RESET TRSET 549 Resets the specified timer. Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
TIML(542)
D1
D2
S
D1: Completion
Flag
D2: PV word
S: SV word
Timer input
Timer PV
SV
Completion Flag
(Bit 00 of D1)
TIML(542)/TIMLX(553) operates a decrementing timer
with units of 0.1-s that can time up to approx. 115 days
for BCD and 49,710 days for binary (decimal or
hexadecimal).
S+1, S
D2+1, D2
TIMLX(553)
D1
D2
S
D1: Completion
Flag
D2: PV word
S: SV word
MTIM(543)
D1
D2
S
D1: Completion
Flags
D2: PV word
S: 1st SV word
0
SV 7
SV 2
SV 1
SV 0
0
to
to
Timer input
Timer PV (D2)
to
Completion
Flags (D1)
Bit 7
to
Timer PV
Timer SVs
Bit 2
Bit 1
Bit 0
MTIM(543)/MTIMX(554) operates a 0.1-s incrementing
timer with 8 independent SVs and Completion Flags. 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).
D1 bits
MTIMX(554)
D1
D2
S
D1: Completion
Flags
D2: PV word
S: 1st SV word
TRSET(549)
N
N: Timer number