How can we help you today?

For the Modicon M241 and M251 PLC, is there a method of changing the Modbus Ethernet port number from the standard 502?

Issue
For the Modicon M241 and M251 PLC, is there a method of changing the Modbus Ethernet port number from the standard 502?

Product Line
Modicon 241, M251
EcoStruxure Machine Expert v1.2
EcoStruxure Machine Expert v2.0
SoMachine v4.3

Environment
PLC Modbus Ethernet communication

Resolution
For the Modicon M241 and M251 the method of changing the Modbus TCP Port from the default 502 is done via a script command from SD Card using the "changeModbusPort" command.
For instructions, see the M241 or M251 Programming Guide under the help section:
> Ethernet Configuration > Ethernet Features, Functions and Services > Changing the Modbus TCP Port

M241 Changing the Modbus TCP Port Link to Manual
M251 Changing the Modbus TCP Port Link to Manual

Note: For other PLC families in SoMachine v4.3 and EcoStruxure Machine Expert v1.2 / v2.0 (Modicon M258, M262, HMISCU, LMC058, PacDrive 3), the above method is not supported.

If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance:

Support | Schneider Electric Global (se.com)

Schneider Electric New Zealand

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.

Explore more

Need help?

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Start your sales inquiry online and an expert will connect with you.

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Centre

Find support resources for all your needs, in one place.