beautypg.com

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

Page 105: 2 instructions, N: timer number, S: set value, Operand specifications

background image

2-69

2 Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

Tim

er and

Cou

nter

I

n

stru

ctio

ns

2

TIMH/

T

IMHX

TIMH/TIMHX

Applicable Program Areas

Operands

N: Timer Number

The timer number must be between 0000 and 0255 (decimal).

S: Set Value

TIMH (BCD): #0000 to #9999

TIMHX (Binary): &0 to &65535 (decimal) or #0000 to #FFFF (hex)

Operand Specifications

Flags

Instruction

Mnemonic

Variations

Function

code

Function

TEN-MS TIMER

TIMH

---

015

TIMH(015)/TIMHX(551) operates a decrementing
timer with units of 10-ms.

TIMHX

---

551

Symbol

TIMH

TIMHX

BCD

Binary

Area

Step program areas

Subroutines

Interrupt tasks

Usage

OK

OK

Not allowed

Operand

Description

Data type

Size

TIMH

TIMHX

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

ER

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

OFF in all other cases.

TIMH(015)

N

S

S: Set value

N: Timer number

TIMHX(551)

N

S

S: Set value

N: Timer number

This manual is related to the following products: