Hello Guest it is April 18, 2024, 09:36:17 PM

Author Topic: Zero Z / probing to different offsets  (Read 738 times)

0 Members and 1 Guest are viewing this topic.

Offline DAAD

*
  •  103 103
    • View Profile
Zero Z / probing to different offsets
« on: December 09, 2020, 02:56:51 PM »
At the moment i’m using different offset zones to place my workpieces into.

I have setup a probing point so i can swap tools rapidly. The problem is that only the current offset is updated with the new tool probing. At the moment i have to type in the correct coordinates for each offset zone (g54/g55/g56) or do the probing per zone to get gooing.
Is there a way that i can script a bitton to update the needed zones?

Keep safe,

Adam
Re: Zero Z / probing to different offsets
« Reply #1 on: December 10, 2020, 01:52:01 AM »
i think do offset tool per zone its mistake,tool must be constant, its spindel per tool per machine
bater change the zone in script
for example in my machine i change the origin according board length:
if(varP<2500) then
                  G="G56"   
                end   
                if(varP>2500 and varP<2770) then
                  G="G55"   
                end   
                if(varP>2750) then
                  G="G54"   
                end   
                GCode =""
                    GCode = GCode ..G
                    mc.mcCntlGcodeExecuteWait (0, GCode) ---choose the origin acording board length

Offline DAAD

*
  •  103 103
    • View Profile
Re: Zero Z / probing to different offsets
« Reply #2 on: December 11, 2020, 12:37:25 AM »
I don't want to use tool per zone, and i don't define my zones with length of my stock.
I would like to be able to switch form one zone to another without having to worry about my z axis not set correctly if i forget to do the probing in this zone.

is there a way to write a value to the offset table?

I'm thinking of taking the Z_axisgetposition and putting it into the table.

Other ideas are welcome.