Update: Noch ein Makro, Kreisfräsen

More
05 Apr 2022 14:35 #239337 by andrax
Hi Leute,

ich bastel mir gerade ein paar Makros, so dass ich für einfachste Sachen nicht jedesmal das CAM anwerfen muss.
Allerdings will die Nullpunktverschiebung nicht so richtig.
Also ich fahre auf mein Werkstücknullpunkt und setze mit antasten X,Y,Z = 0
Ausgehend vom Werkstücknullpunkt soll das Makro bei X100 und Y60 gestartet werden.

G10 L2 P1 X100 Y60
o<mm114> Call

Das funktioniert aber so nicht. Hier wird nur der Referenzpunkt sonst wo hin verschoben.
Wie ist die richtige rangehensweise?

Gruß

Andre
 

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

More
05 Apr 2022 15:22 - 05 Apr 2022 15:23 #239345 by spicer
Bin mir nicht sicher.
Aber könnte ein G92 vorher und ein G90 nachher helfen?
... oder G91? Weiss es gerade nicht genau ^^
Last edit: 05 Apr 2022 15:23 by spicer.

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

More
05 Apr 2022 15:52 #239351 by chris@cnc
Bei der Syntax wird in G54 X100 und Y60 eingetragen ohne den alten Nullpunkt zu berücksichtigen.
In deinem Fall wäre möglich:
G0 X100 Y60 Z100 # Vorpositionieren mit alten Nullpunkt
G10 L20 P2 X0 Y0 Z100 #Aktuelle Position in G55 übernehmen. Bei einer Programmunterbrechung ist es leichter einzusteigen und der Z Wert ist wichtig. Ist sonst in G55 Z0.

Zweite Möglichkeit mit G91 inkremental zu Programmieren.

 
The following user(s) said Thank You: andrax

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

More
05 Apr 2022 16:04 #239353 by andrax
Aha Danke,
Also Vorpositionieren, neuen Nullpunkt in G55 setzen und aktivieren, alles klar.

Nächste Frage > Konturzug mit Eckenverrundung:
BSP:
G1 X100 Y0 R10
G1 X100 Y100

Kann Linuxcnc sowas oder muss ich hier G2 und G3 bemühen?

Gruß

Andre

 

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

More
05 Apr 2022 16:13 #239354 by chris@cnc
Mein Simulator kann es nicht...
 
Attachments:

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

More
06 Apr 2022 06:39 #239417 by andrax
Ja Linuxcnc kann das mit Boardmitteln nicht.
Hier mal ein Beispiel aus der MAHO CNC432 Welt.
N1 G11 X100 Y50 R8 F1000 X1=100 Y1=150 R1=10

Das wäre ein Konturzug mit 2 unterschiedlichen Eckradien.
 

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

More
07 Apr 2022 06:33 #239510 by andrax
Hab mir mal was gebastelt.

Erst mal eine einfache Tasche mit wählbaren Seitenschrägen und Eckradius.
Was noch nicht geht ist #1017 Drehung, da muss ich noch mal schauen.

Grüße 

andre
 

File Attachment:

File Name: Linuxcnc_Tasche.ngc
File Size:0 KB
 

File Attachment:

File Name: MM1008.ngc
File Size:1 KB
Attachments:
The following user(s) said Thank You: Tchefter

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

More
18 Apr 2022 09:10 #240547 by andrax
Update:
Nullpunktverschiebung sowie die Drehung funktioniert jetzt.

File Attachment:

File Name: Linuxcnc_kopf.ngc
File Size:1 KB

File Attachment:

File Name: mm1008.ngc
File Size:1 KB
Attachments:

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

More
18 Apr 2022 09:14 #240548 by andrax
Update:

Ich habe zwischenzeitlich noch ein Makro geschrieben.
Diesmal Kreisfräsen, innen außen Gewinde Konus und Ringnuten.

File Attachment:

File Name: Kreisfrsen.ngc
File Size:1 KB

File Attachment:

File Name: mm114.ngc
File Size:4 KB


Grüße

Andre
Attachments:
The following user(s) said Thank You: tommylight

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

Time to create page: 0.131 seconds
Powered by Kunena Forum