800
Basic I/O Unit Instructions Section 3-22
When the input condition is met, self maintenance is performed by output A
and IOWR(223) is executed with each cycle until the Equals Flag turns ON.
When the writing is completed and the Equals Flag turns ON, output B turns
ON and the self maintenance is cleared.
Be sure to place condition flags directly after IOWR(223) instructions, and not
after any other instructions. If a condition flag is placed after another instruc-
tion, it will be affected by the execution results of that instruction.
Example In this example, IOWR(223) is used to write data.
3-22-10 CPU BUS UNIT I/O REFRESH: DLNK(226)
Purpose Performs I/O refreshing immediately for the CPU Bus Unit with the specified
unit number. The following data is refreshed:
• The words allocated to the CPU Bus Unit in the PLC’s CPU Bus Unit
Areas (25 words in the CIO Area and 100 words in the DM Area)
• Specific data refreshing for Units such as Units that support data links
This instruction can be used in the CP1H CPU Units only. It cannot be used in
the CP1L CPU Units. If DLNK(226) is used in a CP1L CPU Unit, Error Flag
(ER) will be turned ON.
B
IOWR
C
S
=
B
D
A
A
D
0.00 1000.00
1000.01
D100
1000.00
1000.01
D100
D109
D+1 D
CPU Unit
When CIO 0.00 is turned ON, the 10 words in D100 to D109
are written to the Special I/O Unit.
Number of words
to transfer: 10
Unit number: 3
The control code (C) varies depending on the Special I/O Unit.
Special I/O Unit (Unit #3)
10 words