14 Serial Communications
14-10
CP2E CPU Unit Software User’s Manual(W614)
14-3 No-protocol Communications with
General Components
CP2E 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-2
3
2C.
No-protocol communications are used to send data in one direction to or from general external devices
that have an RS-2
3
2C or RS-422A/4
8
5 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 CP2E PLCs.
Note 1
Because the built-in RS-4
8
5 port of the S
-type CPU Unit and the RS-4
8
5 port of CP2W-CIFD2/CIFD
3
use 2-wire connections, so they can only communicate in half duplex. Communications are not possible in
full duplex.
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
CP2E CPU Unit
S
ending/
receiving d
a
t
a
TXD or RXD
R
S
-232C or R
S
422A/485
Gener
a
l component
(e.g.,
ba
rcode re
a
der)
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......