Sign in to follow this  
Followers 0
gitargr8

Modicon Logic Question

5 posts in this topic

I'm doing a Modicon to ControlLogix conversion, and I'm seeing a few rungs like the one in the attached image. Firstly, according to the manual, the top timer output turns on when timer = preset and the bottom turns on when timer < preset. Do one or both of the inputs need to be on for the outputs to turn on? Secondly, why the heck would someone add 1 to a value, then clear it in the next instruction? It also looks like they're doing the same with the timer accumulator. Any help is much appreciated. Thanks, ~Ryan

Share this post


Link to post
Share on other sites
SUB is sometimes used as a compare, as the 3 outputs are greater, equal, and less than. Check the 984 Ladder Logic Block Library manual, which I think is in the Downloads section here.

Share this post


Link to post
Share on other sites
Yeah, I figured that part out, but isn't the timer's accumulator here being overwritten with 0 all the time?

Share this post


Link to post
Share on other sites
Actually now that I've gone through a bunch of the code I'm thinking that the SUB is just attached to the top timer output, not both the top and bottom. So basically the timer gets reset when it goes done. This editor really makes it tough to see where the shorts are, and where the inputs / outputs off the instructions are. Is there any setting in ProWorx to change this?

Share this post


Link to post
Share on other sites
Nope, that's how it's going to draw it.. If you want space, you have to add one manually like in column 4. I hated working with that software. That PLC has so few commands available it's a pain to write anything. Then there's the fact that Modicon logic processes down and then across, not like normal PLCs or the way we read a book.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0