Writing Data With The Write Data Bit - Omron CS1W-NC113 Manual

Hide thumbs Also See for CS1W-NC113:
Table of Contents

Advertisement

Writing Data with the WRITE DATA Bit

5-2
Writing Data with the WRITE DATA Bit
In order to avoid this element of uncertainty, do not execute a read function dur-
ing 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 multiple
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 exam-
ple 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 data.
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 des-
tination 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
Read possible during write.
PCU
Data area
If all the data
(internal memory)
is within
Parameters
acceptable
Positioning sequences
ranges, it is
Speeds
written to the
Positions
respective
Acceleration times
areas.
Deceleration times
Dwell times
Zones
5-2
103

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-nc213Cs1w-nc433Cs1w-nc233Cs1w-nc413Cs1w-nc133

Table of Contents