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.

Symbol

s

or

+0.5

 

 

@ or %

+0.5

 

 

(2)Use the following time as a guideline when instructions are not executed. Approx. 0.2 to 0.5 s

Sequence Input Instructions

Instruction

Mnemonic

Code

Length

ON execution

Hardware

Conditions

 

 

 

(steps)

time (s)

implementation

 

 

 

 

(See

 

 

 

 

 

 

note.)

 

 

 

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

---

 

 

 

 

 

 

 

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

Instruction

Mnemonic

Code

Length

ON execution

Hardware

Conditions

 

 

 

(steps)

time (s)

implementation

 

 

 

 

(See

 

 

 

 

 

 

note.)

 

 

 

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

DIFD

014

2

0.50

Yes

---

DOWN

 

 

 

 

 

 

 

 

 

 

 

 

 

SET

SET

---

1

0.30

Yes

---

 

 

 

 

 

 

 

RESET

RSET

---

1

0.30

Yes

---

 

 

 

 

 

 

 

362

Page 385
Image 385
Omron FQM1-MMA21, FQM1-CM001, FQM1-MMP21 FQM1 Instruction Execution Times and Number of Steps, Sequence Input Instructions