![background image](http://html1.mh-extra.com/html/omron/cj1w-c113-rev-02-2008/cj1w-c113-rev-02-2008_operation-manual_742339165.webp)
138
Writing Data with IOWR
Section 5-4
completion flag for the IOWR instruction, does not turn ON. Therefore, the
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
Содержание CJ1W-C113 - REV 02-2008
Страница 1: ...Position Control Units Cat No W397 E1 07 SYSMAC CJ1W NC113 213 413 133 233 433 OPERATION MANUAL ...
Страница 2: ...CJ1W NC113 213 413 133 233 433 Position Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 13: ...xiv ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 27: ...xxviii Conformance to EC Directives 6 ...
Страница 43: ...16 Control System Principles Section 1 7 ...
Страница 47: ...20 Basic Procedures Section 2 ...
Страница 139: ...112 Examples of Parameter Settings Section 4 9 ...
Страница 173: ...146 Transferring Data with CX Position Section 5 7 ...
Страница 223: ...196 Sample Program Section 7 7 ...
Страница 259: ...232 Sample Program Section 8 10 ...
Страница 293: ...266 Easy Backup Function Ver 2 0 or later Section 9 11 ...
Страница 369: ...342 Reading Error Information with CX Position Section 11 8 ...
Страница 385: ...358 Common Parameter Area Appendix C ...
Страница 399: ...372 Parameter Coding Sheets Appendix E ...