Conversion Instructions - Omron CJ - 08-2008 Operation Manual

Programmable controllers
Table of Contents

Advertisement

Instruction Execution Times and Number of Steps
Instruction
Mnemonic
DOUBLE BCD
–BCL
SUBTRACT WITH
CARRY
SIGNED BINARY
*
MULTIPLY
DOUBLE SIGNED
*L
BINARY MULTIPLY
UNSIGNED
*U
BINARY MULTIPLY
DOUBLE
*UL
UNSIGNED
BINARY MULTIPLY
BCD MULTIPLY
*B
DOUBLE BCD
*BL
MULTIPLY
SIGNED BINARY
/
DIVIDE
DOUBLE SIGNED
/L
BINARY DIVIDE
UNSIGNED
/U
BINARY DIVIDE
DOUBLE
/UL
UNSIGNED
BINARY DIVIDE
BCD DIVIDE
/B
DOUBLE BCD
/BL
DIVIDE

10-5-10 Conversion Instructions

Instruction
Mnemonic
BCD-TO-BINARY
BIN
DOUBLE BCD-TO-
BINL
DOUBLE BINARY
BINARY-TO-BCD
BCD
DOUBLE BINARY-
BCDL
TO-DOUBLE BCD
2'S COMPLE-
NEG
MENT
DOUBLE 2'S
NEGL
COMPLEMENT
16-BIT TO 32-BIT
SIGN
SIGNED BINARY
DATA DECODER
MLPX
DATA ENCODER
DMPX
480
Code
Length
(steps)
CPU6@H-R
(See
note.)
417
4
9.4
420
4
0.26
421
4
5.93
422
4
0.26
423
4
5.9
424
4
8.3
425
4
12.8
430
4
0.29
431
4
7.2
432
4
0.29
433
4
6.9
434
4
8.6
435
4
13.1
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 1.)
023
3
0.18
058
3
6.1
024
3
0.19
059
3
6.7
160
3
0.14
161
3
0.26
600
3
0.26
076
4
0.32
0.98
3.30
6.50
077
4
7.5
49.6
18.2
55.1
ON execution time ( µ s)
CPU6@H
CPU4@H
CPU4@
13.4
14.7
18.8
0.38
0.40
0.58
7.23
8.45
11.19
0.38
0.40
0.58
7.1
8.3
10.63
9.0
9.2
12.8
23.0
24.2
35.2
0.40
0.42
0.83
7.2
8.4
9.8
0.40
0.42
0.83
6.9
8.1
9.1
8.6
8.8
15.9
17.7
18.9
26.2
ON execution time ( µ s)
CPU6@H
CPU4@H
CPU4@
0.22
0.24
0.29
6.5
6.8
9.1
0.24
0.26
8.3
6.7
7.0
9.2
0.18
0.20
0.29
0.32
0.34
0.5
0.32
0.34
0.50
0.32
0.42
8.8
0.98
1.20
12.8
3.30
4.00
20.3
6.50
7.90
33.4
7.5
7.9
10.4
49.6
50.2
59.1
18.2
18.6
23.6
55.1
57.4
92.5
Section 10-5
Conditions
CJ1M
CJ1M
excluding
CPU11/21
CPU11/21
24.3
27.7
---
0.65
0.65
---
13.17
15.0
---
0.75
0.75
---
13.30
15.2
---
17.5
19.7
---
36.3
45.7
---
0.70
0.70
---
13.7
15.5
---
0.8
0.8
---
12.8
14.7
---
19.3
22.8
---
27.1
34.7
---
Conditions
CJ1M
CJ1M
excluding
CPU11/21
CPU11/21
0.40
0.40
---
12.3
13.7
---
7.62
9.78
---
10.6
12.8
---
0.35
0.35
---
0.60
0.60
---
0.60
0.60
---
0.85
0.85
Decoding 1 digit
(4 to 16)
1.60
1.60
Decoding 4 digits
(4 to 16)
4.70
4.70
Decoding 1 digit
(8 to 256)
8.70
8.70
Decoding 4 digits
(8 to 256)
9.4
13.9
Encoding 1 digit
(16 to 4)
57.3
71.73
Encoding 4 digits
(16 to 4)
56.8
82.7
Encoding 1 digit
(256 to 8)
100.0
150.7
Encoding 2 digits
(256 to 8)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents