Timh/Timhx - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

TIMH/TIMHX

Instruction
TEN-MS TIMER
BCD
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
N
Timer Number
S
Set Value
N: Timer Number
The timer number must be between 0000 and 4095 (decimal).
S: Set Value
TIMH: The set value must be between #0000 and 9999 in BCD mode.
TIMHX: &0 to 65535 decimal or #0000 to FFFF hex
Operand Specifications
Word addresses
Area
CIO
WR
HR
N
---
---
---
S
OK
OK
OK
Flags
Name
Error Flag
Equals Flag
Negative Flag
Note In CS1D CPU Units for Duplex Systems, CS1 CPU Units, and CJ1 CPU Units, these are turned OFF.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
TIMH
---
TIMHX
---
TIMH
TIMH(015)
N
N: Timer number
S
S: Set value
Block program areas
Step program areas
Not allowed
OK
Description
AR
T
C
DM
EM
---
---
---
---
OK
OK
OK
OK
OK
Label
P_ER
• ON if N is indirectly addressed through an Index Register but the address in the Index Register is not
the address of a timer Completion Flag or timer PV.
• ON if in BCD mode and S does not contain BCD data.
• OFF in all other cases.
P_EQ
Unchanged (See note.)
P_N
Unchanged (See note.)
Function
code
015
TIMH(015)/TIMHX(551) operates a decrementing
timer with units of 10-ms.
551
Binary
Subroutines
OK
Data type
TIMH
TIMER
WORD
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
---
---
OK
OK
OK
OK
Operation
3. Instructions
Function
TIMHX
TIMHX(551)
N
N: Timer number
S
S: Set value
SFC action or transition
Interrupt tasks
programs
Not allowed
OK
Size
TIMHX
TIMER
1
UINT
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
3
TR
bits
---
---
219

Advertisement

Table of Contents
loading

Table of Contents