![background image](http://html1.mh-extra.com/html/omron/cs1w-nc113-rev-02-2008/cs1w-nc113-rev-02-2008_manual_742370119.webp)
5-2
Section
Writing Data with the WRITE DATA Bit
107
5-2-5 Example of a Write Data Program
A sample program is given below for writing the following speed data to the PCU.
The PCU to be used will be a CS1W-NC413 designated unit number 0.
The common parameter area is from D20000 to D20002.
The operating memory area is from CIO 2000 to CIO 2019.
The beginning word of the operating data area is D00400.
The beginning word address for the data transfer area is D00500, and the data to
be sent is as follows:
Data
Address (transfer
destination)
DM (transfer source)
Setting
Speed #0
112C
112D
00500
00501
03E8
0000 (1,000 pps)
Speed #1
112E
112F
00502
00503
157C
0000 (5,500 pps)
CPU Unit
CIO Area Operating memory Area
Common parameter area
Operating data area
WRITE DATA (200012)
Data transfer
PCU (unit number = 0)
Data area
Speed #0
Speed #1
C
Allocation of Areas
Speeds to be Transferred
Содержание CS1W-NC113 - REV 02-2008
Страница 1: ...CS1W NC113 213 413 133 233 433 Position Control Units ...
Страница 2: ...iv ...
Страница 4: ...vi ...