![background image](http://html1.mh-extra.com/html/omron/cs1w-213-rev-02-2008/cs1w-213-rev-02-2008_operation-manual_742355160.webp)
135
Writing Data with IOWR
Section 5-4
second IOWR instruction is executed once more in the next cycle. Execution
of this second instruction is repeated until all the data in the receive buffer has
been processed. For this reason, it takes at least two cycles for transfer of all
the data to be completed and the instruction to start to be output.
Note
Depending on the timing of IOWR instructions, transfer errors may not be
reflected in the CPU Unit. (For details, refer to
5-1 Transferring and Saving
Data.
)
5-4-6
IOWR Program Example
A sample program is provided below for writing the indicated speed data to
the PCU. The beginning word address of the transfer data is to be D00500,
and the other settings are as indicated. The data will be transferred to the
PCU designated as unit number 2.
Data
Address
(transfer destination)
DM
(transfer source)
Setting
Speed #0
112C
112D
00500
00501
03E8 (1,000 pps)
0000
Speed #1
112E
112F
00502
00503
157C (5,500 pps)
0000
CPU Unit
Unit number
Data transfer
PCU (NC413; unit number 2)
Data area
Speed #0
Speed #1
Содержание CS1W-213 - REV 02-2008
Страница 1: ...Position Control Units Cat No W376 E1 06 SYSMAC CS1W NC113 213 413 133 233 433 OPERATION MANUAL ...
Страница 2: ...CS1W NC113 213 413 133 233 433 Position Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 13: ...xiv ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 43: ...18 Basic Operational Flow Section 2 1 ...
Страница 87: ...62 Servo Relay Unit Section 3 7 ...
Страница 199: ...174 Z phase Margin Section 6 8 ...
Страница 217: ...192 Sample Program Section 7 7 ...
Страница 285: ...260 Easy Backup Function Ver 2 0 or later Section 9 11 ...
Страница 377: ...352 Common Parameter Area Appendix C ...
Страница 395: ...370 Parameter Coding Sheets Appendix F ...