EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - Page 1217

Omron CJ - INSTRUCTIONS
1308 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1179
CS/CJ/NSJ Series Instructions Reference Manual (W474)
4. Instruction Execution Times and Number of Steps
4-2 CJ1 CPU Unit Instruction Execution Times and Number of Steps
4
4-2-8 Increment/Decrement Instructions
*1 The instruction execution time is greatly affected by the amount to data. This will
affect the cycle time. To reduce the effect on the cycle time, background execu-
tion can be specified.
4-2-8 Increment/Decrement Instructions
4-2-9 Symbol Math Instructions
SHIFT N-BITS
RIGHT
NASR3 0.180.220.320.45 0.450.37---
DOUBLE SHIFT
N-BITS RIGHT
NSRL3 0.320.400.560.80 0.800.67---
Instruction Mne-
monic
Length
(steps)
ON execution time (µs) Conditions
CJ1H
CPU6@
H-R
CJ1H
CPU6@
H
CJ1G
CPU4@
H
CJ1M
CPU12/
13/22/23
CJ1M
CPU11/
21
CJ1G
CPU4@
INCREMENT
BINARY
++ 2 0.18 0.22 0.32 0.45 0.45 0.37 ---
DOUBLE INCRE-
MENT BINARY
++L 2 0.18 0.40 0.56 0.80 0.80 0.67 ---
DECREMENT
BINARY
– – 2 0.18 0.22 0.32 0.45 0.45 0.37 ---
DOUBLE DECRE-
MENT BINARY
– –L 2 0.18 0.40 0.56 0.80 0.80 0.67 ---
INCREMENT BCD ++B 2 5.7 6.4 4.5 12.3 14.7 7.4 ---
DOUBLE INCRE-
MENT BCD
++BL 2 5.6 5.6 4.9 9.24 10.8 6.1 ---
DECREMENT BCD – –B 2 5.7 6.3 4.6 11.9 14.9 7.2 ---
DOUBLE DECRE-
MENT BCD
– –BL 2 5.3 5.3 4.7 9.0 10.7 7.1 ---
Instruction Mne-
monic
Length
(steps)
ON execution time (µs) Conditions
CJ1H
CPU6@
H-R
CJ1H
CPU6@
H
CJ1G
CPU4@
H
CJ1M
CPU12/
13/22/23
CJ1M
CPU11
/21
CJ1G
CPU4@
SIGNED BINARY ADD
WITHOUT CARRY
+ 4 0.18 0.18 0.20 0.30 0.30 0.37 ---
DOUBLE SIGNED
BINARY ADD WITH-
OUT CARRY
+L 4 to 6 0.18 0.32 0.34 0.60 0.60 0.54 ---
SIGNED BINARY ADD
WITH CARRY
+C 4 0.180.180.200.40 0.400.37---
DOUBLE SIGNED
BINARY ADD WITH
CARRY
+CL 4 to 6 0.18 0.32 0.34 0.60 0.60 0.54 ---
BCD ADD WITHOUT
CARRY
+B 4 7.6 8.2 8.4 18.9 21.5 14.0 ---
DOUBLE BCD ADD
WITHOUT CARRY
+BL 4 to 6 9.2 13.3 14.5 24.4 27.7 19.0 ---
BCD ADD WITH
CARRY
+BC 4 8.0 8.9 9.1 19.7 22.6 14.5 ---
DOUBLE BCD ADD
WITH CARRY
+BCL 4 to 6 9.6 13.8 15.0 25.2 28.8 19.6 ---
SIGNED BINARY SUB-
TRACT WITHOUT
CARRY
4 0.18 0.18 0.20 0.3 0.3 0.37 ---
Instruction Mne-
monic
Length
(steps)
ON execution time (µs) Conditions
CJ1H
CPU6@
H-R
CJ1H
CPU6@
H
CJ1G
CPU4@
H
CJ1M
CPU12/
13/22/23
CJ1M
CPU11/
21
CJ1G
CPU4@

Table of Contents

Related product manuals