Hello,
I am using VijeoDesigner 6.2 SP10.
I try to read Modbus IP using this script:
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?
I am using VijeoDesigner 6.2 SP10.
I try to read Modbus IP using this script:
Code:
int [] data = ModbusEquipment01.getProperty( "Con_IPAddress" );
for( int i = 0; i < data.length; i++ )
{
IP.IPaddr.write( data );
}
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?