There is a script method to change the IP address of Siemens Simatic S7 Ethernet Driver in Vijeo Designer. However, is there a way to change the rack and slot using script.
In Vijeo Designer we do not have any script method to change the Rack and Slot of Simatic S7 Ethernet Driver. The only possibility for this driver to change the IP address.
In Vijeo Designer we have only following parameter can be changed using script method SetProperty for equipment in HMI.
Use "Con_IPAddress" to define the equipment's IP address. (For all Ethernet Equipment)
Use "Con_SlaveEquipmentAddress" to define the equipment's slave address. (Modbus RTU only)
Use "Con_UnitNumber" to define the equipment's Unit Number. (Modbus TCP/IP only)
Use "Con_DualRedundantIPAddress" to define the equipment's backup IP address.
Use "Con_EquipmentAddress" to define the equipment's address for Modbus Slave.
To change the Rack and Slot of Simatic S7 Ethernet Driver in Runtime you will have to go into configuration screen of HMI by assigning the Configuration function on any button and then in Offline TAB--> IO Manager you can change the Equipment property including Rack and Slot. Please take note that changes applied by this method will be valid for only running Runtime Session. As soon as you power cycle the HMI properties will be set to default assignment in Project.