Output Bits - Omron CJ2 CPU UNIT SOFTWARE User Manual

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

6 I/O Memory Areas
In the following example, the status of input points allocated to CIO 0 and CIO 1 are read from the
Input Unit. (CIO 2 and CIO 3 are allocated to Output Units.)
Restrictions on Input Bits
There is no limit on the number of times that input bits can be used as normally open and normally
closed conditions in the program. The addresses can be programmed in any order.
An input bit cannot be used as an operand in an OUTPUT instruction.
0.01
6-2-2

Output Bits

A bit in the I/O Area is called an output bit when it is allocated to an Output Unit. The ON/OFF status of
output bits are output to devices such as actuators. There are three ways for the status of output bits to
be refreshed to an Output Unit: normal I/O refreshing, immediate refreshing, and IORF(097) refreshing.
Normal I/O Refreshing
The status of output bits are output to external devices once each cycle after program execution.
In the following example, CIO 2.01 is allocated to an actuator, an external device connected to an
output terminal of an Output Unit. The ON/OFF status of CIO 2.01 is output to that actuator once
each cycle.
6-10
Input Unit
Switch 0
Switch 16
Switch 1
Switch 17
Switch 15
Switch 31
1.00
Ladder symbol
Mnemonic
2.01
OUT 2.01
CPU Unit
CIO 2.01
Bit allocation
Output Unit
Once
each
cycle
CPU Unit
Read
when
IORF
(097)
is
execu-
ted.
Not allowed if CIO 1.00 is an input bit.
Actuator
CJ2 CPU Unit Software User's Manual

Advertisement

Table of Contents
loading

Table of Contents