A-2-10 Conversion Instructions - Omron CJ2 - 02-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

A-2-10
Conversion Instructions
Instruction
Mnemonic
BCD TO BINARY
BIN
DOUBLE BCD TO
BINL
DOUBLE BINARY
BINARY TO BCD
BCD
DOUBLE BINARY TO
BCDL
DOUBLE BCD
2'S COMPLEMENT
NEG
DOUBLE 2'S COM-
NEGL
PLEMENT
16-BIT TO 32-BIT
SIGN
SIGNED BINARY
DATA DECODER
MLPX
DATA ENCODER
DMPX
ASCII CONVERT
ASC
ASCII TO HEX
HEX
COLUMN TO LINE
LINE
LINE TO COLUMN
COLM
SIGNED BCD TO
BINS
BINARY
CJ2 CPU Unit Software User's Manual
FUN No.
Length (steps)
023
3
058
3 to 4
024
3
059
3 to 4
160
3
161
3 to 4
600
3
076
4
077
4
086
4
162
4
063
4
064
4
470
4
ON execution time (µs)
CJ2H
CJ2M-
CPU6@(-EIP)
CPU@@
0.18
0.280
3.3
3.5
0.19
0.300
3.3
3.7
0.14
0.240
0.26
0.440
0.26
0.340
0.17
0.280
0.42
0.770
1.14
1.760
2.17
3.370
3.3
4.6
3.7
5.2
17.3
26.3
35
47
4.0
4.5
4.6
5.2
3.3
3.8
10.5
13.1
13.8
17.6
3.6
4.0
3.6
4.0
3.6
4.0
3.6
4.0
Appendices
Conditions
---
---
---
---
---
---
---
Decoding 1 digit
(4 to 16)
Decoding 4 digits
(4 to 16)
Decoding 1 digit 8
to 256
Decoding 4 digits
(8 to 256)
Encoding 1 digit
(16 to 4)
Encoding 4 digits
(16 to 4)
Encoding 1 digit
(256 to 8)
Encoding 2 digits
(256 to 8)
Converting 1 digit
into ASCII
Converting 4 dig-
its into ASCII
Converting 1 digit
---
---
Data format
setting No. 0
Data format
setting No. 1
Data format
setting No. 2
Data format
setting No. 3
A-87

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents