Hello Guest it is March 28, 2024, 11:02:34 AM

Author Topic: THC300/Mach3 Touch off issue  (Read 14700 times)

0 Members and 1 Guest are viewing this topic.

Offline jeremyrockjock

*
  •  39 39
  • Why buy what you can build.
    • View Profile
Re: THC300/Mach3 Touch off issue
« Reply #20 on: May 10, 2011, 09:18:33 PM »
Everything seems to be working right except that mach is not using my varible torch code. Also How do I get the torch to touch off and zero more often between cuts?

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: THC300/Mach3 Touch off issue
« Reply #21 on: May 10, 2011, 09:37:44 PM »
YOU have to EDIT and modify the POST PROCESSOR to change the offset distance. As long as it is set to zero it will NOT generate the offset code.

Also you change the distance for rehoming in the post processor.  Normal setting is 500mm, after 500mm of cutting moment it will issue the code to rehome at the next pierce.


"varible torch code" DOn't know what you are meaning to say here.

(;-) TP
« Last Edit: May 10, 2011, 09:39:22 PM by BR549 »

Offline jeremyrockjock

*
  •  39 39
  • Why buy what you can build.
    • View Profile
Re: THC300/Mach3 Touch off issue
« Reply #22 on: May 10, 2011, 10:01:31 PM »
At the top of sheetcam I click onoperation, set post varible and plugged in .270 inches. After I hit post processor  I then open that .tap file in mach3 and it said in the error line process: post varible torch offset =.27
If I continue to run the code it will not do the torch offset but will instead stop at the peirce height. It ignores the setback value. Is there something in gen config that will tell mach to ignore it?

On the rehoming, do I change that under the options, machine options, post processor and click on the edit post botton?

I do apprecatie your help. My machine was running good before the crash and it was setup totally different from this so I am relearning it again.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: THC300/Mach3 Touch off issue
« Reply #23 on: May 10, 2011, 10:16:31 PM »
YOu DO NOT USE set post variable to set the offset distance.

You must open the Post code itself with edit and then modify the line that sets the offsetting.

Go to Machine, Post,  and select the post your are using. then OPEN the file with the edit button. Curser down to the operation section and you will see a note(green highlighted) that shows you what to modify to set the offset value.

(;-) TP

You also set the rehome distance there as well if youwant it to do it more often.

(;-) TP

Offline jeremyrockjock

*
  •  39 39
  • Why buy what you can build.
    • View Profile
Re: THC300/Mach3 Touch off issue
« Reply #24 on: May 11, 2011, 09:28:54 PM »
I tried changing the value here but it makes no difference. It that the wrong value to change?

Offline jeremyrockjock

*
  •  39 39
  • Why buy what you can build.
    • View Profile
Re: THC300/Mach3 Touch off issue
« Reply #25 on: May 11, 2011, 09:52:54 PM »
Okay I figured it out, I changed the value here and that worked.






Now to figure out the right reference value to change. I want it to reference every 2 inches or so.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: THC300/Mach3 Touch off issue
« Reply #26 on: May 11, 2011, 10:29:16 PM »
Here is where you set it.

function OnInit()

   post.SetCommentChars ("()", "[]")  --make sure ( and ) characters do not appear in system text
   post.Text (" (Filename: ", fileName, ")\n")
   post.Text (" (Post processor: ", postName, ")\n")
   post.Text (" (Date: ", date, ")\n")
   if(scale == metric) then
      post.Text (" G21 (Units: Metric)\n") --metric mode
   else
      post.Text (" G20 (Units: Inches)\n") --inch mode
   end
   post.Text (" G53 G90 G40\n F1\n S500\n")

   dist = 9999999
   refdistance = 500 * scale    <<<<<<<<<<--------------------------------------------Set RefDistance here
   switchoffset = 0              <<<<<<<<<<<------------------------------------------- Set switch offset here
   bigarcs = 1 --stitch arc segments together
   minArcSize = 0.05 --arcs smaller than this are converted to moves
end

(;-)TP
« Last Edit: May 11, 2011, 10:31:52 PM by BR549 »

Offline jeremyrockjock

*
  •  39 39
  • Why buy what you can build.
    • View Profile
Re: THC300/Mach3 Touch off issue
« Reply #27 on: May 13, 2011, 11:40:16 AM »
Alrighty. Its back up and running. What a nightmare. Again thanks so much for helping me through this.