TIML/TIMLX
Instruction
LONG TIMER
BCD
Symbol
Applicable Program Areas
Area
Step program areas
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
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
TIML
---
TIMLX
---
TIML
TIML(542)
D1: Completion Flag
D1
D2
D2: PV word
S
S: SV word
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
---
---
OK
OK
OK
OK
Label
P_ER
• ON if in BCD mode and D2 does not contained BCD data.
• ON if in BCD mode and S does not contained BCD data.
• 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
TIMLX
WORD
UINT
DWORD
UDINT
DWORD
UDINT
The PV and SV can range from #00000000
to #99999999 for TIML(542) and &00000000
to &4294967294 (decimal) or #00000000 to
#FFFFFFFF (hexadecimal) for TIMLX(553).
Note S, S+1, D2 and D2+1 must be in the same
data area.
Indirect DM addresses
Constants
@DM
*DM
---
OK
OK
OK
Operation
2 Instructions
Function
TIMLX
TIMLX(553)
D1
D1: Completion Flag
D2
D2: PV word
S
S: SV word
Interrupt tasks
Not allowed
Size
1
2
2
CF
Pulse bits
TR bits
---
---
---
2
2-77
Need help?
Do you have a question about the SYSMAC CP Series and is the answer not in the manual?
Questions and answers