8 Tool Turret Comparision on Two Rungs

More
08 Feb 2021 16:06 #198012 by EW_CNC
Hi,
I'm using classicladder for my lathe turret tool selection. I couldn't add enough of comparisons on one rung of ladder, so I broke it into two rungs. It doesn't work if I am going from 2nd rung tool to a 1st rung tool. What am I missing? How should I set it up for 8 tool comparison? Is it possible to have more spaces on a rung?
Thanks,
EW

File Attachment:

File Name: turret.clp
File Size:12 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
08 Feb 2021 17:15 #198024 by Henk
One problem that I see is that you cannot have the same output coil in more than one place. Basically it cycles through and the one is off and the other on, they will do just that. On and off so fast that nothing basically happens at hardware level. I am referring to "trig2" in your ladder

Replace them with %B1 and %B2 respectively. Add another rung and place open contacts in parallel named %B1 and %B2 and connect them to a single output named Trig2.

So if either B1 or B2 is on, it activates Trig2

Henk
The following user(s) said Thank You: EW_CNC, Onkelmat

Please Log in or Create an account to join the conversation.

More
08 Feb 2021 17:16 #198025 by Henk
Note....assuming that B1 and B1 has not been used elsewhere in your ladder program....

Please Log in or Create an account to join the conversation.

More
08 Feb 2021 18:00 #198032 by EW_CNC
Thanks, That fixed it! :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum