rzasior Posted September 26, 2016 Report Share Posted September 26, 2016 Hello! Is it possible to set Unitronics V570 (in Visilogic 9.6.0) option which will set our outputs to the state that were before turning off our PLC? How is it possible? As I know there aren't any bits in PLC (except SB) which saves their state even when PLC is power off. Thank you for your time, cheers Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted October 3, 2016 MVP 2022 Report Share Posted October 3, 2016 Hi Rzas, It looks like no-one has replied to this, so I'll have a quick go. Yes it is possible, and there are myriad ways to go about it. At the very simplest level, write a small program that turns a MB on and off from a key input. Have that same MB directly running an Output, with both of them set to "None" in the Power up box. Power off, and then with power on the MB retains it's status, and therefore the physical outputs remain the same as when the PLC lost power. There are many more (sometimes complex) ways of doing what you want, but this shows you the basics. If your code will immediately alter these states on power up, you will need to put in delays, or programming that over-rides the code results initially. I would be very careful retaining outputs on power up.....things like load shedding and correct interaction etc are very important. I never do this AT ALL. My devices all work from a sequenced startup, where the PLC initially stabilises it's readings and then powers everything up correctly. cheers, Aus 1 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.