62
Note
READ(88) can be executed for the NC222 PCU only once each time the sta-
tus is updated in the PCU (i.e., each time PCU internal status is written to the
shared RAM). If the scan time of the CPU Unit is shorter than the status up-
date time of the PCU (approx. 10 ms), the above type of ladder programming
can be used to extend the scan time of the CPU Unit to at least the status
update time of the PCU.
Start Time
The time required for the Position Control Unit to output an instruction volt-
age after the Position Control Unit receives the start instruction varies with
the combination of positioning data.
Pattern
Start time
Y-axis single start
with X axis not in
operation
X-axis single start
with Y axis not in
operation
Y-axis single start
with X axis in
operation
X-axis single start
with Y axis in
operation
Both axes start
Interpolation start
0
14 ms
16 ms
16 ms
22 ms
1 (Number of consecutive
data
x
2)
16 ms
17 ms
19 ms
26 ms
1 (Number of consecutive
data
y
3)
17 ms
19 ms
21 ms
30 ms
4-2-3
Transferring and Saving Data
Data Transfers
Parameters and positioning actions stored in the DM area can be transferred
to RAM in the PCU using a program like the one shown below. Be sure the
first DM word contains an addresses and that no more than 127 words are
transferred at once. If it is necessary to transfer more words, repeat the pro-
gram section. When repeating the transfer, always used the work bit turned
on by the Equals Flag (=) in the first transfer (IR 5002 in the following exam-
ple) to activate the second transfer.
When transferring data, addresses need not be consecutive. If they are not
consecutive, each address will need to be specified individually. If they are
consecutive, only the first address need be designated (see transfer of Y-axis
data in
8-2 Data Transmission Program
).
Data Transmission Example
The following program can be used to transfer data written in the DM area of
the PC to the NC222-E. When transferring data, it is important that the first
word designate the address and that data for the required number of words is
set properly.
NC222-E
RAM
Address
100
101
102
103
998
999
Data is
transferred with
WRIT(87) from
DM area inside
the PC to RAM
inside the PCU.
É
É
É
PC
DM area
Address
100
PC Programs
Section 4-2