416
Communications Instructions
Section 5-30
Note
Refer to
1-6 Communications Functions
for more details on using the
RXD(47) instruction, setting communications protocol in the PC Setup, etc.
The CQM1H will be incapable of receiving more data once 256 bytes have
been received if received data is not read using RXD(47). Read data as soon
as possible after the Reception Completed Flag is turned ON. The following
table lists the Reception Completed Flags for the various ports.
Communications flags and counters can be cleared by executing RXD(47)
with N set to 0000.
Related Flags and Control Bits
The following table lists the various flags, control bits, and words that are used
when receiving data with RXD(47).
Port
Reception Completed Flag
CPU Unit’s built-in RS-232C port
AR 0806
Peripheral port
AR 0814
Serial Communications Board
Port 1
IR 20106
Port 2
IR 20114
Port
Flag
Function
CPU Unit’s built-in
RS-232C port
AR 0806
The Reception Completed Flag is turned ON
when reception is completed and is turned
OFF after data is read with RXD(47).
AR 09
Contains the number of bytes received in 4-
digit BCD. This word is cleared to 0000 after
data is read with RXD(47).
SR 25209
Turn ON the RS-232C Port Reset Bit to reset
the RS-232C port.
Peripheral port
AR 0814
The Reception Completed Flag is turned ON
when reception is completed and is turned
OFF after data is read with RXD(47).
AR 10
Contains the number of bytes received in 4-
digit BCD. This word is cleared to 0000 after
data is read with RXD(47).
SR 25208
Turn ON the Peripheral Port Reset Bit to reset
the peripheral port.
Serial Communications
Board port 1
IR 20106
The Reception Completed Flag is turned ON
when reception is completed and is turned
OFF after data is read with RXD(47).
IR 202
Contains the number of bytes received in 4-
digit BCD. This word is cleared to 0000 after
data is read with RXD(47).
IR 20700
Turn ON the Port 1 Restart Bit to reset port 1.
Serial Communications
Board port 2
IR 20114
The Reception Completed Flag is turned ON
when reception is completed and is turned
OFF after data is read with RXD(47).
IR 203
Contains the number of bytes received in 4-
digit BCD. This word is cleared to 0000 after
data is read with RXD(47).
IR 20701
Turn ON the Port 2 Restart Bit to reset port 2.