![Omron CS1W-NC113 - REV 02-2008 Manual Download Page 133](http://html1.mh-extra.com/html/omron/cs1w-nc113-rev-02-2008/cs1w-nc113-rev-02-2008_manual_742370133.webp)
5-5
Section
Reading Data with IORD
121
Flag
ON Condition
OFF Condition
ER
•
The number of transfer words set
in W is outside the range 0001 to
0080 Hex.
•
The unit number set in W is out-
side the range 0000 to 005F Hex.
•
A Special I/O Unit that is not
compatible with the IORD
instruction has been specified.
•
A Special I/O Unit for which a set-
ting error has been made or an
error is being generated has
been specified.
Anything else.
=
The transfer has been completed
without error.
•
The address set in C, or the area
specified with this address and
the number of transfer words set-
ting, corresponds to only some,
and not all, of the words used to
store an item of data. For exam-
ple, the Equals Flag would turn
ON if the destination address set
for a speed, which is stored in 2
words, was set to an address
that corresponded to only the
second word.
•
The address set in C, or the area
specified with this address and
the number of transfer words set-
ting, is outside the range of PCU
addresses.
•
The number of transfer words is
set to 0.
•
Another write process is being
executed.
•
Data is being saved to flash
memory.
•
The has just been turned ON or
restarted and is still performing
initial processing.
5-5-5 Precautions when Using IORD
IORD is an instruction which transfers all specified data with a single execution.
Therefore, it increases the cycle time for the ladder program by the time required
to transfer the data.
Refer to
Appendix A Performance Characteristics
for details on the times
required for transferring positioning sequences. Use them as reference values
for setting cycle time monitoring time.
When using IORD, be sure to transfer data in complete units, and do not start or
end transfer in the middle of data. For example, with X axis sequence #0, the
data unit consists of three words (addresses: 1000 to 1002). If the transfer is
started or ended part-way through, the ER Flag will be turned ON.
Using IORD, a maximum of 128 words of data in consecutive addresses can be
transferred at one time.
5-5-6 IORD Program Example
In this example, speeds #0 and #1 written in
5-4 Writing Data with IOWR
are
read. The conditions to be set are the same as those used in the example of writ-
Summary of Contents for CS1W-NC113 - REV 02-2008
Page 1: ...CS1W NC113 213 413 133 233 433 Position Control Units ...
Page 2: ...iv ...
Page 4: ...vi ...