navigatoru Posted February 5, 2015 Report Share Posted February 5, 2015 Hi, There is any option in Visilogic to have a image blinking when an MB is 1? Basically I need to have a led that blinks when an operation is running. Cheers, Marius Link to comment Share on other sites More sharing options...
Eyal Koren Posted February 5, 2015 Report Share Posted February 5, 2015 Hi Marius, You can easily create a blinking led by using SB3 as your contact. SB3 is a 1 sec pulse generator. Link to comment Share on other sites More sharing options...
cantcliff Posted February 5, 2015 Report Share Posted February 5, 2015 Use SB3 to control a toggle bit, then use the toggle bit on your display to control a binary image. Link to comment Share on other sites More sharing options...
navigatoru Posted February 6, 2015 Author Report Share Posted February 6, 2015 Hi Eyal, Thanks for reply. The SB3 is doing exactly what I need. But still I have an issue. I need something like: If O1=1 Then MB1 = SB3 End If and in the HMI I can assign the image (that I want to blink) to the MB1 (which will blink when O1=1) Not sure how to transfer this from structured text to ladder ... Thanks for help, Marius Link to comment Share on other sites More sharing options...
navigatoru Posted February 6, 2015 Author Report Share Posted February 6, 2015 Hi cantcliff, Thanks for reply. I am not too familiar with ladder. Could you please put a small example? Cheers, Marius Link to comment Share on other sites More sharing options...
cantcliff Posted February 6, 2015 Report Share Posted February 6, 2015 Having browser issues with images at the moment. For your ladder you need a line like this | SB3 | --- | MB1 | --- ( MB2 ) Make MB one the controlling bit that determines if you want your flash. As long as MB1 and SB3 are close, MB2 is on. So as MB3 cycles, MB2 will cycle on and off. On the interface design, create a binary Image, one image and set an off image state and an on image state, then link it to MB2. Link to comment Share on other sites More sharing options...
cantcliff Posted February 6, 2015 Report Share Posted February 6, 2015 Sorry for the double post, just managed to get images working. Here's my example as above in picture format. Link to comment Share on other sites More sharing options...
navigatoru Posted February 7, 2015 Author Report Share Posted February 7, 2015 Hi cantcliff, Thank you very much, works perfectly. Appreciate your help. Marius Link to comment Share on other sites More sharing options...
cantcliff Posted February 9, 2015 Report Share Posted February 9, 2015 Not a problem at all, glad I could help. 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