You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
Yes, it is possible to write a new IP address of connected devices via scripting during runtime. This feature has been implemented in Vijeo Designer V5.0 SP1.
Below sample script will set the IP addresses for any driver, not just the Modbus driver.
// --------------- Write some data ------------------------------------
// Length is given by NewIP_InputData.length
int [ ] NewIP_InputData = {10, 187, 225, 135};
ModbusEquipment01.openConfig();
ModbusEquipment01.setProperty( "Con_IPAddress", NewIP_InputData );
ModbusEquipment01.commitConfig();