5-2
Section
Writing Data with the WRITE DATA Bit
104
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 PC’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 designated in the operating
data area.
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)
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 oper-
ating 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.
2. Power up again or restart.
The data for the common parameters set in 1 above is enabled.
Содержание CS1W-NC113 - REV 02-2008
Страница 1: ...CS1W NC113 213 413 133 233 433 Position Control Units ...
Страница 2: ...iv ...
Страница 4: ...vi ...