Schneider

Last modified by Mora Zhou on 2024/03/23 14:16

Schneider

MODBUS RTU

HMI Setting

ParametersRecommendedNotes
ProtocolSchneider MODBUS RTU 
ConnectionRS485 
Baud rate19200 
Data bit8 
ParityEven 
Stop bit1 
PLC station No.1 

PLC Setting

Communication modeModbus RTU protocol

Device Address

Bit/WordDevice typeFormatRangeMemo
BIXDDDDDo0 ~ 655357Input bit (read only)
BQXDDDDDo0 ~ 655357Write multiple coils
BMXDDDDDDo0 ~ 9999997Output register bit (octal)
WMWDDDDDD0 ~ 999999Output register
DWMDDDDDDD0 ~ 999999Output register

Wiring Diagram

RS-485 2W (RJ45 Connector): The following is the view from the soldering point of a connector.

image-20220817154212-1.jpeg

TM218 series

HMI Setting

ParametersRecommendedNotes
ProtocolSchneider Modicon MODBUS RTU 
ConnectionRS485 
Baud rate19200 
Data bit8 
ParityEven 
Stop bit1 
PLC station No.1

Device Address

Bit/WordDevice typeFormatRange
BIXIX dddd.d0 to 65535
BQXQX dddd.d0 to 65535
BMXMX dddd.dd0 to 999999
WMWMW dddd0 to 999999

 Configure the communication protocol

11.png

12.png

PLC Setting:

Open SoMachine Central, create a new project or open the project that has been created.

Create new project: [Create a new project]→[Empty Project]→[OK]→[Open Configuration]

2.png

3.png

Into the [Open Configuration].

[Untitled]→[Add Device]→[Logic Controller]→[M218]→[TM218LDA16DRN]

4.png

PLC Default Parameters:

In the Devices tree [MyController]→[Serial Line 2]→[Modbus_Manager]

Modbus:

[Transmission Mode] RTU→[Addressing] Slave

Serial Line Settings:

[Baud rate] 19200, [Data bits] 8, [Stop bits] 1, [Parity] EVEN, [Physical Medium] RS485

5.png

 Cable Wiring

1711078732764-435.png