14 Serial Communications
14-8
CP1E CPU Unit Software User’s Manual(W480)
14-3 No-protocol Communications with
General Components
No-protocol communications can be used only with the CP1E N/NA-type CPU Unit.
CP1E CPU Units and general devices with serial communications ports can be used for no-protocol
communications.
No-protocol communications enable sending and receiving data using the TRANSMIT (TXD) and
RECEIVE (RXD) instructions without using a protocol and without data conversion (e.g., no retry pro-
cessing, data type conversion, or process branching based on received data).
The serial communications mode is set to RS-232C.
No-protocol communications are used to send data in one direction to or from general external devices
that have an RS-232C or RS-422A/485 port using TXD or RXD.
For example, simple (no-protocol) communications can be used to input data from a barcode reader or
output data to a printer.
The following table lists the no-protocol communication functions supported by CP1E PLCs.
14-3-1 Overview
Communica-
tions
Transfer
direction
Method
Max.
amount of
data
Frame format
Other functions
Start code End code
Data
transmission
PLC →
External
device
Execution
of TXD in
the ladder
program
256 bytes Yes: 00 to FF
hex
No: None
Yes: 00 to FF
hex or CR+LF
No: None (The
amount of data
to receive is
specified
between 1 and
256 bytes when
no end code is
specified.)
• Send delay time (delay
between TXD execution and
sending data from specified
port): 0 to 99,990 ms at the
minimum(unit: 10 ms)
• Controlling RS and ER signals
Data
reception
External
device →
PLC
Execution
of RXD in
the ladder
program
256 bytes Monitoring CS and DR signals
CP1E N/NA-type CPU Unit
Sending/
receiving data
TXD or RXD
RS-232C or RS422A/485
General component
(e.g., barcode reader)