Tool table X and Y offsets
- Socaldzn
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
30 Apr 2022 05:08 #241699
by Socaldzn
Tool table X and Y offsets was created by Socaldzn
Very much a nubee to linuxcnc here
i here have a Cnc router with 3 heads. Two of the heads are individually Pneumatically actuated in the Z axis but the x and y remain a fixed distance from the main spindle.
my question is this, I can see in the tool table the ability to assign an X and Y value to each tool, my hope is that there might be a way to apply that X and Y offset to each tool when called by the g43 or the T#call?
currently I am using g54 thru g56 to offset the head for each tool. Leaves lot of room for error!!
thanks so much for any help!
i here have a Cnc router with 3 heads. Two of the heads are individually Pneumatically actuated in the Z axis but the x and y remain a fixed distance from the main spindle.
my question is this, I can see in the tool table the ability to assign an X and Y value to each tool, my hope is that there might be a way to apply that X and Y offset to each tool when called by the g43 or the T#call?
currently I am using g54 thru g56 to offset the head for each tool. Leaves lot of room for error!!
thanks so much for any help!
Please Log in or Create an account to join the conversation.
- mgm
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 13
01 May 2022 08:04 #241774
by mgm
Replied by mgm on topic Tool table X and Y offsets
Hello Stan
I have exactly the same possibility on my z axis . In my case, the two drill spindles located to the left and right of the main mirror are actuated pneumatically. They are therefore in a fixed offset to the main mirror. You can enter this offset in the tool table. The offset of the z axis is also entered in my case.
The offset is calculated with G43 and must follow a t# M6 command !
Both drilling spindles are controlled by M6 in my remap.
I have exactly the same possibility on my z axis . In my case, the two drill spindles located to the left and right of the main mirror are actuated pneumatically. They are therefore in a fixed offset to the main mirror. You can enter this offset in the tool table. The offset of the z axis is also entered in my case.
The offset is calculated with G43 and must follow a t# M6 command !
Both drilling spindles are controlled by M6 in my remap.
Please Log in or Create an account to join the conversation.
- Socaldzn
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
01 May 2022 11:17 #241792
by Socaldzn
Replied by Socaldzn on topic Tool table X and Y offsets
Thanks for the help,
That’s what I thought, but for some reason when I call the tool I’m only getting the Z offset to apply with no X or Y offset.
Tool table
T1. X0. Y0. Z6.5
T2. X-7.28. Y-1.25 Z4.223
T3 X 7.28. Y-1.25. Z3.91
M6 T1
G43 Z3.
G0 G90 G54 X0. Y0.
G0 Z.1
G1 Z-.5
Xxx
Xxx
Xxx
G0 Z1.
G0 G91 G28 X0 Y0
G49
Up to this point everything works as I’d expect.
M6 T2
G43
G0 G90 G54 X0. Y0.
( The machine moves to the T1 X0 Y0 location)
Z1.0 ( The properly applied T2 Z1.0 is applied)
Xxx
Xxx
Xxx
G0 Z1.
G0 G91 G28 X0 Y0
G49
My other machines require an “H#” after the G43 so I tried that as well but it has no effect,
That’s what I thought, but for some reason when I call the tool I’m only getting the Z offset to apply with no X or Y offset.
Tool table
T1. X0. Y0. Z6.5
T2. X-7.28. Y-1.25 Z4.223
T3 X 7.28. Y-1.25. Z3.91
M6 T1
G43 Z3.
G0 G90 G54 X0. Y0.
G0 Z.1
G1 Z-.5
Xxx
Xxx
Xxx
G0 Z1.
G0 G91 G28 X0 Y0
G49
Up to this point everything works as I’d expect.
M6 T2
G43
G0 G90 G54 X0. Y0.
( The machine moves to the T1 X0 Y0 location)
Z1.0 ( The properly applied T2 Z1.0 is applied)
Xxx
Xxx
Xxx
G0 Z1.
G0 G91 G28 X0 Y0
G49
My other machines require an “H#” after the G43 so I tried that as well but it has no effect,
Please Log in or Create an account to join the conversation.
- mgm
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 13
02 May 2022 11:11 #241842
by mgm
Replied by mgm on topic Tool table X and Y offsets
Hello Stan,
the above g code does not make sense
When you load the tool with T1 M6 G43, the machine does not move but only the corresponding offset is displayed on the screen.
Only when you enter a traverse command, the machine will move.
So as an example:
You enter the following in "MIDI
T2 M6 G43
and in the next line then
G0 x0 y0
then the tool will move to the zero point again
the above g code does not make sense
When you load the tool with T1 M6 G43, the machine does not move but only the corresponding offset is displayed on the screen.
Only when you enter a traverse command, the machine will move.
So as an example:
You enter the following in "MIDI
T2 M6 G43
and in the next line then
G0 x0 y0
then the tool will move to the zero point again
Please Log in or Create an account to join the conversation.
- mgm
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 13
03 May 2022 14:59 #241920
by mgm
Replied by mgm on topic Tool table X and Y offsets
I am attaching my M6 remap and the subroutines to control my additional spindles below.
Maybe you can do something with it!?!
Maybe you can do something with it!?!
Attachments:
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
03 May 2022 22:18 #241952
by andypugh
Replied by andypugh on topic Tool table X and Y offsets
This shouldn't need a remap.
The use-case described is precisely why the tool table allows for X and Y offsets.
If it isn't working then my first guess would be that you are not editing the same tool table as the system is using.
Do you know the offsets accurately? If you do, try it this way:
Load tool 1, or the tool that you want to have zero XY offset
M6 T1 G43
Then set the coordinate system origin at the tip of that tool by pressing the "Touch Off" button and setting the current position to X=0, Y=0
Now choose a different tool
M6 T2 G43
If you know the offsets, then press the "tool touch off" button and set the X and Y to the X and Y offsets.
Then load the new offsets
G43
The DRO should now display the offset position, and if you jog the machine to 0,0 the tip of tool2 should now be exactly where tool1 was.
The use-case described is precisely why the tool table allows for X and Y offsets.
If it isn't working then my first guess would be that you are not editing the same tool table as the system is using.
Do you know the offsets accurately? If you do, try it this way:
Load tool 1, or the tool that you want to have zero XY offset
M6 T1 G43
Then set the coordinate system origin at the tip of that tool by pressing the "Touch Off" button and setting the current position to X=0, Y=0
Now choose a different tool
M6 T2 G43
If you know the offsets, then press the "tool touch off" button and set the X and Y to the X and Y offsets.
Then load the new offsets
G43
The DRO should now display the offset position, and if you jog the machine to 0,0 the tip of tool2 should now be exactly where tool1 was.
Please Log in or Create an account to join the conversation.
Time to create page: 0.209 seconds