362 auxiliary area allocations appendix d, Sequence input instructions, Sequence output instructions – Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual

Page 385

Advertising
background image

362

Auxiliary Area Allocations

Appendix D

FQM1 Instruction Execution Times and Number of Steps

The following table lists the execution times for all instructions that are available for the FQM1.

The total execution time of instructions within one whole user program is the process time for program execu-
tion when calculating the cycle time. (See note.)

Note User programs are allocated tasks that can be executed within cyclic tasks and interrupt tasks that sat-

isfy interrupt conditions.

Execution times for most instructions differ depending on the conditions when the instruction is executed. The
execution time can also vary when the execution condition is OFF.

The following table also lists the length of each instruction in the Length (steps) column. The number of steps
required in the user program area for each of the instructions varies from 1 to 7 steps, depending upon the
instruction and the operands used with it. The number of steps in a program is not the same as the number of
instructions.

Note

(1) Program capacity for the FQM1 is measured in steps. Basically speaking, 1 step is equivalent to 1

word.
Most instructions are supported in differentiated form (indicated with

↑, ↓, @, and %). Specifying

differentiation will increase the execution times by the following amounts.

(2) Use the following time as a guideline when instructions are not executed.

Approx. 0.2 to 0.5

µs

Sequence Input Instructions

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

table.

Sequence Output Instructions

Symbol

µs

↑ or ↓

+0.5

@ or %

+0.5

Instruction

Mnemonic

Code

Length

(steps)

(See

note.)

ON execution

time (

µs)

Hardware

implementation

Conditions

LOAD

LD

---

1

0.10

Yes

---

LOAD NOT

LD NOT

---

1

0.10

Yes

---

AND

AND

---

1

0.10

Yes

---

AND NOT

AND NOT

---

1

0.10

Yes

---

OR

OR

---

1

0.10

Yes

---

OR NOT

OR NOT

---

1

0.10

Yes

---

AND LOAD

AND LD

---

1

0.05

Yes

---

OR LOAD

OR LD

---

1

0.05

Yes

---

Instruction

Mnemonic

Code

Length
(steps)

(See

note.)

ON execution

time (

µs)

Hardware

implementation

Conditions

OUTPUT

OUT

---

1

0.35

Yes

---

OUTPUT NOT

OUT NOT

---

1

0.35

Yes

---

KEEP

KEEP

011

1

0.40

Yes

---

DIFFERENTIATE UP

DIFU

013

2

0.50

Yes

---

DIFFERENTIATE
DOWN

DIFD

014

2

0.50

Yes

---

SET

SET

---

1

0.30

Yes

---

RESET

RSET

---

1

0.30

Yes

---

Advertising