![background image](http://html1.mh-extra.com/html/omron/cs1w-213-rev-02-2008/cs1w-213-rev-02-2008_operation-manual_742355148.webp)
123
Writing Data with the WRITE DATA Bit
Section 5-2
When the data writing operation is completed, the Data Transferring Flag
(word n+8, bit 14) is turned from ON to OFF. If an error occurs during data
transfer, the Error Flag (word n+8, bit 12) is turned ON and the error code is
output to n+10 in the operating memory area. Check this error code to deter-
mine the cause of the error and correct it.
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 an NC413 designated unit number 0.
Allocation of Areas
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.
Speeds to be Transferred
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
Содержание 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 ...