![Omron C200HW Скачать руководство пользователя страница 124](http://html1.mh-extra.com/html/omron/c200hw/c200hw_operation-manual_742329124.webp)
5-5
Section
Reading Data with IORD
111
5-5-3 Instruction Specifications
The following describes the format of IORD instructions.
IORD
C
S
D
@IORD
C
S
D
Operand
Explanation
C
Set the beginning address for the Position Control Unit data area
where the data will be read.
00
15
Beginning address of data.
S
Set the unit number of the Position Control Unit reading the data and
the total number of words to be read (the number of transfer words).
The number of transfer words can be set anywhere from 1 to 128.
00
15
12 11
Number of transfer words.
Destination unit number.
D
Set the beginning word address for the area in the Programmable
Controller which will store the data.
Destination address
5-5-4 Flags Used
When data is transferred using IORD, it will be possible to use the ER Flag
(25503) and the Equals Flag (25506) to check whether the transfer has been
completed successfully. If the Error Flag (word n+8, bit 12) is ON, an error code
will be output to I+27 in the operating data area. Check this error code to deter-
mine the cause of the error and correct it.
Flag
ON Condition
OFF Condition
ER (25503)
•
Number of transfer words is not BCD.
•
Number of transfer words is 0 or 129 and
above
•
When DM was set, the contents of DM was
not 6656 and above, or BCD.
•
The transfer source unit number is outside
the permissible range.
•
The unit number for the transfer source unit is
for a Remote I/O Slave Unit.
Anything else.
= (25506)
The transfer has been completed without
error.
Anything else.
Содержание C200HW
Страница 1: ...Cat No W334 E1 04 Position Control Units SYSMAC C200HW NC113 NC213 NC413 ...
Страница 2: ...C200HW NC113 NC213 NC413 Position Control Units Operation Manual Revised July 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 233: ...10 7 Section Transferring and Saving Data 224 Setting of operating data area for reading data READ DATA ...
Страница 284: ...Cat No W334 E1 04 Note Specifications subject to change without notice Printed in Japan Authorized Distributor ...
Страница 285: ...Cat No W334 E1 04 C200HW NC113 NC213 NC413 Position Control Units OPERATION MANUAL ...