3. Instructions
1072
CS/CJ/NSJ Series Instructions Reference Manual (W474)
TIMW/TIMWX
Applicable Program Areas
*1 TIMW(813)/TIMWX(816) must be used in block programming regions even within subroutines.
Operands
N: Timer Number
BCD: 0 to 4095 (decimal)
Binary: 0 to 4095 (decimal)
S: Set Value
BCD: #0000 to #9999 (BCD)
Binary: &0 to &65535 (decimal)
#0000 to #FFFF (hex)
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
HUNDRED-MS TIMER WAIT
TIMW --- 813
Delays execution of the rest of the block program
until the specified time has elapsed.
TIMWX --- 816
Symbol
BCD Binary
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or transition
programs
Usage Not allowed OK OK
OK*
1
Not allowed Not allowed
Operand Description Data type Size
N Timer Number TIMER 1
SV Set Value WORD 1
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
N --- --- --- ---
OK
--- --- --- --- --- --- ---
--- OK --- --- --- ---
SV OK OK OK OK OK OK OK OK OK OK OK
Name Label Operation
Error Flag P_ER • ON if TIMW(813)/TIMWX(816) is not in a block program.
• ON if an indirect IR designation is used for N in BCD mode and the address is not for a timer present
value.
• ON if in BCD mode and SV is not BCD.
• OFF in all other cases.
N
SV
SV: Set value
N: Timer number
TIMW(813)
N
SV
SV: Set value
N: Timer number
TIMWX(816)