147
6-1. Configuration of High-level Instructions
■
Data Handled in the FP1 Programmable Controller
• The FP1 Programmable Controller can handle data in 16-bit units (word) or 32-bit units (double word).
0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
K 2147483647
K 1
K 0
K – 1
K – 2147483648
H 7 F F F F F F F
H 0 0 0 0 0 0 0 1
H 0 0 0 0 0 0 0 0
H F F F F F F F F
H 8 0 0 0 0 0 0 0
32-bit binary data
Decimal
constants
4-digit hexadecimal
constants
•
•
•
•
•
•
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0
1,073,741,824
536,870,912
268,435,456
134,217,728
4,194,304
2,097,152
1,048,576
524,288
262,144
131,072
65,536
32,768
16,384
8,192
4,096
2,048
1,024
512
256
128
64
32
16
8
4
2
1
MSB (Most Significant Bit)
0: positive (+) or zero
1: negative (–)
67,108,864
33,554,432
16,777,216
8,388,608
higher 16-bit area
lower 16-bit area
<32-bit data>
0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
K 32767
K 1
K 0
K – 1
K – 32768
H 7 F F F
H 0 0 0 1
H 0 0 0 0
H F F F F
H 8 0 0 0
16-bit binary data
Decimal
constants
4-digit hexadecimal
constants
•
•
•
•
•
•
0 0 0 0 0 1 1 1 0 1 0 0 1 1 0 0
16,384
8,192
4,096
2,048
64
32
16
8
4
2
1
MSB (Most Significant Bit)
0: positive (+) or zero
1: negative (–)
1,024
512
256
128
<16-bit data>
MSB
LSB
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Weight of each bit position
when MSB = 0.
Weight of each bit position
when MSB = 0.
Summary of Contents for FP1
Page 1: ...PROGRAMMABLE CONTROLLER FP1 is a global brand name of Matsushita Electric Works Hardware ...
Page 28: ...20 ...
Page 98: ...90 ...
Page 150: ...142 ...
Page 208: ...200 ...
Page 226: ...218 ...
Page 280: ...272 ...