Hello Guest it is June 06, 2020, 07:00:38 AM

Author Topic: Work offsets  (Read 11574 times)

0 Members and 1 Guest are viewing this topic.

Offline BR549

*
  •  6,927 6,927
    • View Profile
Re: Work offsets
« Reply #20 on: September 17, 2011, 09:16:20 PM »
Riley BELAY THAT ORDER mate, It solved part of the problem but not all.  Multi subs are stilll a quirk. The old method will work there.

(;-) TP

Offline BR549

*
  •  6,927 6,927
    • View Profile
Re: Work offsets
« Reply #21 on: September 17, 2011, 09:48:29 PM »
OK I think I have it solved for you.  

Rule 1 do NOT use G54. Set your init string in config to add G55 as the base mode.

Rule 2 do NOT use the subcall M98 P1 L1 with the sub code INSIDE the Gcode program . Move your subs to the SUBprogram dir and call them with the Redirect call

M98 (Test.txt) L1

SO FAR that has solved all the TC, multiSUB, Multi offsets problems here.

Give it a whirl,(;-) TP
« Last Edit: September 17, 2011, 09:51:56 PM by BR549 »

Offline Riley

*
  •  43 43
    • View Profile
Re: Work offsets
« Reply #22 on: September 17, 2011, 10:08:16 PM »
fantastic!! I will be back at the shop in the morning and will give it a try. Thanks soooo much for all the help. I will have to add you to my Christmas card mailing list!

Offline Riley

*
  •  43 43
    • View Profile
Re: Work offsets
« Reply #23 on: September 18, 2011, 07:32:06 PM »
BR549, I ran the program on the windows7 box with no trouble. Dumped it into the mill which is using xp and the circle cutouts failed. After playing around for awhile I reversed the toolpath to conventional milling instead of climbing and all is good. Is there a way to always have mach start on the g55 offset on start up? Thanks again for all your input!

Offline Riley

*
  •  43 43
    • View Profile
Re: Work offsets
« Reply #24 on: September 18, 2011, 07:53:25 PM »
Here is the code for that project....op1 and 3 are the same but need different retract heights so I just made two different subs. operations 2 and 4 are the circles again just with different retracts. Have to post the last .txt in next reply, will only let me attach 4 files. This is the code that didn't work on my xp box. All switchboxop*.txt go in the sub folder.

Offline Riley

*
  •  43 43
    • View Profile
Re: Work offsets
« Reply #25 on: September 18, 2011, 07:54:02 PM »
Here is the last one.

Offline BR549

*
  •  6,927 6,927
    • View Profile
Re: Work offsets
« Reply #26 on: September 18, 2011, 08:15:12 PM »
SURE go to Config / genconfig look in the middle of the page for the initialization string and add G55 to it. IF there is a G54 remove it.

You know you can set the retract height with a #var and change it on demand. Saves having to do 2 circle programs

I am Glad you got it all working , GOOD JOB

Offline Riley

*
  •  43 43
    • View Profile
Re: Work offsets
« Reply #27 on: September 18, 2011, 08:37:04 PM »
I was thinking that the initialization string on the config page is where that would go except there is only a G80 in that box now. I will give it a shot. I will play around with retract variables a little bit, good call. I cant stand cutting air almost as much as I hate driving an end mill into the side of a fixture! There is always room for improvement.

Offline Riley

*
  •  43 43
    • View Profile
Re: Work offsets
« Reply #28 on: September 18, 2011, 08:55:15 PM »
Ok....just tried the same code on another windows7 pc and I can program climb or conventional milling with no issues. Just don't have any other xp machines to try it on. I have not tried to actually run a mill on a windows7 pc. I am only using the simulation and assuming it is all good. Could I put 7 on the milling machine? Maybe a fresh install would not be a bad idea.....or maybe I should leave well enough alone and make some chips!  ;)

Offline BR549

*
  •  6,927 6,927
    • View Profile
Re: Work offsets
« Reply #29 on: September 18, 2011, 09:27:23 PM »
I would just make chips(;-) Mach3 was designed around XP.  IN CNC there is NO leading edge of technology ONLY the bleeding edge. (;-) ONCE you loaded the Driver in WIN7 it may react differently.

We can work out any other quirks as you run across them.

(;-) TP
« Last Edit: September 18, 2011, 09:29:43 PM by BR549 »