Is there a script in Vijeo Designer that will allow me to write a new IP address of an Equipment at Runtime?
Issue:
Writing a new IP address of an Equipment at Runtime in Vijeo Designer
Product Line:
Vijeo Designer
Resolution:
Yes, you can write the IP address of an equipment via scripting. This feature was implemented in Vijeo Designer V5.0 SP1. This code will set IP Addresses for any driver, not just the Modbus driver. Below is an example script:
// --------------- 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();
- int [ ] NewIP_InputData = {10, 187, 225, 135};
-
Udgivet til: Schneider Electric Danmark
Brug for hjælp?
Produktvælger
Find hurtigt og nemt de rette produkter og det rette tilbehør til dine anvendelser.
Få et tilbud
Start din salgsforespørgsel online, så vil du blive kontaktet af en ekspert.
Find forhandler
Find den nærmeste Schneider Electric-distributør.
Hjælpecenter
Find supportressourcer til alle dine behov på ét sted.