Timw/Timwx - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

TIMW/TIMWX

Instruction
HUNDRED-MS TIMER WAIT
BCD
TIMW(813)
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
Not allowed
*1 TIMW(813)/TIMWX(816) 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
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
TIMW
---
TIMWX
---
N
N: Timer number
SV
SV: Set value
Block program areas
Step program areas
OK
OK
Description
AR
T
C
DM
EM
---
---
---
---
OK
OK
OK
OK
OK
Label
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.
Function
code
813
Delays execution of the rest of the block program
until the specified time has elapsed.
816
Binary
TIMWX(816)
Subroutines
1
OK*
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
---
---
OK
OK
OK
OK
Operation
3. Instructions
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
---
---
3
1
1
TR
bits
---
---
1053

Advertisement

Table of Contents
loading

Table of Contents