Issue
In EcoStruxure Machine Expert or SoMachine v4.3, how do I set up the Gateway for downloading my PLC application to a device with a specific subnet mask?
Product Line
EcoStruxure Machine Expert, SoMachine v4.3
Environment
Configuration Software for Windows
Resolution
To set up the Machine Expert Gateway to be able to connect to devices with a specific subnet mask (in this example, '255.255.255.0'), follow these steps below:
- Run Notepad.exe as Administrator in Windows
- From Notepad, open the file "Gateway.cfg" in the SoMachine Gateway folder (default location: "C:\Program Files (x86)\Schneider Electric\EcoStruxure Machine Expert\Tools\Gateway")
(For SoMachine, the location is "C:\Program Files (x86)\Schneider Electric\SoMachine Software\Tools\Gateway\") - Under the [CmpBlkDrvUdp] section, add the line "itf.0.networkmask=255.255.255.0" (or replace 255.255.255.0 with a subnet mask of your choice)
- Save the Gateway.cfg
- Restart the Gateway Service from the green "=S=" logo icon on the right side of the Windows taskbar (or restart the Windows Service called 'CoDeSys Gateway V3')