1077
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Block Programming Instructions
3
TMHW/TMHWX
TMHW/TMHWX
Applicable Program Areas
*1 TMHW(815)/TMHWX(817) 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
TEN-MS TIMER WAIT
TMHW --- 815
Delays execution of the rest of the block program
until the specified time has elapsed.
TMHWX --- 817
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 TMHW(815)/TMHWX(817) 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
TMHW(815)
N
SV
SV: Set value
N: Timer number
TMHWX(817)