Timl/Timlx - Omron CJ - INSTRUCTIONS Reference Manual

Table of Contents

Advertisement

TIML/TIMLX

Instruction
LONG TIMER
BCD
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
D1
Completion Flag
D2
PV word
S
SV word
D1: Completion Flag
15
D1
D2: PV Word
D2+1
D2
S: SV Word
S+1
S
Operand Specifications
Word addresses
Area
CIO
WR
HR
D1
D2
OK
OK
OK
S
Flags
Name
Error Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
TIML
---
TIMLX
---
TIML
TIML(542)
D1: Completion Flag
D1
D2
D2: PV word
S
S: SV word
Block program areas
Step program areas
Not allowed
OK
Description
0
Do not use.
Completion Flag
D2
D2+1 is the leftmost 4 digits,
D2 is the rightmost 4 digits
S
S+1 is the leftmost 4 digits,
S is the rightmost 4 digits
AR
T
C
DM
EM
---
---
OK
OK
OK
OK
OK
Label
P_ER
• ON if the PV contained in D2 is not BCD.
• ON if the SV contained in S is not BCD, when TIML(542) is used.
• OFF in all other cases.
Function
code
542
TIML(542)/TIMLX(553) operates a decrementing
timer with units of 0.1s.
553
Binary
Subroutines
OK
Data type
TIML
WORD
DWORD
DWORD
The PV and SV can range from #00000000 to
#99999999 for TIML(542) and &00000000 to
&4294967294
#FFFFFFFF (hexadecimal) for TIMLX(553).
Note S, S+1, D2 and D2+1 must be in the same data
area.
Indirect DM/EM
Con-
addresses
stant
@DM
*DM
s
DR
@EM
*EM
---
OK
OK
---
OK
Operation
3. Instructions
Function
TIMLX
TIMLX(543)
D1
D1: Completion Flag
D2
D2: PV word
S
S: SV word
SFC action or transition
Interrupt tasks
programs
Not allowed
OK
Size
TIMLX
UINT
1
UDINT
2
UDINT
2
(decimal)
or
#00000000
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
3
to
TR
bits
---
237

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents