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. Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted September 13, 2020 MVP 2022 Report Share Posted September 13, 2020 Please see some tips in https://www.unitronicsplc.com/videos-and-tutorials-visilogic/ Lights and Buttons Programming – Basic Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted September 14, 2020 MVP 2022 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. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted September 14, 2020 MVP 2022 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". Quote 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 Quote 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 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted September 16, 2020 MVP 2022 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.