![Omron C200HW Operation Manual Download Page 123](http://html1.mh-extra.com/html/omron/c200hw/c200hw_operation-manual_742329123.webp)
5-5
Section
Reading Data with IORD
110
Work bit 23500 is used to start writing. When debugging, it is a good idea to
create a ladder program that refers to the ER Flag and Error Flag (word n+8,
bit12).
Write switch
Set the beginning address (transfer destination) for
the speed to be transferred to the Position Control
Unit at “1300.”
Set the beginning word for the area on the PC
where the speed data was set (the transfer source)
to “D0500.”
Set the transfer destination unit number to 2 and
the number of transfer words to “2.”
If the transfer is completed successfully, work bit
23502 will turn ON.
DIFU (13)
23500
IOWR
#1300
D0500
#2002
23500
23501
23502
23502
23501
25506
END
(01)
5-5
Reading Data with IORD
With a C200HX/HG/HE-series PC, the Intelligent I/O Read instruction (IORD)
can be used for reading data.
5-5-1 Outline
This section outlines how to read positioning sequences from a Position Control
Unit. Using IORD, 128 words of data in consecutive addresses can be read at
one time. Refer to
5-4 Writing Data with IOWR
for an outline.
The Position Control Unit executing READ DATA using IORD must be mounted
on the Programmable Controller’s CPU Rack or an Expansion I/O Rack.
5-5-2 READ DATA Procedure
Refer to
5-5-3 Instruction Specifications
and the Programmable Controller’s
operation manual for details on how to set the operand for IORD.
1, 2, 3...
1. Setting IORD
C:
Beginning address of the Position Control Unit data area.
S:
Unit number of the Position Control Unit reading the data and the total
number of words to be read.
D:
Beginning word address of the area in the Programmable Controller
where the read data will be stored.
2. Executing READ DATA
Execute IORD.
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 ...