Linux CNC - move origin and rerun pattern ??

More
14 Oct 2021 19:57 #223112 by dansawyer
The project is to cut two patterns from a piece of bar stock on a BOSS 5. I have the subroutine to create pattern debuged, it seems to work as required. I have the setup in place for the origin for the first pattern and the move to the start of the second. However I am unable to reset the origen for the start of the second pattern.
I am not running the mill directly but watching the display on the GUI. I have the move to the origin in place. I have tired G10 commands, G53 commands, and G54 commands to reset the origin. However the simulation always retruns to the original origin.
If the the initail position is 0,0 and the start of the second pattern is 1,1 what commnads are needed to move the bed to the start of the second pattern and set to working origin to that location?
Thanks in advance, Dan

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

More
14 Oct 2021 20:26 #223115 by chris@cnc
Replied by chris@cnc on topic Linux CNC - move origin and rerun pattern ??
Hi Dan,
i made a masterprogram with 6 pattern. It start with G54 and calculate G55 every pattern new. So G54 not touch and you could every time home. Is flexible.. 
Attachments:

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

More
14 Oct 2021 21:36 #223125 by dansawyer
Replied by dansawyer on topic Linux CNC - move origin and rerun pattern ??
Thank you for the reply. I am still back at the starting gate.
Assume the tool is at the origin of pattern 1. Do I move the position to the base of pattern 2 and then execute a Gxx command. Or do I issue a Gxx command from the current base of pattern 1?
Assume the current position is 0,0 and the base of pattern 1. What is the series of commands to move the mill and the base of pattern 2, in this example 1,1.
Thank you in advance. Dan

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

More
14 Oct 2021 22:43 #223132 by BigJohnT
Replied by BigJohnT on topic Linux CNC - move origin and rerun pattern ??
A simple way is to just change coordinate systems after the first part. Set G54 for the first part and G55 for the second part.

JT

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

More
15 Oct 2021 04:50 #223163 by dansawyer
Replied by dansawyer on topic Linux CNC - move origin and rerun pattern ??
Thank you.
Is G54 set from the current position based on the offset to the second part, in the example g54 x1 y1. Or. is G1 used to move to the base and then G54, i.e. G1 x1 y1 followed by 54 x0 y0?
Thank you, Dan

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

Time to create page: 0.055 seconds
Powered by Kunena Forum