Serious crash, please help

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
specnaz
Posts: 22
Joined: Thu Jul 16, 2020 3:35 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Serious crash, please help

Post by specnaz »

Hey guys I have been machining some plates today whole series of it and after completing 4 of them I added a line in my program called N10 that called for a simple M3 and so I can resume the program from here, and what happened the tool went across the piece and for no obvious reason dove right into the table and started going the same way it just came from, and it looks like it tried to lift before it gauged the work piece and it stopped there, the cut on the table looks like it has a bit of an angle even as it tired lifting the tool.
I'm clueless on why would that happen?

report, program and pics attached
photo_2023-11-08_15-38-12.jpg
Attachments
PLATE.txt
(340 Bytes) Downloaded 2 times
report_883F4A9CAF56-1231192778_2023-11-08_15-30-22.zip
(985.45 KiB) Downloaded 2 times
photo_2023-11-08_15-37-24.jpg
tblough
Posts: 3102
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Serious crash, please help

Post by tblough »

The M3 line you added just starts the spindle. It does not stop movement. Before the added M3, you were at X-18.5. You started the spindle M3, and then fed the machine to X0. The program next fed back to X-18.5 in the next line of code.

You can use F4 Run/F2 Search to search for a line number in your program to restart. You do not need to edit your program to add a block number. When using F4/F2 to restart your program, the control "runs" the program from the beginning in memory without actually moving the machine. Because of this, it knows where to position the machine, if the spindle was on, if the coolant was on, and starts back in the correct X Y position at the Z home level and then feeds Z into the part at the current program federate.

Once it's at the correct Z level based on all of the previously "memory" run code, it resumes at the searched for line number.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
specnaz
Posts: 22
Joined: Thu Jul 16, 2020 3:35 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Serious crash, please help

Post by specnaz »

tblough wrote: Wed Nov 08, 2023 6:18 pm The M3 line you added just starts the spindle. It does not stop movement. Before the added M3, you were at X-18.5. You started the spindle M3, and then fed the machine to X0. The program next fed back to X-18.5 in the next line of code.

You can use F4 Run/F2 Search to search for a line number in your program to restart. You do not need to edit your program to add a block number. When using F4/F2 to restart your program, the control "runs" the program from the beginning in memory without actually moving the machine. Because of this, it knows where to position the machine, if the spindle was on, if the coolant was on, and starts back in the correct X Y position at the Z home level and then feeds Z into the part at the current program federate.

Once it's at the correct Z level based on all of the previously "memory" run code, it resumes at the searched for line number.
Correct, the part I don't understand is why it dove into the table once it came to X0 , it should have stayed at Z-0.25 and go back. At the moment of crash Y was displaying -1.2

I wonder if Home for the Z was set too low , since it's a knee mill and the table was manually lifted up to the Work 0 and then it somehow ran a home routine?
specnaz
Posts: 22
Joined: Thu Jul 16, 2020 3:35 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Serious crash, please help

Post by specnaz »

here, we made the video and recreated the problem, Acorn is doing something it's not supposed to?

cncsnw
Posts: 3855
Joined: Wed Mar 24, 2010 5:48 pm

Re: Serious crash, please help

Post by cncsnw »

The reason it moves all axes when you do a Run -> Search to N10, is that it needs to get the axes to where they would ordinarily be at the beginning of that line (i.e. upon completion of all lines leading up to that point).

The "plate.txt" file you posted had "N10 M03" on line 33.

In your video, when you search for N10, it appears that "N10 M03" is on line 34.

What is on the extra line, and where is it?

If, for example, there was another "Z-0.55" line, like on line 7, but inserted somewhere after the "Z-0.25" that was on line 9 of the file you posted, then CNC12 would be doing exactly the right thing to move Z to -0.55 after it gets X and Y into position at X-18.5 Y-1.2.

If, on the other hand, using Run -> Search to start on line 33 of the exact "plate.txt" file you posted, results in a move to Z-0.55 after moving to X-18.5 Y-1.2, then that would be a malfunction in CNC12. CNC12 should move Z to the last commanded position preceding the search target.

Can you post an exact copy of the CNC program file that you ran when you took your video? Or shoot a video of the machine running the exact CNC program file that you posted?

For what it's worth, there is no need to have "M03" on your inserted line; nor the additional "G01 F10.0" on the next line. CNC12 will start the spindle, and choose the correct movement mode and feedrate, based on the earlier codes in the program. Centroid differs from most other controls in this regard. It is called "smart search".
specnaz
Posts: 22
Joined: Thu Jul 16, 2020 3:35 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Serious crash, please help

Post by specnaz »

sorry for the mix up, we tried removing a line in the program and I accidentally posted the wrong file, here's the file we used and where it crashed
Attachments
PLATE.txt
(345 Bytes) Downloaded 10 times
specnaz
Posts: 22
Joined: Thu Jul 16, 2020 3:35 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Serious crash, please help

Post by specnaz »

I've tried to run this gcode in my other Acorn machine and same thing happens, any ideas why it goes to -0.55 after the -0.25 on Z was given?
suntravel
Posts: 1982
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC 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: Serious crash, please help

Post by suntravel »

specnaz wrote: Sat Nov 11, 2023 7:03 pm I've tried to run this gcode in my other Acorn machine and same thing happens, any ideas why it goes to -0.55 after the -0.25 on Z was given?
yes, because it is in the g-gode

Uwe
Attachments
notepad++_unBKfEi8T5.png
specnaz
Posts: 22
Joined: Thu Jul 16, 2020 3:35 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Serious crash, please help

Post by specnaz »

suntravel wrote: Sat Nov 11, 2023 8:45 pm
specnaz wrote: Sat Nov 11, 2023 7:03 pm I've tried to run this gcode in my other Acorn machine and same thing happens, any ideas why it goes to -0.55 after the -0.25 on Z was given?
yes, because it is in the g-gode

Uwe
Correct, but if you look on a line 10 it tells it to go to -0.25 after the -0.55 , but if I try to resume the program from line 35 (N10 M03) it still goes to -0.55 , ignores -0.25 and just re-runs the program causing it to crash
suntravel
Posts: 1982
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC 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: Serious crash, please help

Post by suntravel »

If I test this, it resumes going to -0.25, because this is the last z position.

Uwe
Post Reply