EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 830

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
797
Basic I/O Unit Instructions Section 3-22
Be sure to place condition flags directly after IORD(222) 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, IORD(222) is used to read data.
3-22-9 INTELLIGENT I/O WRITE: IOWR(223)
Purpose Outputs the contents of the CPU Unit’s I/O memory area to a Special I/O Unit
or CPU Bus Unit.
This instruction can be used in the CP1H CPU Units only. It cannot be used in
the CP1L CPU Units. If IOWR(223) is used in a CP1L CPU Unit, Error Flag
(ER) will be turned ON.
Ladder Symbol
Variations
Applicable Program Areas
S+1 S
S
0.00 1000.00
1000.01
D100
1000.00
1000.01
D100
D109
CPU Unit
Special I/O Unit (Unit #3)
10 words
The control code (C) varies depending on the Special I/O Unit.
Number of words
to transfer: 10
Unit number: 3
When CIO 0.00 is turned ON, 10 words are read from the Special I/O
Unit with unit number 3, and are stored in D100 to D109.
IOWR(223)
C
S
D
C: Control data
S: Transfer source and number of words
D: Transfer destination and number of words
Variations Executed Each Cycle for ON Condition IOWR(223)
Executed Once for Upward Differentiation @IOWR(223)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK

Table of Contents

Related product manuals