369
Serial Communications Section 6-3
For example, simple (non-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 CP1L PLCs.
CP1L CPU Unit
TXD(236) or RXD(235)
Sending/receiving data
RS-232C or RS422A/485
Standard device with
serial communications
(e.g., barcode reader)
Transfer direction Method Max.
amount
of data
Frame format Other functions
Start code End code
Data transmission
(PLC → External device)
Execution of
TXD(236) in
the program
256 bytes Yes: 00 to FF
No: None
Ye s :
00 to FF or CR+LF
No: None
(The amount of data to
receive is specified
between 1 and 256 bytes
when no end code is speci-
fied.)
• Send delay time
(delay between
TXD(236) execu-
tion and sending
data from specified
port): 0 to 99,990
ms (unit: 10 ms)
• Controlling RS and
ER signals
Data reception
(External device → PLC)
Execution of
RXD(235) in
the program
256 bytes Monitoring CS and
DR signals