![Omron CS1W-NC113 - REV 02-2008 Manual Download Page 130](http://html1.mh-extra.com/html/omron/cs1w-nc113-rev-02-2008/cs1w-nc113-rev-02-2008_manual_742370130.webp)
5-4
Section
Writing Data with IOWR
118
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 rea-
son, 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-5 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 desig-
nated 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
Summary of Contents for CS1W-NC113 - REV 02-2008
Page 1: ...CS1W NC113 213 413 133 233 433 Position Control Units ...
Page 2: ...iv ...
Page 4: ...vi ...