Hello Guest it is April 18, 2024, 08:14:31 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.


Topics - antennas

Pages: 1
1
General Mach Discussion / How to get rid of offset
« on: November 06, 2014, 01:08:46 PM »
I have this line every single time in the G code.
N140G00G43Z20.320H1

If I leave it, it screws up the Z auto zero after I zero it.

I delete it every time and it's fine. How do I get it to stop inserting it??


2
General Mach Discussion / Z height unstable
« on: September 09, 2014, 02:47:33 PM »
Good day folks. When I set the Z either using AUTO ZERO button or manually, it doesn't seem to "remember" it. So many times I Have set the Z to zero then ran the code and it plunges into the work or sits and moves around in the air.
What gives?? Am I missing a setting or something??

MACH 3  Version R3.043.066  is what I am using.

I would love to fix this.

Andrew

3
General Mach Discussion / Please help auto tool zero not working--
« on: September 27, 2013, 01:42:48 PM »
What am I doing wrong? I use the auto tool zero macro and it sets the tool height to zero.

BUT then when I go to cut it either is off too high or too low and it isn't at zero where it should be.
I just ruined a box I was making, please help me figure this out??

Do you have to regen the toolpath or that have nothing to do with it? Sometimes i do and it still doesn't work.

Here is my script....

CurrentAbsInc = GetOemLED (48) 'Copy current G90/G91 state
CurrentGMode = GetOemDRO (819) 'Copy current G0/G1 state
CurrentFeed = GetOemDRO (818) 'Copy current feedrate
Contact = 0 'Clear the contact flag
PlateThickness = 1.560 'Touch Plate thickness is set here
ProbeFeed = 80'Probing feedrate is set here
SetVar (1, -20) 'Maximum probing distance is set here
SetVar (2, 5) 'Retract height is set here
Code "M5" 'Ensures spindle is not running
Code G21 'Ensure metric units are used
Zs = GetOemDRO (61) 'Copy current Z-Scale DRO
Call SetOemDRO (61,1) 'Set Z-Scale DRO to 1
Label1: 'Entry point for Retry
DoOemButton (1010) 'Zero Z-Axis DRO
Code "(Setting Tool Zero)" 'Message for status bar
While IsMoving () 'Wait until task has been completed
Wend
If GetOemLED (825) = 0 Then 'Check to see if touch plate is already grounded
Code "G90 G31 Z #1 F" & ProbeFeed 'Probing move
While IsMoving () 'Wait until task has been completed
Wend
If GetOemLED (825) = True Then 'Check to see if probe has touched plate
Contact = 1 'Set the contact flag
End If
DoOemButton (1003) 'Clear a possible feed-hold condition
ProbePos = GetVar (2002) 'Exact point probe touched
Code "G0 Z" & ProbePos 'Go back to exact point of touch if there was any overrun
While IsMoving () 'Wait until task has been completed
Wend
Call SetDRO (2,PlateThickness) 'Set Z-Axis DRO to Touch Plate thickness
Code "G0 Z #2" 'Retract off Touch Plate the set distance
While IsMoving () 'Wait until task has been completed
Wend
Code "(Z-Axis is now Zeroed.)" 'Message for status bar
Code "F" & CurrentFeed 'Restore feedrate to original setting
If Contact = 0 Then 'Probe reached max travel without touching
Code "(ERROR - Probe did not touch.)" 'Message for status bar
Response = MsgBox ("ERROR - Probe did not touch.",37,"Auto Tool Zero")
If (Response = 4) Then 'User chose Retry
GoTo Label1 'Retry Probing routine
End If
End If
Else
Code "(ERROR - Touch Plate is grounded.)" 'Message for status bar
Response = MsgBox ("ERROR - Touch Plate is grounded - Check connection.",16,"Auto Tool Zero")
End If
Call SetOemDRO (61,Zs) 'Restore Z-Scale DRO to original setting
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....


4
I have set zero on the CNC to the front left corner of the table. If I have it set so it's jogs manually in the right directions the text on X axis is backwards. If I have the manual jog so it goes the wrong way it cuts the text fine. What the heck?? I tried wiring the motors differently but it's not that as when the jog controls work right it cuts wrong. If I jog it and it increases the X and it goes to the rear of the table it cuts text backwards. If I change it so it goes the wrong way, such as when I hit X+ and it goes to the front of the table, but it cuts right.

I read the home should be front left and Z as high as it will go.

What is wrong please??

Andrew

Pages: 1