![background image](http://html1.mh-extra.com/html/omron/cs1w-213-rev-02-2008/cs1w-213-rev-02-2008_operation-manual_742355145.webp)
120
Writing Data with the WRITE DATA Bit
Section 5-2
5-2-1
Outline
The following example of positioning sequences summarizes how to write
data to the PCU.
When the WRITE DATA Bit (word n+1, bit 12) in the operating memory area is
turned ON, data in the PLC’s DM or EM Area is written to consecutive
addresses in the PCU according to the number of write words, the write
source area, the write source word, and the write destination address desig-
nated in the operating data area.
The “n” in the CIO Area is the beginning word of the operation memory area
and is determined when the unit number is specified.
The “m” in the DM Area is the beginning word of the common parameter area
and is determined when the unit number is specified.
The “I” in the EM or DM Area is the beginning word of the operating data area
specified by the common parameters and is also the beginning word of the
operating data that determines data transfer.
With data writing, 772 words of data in consecutive addresses can be sent at
once.
5-2-2
Data Writing Procedure
1,2,3...
1.
Set the common parameters. (Refer to
4-2 Common Parameter Area
.)
m:
Set the operating data area either to DM or to EM.
m+1:
Set the beginning word of the operating data area (I).
m+2:
Designate the axis parameters.
CIO Area
Common parameters
CPU Unit
Data area
PCU (NC413)
Sequence #0 (0 Hex)
Sequence #1 (1 Hex)
Sequence #99 (63 Hex)
Other data
•
Speeds
•
Positions
•
Acceleration times
•
Deceleration times
•
Dwell times
•
Zones
Operating data area designation
Beginning word of operating
data area
Axis parameter designation
Operating data area
Number of write words
Write source area
Write source word
Write destination address
Data
WRITE DATA
Operating memory area
(n+1, 12)
Summary of Contents for CS1W-213 - REV 02-2008
Page 2: ...CS1W NC113 213 413 133 233 433 Position Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 13: ...xiv ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 43: ...18 Basic Operational Flow Section 2 1 ...
Page 87: ...62 Servo Relay Unit Section 3 7 ...
Page 199: ...174 Z phase Margin Section 6 8 ...
Page 217: ...192 Sample Program Section 7 7 ...
Page 285: ...260 Easy Backup Function Ver 2 0 or later Section 9 11 ...
Page 377: ...352 Common Parameter Area Appendix C ...