Generally, you only have one subnet on location, also called IP range. This is depicted by the machine network below, where the subnet is 192.168.140.X.
However, there may be situations where you have more than one subnet. For example when the PLC has 2 Ethernet ports, both with different subnets, where one is connected to the x500 IoT gateway (i.e. subnet 192.168.140.X) and one is connected to another device, like an HMI (i.e. subnet 192.168.1.X). The PLC will then act as a gateway between the subnets.
Define additional subnets
The following steps will teach you how to define additional subnets in the LAN settings of the x500 IoT gateway.
- Go to [Devices] in the main menu, select the concerning device, open its [Config] tab, and edit the LAN settings.
- Press [Show more] in the top right corner.
- Press [Add additional subnet] at the bottom of the page.
- Here you enter information about how the subnet can be reached. Enter the additional subnet’s network address and network mask. The network address is the first number in the subnet (i.e. 192.168.1.0). The network mask is commonly 255.255.255.0, but may be different for your device. The gateway device (i.e. PLC) also has an IP address in the same subnet as the x500 IoT gateway, this is the gateway address.
- Finally, press [Push changes] in the config tab to complete the setup.