Cj2 Cpu Unit Instruction Execution Times And Number Of Steps - Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual

Table of Contents

Advertisement

4. Instruction Execution Times and Number of Steps
4-1
CJ2 CPU Unit Instruction Execution Times and Number of
Steps
Note
1112
The following table lists the execution times for all instructions that are sup-
ported by the CPU Units.
The total execution time of instructions within one whole user program is the
process time for program execution when calculating the cycle time (See
note.).
Note User programs are allocated tasks that can be executed within cyclic tasks
and interrupt tasks that satisfy interrupt conditions.
Execution times for most instructions differ depending on the CPU Unit used
and 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 instructions depends on the instruction and the operands used with it.
The number of steps in a program is not the same as the number of instruc-
tions.
1. Most instructions are supported in differentiated form (indicated with , ,
@, and %). Specifying differentiation will increase the execution times by
the following amounts.
Symbol
or
@ or %
2. Use the following time as a guideline when instructions are not executed.
Execution times will vary somewhat depending on the order in which in-
structions are executed and on whether instructions are executed. Use the
following formula to calculate the maximum variation for a worst-case sce-
nario.
Number of instruction steps
(unit: s)
CJ2H
CPU6@-EIP
+0.24
+0.24
(unit: s)
CJ2H
CPU6@-EIP
0.016
0.016 (ms)
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents