Temporary relay area (tr) – Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual

Page 327

Advertising
background image

304

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

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.

Inputs

Outputs

IORF

0000

0001

SW17

SW31

SW16

SW1

SW15

SW0

Module

Built-in
inpuits

Status read just prior to execution
of IORF(097).

The status of
CIO 0000 is input
from the external
devices.

When IORF(097) is executed for CIO
0000 and CIO 0001, the status of
input terminals are input to input bits
and the status of output bits is output
to output terminals.

Module

Correspond

CIO 0001

CIO 0101

Built-in
outputs

IORF(097)
executed

Actuators

The status of
CIO 0001 is output
to the external
devices.

IORF

0000

0001

When IORF(097) is executed for CIO
0000 and CIO 0001, the status of
input terminals are input to input bits
and the status of output bits is output
to output terminals.

Advertising