I am using VijeoDesigner 6.2 SP10.
I try to read Modbus IP using this script:
int  data = ModbusEquipment01.getProperty( "Con_IPAddress" );
for( int i = 0; i < data.length; i++ )
IP.IPaddr[i].write( data[i] );
and I get this error:
Error S8037: [Switch05- Script] [Line:3] Type "Tag.INTEGER" is not an array type
Variable IPaddr Data Type is INT, I try to use different data types, but the error still remains.
There could be a problem?
Could you direct message me your project and I can check out your project script? I want to confirm the definitions and configuration you have.
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!