vpotanka Posted March 30 Report Share Posted March 30 Hi, I have an issue with Unilogics Set Coil. It won't stay high even when I have no other instances of the tag in the program. I thought it was just the display being glitchy so I added a counter to verify. It deenergizes then reenergizes with every cycle. I've attached a very simple program for you to see the issue. This is pretty serious. How am I supposed to write a basic program? Thanks. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted March 30 MVP 2022 Report Share Posted March 30 Moved to the UniLogic Software forum. 3 hours ago, vpotanka said: It deenergizes then reenergizes with every cycle. What do you mean by this? Quote Link to comment Share on other sites More sharing options...
Fernando Castro Posted March 30 Report Share Posted March 30 1 hour ago, vpotanka said: Hi, I have an issue with Unilogics Set Coil. It won't stay high even when I have no other instances of the tag in the program. I thought it was just the display being glitchy so I added a counter to verify. It deenergizes then reenergizes with every cycle. I've attached a very simple program for you to see the issue. This is pretty serious. How am I supposed to write a basic program? Thanks. just to clarify, on this screenshot rung 2 its continuously counting... I believe that you intended to count only if FirstScanBit changes from false to true. In that case the correct logic is to use a positive transition contact: ------|p|--------[Add]----- 1 Quote Link to comment Share on other sites More sharing options...
Gabriel Franco Posted March 30 Report Share Posted March 30 Maybe the funtion where you have this code, is not being called anywhere. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted March 30 MVP 2022 Report Share Posted March 30 I assure you the Set Bit works. If you want to upload your program we can have a closer look. On an unrelated and irrelevant personal note, I totally love the name of your company - Your logo matches the radio I have on my desk: Is there an antique radio fan in your organization? Joe T. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted March 30 MVP 2022 Report Share Posted March 30 By the way, @vpotanka, there is a first scan bit built into UniLogic. It's called "Ladder Initial Cycle" and can be found in the system "General" struct. 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.