32
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
ā1 to ā32768
0 to +32767
Negative:
#8000 to #FFFF
Positive:
#0000 to #7FFF
BCD
(binary
coded
decimal)
#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 8192 4092 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
Decimal
Hex
Binary
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 8192 4092 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
Sign bit: 0: Positive, 1: Negative
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
Decimal
0 to 9 0 to 9 0 to 9 0 to 9
Binary