Hello Guest it is April 23, 2024, 02:09:05 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Davek0974

1371
General Mach Discussion / Re: Tool Offset Macro...
« on: August 16, 2016, 02:16:09 PM »
Upgrade done, nice and easy too ;)

Now running .062


1372
General Mach Discussion / Re: Change direction of the work area
« on: August 16, 2016, 10:44:35 AM »
On your sketches, both appear wrong to  me - the Y is wrong in the first and the X is wrong in the second - this is of course assuming that machine home would be front-left corner.

The corner it moves to when doing a home does not really matter as it can be set to home on the right but in reality it will place the real home/zero position to the left - read up on home switch offsets ;)

Likewise the home position chosen in CAM does not matter - what DOES matter is that you set the same home point on the material as was chosen in CAM or odd things can happen.

1373
General Mach Discussion / Re: Tool Offset Macro...
« on: August 16, 2016, 09:18:40 AM »
I have been testing this to death since my crash, I use tools made from Tig rods :)

tool offsets are negative if the tool is shorter than the main ref device, positive if longer.

I have only tried negative offsets as that is what is needed, its just the math for the Z when running that piece of code gives a negative so the Z tries to plug rather than lift as it should.

It works perfectly if no offset applied.

If i follow the steps carefully, it works perfectly as i would expect it to :-

Find the surface with the surface probe as tool zero, then select a tool, set the tool number and away you go.

Just DON'T do an auto G31 tool probe with an offset applied.

I've blocked it now so i should be safer, but is the logic here correct in my last reply??

1374
so disconnect the proximity sensor and led's stay on - this would indicate that active low is set wrong or there is a full somewhere on the bob.

1375
General Mach Discussion / Re: Tool Offset Macro...
« on: August 16, 2016, 07:45:06 AM »
I think I have sussed out what goes on, and yes it was my fault really, probably;)

It's this little block here, especially the last two lines.

Unknowingly I was probing with a tool-length offset applied, it seems that when Mach did the sums for the retract distance, it applied the offset and instead of coming up with a Z figure of 1mm ABOVE where it was and doing a G0 UPWARDS, it came up with a figure that was 1mm - the offset value and did a G0 DOWNWARDS, mashing the tool into whatever by anything from a mm to many mm in Z- direction depending on the offset.

I have now block all probing if anything but tool zero is chosen, that should safety things up a bit i think.

Code: [Select]
Code "F" & FirstProbeFeed ' Set feedrate to 10 ipm or 300mm/min
Code "(Probing for Z Zero.....)" ' Puts this message in the status bar
ZNew = (GetOEMDro(802) - FirstProbeDist ) ' Probe move to current Z - 6 inches
Code "G90 G31 Z" & Znew
  While IsMoving() ' Wait for probe move to finish
  Wend
ZNew = GetVar(2002) ' Read the touch point
Code "G0 Z" & ( ZNew + FirstRetractDist ) ' Move up .05 inch or 1mm in case of overshoot

Do you guys concur here?

I like to know why sh1t happens ;)


1376
General Mach Discussion / Re: Tool Offset Macro...
« on: August 16, 2016, 03:57:54 AM »
Ok, thanks thats a job for tonight ;)

1377
It won't stop if the LED is on immediately, something is not wired correctly.

1378
General Mach Discussion / Re: Tool Offset Macro...
« on: August 16, 2016, 02:16:25 AM »
Do you need to reinstall the CSMIO software too??

Yes i always keep a copy of the main Mach folder on a USB stick ;)

1379
The LED must be OFF when the plate is not touching anything.

1380
General Mach Discussion / Re: Tool Offset Macro...
« on: August 15, 2016, 02:25:21 PM »
Got it, thanks Hood,

As i have a custom screen-set and many custom macros, is there a "pain-free" path to do the update on Mach??

Really don't want to upset things at this stage ;)