You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
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.
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.