High-speed counter and pulse output instructions – Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual

Page 393

Advertising
background image

370

Auxiliary Area Allocations

Appendix D

Interrupt Control Instructions

Note When a double-length operand is used, add 1 to the value shown in the length column in the above

table.

High-speed Counter and Pulse Output Instructions

Instruction

Mnemonic

Code

Length

(steps)

(See

note.)

ON execution

time (

µs)

Hardware

implementation

Conditions

SET INTERRUPT
MASK

MSKS

690

3

7.6

---

---

READ INTERRUPT
MASK

MSKR

692

3

5.2

---

---

CLEAR INTERRUPT

CLI

691

3

7.2

---

---

DISABLE INTER-
RUPTS

DI

693

1

5.3

---

---

ENABLE INTER-
RUPTS

EI

694

1

5.6

---

---

INTERVAL TIMER

STIM

980

4

9.5

---

One-shot timer

11.0

---

One-shot pulse output

9.5

---

Scheduled interrupt

10.8

---

Reading timer PV

7.4

---

Stopping timer

17.8

---

Starting pulse counting

14.7

---

Stopping pulse counting

Instruction

Mnemonic

Code

Length
(steps)

(See

note.)

ON execution

time (

µs)

Hardware

implementation

Conditions

MODE CONTROL

INI

880

4

16.7

---

Starting high-speed counter com-
parison

12.7

---

Stopping high-speed counter com-
parison

13.3

---

Changing pulse output PV

10.9

---

Changing high-speed counter cir-
cular value

16.7

---

Starting pulse output comparison

12.6

---

Stopping pulse output comparison

14.9

---

Changing pulse output PV

13.1

---

Changing pulse output circular
value

12.5

---

Stopping pulse output

10.1

---

Stopping sampling counter com-
parison

14.5

---

Changing sampling counter PV

13.9

---

Changing sampling counter circu-
lar value

HIGH-SPEED
COUNTER PV READ

PRV

881

4

13.5

---

Reading pulse output PV

15.1

---

Reading high-speed counter PV

50.8

---

Reading analog input PV

14.3

---

Reading high-speed counter travel
distance

12.1

---

Reading high-speed counter
latched value

Advertising