Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 268

Table of Contents

Advertisement

3. Instructions
TTIM/TTIMX
Instruction
ACCUMULATIVE 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 to 4095 (decimal).
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
230
Mnemonic
Variations
TTIM
---
TTIMX
---
TTIM
Timer input
TTIM(087)
N
N: Timer number
Reset input
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.
Function
code
087
TTIM(087)/TTIMX(555) operates an incrementing
timer with units of 0.1-s.
555
Binary
Timer input
Reset input
Subroutines
OK
Data type
TTIM
TIMER
WORD
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
---
---
OK
OK
OK
OK
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
TTIMX
TTIMX(555)
N
N: Timer number
S
S: Set value
SFC action or transition
Interrupt tasks
programs
Not allowed
OK
Size
TTIMX
TIMER
1
UINT
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents