Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
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
84570members
353843posts

Changing HMI image based on integer Interface input

EcoStruxure Automation Expert / IEC 61499 Forum

Browse this forum to find everything you want to know about EAE and IEC 61499 for distributed control systems. Ask experts your questions, get answers, discuss, and share your experience with the growing community.

Solved
russell_warren
Crewman
Crewman
0 Likes
3
1045

Changing HMI image based on integer Interface input

I am trying to figure out how I can alternate between a set of images based on an integer value used as an Interface input pin.

For instance I would like a value of 1 select image 1.  value of 2 select image 2, etc.

 

The interface pin graphical object that are pre-defined do not seem to have any image options.

 

Likewise the standard rectangle that I can attach an image to, has no way to link a tag from the Interface.

 

In Vijeo Designer this would be quite easy using visibility parameters.

 

How do I accomplish something like this in Automation Expert?

 

 

Tags (1)

Accepted Solutions
GKollegger
Crewman Crewman
Crewman
2
1038

Re: Changing HMI image based on integer Interface input

Hi 

 

Just use Image primitive

 

ImageList0.png

 

Use the Ranges property to define the enum with selected images

 

ImageList.png

 

Br,

Gernot

See Answer In Context

Tags (1)
3 Replies 3
GKollegger
Crewman Crewman
Crewman
2
1039

Re: Changing HMI image based on integer Interface input

Hi 

 

Just use Image primitive

 

ImageList0.png

 

Use the Ranges property to define the enum with selected images

 

ImageList.png

 

Br,

Gernot

Tags (1)
russell_warren
Crewman
Crewman
0 Likes
0
1035

Re: Changing HMI image based on integer Interface input

Thank you.  I am embarrassed, as I had my integer on the output by accident, which does not have the same selections as an input does.

Tags (1)
DP-JYC
Lieutenant JG
Lieutenant JG
0 Likes
0
1030

Re: Changing HMI image based on integer Interface input

Wow, nice tips @GKollegger 

I would have code it the "hard" way with n rectangles and play with the visibility in the C# part in execute function of the value.

Capture.PNG

 

But EAE gets you a lot of useful primitives, I should use them more often.

 

Thx for sharing.

Tags (1)