EcoStruxure Automation Expert / IEC 61499 Forum
Schneider Electric support forum to acquire and share knowledge about EcoStruxure Automation Expert and IEC 61499 standard for distributed control systems.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-12-01 09:29 AM . Last Modified: 2023-07-28 02:23 AM
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?
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: 2021-12-01 10:08 AM
Hi
Just use Image primitive
Use the Ranges property to define the enum with selected images
Br,
Gernot
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: 2021-12-01 10:08 AM
Hi
Just use Image primitive
Use the Ranges property to define the enum with selected images
Br,
Gernot
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: 2021-12-01 10:25 AM . Last Modified: 2021-12-01 10:26 AM
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.
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: 2021-12-01 10:51 AM
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.
But EAE gets you a lot of useful primitives, I should use them more often.
Thx for sharing.
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.