beautypg.com

Tim/timx, Applicable program areas operands, Flags – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 102: 2 instructions, N: timer number, S: set value (100-ms units), Operand specifications

background image

2 Instructions

2-66

CP1E CPU Unit Instructions Reference Manual(W483)

TIM/TIMX

Applicable Program Areas

Operands

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

Flags

Instruction

Mnemonic

Variations

Function

code

Function

HUNDRED-MS TIMER

TIM/TIMX

---

550

TIM or TIMX(550) operates a decrementing timer
with units of 0.1-s.

Symbol

TIM

TIMX

BCD

Binary

Area

Step program areas

Subroutines

Interrupt tasks

Usage

OK

OK

Not allowed

Operand

Description

Data type

Size

TIM

TIMX

N

Timer Number

TIMER

TIMER

1

S

Set Value

WORD

UINT

1

Area

Word addresses

Indirect DM addresses

Constants

CF

Pulse bits

TR bits

CIO

WR

HR

AR

T

C

DM

@DM

*DM

N

---

---

---

---

OK

---

---

---

---

---

---

---

---

S

OK

OK

OK

OK

OK

OK

OK

OK

OK

Name

Label

Operation

Error Flag

P_ER

ON if in BCD mode and S does not contain BCD data.

OFF in all other cases.

TIM

N

S

S: Set value

N:Timer number

TIMX(550)

N

S

S: Set value

N: Timer number

This manual is related to the following products: