Omron CQM1H - PROGRAM Programming Manual page 441

Programmable controllers; inner boards
Table of Contents

Advertisement

Communications Instructions
416
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.
Port
CPU Unit's built-in RS-232C port
Peripheral port
Serial Communications Board
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
CPU Unit's built-in
RS-232C port
Peripheral port
Serial Communications
Board port 1
Serial Communications
Board port 2
Reception Completed Flag
AR 0806
AR 0814
Port 1
IR 20106
Port 2
IR 20114
Flag
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.
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.
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.
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.
Section 5-30
Function

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents

Save PDF