![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367153.webp)
108
Position Data
Section 4-4
4-4-1
Position Data Address
Specify position data at the following addresses in MC Unit memory. Specify
the addresses in hexadecimal when using IOWR/IORD instructions.
In MC Unit programming, the position data address is specified as a type of
variable as shown below:
PL<Address No.>: Specify 0000 to 27FF as the address No.
(Example)
MOVE_[J1]#PL01FF
4-4-2
Position Data Configuration
Each position data is comprised of two words (4 bytes). Though the position
data of the MC Unit does not have a decimal point decimal, however, a deci-
mal point is added to the data based on the setting of Position command dec-
imal point position (P5AA02) in Axis-machine parameters.
Data Range
−
2147483648 to +2147483647 (80000000 Hex to 7FFFFFFF Hex)
Example 1: Position data 12345 (00003039 Hex)
When Units (P5AA01) of Axis-machine parameters is 0: mm and Position
command decimal point position (P5AA02) is 3: 0.001, the position data
12345 is handled as 12.345 mm.
Example 2: Position data
−
12345 (FFFFCFC7 Hex)
When Units (P5AA01) of Axis-machine parameters is 1: inch and Position
command decimal point position (P5AA02) is 2: 0.01, the position data -12345
is handled as
−
123.45 inch.
4-4-3
Indirect Specification
Indirect specification can be used only for position data.
1,2,3...
1.
Add the symbol @ in front of position data, indicating to use the position
data specified by the stored data (address).
• As shown below, @PL0001 specifies the stored data 0012 of the position
data PL0100.
Data
IORD/IOWR control Address
range
No. of transferred words
Position Data
0000 to 27FF Hex (deci-
mal:0000 to10239)
1 word: 0002 Hex, 2 words:
0004 Hex, 3 words: 0006 Hex, 4
words: 0008 Hex
15
00
j+0
Position Data (Signed 32-bit, lower 16 bits)
j+1
Position Data (Signed 32-bit, upper 16 bits)
15
12 11
08 07
04 03
00
j+0
3
0
j+1
0
0
3
9
0
0
15
12 11
08 07
04 03
00
j+0
C
F
j+1
F
F
C
7
F
F
Содержание 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 ...