Hello Guest it is April 19, 2024, 06:07:05 AM

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 - Gerhard

Pages: 1
1
General Mach Discussion / Re: Tool Auto Zero Script
« on: March 21, 2017, 03:37:50 PM »
Hi Kelvin
I neglected to mention that I did exactly as you said in trying to resolve the problem but it didn't work (exchanging the polarities). I am thinking of connecting my oscilloscope to it and see exactly what is happening. My second thought is to have a look at the script.

Regards
Gerhard

2
General Mach Discussion / Re: Tool Auto Zero Script
« on: March 21, 2017, 01:27:58 PM »
Hi My name is Gerhard and I am using my cnc machine for a while now. I have changed to a uss smoothstepper board and is busy setting up a z zero touch plate. However I experience problems. First of all the zero plate works well in the test when the positive wire is not connected to my cnc machine end mill. (I hold it in my hand) and when I touch the zero touch plate it stops and retract like it should. When I connect the positive to my end mill it act as if it has touched the plate (active low) and only retracts.

I have changed the 4,7k resister to a 200 ohm resister to get 4,7 volt on the output (touch plate and positive) however when the positive is connected to the end mill it only retracts as if it has touched the zero touch plate. The touch plate is lying on a sacrifice sheet so there cannot be a connection with the end mill. When the positive is connected to the end mill the voltage between positive and negative is still 4.7 volts.

Your help will be appreciated.

I am using the following 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-100. F100" '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, 15.0) ' change .060 to your plate thickness and then adjust for final accuracy
Sleep 200 'Pause for Dro to update.
Code "G1 Z1. F1300" '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   



3
Competitions / Re: ******Guess and win a G100 Grex******
« on: May 22, 2007, 12:40:14 PM »
 i THINK 3190

Pages: 1