VCP Lathe Collet open close

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

lavrgs
Posts: 669
Joined: Sat Aug 11, 2018 11:22 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Oregon

Re: VCP Lathe Collet open close

Post by lavrgs »

I need some clarification on the term “test”, is it different than adding to an IF THEN statement?


lavrgs
Posts: 669
Joined: Sat Aug 11, 2018 11:22 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Oregon

Re: VCP Lathe Collet open close

Post by lavrgs »

Success!
Thanks Marc!


cncsnw
Community Expert
Posts: 4584
Joined: Wed Mar 24, 2010 5:48 pm

Re: VCP Lathe Collet open close

Post by cncsnw »

Good to see you got it worked out.

As you might expect, "test" is a highly technical software term, meaning "find out if it is true or false". In other words, put it somewhere between "IF" and "THEN".


lavrgs
Posts: 669
Joined: Sat Aug 11, 2018 11:22 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Oregon

Re: VCP Lathe Collet open close

Post by lavrgs »

One more thing... I would have expected that if I added M11 to the GCODE - after the spindle stops, my collet should open. Is the reason that the program is still running ?
Collet opens/closes with MDI M10 M11 and all the other places changed via PLC


cncsnw
Community Expert
Posts: 4584
Joined: Wed Mar 24, 2010 5:48 pm

Re: VCP Lathe Collet open close

Post by cncsnw »

Are you programming the spindle to stop, before you program the M11?

Or are you programming the M11 with the spindle still running; letting the program cycle run to its end (either with no spindle stop, or with a spindle stop as one of the last things it does); then hoping that the collet will open after the program ends and the spindle stops?

It appears that your PLC program will respond to an M11 request only if the spindle is stopped; and also that your PLC program will cancel any pending M11 request when the program cycle ends.

So you need to stop the spindle (e.g. with M5), then use M11 to open the collet. You might want to put a delay in there to give the spindle time to come to a stop, since you apparently do not have a "spindle zero speed" signal.


Post Reply