搜尋常見問題
Is it possible to write a new IP address of connected device at runtime in Vijeo Designer.
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();
發佈於:施耐德電機Taiwan
探索更多
系列:
探索更多
系列: