Update: Noch ein Makro, Kreisfräsen

More
4 years 6 months ago #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 to join the conversation.

More
4 years 6 months ago #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 ^^

Please Log in to join the conversation.

More
4 years 6 months ago #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.

 

Please Log in to join the conversation.

More
4 years 6 months ago #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 to join the conversation.

More
4 years 6 months ago #239354 by chris@cnc
Mein Simulator kann es nicht...
 

Attachment not found

Please Log in to join the conversation.

More
4 years 6 months ago #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 to join the conversation.

More
4 years 6 months ago #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
 

Attachment not found

 

Attachment not found

Please Log in to join the conversation.

More
4 years 6 months ago #240547 by andrax
Update:
Nullpunktverschiebung sowie die Drehung funktioniert jetzt.

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
4 years 6 months ago #240548 by andrax
Update:

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

Attachment not found

Attachment not found



Grüße

Andre

Please Log in to join the conversation.

Time to create page: 0.125 seconds
Powered by Kunena Forum