Writing Data With The Write Data Bit - Omron CS1W-213 - REV 02-2008 Operation Manual

Position control units
Table of Contents

Advertisement

Writing Data with the WRITE DATA Bit

5-2
Writing Data with the WRITE DATA Bit
Note
In order to avoid this element of uncertainty, do not execute a read function
during the execution of a write function.
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
"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.
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.
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
PCU
Write
Receive buffer
(internal memory)
During write
Section 5-2
Read possible during write.
PCU
Data area
(internal memory)
If all the data
is within
Parameters
acceptable
Positioning sequences
ranges, it is
written to the
Speeds
respective
Positions
areas.
Acceleration times
Deceleration times
Dwell times
Zones
119

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents