Tr (Temporary Relay) Area - Omron CJ - 08-2008 Operation Manual

Programmable controllers
Table of Contents

Advertisement

TR (Temporary Relay) Area

Serial PLC Link (CJ1M CPU Units Only)
Name
Address
RS-232C
A39204
ON when a communications
Port Com-
error has occurred at the RS-
munica-
232C port.
tions Error
ON: Error
Flag
OFF: Normal
RS-232C
A39300
The corresponding bit will be
Port PT
to
ON when the RS-232C port is
Communi-
A39307
communicating with a PT in
cations
NT link mode. Bits 0 to 7 cor-
Flags
respond to units 0 to 7.
ON: Communicating.
OFF: Not communicating.
RS-232C
A52600
Turn this bit ON to restart the
Port
RS-232C port.
Restart Bit
RS-232C
A52800
These flags indicate what
Port Error
to
kind of error has occurred at
Flags
A52807
the RS-232C port.
Bit 0: Not used.
Bit 1: Not used.
Bit 2: Parity error
Bit 3: Framing error
Bit 4: Overrun error
Bit 5: Timeout error
Bit 6: Not used.
Bit 7: Not used.
RS-232C
A61902
ON while the RS-232C port's
Port Set-
communications settings are
tings
being changed.
Change Bit
ON: Changing.
OFF: Not changing.

9-12 TR (Temporary Relay) Area

422
Description
Read/Write
Read only
Read only
Read/Write
Read/Write
Read/Write
The TR Area contains 16 bits with addresses ranging from TR0 to TR15.
These temporarily store the ON/OFF status of an instruction block for branch-
ing. TR bits are useful when there are several output branches and interlocks
cannot be used.
The TR bits can be used as many times as required and in any order required
as long as the same TR bit is not used twice in the same instruction block.
TR bits can be used only with the OUT and LD instructions. OUT instructions
(OUT TR0 to OUT TR15) store the ON OFF status of a branch point and LD
instructions recall the stored ON OFF status of the branch point.
TR bits cannot be changed from a Programming Device.
Time(s) when data is accessed
Cleared when power is turned ON.
ON when communications error occurs at RS-
232C port.
OFF when port is restarted.
Disabled in Peripheral Bus Mode and NT Link
Mode.
Cleared when power is turned ON.
With the RS-232C port in NT Link Mode or Serial
PLC Link Mode, the bit corresponding to the com-
municating PT or Slave turns ON.
Bits 0 to 7 correspond to units 0 to 7.
Cleared when power is turned ON.
Turn this bit ON to restart the RS-232C port.
Automatically turned OFF by the system after the
restart processing is completed.
Cleared when power is turned ON.
The error code is stored when an error occurs at
the RS-232C port.
Disabled in Peripheral Bus Mode.
Enabled in NT Link Mode only for Bit 5 (timeout
error).
Enabled in Serial PLC Link Mode only for the fol-
lowing:
Polling Unit:
Bit 5: Timeout error
Polled Unit:
Bit 5: Timeout error
Bit 4: Overrun error
Bit 3: Framing error
Cleared when power is turned ON.
ON when the RS-232C port communications set-
tings are being changed.
ON when STUP(237) is executed and OFF after
the settings have been changed.
Section 9-12

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents