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 Canada

Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:

Need help?

Need help?

Product Selector

Product Selector

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

Get a Quote

Get a Quote

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

Where to buy?

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Center

Help Center

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

  • Help and Contact Center
  • Contact Sales
  • Find our Offices
  • Where to Buy
  • Careers
  • Company Profile
  • Investors
  • Newsroom
  • Report a Misconduct
  • Product Documentation
  • Product Selectors
  • Software and Firmware
  • Product Substitution and Replacement
  • Blog
  • Events
  • Schneider Electric Community
  • Sustainability
  • Legal Information
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings