Linuxcnc Gmocappy -> Fragen zum Nullpunkt

More
8 years 7 months ago #108067 by Michael1992
Hallo Forum,

bin neu hier. Habe mir vor einigen Monaten eine CNC Fräse gebaut.
Nun habe ich in Fusion360 ein Bauteil erstellt, welches ich mittels
Linuxcnc Postprozessor in ein G-Code exportiert habe. Das Uploaden
auf Linuxcnc hat ebenfalls funktioniert. Nachdem ich jedoch dem System
den Werkstücknullpunkt "gezeigt" habe, fährt meine Z-Achse jedoch immer
auf den Maschinennullpunkt. Im G-Code steht Z-0 für die Oberkante des Werkstücks.
Für die Referenzfahrt der Z-Achse, fährt die Achse nach unten.

Kann mir irgendjemand bitte helfen?
Danke :)

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #108095 by Michael1992
Hier noch mein G-Code, der mir Fusion360 ausgibt.


%
(BOHRPLATTE)
N10 G90 G94 G17 G91.1
N15 G21
N20 G53 G0 Z0.
(PLANEN1)
N25 M9
N30 T1 M6
N35 T2
N40 S3820 M3
N45 G54
N50 M8
N60 G0 X156.5 Y3.438
N65 G43 Z15. H1
N70 G0 Z5.
N75 G1 Z0. F2336.8
N80 G18 G3 X155.5 Z-1. I-1. K0.
N85 G1 X150.
N90 X0.
N95 G17 G2 Y11.782 I0. J4.172
N100 G1 X150.
N105 G3 Y20.125 I0. J4.172
N110 G1 X0.
N115 G2 Y28.468 I0. J4.172
N120 G1 X150.
N125 G3 Y36.812 I0. J4.172
N130 G1 X0.
N135 G2 Y45.155 I0. J4.172
N140 G1 X150.
N145 G18 G2 X151. Z0. I0. K1.
N150 G0 Z15.
N155 G17
N160 M5
N165 G53 G0 Z0.
(BOHREN1)
N170 M9
N175 M1
N180 T2 M6
N185 T60
N190 S9700 M3
N195 G54
N200 M8
N210 G0 X75. Y25.
N215 G43 Z15. H2
N225 G0 Z5.
N230 Z3.
N235 Z0.
N240 G1 Z-4. F30.
N245 G0 Z-1.
N250 G1 Z-6. F30.
N255 G0 Z-3.
N260 G1 Z-8. F30.
N265 G0 Z-5.
N270 G1 Z-10. F30.
N275 G0 Z-7.
N280 G1 Z-12. F30.
N285 G0 Z-9.
N290 G1 Z-14. F30.
N295 G0 Z-11.
N300 G1 Z-16. F30.
N305 G0 Z-13.
N310 G1 Z-18. F30.
N315 G0 Z-15.
N320 G1 Z-20. F30.
N325 G0 Z-17.
N330 G1 Z-21. F30.
N335 G0 Z5.
N345 X125.046
N350 Z3.
N355 Z0.
N360 G1 Z-4. F30.
N365 G0 Z-1.
N370 G1 Z-6. F30.
N375 G0 Z-3.
N380 G1 Z-8. F30.
N385 G0 Z-5.
N390 G1 Z-10. F30.
N395 G0 Z-7.
N400 G1 Z-12. F30.
N405 G0 Z-9.
N410 G1 Z-14. F30.
N415 G0 Z-11.
N420 G1 Z-16. F30.
N425 G0 Z-13.
N430 G1 Z-18. F30.
N435 G0 Z-15.
N440 G1 Z-20. F30.
N445 G0 Z5.
N455 X24.98
N460 Z3.
N465 Z0.
N470 G1 Z-4. F30.
N475 G0 Z-1.
N480 G1 Z-6. F30.
N485 G0 Z-3.
N490 G1 Z-8. F30.
N495 G0 Z-5.
N500 G1 Z-10. F30.
N505 G0 Z-7.
N510 G1 Z-12. F30.
N515 G0 Z-9.
N520 G1 Z-14. F30.
N525 G0 Z-11.
N530 G1 Z-16. F30.
N535 G0 Z-13.
N540 G1 Z-18. F30.
N545 G0 Z-15.
N550 G1 Z-20. F30.
N555 G0 Z-17.
N560 G1 Z-21. F30.
N565 G0 Z5.
N570 Z15.
N580 M5
N585 G53 Z0.
(BOHREN2)
N590 M9
N595 M1
N600 T60 M6
N605 T1
N610 S5000 M3
N615 G54
N620 M8
N630 G0 X24.98 Y25.
N635 G43 Z15. H60
N645 G0 Z5.
N650 G98 G81 X24.98 Y25. Z-7. R4. F500.
N655 X75.
N660 X125.046
N665 G80
N670 G0 Z15.
N680 M9
N685 G53 Z0.
N690 M30
%

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #108096 by Clive S
After you homed the machine did you then touch off on the stock piece with x,y and z? and zeroed the dro

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago - 8 years 7 months ago #108097 by Michael1992
Hello,

Thank you for your answer. Please excuse my bad English.

I loaded the program in Linuxcnc and touched the workpiece. Unfortunately, the Z-axis always moves to machine 0. I get an error message that the stop is triggered if you continue driving. Is the error in G-code?
Last edit: 8 years 7 months ago by Michael1992.

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #108100 by Clive S
It might help if you post your ini file

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #108101 by Michael1992
If I clip the tool change, for example T60 M6 in the G-code, it works. Is this an automatic tool change? In addition, I have to rewrite Z0 to Z150, so that the CNC milling machine does not move to the stop. My Z-axis reference switch is on top. This means that the Z-axis has to go all the way down. That explains why Z0 does not work. But how can I change this to fusion360? I would also like to do a manual tool change. Can you help me?

Please Log in or Create an account to join the conversation.

Moderators: Muecke
Time to create page: 0.062 seconds
Powered by Kunena Forum