Increment/Decrement Instructions; Symbol Math Instructions - Omron CJ - 09-2009 Operation Manual

Programmable controllers
Table of Contents

Advertisement

Instruction Execution Times and Number of Steps

10-5-8 Increment/Decrement Instructions

Instruction
Mnemonic
INCREMENT
++
BINARY
DOUBLE INCRE-
++L
MENT BINARY
DECREMENT
– –
BINARY
DOUBLE DECRE-
– –L
MENT BINARY
INCREMENT BCD
++B
DOUBLE INCRE-
++BL
MENT BCD
DECREMENT
– –B
BCD
DOUBLE DECRE-
– –BL
MENT BCD

10-5-9 Symbol Math Instructions

Instruction
Mnemonic
SIGNED BINARY
+
ADD WITHOUT
CARRY
DOUBLE SIGNED
+L
BINARY ADD
WITHOUT CARRY
SIGNED BINARY
+C
ADD WITH
CARRY
DOUBLE SIGNED
+CL
BINARY ADD
WITH CARRY
BCD ADD WITH-
+B
OUT CARRY
DOUBLE BCD
+BL
ADD WITHOUT
CARRY
BCD ADD WITH
+BC
CARRY
DOUBLE BCD
+BCL
ADD WITH
CARRY
SIGNED BINARY
SUBTRACT WITH-
OUT CARRY
DOUBLE SIGNED
–L
BINARY SUB-
TRACT WITHOUT
CARRY
SIGNED BINARY
–C
SUBTRACT WITH
CARRY
DOUBLE SIGNED
–CL
BINARY SUB-
TRACT WITH
CARRY
BCD SUBTRACT
–B
WITHOUT CARRY
DOUBLE BCD
–BL
SUBTRACT WITH-
OUT CARRY
BCD SUBTRACT
–BC
WITH CARRY
Code
Length
(steps)
CPU6@H-R
(See
note.)
590
2
0.18
591
2
0.18
592
2
0.18
593
2
0.18
594
2
5.7
595
2
5.6
596
2
5.7
597
2
5.3
Note When a double-length operand is used, add 1 to the value shown in the length
column in the following table.
Code
Length
(steps)
CPU6@H-R
(See
note.)
400
4
0.18
401
4
0.18
402
4
0.18
403
4
0.18
404
4
7.6
405
4
9.2
406
4
8.0
407
4
9.6
410
4
0.18
411
4
0.18
412
4
0.18
413
4
0.18
414
4
7.4
415
4
8.9
416
4
7.9
ON execution time (µs)
CPU6@H
CPU4@H
CPU4@
0.22
0.32
0.37
0.40
0.56
0.67
0.22
0.32
0.37
0.40
0.56
0.67
6.4
4.5
7.4
5.6
4.9
6.1
6.3
4.6
7.2
5.3
4.7
7.1
ON execution time (µs)
CPU6@H
CPU4@H
CPU4@
0.18
0.20
0.37
0.32
0.34
0.54
0.18
0.20
0.37
0.32
0.34
0.54
8.2
8.4
14.0
13.3
14.5
19.0
8.9
9.1
14.5
13.8
15.0
19.6
0.18
0.20
0.37
0.32
0.34
0.54
0.18
0.20
0.37
0.32
0.34
0.54
8.0
8.2
13.1
12.8
14.0
18.2
8.5
8.6
13.8
Section 10-5
Conditions
CJ1M
CJ1M
excluding
CPU11/21
CPU11/21
0.45
0.45
---
0.80
0.80
---
0.45
0.45
---
0.80
0.80
---
12.3
14.7
---
9.24
10.8
---
11.9
14.9
---
9.0
10.7
---
Conditions
CJ1M
CJ1M
excluding
CPU11/21
CPU11/21
0.30
0.30
---
0.60
0.60
---
0.40
0.40
---
0.60
0.60
---
18.9
21.5
---
24.4
27.7
---
19.7
22.6
---
25.2
28.8
---
0.3
0.3
---
0.60
0.60
---
40
40
---
0.60
0.60
---
18.1
20.5
---
23.2
26.7
---
19.1
21.6
---
479

Advertisement

Table of Contents
loading

Table of Contents