ATC Issue (resolved)

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

Moderator: cnckeith

repauli1
Posts: 156
Joined: Thu Jul 09, 2020 9:50 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

ATC Issue (resolved)

Post by repauli1 »

I am having a repetitive issue with the ATC, I have initialized it, I have F2 Reset it. I have tool1 in spindle, request tool3, spindle goes to home, then G30 tool change height, carousel slides in over tool holder, spindle un-clamps, with air blow, Z goes up to home and it stops, reports Mem14 M101
The spindle remains un-clamped and air continues to blow. Attached are photos and report
https://photos.app.goo.gl/tpTzLqU4aEm3ey346
Attachments
20211216_142649.jpg
report_0610200966_2021-12-16_16-17-18.zip
(3.56 MiB) Downloaded 69 times
Last edited by repauli1 on Sat Dec 18, 2021 5:37 pm, edited 1 time in total.
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: ATC Issue

Post by martyscncgarage »

Take a look at your error logs
F7 Utility, F9 Logs, F1 Errors

Excerpt from your log
(1) 12-16-2021 16:05:43 CNC12-D Mill v4.14
(4) 12-16-2021 16:05:44 9039 Software Ready Fault
(1) 12-16-2021 16:06:11 406 Emergency stop detected
(4) 12-16-2021 16:06:11 2099 Message Cleared
(4) 12-16-2021 16:06:11 2099 Message Cleared
(4) 12-16-2021 16:06:25 5038 SPECIFIED SPIN SPEED < MIN SPIN SPEED
(4) 12-16-2021 16:07:26 5038 SPECIFIED SPIN SPEED < MIN SPIN SPEED
(1) 12-16-2021 16:07:29 Waiting for Carousel In...
(1) 12-16-2021 16:07:31 Waiting for Tool UnClamp...

(1) 12-16-2021 16:07:43 406 Emergency stop detected
(1) 12-16-2021 16:17:18 Creating report...

Looks like the control is not seeing the signals it wants to see during the tool change process.
New build?
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
repauli1
Posts: 156
Joined: Thu Jul 09, 2020 9:50 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ATC Issue

Post by repauli1 »

New retrofit yes, if it is waiting for tool unclamp, why would it raise z axis to home? ALT-I manual tests indicate both those inputs functioning.
cncsnw
Posts: 3853
Joined: Wed Mar 24, 2010 5:48 pm

Re: ATC Issue

Post by cncsnw »

The messages that Marty highlighted would correspond to lines 52 ("M101/50032") and 64 ("M101/50022") in the M6 macro.

Since the process continued without error to "311 Waiting for memory #14", corresponding to line 73 ("M101/70014"), we can assume that the carousel came in and the tool unclamped without issues.

MEM14 is named "AtRequestedToolLocation_M", and is evidently set by RotateCarouselStage to indicate when the carousel has been rotated to the new tool. If the carousel has not actually rotated to the newly requested tool (perhaps has not actually started rotating at all) then perhaps the PLC somehow did not get the go-ahead to rotate (evidently the "M94/40" command); or refused to act on it due to some other condition.

Unfortunately, the logic in RotateCarouselStage is beyond my ability to decipher without a more serious investment of time. With luck someone from Centroid who was involved in writing it can chime in with some troubleshooting suggestions.

To echo Marty's final question above: has this control on this machine running this PLC program and M6 macro ever changed tools correctly, or was this the result when you tried it for the very first time?
repauli1
Posts: 156
Joined: Thu Jul 09, 2020 9:50 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ATC Issue

Post by repauli1 »

No, this is my attempt to get it working properly.
FYI the input spindle oriented is overriden to true, I do not have or need and encoder on vfd because of type of tool holder. I have attempted this tool change at least 20 plus times, always stops here. I cannot figure out what's causing it. Interesting to note there in a N100 in the mfunct6.mac file right in middle of macro, would this not cause macro to stop executing?
Attachments
received_1309222039530274.jpeg
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: ATC Issue

Post by martyscncgarage »

repauli1 wrote: Thu Dec 16, 2021 6:25 pm No, this is my attempt to get it working properly.
FYI the input spindle oriented is overriden to true, I do not have or need and encoder on vfd because of type of tool holder. I have attempted this tool change at least 20 plus times, always stops here. I cannot figure out what's causing it. Interesting to note there in a N100 in the mfunct6.mac file right in middle of macro, would this not cause macro to stop executing?

What kind of tool changer, machine and how does your tool change sequence happen.
Important to know the big picture here.

You can hire Marc or Centroid Support to get you to the finish line, but need to know what you are working with.
There is a sequence of events that need to happen and be satisfied during the standard Centroid Umbrella Tool change cycle. It seems as though you need a modification to the PLC to suit your machine. We can not assume what you have or are working with.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
cnckeith
Posts: 7325
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: ATC Issue

Post by cnckeith »

yep, need more info. photos and description of the ATC type, type of sensors, how the ATC intended logic works etc..then you can tweak the PLC program to match. Not all ATC's are the same.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
repauli1
Posts: 156
Joined: Thu Jul 09, 2020 9:50 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ATC Issue

Post by repauli1 »

Did you watch the video link?
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: ATC Issue

Post by martyscncgarage »

Here is the link he is referring to he has a short video clip in it:

https://photos.app.goo.gl/tpTzLqU4aEm3ey346


You still need to provide information as to sensors.
Do you have a carousel in and out sensor?
Do you have a tool counting sensor?
What rotates the carousel? (How is it connected to the control?) (Can you manually rotate the carousel by forcing the output on?)

Are you comfortable making modifications to the PLC and recompiling it?

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
repauli1
Posts: 156
Joined: Thu Jul 09, 2020 9:50 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ATC Issue

Post by repauli1 »

Yes, I have all those inputs, the Carousel motor is electric with cw/ccw and I have spun it both directions, it operates as expected. I performed functionality checks on all I/O. My background is 30 years owning an automation business, well versed in plc and coding.
Post Reply