![Omron C200HW Скачать руководство пользователя страница 121](http://html1.mh-extra.com/html/omron/c200hw/c200hw_operation-manual_742329121.webp)
5-4
Section
Writing Data with IOWR
108
5-4-2 Instruction Specifications
The following describes the format of IOWR instructions.
IOWR
C
S
D
@IOWR
C
S
D
Operand
Explanation
C
Set the beginning address of the data area in the Position Control
Unit where the data is to be stored.
00
15
Beginning address of data.
S
Set the beginning word address of the area in the PC on which the
data has been set.
Source address.
D
Set the unit number of the Position Control Unit to which the data is
to be transferred (the transfer destination unit number) and the total
number of words to be written (the number of transfer words). The
number of transfer words can be set anywhere in the range from 1 to
128.
00
15
12 11
Number of transfer words.
Destination unit number.
5-4-3 Flags Used
When data is transferred using IOWR, 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 destination unit number is out-
side the permissible range.
•
The unit number for the transfer destination
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 ...