G30 but only for specific axis

More
7 years 8 months ago #125691 by Jakemestre1
Hello All, I've got a home built slant-bed lathe with a 8 position turret. The toolchanger uses an air cylinder to unlock the hirth joint and then a stepper motor(configured as an A axis) rotates the turret to the selected angle for a specific tool. Everything is working under a remapped M6 but G30 is giving me a lot of headache. I'm using the Tormach post and it puts a G30 into the code for every toolchange. If I ever forget to delete the code the toolchange never completes correctly and I get a crash. Is there a way to ONLY move the ZX axis to the G30.1 position and prevent the A axis from stalling and loosing position while the turret is still locked? Thanks.

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

More
7 years 8 months ago #125694 by Leon82
Can you edit the string for g 30 to your g 30.1 and then whenever it attempts to post g30 it will post g30.1?

I

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

More
7 years 8 months ago #125700 by Jakemestre1
Thanks for the idea, but I'd love to be able to set a faster toolchange position with the G30.1 and then be able to leave the code in the post processor.

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

More
7 years 8 months ago #125707 by Leon82
I'm not sure how your post is configured. I am familiar with mastercam posts and they have a post block for just about everything including tool change block. Does yours have this? You could customize it here and the g30 string would still be intact

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

More
7 years 8 months ago #125708 by Jakemestre1
Thanks Leon82, I'm using fusion360 and the tormach Pathpilot post for their lathe. I've tried disabling the G30 but I'm more interested in figuring out how to get it to work rather than how to disable it.

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

More
7 years 8 months ago #125712 by Jakemestre1
Could I remap G30 with only xz coordinate movement?
Maybe something like this:
ini file:
[RS274NGC]
REMAP=G30 modalgroup=0 ngc=G30.ngc

G30 file:
O<G30> sub
(debug, G30 X Position=#5181)
(debug, G30 Z Position=#5183)
G0 X#5181
G0 Z#5183
O<G30> endsub [1]
m2

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

Time to create page: 0.241 seconds
Powered by Kunena Forum