The IP address of a SCADAPack x70 device is typically changed in the RemoteConnect software and then written to the controller.
In some instances, a user may actually want to have the controller's IP address configured dynamically. This can be done using the Device_ChangeParam function in logic.
To see how this function block works, connect to the controller over Modbus USB and assign it an IP address of 192.168.2.1 and create the logic below.
PARAM = 7 corresponds to the IP address for ETH1
From the help file:
Connect to the LAN port and ping 192.168.2.1 to prove the original address is active.
Go online with the controller and toggle the Initialize bit from lo to hi. An output status of 0 indicates the operation was successful.
Try to ping the original IP address 192.168.2.1 to see that it is has been changed. Ping the new IP address to see that ETH1 is now 192.168.2.2.
Please note from the help file.
The change to the new address isn't permanent so you may need to set the new IP address as part of your controller's boot up logic routine
In some instances, a user may actually want to have the controller's IP address configured dynamically. This can be done using the Device_ChangeParam function in logic.
To see how this function block works, connect to the controller over Modbus USB and assign it an IP address of 192.168.2.1 and create the logic below.
PARAM = 7 corresponds to the IP address for ETH1
From the help file:
Connect to the LAN port and ping 192.168.2.1 to prove the original address is active.
Go online with the controller and toggle the Initialize bit from lo to hi. An output status of 0 indicates the operation was successful.
Try to ping the original IP address 192.168.2.1 to see that it is has been changed. Ping the new IP address to see that ETH1 is now 192.168.2.2.
Please note from the help file.
The change to the new address isn't permanent so you may need to set the new IP address as part of your controller's boot up logic routine