Schneider

Version 5.3 by Hunter on 2025/12/08 15:29

Schneider Modicon 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

Schneider TM221 Ethernet

Supported Series: Modicon M221 Series

HMI Setting

ItemsSettingsNote
ProtocolSchneider TM221 
ConnectionEthernet 
Port No.502 
Device No.1 
HMI No.0 

Address List

TypeAddress TypeFormatRangeNote
BitIWMBIWMB DD.dd0~20.15Output Register(Bit type)
QWMBQWMB DD.dd0~20.15Input Register(Bit type)
MWBMWB DDDD.dd0~8000.15Internal memory word(Bit type)
MM DDDD0~1024Internal memory bit
IWBIWB DDDDDD.dd0~255255.15Analog Input(Bit type)
II DDD.dd0~255.13Digital Input
QQ DDD.d0~255.9Digital Output
SS DDD0~159System Bit 
WordIWMIWM DD0~20Output Register
QWMQWM DD0~20Input Register
MWMW DDDD0~7999Internal memory word
MDMD DDDD0~7998Internal memory double word 
MFMF DDDD0~7998Internal memory floating point
IWIW DDDDDD0~255255Analog Input
SWSW DDD0~233System word
KWKW DDD0~511Constant word
KDKD DDD0~510Internal constant double word
KFKF DDD0~510Internal constant floating point
TM_VTM_V DDD0~254Timer
TM_PTM_P DDD0~254Timer

PLC Settings

1.Open the software EcoStruxure Machine Expert - Basic, drag the corresponding model from M221 Logic Controller list into the [Configuration] tab.

SchneiderModelMark.png

2.Click [Yes] to replace the model in current project.

SchneiderModelConfirm.png

3.Program the PLC project in [Programming] tab.

SchneiderProgrm.png

4. Click [Save] to save the project file.

Schneidersave2.png

5. Go to the Commissioning tab to log in the PLC. Choose either Local Devices(USB or COM) or Ethernet Devices. Example here uses USB(mini USB port) to log in the PLC.

Schneiderlogin.png

6. Click [PC to Controller (download)], then click OK.

Schneiderdownload2.png

7. Click [Start controller] to run the program.

Schneiderrun2.png