Omron CP1H CPU Operation Manual page 387

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Serial Communications
Related Auxiliary Area Flags for Serial Port 1
Name
Address
Serial Port 1
A392.12
Communica-
tions Error Flag
Serial Port 1
A394.00 to
Communicating
A394.07
with PT Flags
(See note.)
Serial Port 1
A526.01
Restart Bit
Serial Port 1
A528.08 to
Error Flags
A528.15
Serial Port 1 Set-
A619.01
tings Changed
Flag
Details
Turns ON when a com-
munications error occurs
at serial port 1.
ON: Error
OFF: Normal
When serial port 1 is
being used in NT link
mode, the bit correspond-
ing to the Unit performing
communications will be
ON. Bits 00 to 07 corre-
spond to unit numbers 0
to 7, respectively.
ON: Communicating
OFF: Not communicating
Turn ON this bit to restart
serial port 1.
When an error occurs at
serial port 1, the corre-
sponding error bit is
turned ON.
Bit 08: Not used.
Bit 09: Not used.
Bit 10: Parity error
Bit 11: Framing error
Bit 12: Overrun error
Bit 13: Timeout error
Bit 14: Not used.
Bit 15: Not used.
Turns ON when the com-
munications conditions of
serial port 1 are being
changed.
ON: Changed
OFF: No change
Note In the same way as for the existing 1:N NT Link, the status (communicating/
not communicating) of PTs in Serial PLC Links can be checked from the Poll-
ing Unit (CPU Unit) by reading the Serial Port 1 Communicating with PT Flag
(A394 bits 00 to 07 for unit numbers 0 to 7).
Read/write
Read
• Cleared when power is turned ON.
• Turns ON when a communications error
occurs at serial port 1.
• Turns OFF when the port is restarted.
• Disabled in peripheral bus mode and NT
link mode.
Read
• Cleared when power is turned ON.
• Turns ON the bit corresponding to the
unit number of the PT/Polled Unit that is
communicating via serial port 1 in NT link
mode or Serial PLC Link mode.
• Bits 00 to 07 correspond to unit numbers
0 to 7, respectively.
Read/write
• Cleared when power is turned ON.
• Turn ON to restart serial port 1, (except
when communicating in peripheral bus
mode).
Note: The bit is automatically turned OFF
by the system when restart process-
ing has been completed.
Read/write
• Cleared when power is turned ON.
• When an error occurs at serial port 1, the
corresponding error bit is turned ON.
• The flag is automatically turned OFF by
the system when serial port 1 is
restarted.
• Disabled during peripheral bus mode.
• In NT link mode, only bit 05 (timeout
error) is enabled.
In Serial PLC Link mode, only the following
bits are enabled.
• Errors at the Polling Unit:
Bit 05: Timeout error
• Errors at Polled Units:
Bit 05: Timeout error
Bit 04: Overrun error
Bit 03: Framing error
Read/write
• Cleared when power is turned ON.
• Turns ON while communications condi-
tions settings for serial port 1 are being
changed.
• Turns ON when the CHANGE SERIAL
PORT SETUP instruction (STUP(237)) is
executed.
• Turns OFF when the changes to settings
are completed.
Section 6-1
Refresh timing
353

Advertisement

Table of Contents
loading

Table of Contents