![Omron C200HW Скачать руководство пользователя страница 112](http://html1.mh-extra.com/html/omron/c200hw/c200hw_operation-manual_742329112.webp)
!
5-2
Section
Writing Data with the WRITE DATA Bit
99
•
If an error is detected by the data check, the correct data should be sent again.
•
If the data transfer reaches completion without error, the error will have been
resolved.
•
If the data is stored or the instruction to activate is executed without the correct
data being re-sent, the error will be resolved but the data after the error will not
be transmitted. In this situation, an abnormal operation may result.
Caution
The Intelligent I/O Write (IOWR) and Intelligent I/O Read (IORD) instructions
transfer all data indiscriminately at execution. For this reason, if the IOWR or
IORD instructions are executed consecutively within the same cycle, an error
occurring at data transfer execution may not be output to the operating memory
area, in the way shown below.
Example:
CPU Unit
Transfer data
Error flag
Error code
Operating memory area
Transferred using data
transfer bit or IOWR
instruction
I/O refresh
PCU
Data check
Error
Transfer Error Output to CPU Unit
(containing illegal data)
CPU Unit
Error not output
to CPU Unit
Operating memory area
IOWR instruction
(completed successfully)
I/O refresh
PCU
Data check
Error
Error cleared
Transfer Error Not Output to CPU Unit
Transfer data
(containing illegal data)
Error flag
Error code
Transferred using data
transfer bit or IOWR
instruction
Operating data area
Operating data area
5-2
Writing Data with the WRITE DATA Bit
This section explains the procedures for writing to the Position Control Unit data
allocated to the operating memory area using WRITE DATA (word n+1 bit 12). A
program example is also provided.
Note
1. Take care not to turn off the power supply or restart the Unit while a data
transfer is in progress. The Position Control Unit 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).
Содержание 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 ...