cantcliff Posted September 12, 2014 Report Share Posted September 12, 2014 From my training I understand that direct coil actions are always placed on the right hand side of the rung. While attempting to solve as issue with a co-workers logic I noticed several coils run inline with contacts. Instead of: ----|/|----| |----|/|----( )----(/)---- His ladder contains rungs like this: ----|/|----( )----| |----|/|----(/)---- 1) Visilogic does not produce any errors or warnings but will this cause unexpected behavior at compile/upload to the PLC? 2) I know Allen Bradley PLCS treat serial or parallel coils identical is this the same with the Unitronics PLC Vision series? Quote Link to comment Share on other sites More sharing options...
s.pratt Posted September 12, 2014 Report Share Posted September 12, 2014 Hello, Thank you for using our Unitronics Forum. Your co-worker's ladder isn't necessarily wrong, but good programming practice (perhaps for easier troubleshooting) it is best to keep the coils to the right. In your first situation, both the direct coil and inverted coil rely on the first three contacts. In the second, the direct coil relies on the first inverted contact. However, the inverted coil relies on all three contacts. Running a parallel statement may be a "better programming practice" in the second situation. Running the direct contact, inverted contact, and inverted coil (the elements after the direct coil) in parallel with the direct coil rather than in series would keep the coils on the right hand side, thus keeping the programming practice. Please let me know if this helps. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted September 12, 2014 MVP 2022 Report Share Posted September 12, 2014 It's somewhat poor programming practice to place coils in series, and even worse to place a coil in the middle of a series of contacts. One of the nice things about Visilogic is that it allows for a great deal flexibility in this regards and will work properly even when poor programming practice is used. I would separate out the logic for better readability and troubleshooting, as follows: A B ----|/|----| |----|/|----( )----(/)---- should be broken into two nets like this: A ----|/|----| |----|/|----( )---- A B ----| |----(/)---- And ----|/|----( )----| |----|/|----(/)---- should be broken into two nets like this: ----|/|----( )---- ----|/|----| |----|/|----(/)---- Done in this way the logic is clear and unambiguous. Quote Link to comment Share on other sites More sharing options...
s.pratt Posted September 12, 2014 Report Share Posted September 12, 2014 Please note: Having multiple coils at the end of a rung is no problem at all. It is only advised against to place a coil in the middle of rung logic. 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.