I/O Memory

Appendix B

Immediate Refresh

I/O can also be refreshed on the timing specified by the user using immediate refreshing. Any I/O refreshed using an immediate refresh will also be refreshed for the END refresh.

Refreshing Using the IORF(097) Instruction

Inputs

When IORF(097) is executed for CIO

IORF

0000 and CIO 0001, the status of

0000

input terminals are input to input bits

0001

and the status of output bits is output

 

to output terminals.

 

 

Built-in

Module

 

inpuits

SW0

The status of

SW16

 

CIO 0000 is input

SW1

from the external

SW17

 

devices.

 

 

SW15

 

SW31

 

 

 

Status read just prior to execution

 

of IORF(097).

 

Outputs

When IORF(097) is executed for CIO

IORF

0000 and CIO 0001, the status of

0000

input terminals are input to input bits

0001

and the status of output bits is output

 

to output terminals.

 

Module

CIO 0001

Built-in

Correspond

 

 

outputs

 

 

 

 

Actuators

 

CIO 0101

The status of

 

 

CIO 0001 is output

 

 

to the external

 

IORF(097)

devices.

 

 

 

executed

 

Work Area: W000 to W255 (W000.00 to W255.15), 4,096 Bits

Words in the Work Area can be used only in the program; they cannot be used for I/O exchange with external I/O terminals. Use this area for work words and bits before any other words in the CIO Area.

Auxiliary Area: A000 to A649 (A000.00 to A649.15)

The Auxiliary Area contains flags (controlled by the system) and control bits (controlled by the user) used to monitor and control FQM1 operation. The functions of these flags and bits are predetermined and include error flags from self-diagnosis, initial settings, operation controls, and operation status monitor data.

The bits and words in this area can be read and written from the program or from the CX-Programmer.

The bits in this area cannot be force-set or force-reset continuously.;

The CX-Programmer read/write operations include setting and resetting bits online (not forced), changing present values from address monitor displays, and transfer operations to the FQM1 after editing FQM1 data tables on the CX-Programmer. Refer to the CX-Programmer Operation Manual (Cat. No. W437) for details.

Temporary Relay Area (TR)

The TR Area contains bits that record the ON/OFF input condition status at program branches. The TR bits are used with mnemonics only.

TR0 to TR15 can be used in any order and any number of times.

TR bits can be used only in OUT and LD instructions.

OUT instructions (OUT TR0 to OUT TR15) are used to store the input conditions at branch points. LD instructions (LD TR0 to LD TR15) are used to read the input conditions previously stored at branch points.

304

Page 327
Image 327
Omron FQM1-CM001 Work Area W000 to W255 W000.00 to W255.15, 4,096 Bits, Auxiliary Area A000 to A649 A000.00 to A649.15