121
Writing Data with the WRITE DATA Bit
Section 5-2
In order to avoid this element of uncertainty, do not execute a read function
during the execution of a write function.
“Busy” in the table indicates that the function cannot be executed. If the
method used was the IOWR/IORD instruction, it will be necessary to execute
it again. For details, refer to
5-4 Writing Data with IOWR
and
5-5 Reading
Data with IORD
.
“Error” in the table indicates that the function cannot be executed and a multi-
ple start error (error code 8000) is generated.
5-2
Writing Data with the WRITE DATA Bit
This section explains the procedures for writing to the PCU data allocated to
the operating memory area using WRITE DATA (word n+1 bit 12). A program
example is also provided.
Note
1.
Take care not to turn OFF the power supply or restart the PCU while a data
transfer is in progress. The PCU will not operate normally unless all data
is transferred. If there is an interruption, the data should be re-sent.
2.
It is possible to write data while pulses are being output, but not while data
is being read or stored. If attempted, it will result in a multiple start error
(error code 8000).
3.
When transferring data using WRITE DATA, the data must be transferred
in data units. Data transfer should not start or end part-way through the da-
ta. For example, with X-axis sequence #0, the data unit becomes three
words consisting of addresses from 1000 to 1002. If transfer is started or
ended part-way through, a write transfer words error (error code 8310) or
write destination address error (error code 8312) will be generated.
4.
When writing the origin search high speed or origin search proximity speed
parameters, write the parameters for both of these settings at the same
time. If only one of them is written, a write transfer words error (error code
8310) will be generated.
Read possible during write.
Read
Reading data using data
transfer bit
Reading data using
IORD instruction
Uploading data using
CX-Position
Writing data using data
transfer bit
Writing data using
IOWR instruction
Downloading data using
CX-Position
Write
PCU
Receive buffer
(internal memory)
During write
If all the data
is within
acceptable
ranges, it is
written to the
respective
areas.
PCU
Data area
(internal memory)
Parameters
Positioning sequences
Speeds
Positions
Acceleration times
Deceleration times
Dwell times
Zones
Summary of Contents for CJ1W-C113 - REV 02-2008
Page 2: ...CJ1W 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 27: ...xxviii Conformance to EC Directives 6 ...
Page 43: ...16 Control System Principles Section 1 7 ...
Page 47: ...20 Basic Procedures Section 2 ...
Page 139: ...112 Examples of Parameter Settings Section 4 9 ...
Page 173: ...146 Transferring Data with CX Position Section 5 7 ...
Page 223: ...196 Sample Program Section 7 7 ...
Page 259: ...232 Sample Program Section 8 10 ...
Page 293: ...266 Easy Backup Function Ver 2 0 or later Section 9 11 ...
Page 369: ...342 Reading Error Information with CX Position Section 11 8 ...
Page 385: ...358 Common Parameter Area Appendix C ...