Benchman XT 20 tool ATC

More
27 Jan 2017 17:38 - 27 Jan 2017 17:40 #86793 by BigJohnT
BigJohnT replied the topic: Benchman XT 20 tool ATC
Hey Mac,

Here is an example of sequencing in ladder that is pretty bullet proof.
ok to start sequence --- not step 2 trigger ---- step1()
step1 ----------------|

step1 ---- do stuff()
        |---- stuff done ---- step 2 trigger()

step2 ----  not step 2 trigger ----- step2()
step2--|

step2 ---- do more stuff()
        |---differnet stuff done ---- step 3 trigger()

Step 1 starts and stays in step 1 until step 2 trigger comes on for one scan
Step 2 trigger starts step 2 and until some condition is met then step 3 trigger is on for one scan

JT
Last Edit: 27 Jan 2017 17:40 by BigJohnT.
More
28 Jan 2017 02:57 - 29 Jan 2017 01:37 #86819 by MacGalempsy
MacGalempsy replied the topic: Benchman XT 20 tool ATC
these attachments are obsolete. please check the next post down.
Attachments:
Last Edit: 29 Jan 2017 01:37 by MacGalempsy. Reason: updated with a full program attempt
More
28 Jan 2017 14:50 #86842 by BigJohnT
BigJohnT replied the topic: Benchman XT 20 tool ATC
You can only have an output one time, you have Q2 twice. What will happen is only the logic in line 5 will set the state of Q2.

JT
The following user(s) said Thank You: MacGalempsy
More
28 Jan 2017 18:37 #86846 by bevins
bevins replied the topic: Benchman XT 20 tool ATC

BigJohnT wrote: You can only have an output one time, you have Q2 twice. What will happen is only the logic in line 5 will set the state of Q2.

JT


Does this work?

Remove rung 6, change %Q2 rising edge to %Q2, remove %Q2 output on rung 5 and finish that rung up one rung in between %I1 and %Q2 output.

So when you press Pyvcp-home-button, you start-find-turret, motor turns until you get your index, then turret is homed, and gets latched by rung 5. Once you get %Q2 that drops out %Q0 which stops the motor turning %Q1. And your homed.
More
29 Jan 2017 01:35 #86874 by MacGalempsy
MacGalempsy replied the topic: Benchman XT 20 tool ATC
Here is the first full-go attempt at the entire ladder program. It may not be fully optimized, but it is my best shot. Please feel free to let me know what needs to be changed.
Thanks!

File Attachment:

File Name: classiclad...gram.pdf
File Size:777 KB
Attachments:
More
30 Jan 2017 12:37 #86960 by bevins
bevins replied the topic: Benchman XT 20 tool ATC
WOW, nice job.

Still trying to figure out the logic...... lol
The following user(s) said Thank You: MacGalempsy
More
30 Jan 2017 22:56 #87013 by MacGalempsy
MacGalempsy replied the topic: Benchman XT 20 tool ATC
The only way I was able to go thru it was buy printing it out, then manually coloring the contacts and outputs. There are a few errors in that revision, which were figured out after the coloring episode. Once I get the chance to test the programming, the pdf will be updated. Thanks for taking the time to check it out.
Time to create page: 0.076 seconds
Powered by Kunena Forum