FUXA icon indicating copy to clipboard operation
FUXA copied to clipboard

[FEATURE] Ability to set/toggle bits with event

Open GrantC27 opened this issue 1 year ago • 1 comments

Describe the feature Adding the ability to set or toggle a specific bit with an event such as mouse click

Describe the solution you'd like Either adding bit mask to the set value option in events, or adding new options to the event to toggle and set specific bits

Additional context When trying to set a specific bit in a word, I can use the switch object linked to a tag and a bitmask, with the value corresponding to that bit to turn that bit on and off. I would like a similar functionality on other objects. To achieve this, we could use the mouse click event

GrantC27 avatar Jan 19 '24 14:01 GrantC27

I use a Vacon to control a 22kW motor and the start / stop function I use, uses binary coded input, so when I want to start the motor reversed/forward with ramping and coasting I want to be able to send this binary coded. Now I need to use a script to do this...

Also the toggle function could be one field for toggle on and other for toggle off. trinary toggling is also useful for Start/Hold/Stop or the same 3 states as Stop light for cars, ordering could be 123 123 or 12321... 3 pole switch could also be useful

Github-User-002 avatar Mar 21 '24 07:03 Github-User-002