![background image](http://html1.mh-extra.com/html/omron/cs1w-mc221/cs1w-mc221_operation-manual_742361231.webp)
204
Data Transfer and Storage: Overview
Section 4-1
Note
1.
From CX-Motion, all data is read or written at the same time. Only portions
of one type of data cannot be specified.
2.
All parameters must be written. Refer to
SECTION 3 MC Unit Internal Data
Configuration
for details.
3.
Servo parameters can be read or written.
4.
Present positions, error information, program execution information, and I/
O signal status can be read.
5.
Present positions, error information, and I/O signal status can be read.
6.
All parameters must be read. Refer to
SECTION 3 MC Unit Internal Data
Configuration
for details.
7.
Parameters changed with G69 in the G code cannot be saved.
4-1-3
Using IOWR and IORD Instructions to Transfer Data
Example 1
In the following example, position data is written to the MC Unit by executing
the IOWR instruction.
1,2,3...
1.
Set the following data for the operands of the IOWR instruction.
C: The first destination address in the MC Unit for the position data.
S: The first word in the CPU Unit (e.g., in DM Area) containing the posi-
tion data to be transferred.
D: The destination unit number and total number of words for the position
data that will be transferred. Each position requires three words.
2.
Set the data to be transferred starting at the word specified for S.
3.
Execute the IOWR instruction to transfer position data.
Position data
(3 words/position)
:
:
Execute
(3)
(2)
MC Unit
CPU Unit
Address
Position data
0000
0001
:
:
:
:
:
:
:
:
:
:
:
1998
1999
A0000
A0001
A1998
A1999
:
:
:
:
:
:
:
:
:
:
:
IOWR
C
S
D
(1)
Ladder program
[DM]
Write 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 ...