Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 258

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

TMHH/TMHHX
Instruction
ONE-MS TIMER
BCD
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
*1 "OK" on CJ1-H-R/CJ2 CPU units
Operands
Operand
N
Timer Number
S
Set Value
N: Timer Number
The timer must be between 0000 and 4095 for the CJ1-H-R and CJ2 CPU Units and between 0000
and 0015 decimal for other PLCs.
S: Set Value
The set value must be between #0000 and 9999 (BCD).
&0 to 65535 decimal or #0000 to FFFF hex (binary)
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
TMHH
---
TMHHX
---
TMHH
TMHH(540)
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
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.
=
Unchanged (See note.)
N
Unchanged (See note.)
Function
code
540
TMHH(540)/TMHHX(552) operates a decrement-
ing timer with units of 1-ms.
552
Binary
Subroutines
OK
Data type
TMHH
TIMER
WORD
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
---
---
OK
OK
OK
OK
Operation
3. Instructions
Function
TMHHX
TMHHX(552)
N
N: Timer number
S
S: Set value
SFC action or transition
Interrupt tasks
programs
Not allowed
Not allowed*
Size
TMHHX
TIMER
1
UINT
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
3
1
TR
bits
---
---
221

Advertisement

Table of Contents
loading

Table of Contents