Hello Guest it is September 20, 2019, 06:40:23 AM

Author Topic: Tool Offset Macro...  (Read 24882 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Tool Offset Macro...
« Reply #60 on: August 15, 2016, 12:02:49 PM »
Nope, shouldn't do, did you wait, it sometimes takes a while.
Direct link here if still no joy.
ftp://ftp.machsupport.com/Mach3/Mach3Version3.043.062.exe

Hood

Offline Davek0974

*
  •  2,577 2,577
    • View Profile
    • DD Metal Products Ltd
Re: Tool Offset Macro...
« Reply #61 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 ;)
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline rcaffin

*
  •  1,003 1,003
    • View Profile
Re: Tool Offset Macro...
« Reply #62 on: August 15, 2016, 05:07:11 PM »
You will need to do a backup of your screen sets and macros, to somewhere else. But you DO have secure backups of all your stuff, DON'T YOU?

I use SecondCopy to do automated nightly backups of any changed files from C: to a different device. For my desk PC the backup target is a whole new 8 GByte drive; for the CNC PC the backup is an external 8 GByte USB key plugged in at the back. If C: crashes the backups with ALL my files and programs and data are still there.

After the update, you will need to restore the screen sets and macros to where they came from. I think that's about all that's essential, but maybe there are other things you will want to backup as well.

Cheers
Roger

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Tool Offset Macro...
« Reply #63 on: August 15, 2016, 06:44:38 PM »
Best to always have a backup on another drive or an external drive like Roger said.
What I also often do before a re-install is copy the whole Mach3 folder to a different location, desktop or whatever then I can safely do the install.
If you have a custom profile then it should go without a hitch, just install the older version over the top of the present one and you should be fine.
If you do not have a custom profile then you will need to copy back all of your custom files after the install.

Hood

Offline Davek0974

*
  •  2,577 2,577
    • View Profile
    • DD Metal Products Ltd
Re: Tool Offset Macro...
« Reply #64 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 ;)
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline rcaffin

*
  •  1,003 1,003
    • View Profile
Re: Tool Offset Macro...
« Reply #65 on: August 16, 2016, 02:22:29 AM »
Do you need to reinstall the CSMIO software too??
That I do not know. You would need to check the doco.
Certainly, you will need to tell Mach that you want to use it.

Cheers
Roger

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Tool Offset Macro...
« Reply #66 on: August 16, 2016, 02:35:52 AM »
No, you shouldn't need to unless you delete the Mach folder contents before installing.
If you have a custom profile then you will not need to do anything at all, just open Mach and everything will be exactly as before.
If you used a default profile then you will need to overwrite the xml and macros with your saved copies and then once done  you will be back to your previous state and  again nothing requiring setup.,

Hood

Offline Davek0974

*
  •  2,577 2,577
    • View Profile
    • DD Metal Products Ltd
Re: Tool Offset Macro...
« Reply #67 on: August 16, 2016, 03:57:54 AM »
Ok, thanks thats a job for tonight ;)
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Davek0974

*
  •  2,577 2,577
    • View Profile
    • DD Metal Products Ltd
Re: Tool Offset Macro...
« Reply #68 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 ;)

Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline rcaffin

*
  •  1,003 1,003
    • View Profile
Re: Tool Offset Macro...
« Reply #69 on: August 16, 2016, 08:19:47 AM »
Tool 0 always has zero offset. OK.
Tool 1 has a 2 mm offset. But using it causes the probe to crash downwards. Hum ...
Are you sure you have the sign right? Just wondering.

Seems to me a few experiments with probing a mid-air paddle pop stick might be illuminating. Provided the paddle pop stick breaks first.

Cheers
Roger