Hello Guest it is April 25, 2024, 10:47:16 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 - jroberson

Pages: « 1 2 3 »
11
FAQs / Re: Zero Tool not reading allowance
« on: July 22, 2016, 05:11:48 PM »
Gerry,

I thought the button script for retract height would control that, not safe Z?
I try adjusting motor tuning for Z, and let you know what happens.

Heres copy of my current macro for button script:

CurrentFeed = GetOemDRO(818) 'Get the current feedrate to return to later
CurrentAbsInc = GetOemLED(48) 'Get the current G90/G91 state
CurrentGmode = GetOemDRO(819) 'Get the current G0/G1 state

If GetOemLed (825)=0 Then 'Check to see if the probe is already grounded or faulty
DoOEMButton (1010) 'zero the Z axis so the probe move will start from here
Code "G4 P3" ' this delay gives me time to get from computer to hold probe in place
Code "G90 G31Z-25. F4" 'probing move, can set the feed rate here as well as how far to move
While IsMoving() 'wait while it happens
Sleep(10)
Wend
ZProbePos = GetVar(2002) 'get the exact point the probe was hit
Code "G0 Z" &ZProbePos 'go back to that point, always a very small amount of overrun
While IsMoving ()
Sleep(10)
Wend
Call SetDro (2,10)' change .060 to your plate thickness and then adjust for final accuracy
Sleep (200)'Pause for Dro to update.
Code "G1 Z15. F50" 'put the Z retract height you want here, must be greater than the touch plate thickness
While IsMoving ()
Sleep(10)
Wend
Code "(Z axis is now zeroed)" 'puts this message in the status bar
Code "F" &CurrentFeed 'Returns to prior feed rate
Else
Code "(Z-Plate is grounded, check connection and try again)" 'this goes in the status bar if applicable
End If
If CurrentAbsInc = 0 Then 'if G91 was in effect before then return to it
Code "G91"
End If
If CurrentGMode = 0 Then 'if G0 was in effect before then return to it
Code "G0"
End If                     


Thanks
JR

12
FAQs / Re: Zero Tool not reading allowance
« on: July 22, 2016, 04:56:39 PM »
Gerry,

I dont think you got my previous reply ( 1st & 2nd try / current macro)

1st time, touched puck at Z -18, changed dro to +10, moved to +15.  Go To 0, went all the way up, hit max and stopped.
2nd time, touched puck at Z -10.2, changed dro to -7, then +10, then moved to +15.  Go To 0, went all the way up to +38,
stopped, dro changed to +28.  Never went to zero, I guess it hit limit switch.

I will send current macro for button script in a few minutes.

Thanks Again,
JR

13
FAQs / Re: Zero Tool not reading allowance
« on: July 22, 2016, 03:40:02 PM »
I tried 3rd time, touched at Z -9, dro changed to +10.???, moved to Z +15.  Go To 0, it went all the way up and came back down 1mm above model surface.
4th try, touched at Z -7, moved up to Z +26, then down to +15.  Go to 0, it went all the way up and came back down 2mm above model surface.
5th try, touched at Z -9, changed to +10.???, moved to +15.  Go to 0, it went all the way up and came back down just touching model surface!  Whoohoo ;D

But Atlas,
6th try, touched at Z -7, moved up to +11, changed to +10.???, then moved to +15.  Go to 0, it went all the way up and came back down where I had zeroed tool before auto zero?

I thought I had something...
JR

14
FAQs / Re: Zero Tool not reading allowance
« on: July 21, 2016, 02:35:53 PM »
HighSpeed,
I have a Abnormal Condition yellow tab that I cant find any reason to be on for several days.  How can I get back to Normal Condition?

I inserted the Sleep function and tried to auto zero tool.  It is touching the puck, but when it hit the puck and stopped, it went all the way up home and kept trying
to go higher. It had hit the puck around z -6, stopped, went up to z 23, made several hits to go higher but was at top of z travel, then dro changed to 11.  So, when
I tried Go to Zero, it went back to where I had zeroed tool before running auto zero?

I thought it might help to lower the code for Z retract height in button script from 25 to 15.  When I auto zero again, it hit probe about Z -6, stopped, went up to
Z 28, bumped a few times, then went back down to Z 15.  Go to Zero took me back to where I zeroed tool before running auto tool zero.

I also checked to make sure I was using G58, and puck was working properly.

Any Suggestions?
JR

15
FAQs / Re: Zero Tool not reading allowance
« on: July 20, 2016, 09:23:53 PM »
Highspeed,

I changed Sleep 200 to Sleep(200), but tool goes back to top of puck position when I go to zero z, and message says tool is zeroed?
Since I'm using mm for machine, I changed the following #s:

line 4 Code "G90  G31Z-25. F4"  'probing move
line 11 Call SetDro (2,10)  ' probe thickness
line 13 Code "G1 Z25. F50"  ' Z retract height

Are there any other numbers that might effect script?  I asked earlier how the Tool Offsets Page works with the Button Script?  I was
wondering if the Tool # needs to be set?
Also, I was going to try your suggestion to add a sleep function with a short time, but since I know nothing about code, would you tell me
where to put it within the While/Wend loops?

Thanks Again For Your Help,
JR

16
FAQs / Re: Zero Tool not reading allowance
« on: July 20, 2016, 07:05:51 PM »
Thanks Highspeed,

I'll try that tomorrow...

J.R.

17
FAQs / Re: Zero Tool not reading allowance
« on: July 19, 2016, 06:39:37 PM »
Thanks Gerry,

My bad... I should have said " button script" when I was talking about Hidden Script because I saw that in the header.
Here's the macro:

CurrentFeed = GetOemDRO(818) 'Get the current feedrate to return to later
CurrentAbsInc = GetOemLED(48) 'Get the current G90/G91 state
CurrentGmode = GetOemDRO(819) 'Get the current G0/G1 state

If GetOemLed (825)=0 Then 'Check to see if the probe is already grounded or faulty
DoOEMButton (1010) 'zero the Z axis so the probe move will start from here
Code "G4 P3" ' this delay gives me time to get from computer to hold probe in place
Code "G90 G31Z-4. F4" 'probing move, can set the feed rate here as well as how far to move
While IsMoving() 'wait while it happens
Wend
ZProbePos = GetVar(2002) 'get the exact point the probe was hit
Code "G0 Z" &ZProbePos 'go back to that point, always a very small amount of overrun
While IsMoving ()
Wend
Call SetDro (2, .060) ' change .060 to your plate thickness and then adjust for final accuracy
Sleep 200 'Pause for Dro to update.
Code "G1 Z1. F50" 'put the Z retract height you want here, must be greater than the touch plate thickness
While IsMoving ()
Wend
Code "(Z axis is now zeroed)" 'puts this message in the status bar
Code "F" &CurrentFeed 'Returns to prior feed rate
Else
Code "(Z-Plate is grounded, check connection and try again)" 'this goes in the status bar if applicable
End If
If CurrentAbsInc = 0 Then 'if G91 was in effect before then return to it
Code "G91"
End If
If CurrentGMode = 0 Then 'if G0 was in effect before then return to it
Code "G0"
End If   

Thanks

18
FAQs / Zero Tool not reading allowance
« on: July 18, 2016, 10:21:21 PM »
nHappily marching along with getting my zero tool working, but will not hit top of surface when I go to zero.  Its off 3 - 7mm, at different times, after touch off.
I'm using Mach3 USB, Windows 10, 64 bit, on a SaleCnc 6090 machine, with a zero puck 10mm thick.
I downloaded the HiddenScript from GuruBrew, just to get the tool to retract when it touched off. But when I hit go to 0, it was stopping above workpiece.  I zero-ed
tool above puck before touch off, and  I had changed the script for tool thickness to 10mm.
I went back to the internet, and saw where there was a script for Mach3, but I have not been able to delete the GuruBrew script...
I even tried to trick the script by playing with the thickness setting for 2 hours to zero in, but the machine started going down after touch off?

In addition, how does the Tool Offsets Page Settings fit in with this Hidden Script?

19
General Mach Discussion / Re: License Installing problem
« on: June 28, 2016, 09:26:10 PM »
Thanks Tweakie,  that solved that problem.



20
General Mach Discussion / Re: License Installing problem
« on: June 27, 2016, 07:14:57 AM »
Thanks again, I'll give it a try today.

Pages: « 1 2 3 »