Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
80821members
346893posts

VijeoDesigner 6.2 modbus IP reading script error

Mindaugas
Crewman
Crewman
0 Likes
2
610

VijeoDesigner 6.2 modbus IP reading script error

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?

Tags (1)
2 Replies 2
Rodrigo_Garcia
Administrator Administrator
Administrator
0 Likes
0
585

Re: VijeoDesigner 6.2 modbus IP reading script error

Hello @NicholasLim , Do you know who can support on this?

 

Thanks in advance.

 

Rodrigo G. 


Industrial Automation Community manager

Tags (1)
Paul_Derbyshire
Ensign Ensign
Ensign
0 Likes
0
582

Re: VijeoDesigner 6.2 modbus IP reading script error

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,

Paul Derbyshire
Senior Product Application Expert | Sales Enablement | HMI Line of Business, Digital Factory | Industrial Automation Business | Schneider Electric

Tags (1)