14-3-2 Flow of Operation
1
Wiring communications
2
3
Create
ladder
Program
14-3-3 PLC Setup
Click the Built-in RS232C Port or Serial Option Port Tab in the PLC Settings Dialog Box.
Built-in RS232C Port or Serial Option Port Tab Page
Parameter
Communications
Settings
Mode
End Code
CP1E CPU Unit Software User's Manual(W480)
Connect the CP1E CPU Unit and external device using
RS-232C or RS-422A/485 ports.
Select Built-in RS232C Port or Serial Option Port in the
PLC Setup
PLC Setup and transfer the PLC Setup from the CX-
Programmer to the CP1E CPU Unit.
(Set the serial communications mode to RS-232C, and
set the communications conditions.)
• PLC to External device: Execute the TXD instruction.
Cyclic tasks
• External device to PLC: Execute the RXD instruction.
Interrupt tasks
Set the communications settings to the same values as the connected device.
If the connected device is set to 9,600 bps, two stop bits, and even parity, select the
Custom Option, set the baud rate to 9,600 and format to 7,2,E.
Select RS-232C.
• To specify the number of bytes of received data, select Received bytes and set the
number of bytes from 1 to 256.
• To use CR+LF as the end code, set CR+LF.
• To set the end code to any value between 00 to FF hex, set a value between
0x0000 and 0x00FF.
14 Serial Communications
Setting
14
14-9
Need help?
Do you have a question about the CP1E CPU UNIT SOFTWARE and is the answer not in the manual?
Questions and answers