![background image](http://html1.mh-extra.com/html/omron/c200hw/c200hw_operation-manual_742329122.webp)
5-4
Section
Writing Data with IOWR
109
5-4-4 Precautions when Using IOWR
IOWR is an improvised instruction which transfers all data with a single instruc-
tion. It increases the transfer time for the data as well as the cycle time for the
ladder program. The monitoring time for the cycle time should be adjusted as
required.
The transfer time is influenced by such factors as the model of the Program-
mable Controller being used, the ladder program, and the status of the Position
Control Unit, and cannot be calculated easily. Refer to
Appendix A Data Calcula-
tion Standards
to transfer positioning sequences using a C200HX and a
C200HW-NC413. It can be used as a model for setting cycle time monitoring
time.
Using IOWR, a maximum of 128 words of data in consecutive addresses can be
transferred at one time.
When using IOWR, be sure to transfer data in complete units, and do not start or
end transfer in the middle of data. For example, with X-axis sequence #0, the
data unit becomes three words consisting of addresses from 1000 to 1002. If the
transfer is started or ended part-way through, ER Flag 25503 will be turned ON.
When transferring the origin search high speed and origin search proximity
speed settings, be sure to transfer both settings together. It is not possible to
transfer only one of these settings.
Note
Depending on the execution timing of the IOWR instruction, it is possible that
errors generated as a result of data check at the time of transfer may not be
reflected at the CPU Unit. (Refer to
5-1 Transferring and Saving Data
.)
5-4-5 IOWR Program Example
A sample program is provided below for writing the indicated speed data to the
Position Control Unit. The beginning word address of the transfer data is to be
DM 0500, and the other settings are as indicated. The data will be transferred to
the Position Control Unit designated as Unit No. 2.
Data
Address (transfer
destination)
DM (transfer
source)
Setting
Speed #0
1300
0500
1000
Speed #1
1301
0501
5500
Position Control Unit (NC413, Unit No. 2)
Data area
Speed #0
Speed #1
Data transfer
Unit No.
Summary of Contents for C200HW
Page 1: ...Cat No W334 E1 04 Position Control Units SYSMAC C200HW NC113 NC213 NC413 ...
Page 2: ...C200HW NC113 NC213 NC413 Position Control Units Operation Manual Revised July 2003 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 285: ...Cat No W334 E1 04 C200HW NC113 NC213 NC413 Position Control Units OPERATION MANUAL ...