Ruskied
Member
How would I go about creating a button in FactoryTalk ME with 2 tags and 4 states??
One binary input and one binary output; these tags are independent of each other! Four states (imagine a real button with a light): Up and Off, Down and Off, Up and On, Down and On.
This is a simple task but seems impossible...
I've tried two approaches:
1. Overlay a binary 2 state button on top of an indicator with a visibility animation. Where the buttons were tagged to the input and visibility animation to the output. ---- It only works as long as the animation is not null; I need buttons to be visible when tags are null.
2. Multistate button with 4 states (one for each image) and 4 AND expressions within Indicator connection for all 4 combinations of 2 tags. The "value" connection is addressed to the binary input. It works only if i'm okay clicking through all the states (4) and since it's a binary tag last two clicks don't do anything (if states are 0, 1, 2, 3: sending the value of 2 and 3 won't affect the tag). I need the button to have binary input but multistate output.
I'm coming to a conclusion that what I'm trying to do is simply impossible.
VBA editing isn't available with ME version.
I've started looking into Macro buttons but don't want to waste time if it won't help.
Any ideas? Thoughts?
Regards
One binary input and one binary output; these tags are independent of each other! Four states (imagine a real button with a light): Up and Off, Down and Off, Up and On, Down and On.
This is a simple task but seems impossible...
I've tried two approaches:
1. Overlay a binary 2 state button on top of an indicator with a visibility animation. Where the buttons were tagged to the input and visibility animation to the output. ---- It only works as long as the animation is not null; I need buttons to be visible when tags are null.
2. Multistate button with 4 states (one for each image) and 4 AND expressions within Indicator connection for all 4 combinations of 2 tags. The "value" connection is addressed to the binary input. It works only if i'm okay clicking through all the states (4) and since it's a binary tag last two clicks don't do anything (if states are 0, 1, 2, 3: sending the value of 2 and 3 won't affect the tag). I need the button to have binary input but multistate output.
I'm coming to a conclusion that what I'm trying to do is simply impossible.
VBA editing isn't available with ME version.
I've started looking into Macro buttons but don't want to waste time if it won't help.
Any ideas? Thoughts?
Regards
Last edited: