Khi Posted September 21, 2018 Report Share Posted September 21, 2018 Hey, I did not start the memory bit mb3 from 0 to 1 but i get set coil to mb7.why Best regards Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted September 22, 2018 MVP 2022 Report Share Posted September 22, 2018 Obviously there isn't enough information here to answer your question, but here is the approach I would take: - Search for MB 7 to see if it exists anywhere else in the program (other than the Reset in rung 4). If not, then: - While online (as you are above), try to turn off the bit. If it will turn off, then look at the logic in Rung 2 that turns on MB 3. If anything can turn on MB 3, even if only for 1 PLC cycle (which you would not be able to see while online), then MB 7 will be Set. - If neither of the above solves the problem, then now that you have MB 7 off, do some testing to see if you can get it to turn on again and note the conditions present. By the way, it is good programming practice to label every operand used in the program. Also, NEVER have a timer contact following the timer coil, as you are doing (twice) in Rung 4. It makes no logical sense and will not function properly. While not prohibited, it is usually poor practice to have ANY contacts following a coil (most PLC programming software won't allow it at all even though Unitronics does). Break the logic up into multiple rungs to avoid that. Think of a ladder rung as "conditions >>> actions". Keep all the conditions (contacts, compares, etc) to the left and actions to the right (coils, stores, etc). Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted September 22, 2018 MVP 2022 Report Share Posted September 22, 2018 +1 to all Flex says, but also do a full Initialize and Reset of the plc. Connection/Communication & OS/2nd tab, bottom right. cheers, Aus Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted September 23, 2018 MVP 2022 Report Share Posted September 23, 2018 1 hour ago, Ausman said: also do a full Initialize and Reset of the plc Glad you mentioned that Ausman. I was going to ask, and forgot, if the coil was always on or if he actually saw it turn on. I've been surprised on occasion at what coils are already set when I load software. It's usually a good idea to load a blank project and perform initialize & reset, prior to loading a new project in a PLC - even a brand-new PLC fresh from the factory. 1 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted September 23, 2018 MVP 2022 Report Share Posted September 23, 2018 Whenever you have a question on why a program does something please upload your program. Joe T. 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.