11-27
11 Programming Devices and Communications
CJ2 CPU Unit Software User’s Manual
11-2 Serial Communications
11
11-2-1 Overview of Serial Communications
z Related Auxiliary Area Flags and Words
* In the same way as for the existing 1:N NT Link, the status (communicating/not communicating) of the Polled Unit
in Serial PLC Links can be checked from the Polling Unit (CPU Unit) by reading the Serial Port PT Communica-
tions Flags (A393.00 to A393.07 for unit numbers 0 to 7).
Name Address Function Read/Write Refresh timing
Serial Port PT Commu-
nications Flags*
A393.00 to
A393.07
The corresponding bit will be ON when the
serial port is communicating in NT Link Mode
or in Serial PLC Link Mode.
Bits 0 to 7 correspond to Units 0 to 7.
ON: Communicating
OFF: Not communicating
Read • Cleared when power is turned
ON.
• Updated if the serial port is in NT
Link or Serial PLC Link mode.
• Bits 0 to 7 correspond to Units 0
to 7.
Serial Port Restart Bit A526.00 Turn ON to restart the serial port. Read/Write • Cleared when power is turned
ON.
• Turn ON this bit to restart the
serial port in any mode except for
Toolbu s m ode.
Note: This bit is turned OFF auto-
matically when the restart
processing is completed.
Serial Port Error Flags A528.00 to
A528.07
These flags indicate what kind of error has
occurred at serial 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.
Read/Write • Cleared when power is turned
ON.
• These flags indicate what kind of
error has occurred at the serial
port.
• They are automatically turned
OFF by the system when the
serial port is restarted.
• Only the following bits are valid in
Serial PLC Link Mode.
Polling Unit:
Bit 5: ON for timeout error.
Polled Units:
Bit 3: ON for framing error.
Bit 4: ON for overrun error.
Bit 5: ON for timeout error.
Serial Port Settings
Changing Flag
A619.02 Turns ON when the communications parame-
ters are being changed for the serial port.
ON: Changing
OFF: Not changing
Read/Write • Cleared when power is turned
ON.
• Turns ON when the communica-
tions parameters are being
changed for the serial port.
• Turns ON when the CHANGE
SERIAL PORT SETUP
(STUP(237)) instruction is exe-
cuted.
• Turns OFF when changing the
parameters has been completed
normally.