14 Serial Communications
14-42
CP2E CPU Unit Software User’s Manual(W614)
14-7 Modbus-RTU Slave Function
Modbus-RTU Slave enables to read and write CP2E data from Modbus-compatible masters, such as
host PLCs or host computers, using serial communications.
The serial communication mode is set to Modbus-RTU Slave.
By setting the Modbus-RTU slave address on the CP2E side, the target slave address, function code
and data from the master devices can be transmited.
*1 The data length is always
8
bits.
*2 The number of stop bits is determined by the parity setting.
When setting with parity (even/odd), 1 bit
When setting without parity, 2 bits
*
3
The address cannot be set to 0. In commands, 0 is used to indicate broadcast commands.
14-7-1 Overview
Specifications
Item
Contents
Mode
Modbus-RTU Slave
Baud rate
1200, 2400, 4
8
00, 9600, 19200,
38
400, 57600, 115200 bps
Data length
8
bits *
1
Parity
Odd, Even, None
Stop bits
1 bit (2 bits only when setting to no parity) *
2
Slave addresse
1 to 247 *
3
Frame format
Slave address: 1 byte
Function code: 1 byte
Data: 0 to 252 bytes
CRC code: 2 bytes
CP2E CPU Unit
Modbus-RTU master device
Host PLC
Host computer etc.
Slave
address
Function
code
Communication
data
Slave
address
Function
code
Communication
data
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......