EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS
1308 pages
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...
1. Basic Understanding of Instructions
1-3 Data Formats
1
19
CS/CJ/NSJ Series Instructions Reference Manual (W474)
1-3 Data Formats
The following table shows the data formats that the CJ Series can handle.
Data type Data format Decimal 4-digit
hexadecimal
Unsigned
binary
&0 to
&65535
#0000 to
#FFFF
Signed
binary
The data is treated as signed binary 16-bit data using the leftmost bit as the
sign bit. The value is expressed in 4-digit hexadecimal.
Positive numbers: If the leftmost bit is OFF, it indicates a non-negative value.
For 4-digit hexadecimal, the value will be 0000 to 7FFF hex.
Negative numbers: If the leftmost bit is ON, it indicates a negative value. For
4-digit hexadecimal, the value be 8000 to FFFF hex and it will be expressed
as the 2's complement of the absolute value of the negative value (decimal).
0 to 32768
0 to +32767
Negative:
#8000 to
#FFFF
Positive:
#0000 to #7FFF
BCD
(binary
coded
decimal)
#0 to #9999 #0000 to #9999
1415 13 11 12 10 8976 35210
2
14
2
15
2
13
2
11
2
12
2
10
2
8
2
9
2
7
2
6
2
3
2
5
2
2
2
1
2
0
4
2
4
32768 16384 8192 4096 2048 1024 512 256 128 64 32 16 8 4 2 1
2
2
2
3
2
1
2
3
2
0
2
2
2
0
2
1
2
3
2
2
2
3
2
1
2
2
2
1
2
0
2
0
Hex
Decimal
Binary
1415 13 11 12 10 8976 35 210
2
14
2
15
2
13
2
11
2
12
2
10
2
8
2
9
2
7
2
6
2
3
2
5
2
2
2
1
2
0
4
2
4
-32768 1638 8192 4096 2048 1024 512 256 128 64 32 16 8 4 2 1
2
2
2
3
2
1
2
3
2
0
2
2
2
0
2
1
2
3
2
2
2
3
2
1
2
2
2
1
2
0
2
0
Sign bit: 0: Positive, 1: Negative
Binary
Decimal
Hex
1415 13 1112 10 8976 35210
2
2
2
3
2
1
2
3
2
0
2
2
2
0
2
1
2
3
2
2
2
3
2
1
2
2
2
1
2
0
4
2
0
Decimal
0 to 9
0 to 9
0 to 9
Binary
0 to 9

Table of Contents

Related product manuals