Technical FAQs

Ask a Question

Script method setProperty available in Vijeo Designer can be used to change the equipment IP address of Modbus TCP equipment. Can we use this method to change the IP address of equipment other than Modbus TCP equipment in Magelis HMI Runtime.

You can use set property method for changing the IP address of Ethernet Equipment keeping the parameter for this property as "CON_IPAddress". The methods to be used as follows:

int[] ipAddress = {192, 168, 1, 10};
ModbusEquipment01.setProperty("Con_IPAddress", ipAddress);

Please take note that this is not limited to only Modbus TCP equipments but it can be used for all the Ethernet type Equipments.

Please find the attached sample application for the same.


Was this helpful?
What can we do to improve the information ?