-
-
Notifications
You must be signed in to change notification settings - Fork 855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Ability to set/toggle bits with event #1058
Comments
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... |
I'm working on this feature |
Available in the master branch |
I’m going to close this as resolved. let me know if you have any issues. |
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
The text was updated successfully, but these errors were encountered: