EasyManua.ls Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #882 background imageLoading...
Page #882 background image
3. Instructions
844
CS/CJ/NSJ Series Instructions Reference Manual (W474)
• 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 instruction, it will be affected by the execution
results of that instruction.
Precaution
• IOWR(223) can be used in an interrupt task, which allows high-speed processing of specific I/O data
with an interrupt. If IOWR(223) is used in an interrupt task, always disable cyclic refreshing of the
specified Special I/O Unit by turning ON the corresponding Special I/O Unit Cyclic Refreshing
Disable Bit in the PLC Setup.
• When cyclic refreshing of the specified Special I/O Unit is enabled in the PLC Setup (the
corresponding Special I/O Unit Cyclic Refreshing Disable Bit is OFF), a non-fatal Duplicate Refresh
Error will occur and the Interrupt Task Error Flag (A40213) will go ON in the following cases.
• Words allocated to the same Special I/O Unit were already refreshed by IORF(097) or
FIORF(225).
• Words allocated to the same Special I/O Unit were read or written by IORD(222) or IOWR(223).
Example Programming
In this example, IOWR(223) is used to write data.
D
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
0.00 10.00
10.00
20.00
20.00
D100
D100
#000A3
D109

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
CategoryController
ManufacturerOmron
TypePLC
SeriesCJ Series
Instruction TypesBit, Compare, Data Control, Data Processing
Programming LanguagesLadder Diagram (LD), Structured Text (ST), Function Block Diagram (FBD), Sequential Function Chart (SFC)

Related product manuals