220
IOWR and IORD Specifications
Section 4-2
Example 2
Reading Position Data from A0456 to A0460 Using the Command Area
A total of 2,000 data items or 6,000 words can be read at one time when the
command area is used. The following example will read position data for 5
words from an MC Unit.
Ladder Program
Settings
Transfer Data for Position Data in DM Area
Data that Is Read to DM Area
A0456
A0457
A0458
A0459
A0460
345678.90
123456.78
−
387654.32
123.456
54321.00
Position data address Position data
DIFU(13)
R1
Work bit
IOWR
#17D7
D00100
#00060000
R3
R2
R3
R1
R2
(=)
Execution condition
OUT (Work bit)
OUT (Work bit)
Set the transfer data
for the position data
in DM Area.
Address that read position data from
an MC Unit: 17D7 Hex (6103).
Set the first source word of the
position data.
Set the source unit number to 0 and a total of
6 words to be transferred (transfer data for
position data always 6 words).
Total number of words written: 15
Always 0000
First source word address for transferred position data: D00200
Area storing position data: DM
First address for transferred position data: A0456
Always 0000
000F
0000
00C8
0000
01C8
0000
D0100
D0101
D0102
D0103
D0104
D0105
Three words are required for each position.
Refer to for details.
0002
76D2
020F
0002
614E
00BC
0002
7C88
FDB0
0003
E240
0001
D0200
D0201
D0202
D0203
D0204
D0205
D0206
D0207
D0208
D0209
D0210
D0211
345678.90.
123456.78.
−
387654.32.
123.456.
0002
E324
0052
D0212
D0213
D0214
54321.00.
3-4 Position Data
Содержание CS1W-MC221 -
Страница 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Страница 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 11: ...xii ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 27: ...xxviii Conformance to EC Directives 6 ...
Страница 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Страница 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Страница 227: ...200 Command Area Section 3 6 ...
Страница 351: ...324 Interface Specifics Section 5 4 ...
Страница 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Страница 575: ...548 Error Log Section 12 6 ...
Страница 589: ...562 Performance Appendix A ...
Страница 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Страница 683: ...656 Origin Search Patterns Appendix F ...
Страница 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...