5-3
Section
Reading Data with the READ DATA Bit
103
The work bit 23500 is used to begin writing.
Write switch
Work bit
Data
transferring
Set total number of words to be written to Position
Control Unit to “2.”
Set DM beginning word for setting speed to “0500”
(transfer source).
Set beginning address for data area for when speed is
written to the Position Control Unit to “1300”
(destination address).
WRITE DATA
5-3
Reading Data with the READ DATA Bit
This section explains the procedures for reading data allocated to the operating
memory area from the Position Control Unit using the READ DATA Bit (word
n+1, bit 13). A program example is also provided.
Note
1. Data can be read while pulses are being output, but not while data is being
written or saved. If attempted, it will result in a multiple start error (error code
8000).
2. When transferring data using READ 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,
in addresses 1000 to 1002. If the transfer is started or ended part-way
through, a read transfer words error (error code 8320) or read transfer
source address error (error code 8321) will be generated.
3. Any word in the DM or EM area, except for DM 1000 to DM 1999, can be
specified in I+5 (transfer destination word) of the data transfer area. If a word
in the range DM 1000 to DM 1999 is specified, a read transfer destination
word error (error code 8322) will be generated.
5-3-1 Outline
When the READ DATA Bit (word n+1, bit13) in the operating memory area is
turned ON, the Position Control Unit’s consecutive address data, along with the
number of transfer words, the transfer source address, and the transfer destina-
tion word designated by the operating data area are read to the PC’s DM or EM
area.
For an outline, refer to
5-2 Writing Data with the WRITE DATA Bit
. With data
reading, 672 words of data in consecutive addresses can be read at one time.
Example of Program
Summary of Contents for C200HW
Page 1: ...Cat No W334 E1 04 Position Control Units SYSMAC C200HW NC113 NC213 NC413 ...
Page 2: ...C200HW NC113 NC213 NC413 Position Control Units Operation Manual Revised July 2003 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 285: ...Cat No W334 E1 04 C200HW NC113 NC213 NC413 Position Control Units OPERATION MANUAL ...