
107
Position Data
Section 4-4
Precautions When
Accessing the Same
Address with Different
Access Type
The variables at the same address share the same physical space.
Note
Odd-number addresses cannot be specified with Double-length integer type
or Real number type. Make sure to specify even-number addresses. The posi-
tion data can be specified with odd-numbers.
Followings are the examples:
• (1) ML0000 = 1234 --- Write 1234 in the Double-length integer type.
• (2) MF0000 = 1234 --- Write 1234 in the real number type.
The variables of the same address share the same physical space even
though the types are different. Therefore, the memory image after execution
of (1) and (2) will be as described in the table below. If the same address is
accessed using a different access type, a different value will be read. So it
needs special attention.
Bit Specification
If the bit type is selected for data access, the bit position in 16-bit word data
needs to be specified with Bit No.
Example) "MB10002" indicates the second bit of MW1000.
4-4
Position Data
There are 10240 of position data that can be used. In a motion program, posi-
tioning is executed by specifying a position directly or by specifying a position
in the position data (indirect specification). Position data is transferred
between an MC Unit and the Support Tool by using the Support Tool (MC-
Miel) or IOWR/IORD instructions.
Bit type
Integer type
Double-
length
integer type
Real number
type
The beginning of the
global general vari-
able
MB0000b
MW0000
ML0000
MF0000
MB0001b
MW0001
MB0002b
MW0002
ML0002
MF0002
MB0003b
MW0003
Double-
length
integer type
Leading address of
position data
PL0000
PL0001
PL0002
PL0003
Case
Original value
In hexadecimal
Display in different type
(1)
1234
000004D2hex
1.729202E-042 (Real number type)
(2)
1.003 449A4000hex
1150959616 (Integer type)
MW0000
:
:
MW1000
F
E
D
C
B
A
9
8
7
6
5
4
3
2
1
0
:
:
Содержание CS1W-MCH71 -
Страница 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Страница 3: ...iv ...
Страница 29: ...xxx ...
Страница 33: ...xxxiv ...
Страница 35: ...xxxvi ...
Страница 39: ...xl ...
Страница 69: ...24 Performance Section 1 7 ...
Страница 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Страница 283: ...238 Saving Data Section 5 4 ...
Страница 417: ...372 Command Details Section 6 3 ...