ATC - M101 and M6 Modifications

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

suntravel
Community Expert
Posts: 3825
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: ATC - M101 and M6 Modifications

Post by suntravel »

Richard,

if the umbrella is moving to the spindle it is hitting the stop hard.

Is the air cylinder with adjustable dampening?

Uwe


RJS100
Posts: 782
Joined: Tue Oct 20, 2020 8:41 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
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: Arizona

Re: ATC - M101 and M6 Modifications

Post by RJS100 »

Marc, thanks for checking out the video. Yes, I miss-spoke on the video, I meant to say that T1 is in the spindle, not in the carousel.

I watched it a few more times and you are correct; the sequence does indeed look right. Yes, the drawbar is clamping an unclamping as needed. I guess the thing that surprised me a bit is that there is virtually no delay from the time the carousel is extended, to the time the z-axis moves up. I guess I expected a slight pause.

Is there a way to slow down the entire sequence so that when I am mounting the ATC and adjusting the position of the ATC with respect to the spindle, I get a chance to stop it if it is not looking right? I tried slowing down the feed rate on CNC12, but it had no effect on the Z-height retract speed.

Uwe, the air cylinder I used is from McMaster item 6498K831 (https://www.mcmaster.com/catalog/131/1275/6498K831). It has an operating force of 90 lbs. when supplied with 100 psi. I am only feeding it about 12 psi. I am not sure how to dampen it. Can I put a small valve on the exhaust to slow it down. Something like this:

https://www.amazon.com/gp/product/B07DP ... Y5G6&psc=1

Or do you think this would give better control (not sure if it will work with the air coming form the 1/8" NPT side:

https://www.amazon.com/gp/product/B07S2 ... WZ5XM&th=1


Thanks as always... Richard


suntravel
Community Expert
Posts: 3825
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: ATC - M101 and M6 Modifications

Post by suntravel »

I would use one with cushioning adjustable on both sides like this one:

https://www.esska-tech.co.uk/shop/FESTO ... 6125001056

They can be adjusted for smooth stopping even on full pressure.

Uwe


RJS100
Posts: 782
Joined: Tue Oct 20, 2020 8:41 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
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: Arizona

Re: ATC - M101 and M6 Modifications

Post by RJS100 »

Thanks for the suggestion... Appreciate that very much.

Going back to the original question... Do I have to make changes to the M6 macro... Since it appears to have the logic to make sure the spindle is not turning. I don't understand why there are several M6 macros.

Thanks.. Richard


suntravel
Community Expert
Posts: 3825
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: ATC - M101 and M6 Modifications

Post by suntravel »

There are M6 templates from the probe APP, but if you issue M6 only the mfunc6.mac will run.

To make sure the spindle is not turning there are several options

- use an input and wire the zero speed output from the servo driver
- use the PLC edit marc suggested
- use

Code: Select all

N110
G4 P0.1
IF #50001
IF #25009 > 10 THEN GOTO 110
instead of M101 /70014

Uwe


suntravel
Community Expert
Posts: 3825
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: ATC - M101 and M6 Modifications

Post by suntravel »

You can also use some of these hydraulic cylinder shock absorber to dampen it

https://de.aliexpress.com/item/40011434 ... in_prod%3A

Uwe


Ken Rychlik
Posts: 586
Joined: Wed Jan 23, 2019 4:19 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 80F5B5B92C3A-0213236854
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ATC - M101 and M6 Modifications

Post by Ken Rychlik »

You can use an inline needle valve in the air line to slow the cylinder also. I add delay's in mine for clamp time and things like that. G4 P.5 will give you a half second delay.
Attachments
needle vavle.jpg
Ken


suntravel
Community Expert
Posts: 3825
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: ATC - M101 and M6 Modifications

Post by suntravel »

cncsnw wrote: Mon Sep 01, 2025 2:28 pm As far as I can tell, a standard Acorn PLC program sets MEM14 "SpindleZeroSpeedState_M" based only on the "VFDZeroSpeed" input, if any.

I do not see any reference to the spindle encoder or SV_MEASURED_SPINDLE_SPEED.

You could, of course, replace:

Code: Select all

IF VFDZeroSpeed THEN (SpindleZeroSpeedState_M)
with

Code: Select all

IF ABS(SV_MEASURED_SPINDLE_SPEED) < 10 THEN (SpindleZeroSpeedState_M)
But that will only work if you have a spindle encoder, have it properly configured, and have set bit 0 of Parameter 78.
Tested this out, perfect, even with a status message.

Next thing was to figure out why it is working with no SV_MEASURED_SPINDLE_SPEED in the PLC....

It is explained in the PLC manual, I should read there more :mrgreen:

Uwe
Attachments
70014.jpg


suntravel
Community Expert
Posts: 3825
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: ATC - M101 and M6 Modifications

Post by suntravel »

Ken Rychlik wrote: Tue Sep 02, 2025 6:09 am You can use an inline needle valve in the air line to slow the cylinder also. I add delay's in mine for clamp time and things like that. G4 P.5 will give you a half second delay.
This way will slow down the whole travel, that is why I prefer only dampening near the end of travel...
.. fast and smooth like the Centroid s-curve on the axes :mrgreen:

Uwe


RJS100
Posts: 782
Joined: Tue Oct 20, 2020 8:41 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
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: Arizona

Re: ATC - M101 and M6 Modifications

Post by RJS100 »

Sorry, I am a little lost with the suggested changes.

I have attached the standard mfunc6.mac file that resides on my CNCM directory. I read your suggestions for how to modify this file but got lost a bit.

The attached mfunc6.mac file already contains "M101 /70014 (see screen shot). This file is dated 10/2/2023. If it is different in the new CNC12 5.40, I will wait for it to come out before making changes.

I currently have Parameter 78=0

Can you please indicate what needs to be changed in this file. Thanks for your patience.

Best... Richard
Attachments
Screenshot 2025-09-02 143330.jpg
mfunc6.mac
(10.48 KiB) Downloaded 2 times


Post Reply