PeterT Posted September 13, 2020 Report Share Posted September 13, 2020 Hi, I’m new in Visilogic and currently working on Samba HMI/PLC splice detector program. I wonder if there is a double action button or advanced setting for a button that could turn e.g. red when the alarm activated and when pressed it turns back to green. Please help. Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted September 13, 2020 MVP 2023 Report Share Posted September 13, 2020 Please see some tips in https://www.unitronicsplc.com/videos-and-tutorials-visilogic/ Lights and Buttons Programming – Basic Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted September 14, 2020 MVP 2023 Report Share Posted September 14, 2020 I took a quick look at that particular video and it is unfortunately a less than stellar example of a tutorial. @PeterT -I would still encourage you to check out the videos to get yourself more up to speed on how Visilogic works, but what you're looking for is a binary text object. The color on these can be externally controlled and I often use them in place of buttons for this kind of function. Control the color itself with your alarm bit or a copy of it and then assign another bit to the touch property to acknowledge the alarm and turn the color controlling bit back off. If this is confusing try beating on it yourself and then post your plc program and we can give you some guidance. Joe T. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted September 14, 2020 MVP 2023 Report Share Posted September 14, 2020 8 hours ago, Joe Tauser said: but what you're looking for is a binary text object. You could also use "Marking View". Link to comment Share on other sites More sharing options...
PeterT Posted September 14, 2020 Author Report Share Posted September 14, 2020 Many thanks to all of you for your support, I wish I could join this community sooner. I’ll definitely try those suggestions and I’ll send you the project, I would be very grateful if you could give some guidance. Back in soon. Peter Link to comment Share on other sites More sharing options...
PeterT Posted September 16, 2020 Author Report Share Posted September 16, 2020 Thank again for your support, the buttons are now working the way I wanted thanks to your suggestions. Please find attached the copy of the program, not finished yet but pretty good considering this is my first ever PPL/HMI programming. Please let me know what could be improved. Many thanks Peter SM43 BFM2 counter _modified by PT 1009.vlp Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted September 16, 2020 MVP 2023 Report Share Posted September 16, 2020 Do NOT have more than one logic thread in a ladder rung, as you are doing in rungs 1, 5, 10, & 12! Other than that, I don't see any major issues. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now