Data Formats - Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Programming Concepts
1-1-6

Data Formats

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents