Tmhw/Tmhwx - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

TMHW/TMHWX

Instruction
TEN-MS TIMER WAIT
BCD
TMHW(815)
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
Not allowed
*1 TMHW(815)/TMHWX(817) must be used in block programming regions even within subroutines.
Operands
Operand
N
Timer Number
SV
Set Value
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)
Operand Specifications
Word addresses
Area
CIO
WR
HR
N
---
---
---
SV
OK
OK
OK
Flags
Name
Error Flag
1058
Mnemonic
Variations
TMHW
---
TMHWX
---
N
N: Timer number
SV
SV: Set value
Block program areas
Step program areas
OK
OK
Description
@DM
AR
T
C
DM
EM
---
---
---
---
OK
OK
OK
OK
OK
Label
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.
Function
code
815
Delays execution of the rest of the block program
until the specified time has elapsed.
817
Binary
TMHWX(817)
Subroutines
1
OK*
Indirect DM/EM
addresses
Con-
stants
*DM
DR
@EM
*EM
---
---
---
---
OK
OK
OK
OK
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
N
N: Timer number
SV
SV: Set value
SFC action or transition
Interrupt tasks
programs
Not allowed
Not allowed
Data type
Size
TIMER
WORD
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
1
1
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents