Hello Guest it is August 23, 2019, 01:23:06 AM

### Author Topic: Dual head offsets.  (Read 7674 times)

0 Members and 1 Guest are viewing this topic.

#### Glaucius

• 18
##### Re: Dual head offsets.
« Reply #30 on: December 13, 2014, 05:30:51 AM »
Still not sure what your trying to do as your using the same Z move to do two things? Wont one of the heads run into something while they are both going up and down at the same time?

but as far as your numbers I would think your mixing imperial fixture offsets with metric gcode movements
150" * 25.4 = 3810mm and 50" * 25.4 = 1270mm ( that's why your seeing the huge movements)
you might want to make sure you setup units are in metric or use the equivalent value (just some more math).

Code: [Select]
`%N1 G17 G21N3 T1 M6G90 G54G0 Z6.S4851 M3X200. Y0. M8N6 G81 Z-10.866 F1000. R2.5N7 G80M9G55X200. Y0.G1 Z-10.866 F1000.G0 Z6.G54X200 Y0 m30%`

I think the same thing, my units on the mach is "MM", and i tried to convert to imperial (X6 Y2 Z0) and the mach do the same thing :/

BTW, The second head is activated by pneumatic actuator and another guide, that's why i dont need to use Z offsets.
« Last Edit: December 13, 2014, 05:36:26 AM by Glaucius »

#### Glaucius

• 18
##### Re: Dual head offsets.
« Reply #31 on: December 13, 2014, 05:35:07 AM »
Set your G55 to X100 Y50 and save fixture

Move to the Point of Origin X0Y0 on your material. then Zero the xy axis(that will set the g54 to 0,0)  the example just drills 1 hole then offsets the head and drills another hole in the same spot to prove the offsetting works correctly.

N3 T1 M6

G54

G00 X200. Y0. S4851 M3
N5 Z6.
N6 G81 X200. Y0. Z-10.866 F1000. R2.5
N7 G80

(Switch to G55 to offset to the 2nd head)

G55

N9 G81 X200. Y0. Z-10.866 F1000. R2.5
N7 G80

G54 ( go back to the original fixture offset)

G0 X0 Y0  (Go back to the original Point of origin)

M5 M9
M30
%

NOW do not get confused by what you see in the toolpath as it does NOT exactly show what the machine is going to do. Just follow the machine tool as it does the job IT will be correct.

Thanks!....I will try that!

I wanna make "hole and screw" path because the OSB panel is loose on the table, so the screw will secure the panel...but i will test the 2 scenarios

#### engraversoflight

• 98
##### Re: Dual head offsets.
« Reply #32 on: December 16, 2014, 01:55:02 PM »
Is there a pic of this machine?

#### Glaucius

• 18
##### Re: Dual head offsets.
« Reply #33 on: December 16, 2014, 02:42:11 PM »
I have a few pics, i just have to pass to my desktop, my smartphone is on repair so i can't pass the pics directly :/

When i get the pics i post here.