Niruban

omron sysmac studio Sysmac Studio Data Edit Variable Declaration Error

6 posts in this topic

Hi,

Now I am using Sysmac Studio - NA HMI.

I am facing the problem of Data edit tool here I am unable to give Indirect address. Like this address HM15_Recipe_hmi(Index_No).SetPoint_1

But If I give direct Address its working HM15_Recipe_hmi(8).SetPoint_1

 

I Hope someone give the solution.

 

 

sys1.JPG

sys.JPG

Share this post


Link to post
Share on other sites

How are you manipulating the Index_No?

If you are changing it in the Controller then have the Controller program do a MOVE to a new (non array) variable.

 

Share this post


Link to post
Share on other sites

Now I am Changing the value from HMI.

 

For Examble 

On the Screen Identi No they entered 10 (they can enter 1 to 24)means I need to show 10th stricture Set point & Weight & Temp &...

then if they want to change the values they will enter the setpoint or temp or ... 

then that values stored on 10th variable.

Share this post


Link to post
Share on other sites

its like a faceplate

In Single window i need to access 24 Devices.

Identi No Entered 1 means 1st device data need to show and change the values of(Set point, Temp,Weight)

Identi No Entered 2 means 2st device data need to show and change the values of(Set point, Temp,Weight)

Up to 24 Device need to access.

 

Here  Index_No  is a just INT Variable its taking value from Ident No window

1.JPG

2.JPG

Share this post


Link to post
Share on other sites

You can use  a support structure ( es HMI15_Recipe_hmi_Support )  with the same element of the array recipe where operator insert value.(set point,weight, temp ecc). and by subroutine you can copy the element of your support structure  in the array structure(by index).

 

Edited by babao
1 person likes this

Share this post


Link to post
Share on other sites

So as per your point of view I need to create two strecture one is for HMI and another one for PLC right??

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now