Technical FAQs

Ask a Question

Is it possible to read the IP address of connected device at runtime in Vijeo Designer.

Yes, it is possible to read the IP address of connected devices via scripting during runtime. This feature has been implemented in Vijeo Designer V5.0 SP1.
Below is the sample script 
// --------------- Read existing data --------------------------------------
// data[0] to data[3] hold the IP Address.
// data.length can be used to query the number of elements in the array.
int [ ] data = ModbusEquipment01.getProperty( "Con_IPAddress" );
// Use the data you just received.
for( int i = 0; i < data.length; i++ )
PanelIPData.IP[i].write( data[i] );
Was this helpful?
What can we do to improve the information ?