Tim/Timx - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

2 Instructions

TIM/TIMX

Instruction
HUNDRED-MS TIMER
BCD
Symbol
Applicable Program Areas
Area
Usage
Operands
Operand
N
S
N: Timer Number
The timer number must be between 0000 and 0255 (decimal).
S: Set Value (100-ms Units)
TIM (BCD): #0000 to #9999.
TIMX (Binary): &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
2-66
Mnemonic
Variations
TIM/TIMX
---
TIM
TIM
N
N:Timer number
S: Set value
S
Step program areas
OK
Description
Timer Number
Set Value
AR
T
C
DM
---
---
---
OK
OK
OK
OK
Label
P_ER
• ON if in BCD mode and S does not contain BCD data.
• OFF in all other cases.
Function
code
TIM or TIMX(550) operates a decrementing timer
550
with units of 0.1-s.
Binary
Subroutines
OK
Data type
TIM
TIMX
TIMER
TIMER
WORD
UINT
Indirect DM addresses
Constants
@DM
*DM
---
---
---
OK
OK
OK
Operation
CP1E CPU Unit Instructions Reference Manual(W483)
Function
TIMX
TIMX(550)
N: Timer number
N
S: Set value
S
Interrupt tasks
Not allowed
Size
1
1
CF
Pulse bits
TR bits
---
---
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents