Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-11-26 07:06 AM
Hello,
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?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-12-02 05:55 AM
Hello @Anonymous user , Do you know who can support on this?
Thanks in advance.
Rodrigo G.
Industrial Automation Community manager
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-12-02 06:09 AM
Hello @Mindaugas,
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.
Thank you,
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.