VCP Lathe Collet open close
Moderator: cnckeith
-
- 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
I need some clarification on the term “test”, is it different than adding to an IF THEN statement?
My Tree J325 & Projectshttps://photos.app.goo.gl/LLHf8M84eQYwP3ph6
MAKING PARTS https://www.youtube.com/shorts/MSQ4TyTzFkk
Hardinge CHNC4 Retrofithttps://photos.app.goo.gl/244YnF9ykyUf7mfq7
MAKING PARTS https://www.youtube.com/shorts/MSQ4TyTzFkk
Hardinge CHNC4 Retrofithttps://photos.app.goo.gl/244YnF9ykyUf7mfq7
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- 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
Success!
Thanks Marc!
Thanks Marc!
My Tree J325 & Projectshttps://photos.app.goo.gl/LLHf8M84eQYwP3ph6
MAKING PARTS https://www.youtube.com/shorts/MSQ4TyTzFkk
Hardinge CHNC4 Retrofithttps://photos.app.goo.gl/244YnF9ykyUf7mfq7
MAKING PARTS https://www.youtube.com/shorts/MSQ4TyTzFkk
Hardinge CHNC4 Retrofithttps://photos.app.goo.gl/244YnF9ykyUf7mfq7
1 user liked this post
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: VCP Lathe Collet open close
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".
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".
1 user liked this post
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- 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
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
Collet opens/closes with MDI M10 M11 and all the other places changed via PLC
My Tree J325 & Projectshttps://photos.app.goo.gl/LLHf8M84eQYwP3ph6
MAKING PARTS https://www.youtube.com/shorts/MSQ4TyTzFkk
Hardinge CHNC4 Retrofithttps://photos.app.goo.gl/244YnF9ykyUf7mfq7
MAKING PARTS https://www.youtube.com/shorts/MSQ4TyTzFkk
Hardinge CHNC4 Retrofithttps://photos.app.goo.gl/244YnF9ykyUf7mfq7
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: VCP Lathe Collet open close
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.
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.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)