30
Basic Concepts Section 2-1
2-1-6 Data Formats
The following table shows the data formats that the CS/CJ Series can handle.
Data type Data format Decimal 4-digit
hexadecimal
Unsigned
binary
0 to
65535
0000 to FFFF
Signed
binary
–32768 to
+32767
8000 to 7FFF
BCD
(binary
coded dec-
imal)
0 to 9999 0000 to 9999
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2
15
2
14
2
13
2
12
2
11
2
10
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
3276816384 81924092 2048 1024 512 256 128 64 12 16 8 4 2
1
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
Binary
Decimal
Hex
Si
n bit: 0: Positive, 1: Ne
ative
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2
15
2
14
2
13
2
12
2
11
2
10
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
3276816384 81924092 2048 1024 512 256 128 64 12 16 8 4 2
1
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
Binary
Decimal
Hex
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
2
3
2
2
2
1
2
0
0 to 9 0 to 9 0 to 9 0 to 9
Binary
Decimal