14-43
14 Serial Communications
CP2E CPU Unit Software User’s Manual(W614)
14-7 Modbus-RTU Slave Function
14
14-7-2 Flow of Operation
Built-in RS-232C, Built-in RS-485 or Serial Port Tab Page
14-7-2 Flow of Operation
1
Connect CP2E CPU Unit and Modbus-RTU master
device using RS-232C or RS-422A/485 ports.
Select Built-in RS232C, Built-in RS485 or Serial Port in
the PLC Setup and transfer the PLC Setup from the CX-
Programmer to the CP2E CPU Unit.
• Set the seial communication mode to Modbus-RTU
Slave
• Set the baud rate and format
• Set Modbus Slave address
2
When receiving a Modbus-RTU command from a
Modbus-RTU Master, it automatically responds without a
ladder program.
3
14-7-3 PLC Setup
Parameter Settings
Communications Settings Set the communications settings to the same values as the connected Mod-
bus-RTU master device.
If the connected device is set to 19,200 bps, one stop bit, and even parity,
select the Custom Option. Set the baud rate to 19,200 and the format to
8,1,E.
Mode Select Modbus RTU Slave.
Modbus Slave Address Set the CP2E slave address.
Wiring communications
PLC Setup
Cyclic tasks
Interrupt tasks
Create
ladder
program