Hello Guest it is April 19, 2024, 05:43:23 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 - PCH

Pages: 1 2 3 4 5 6 7 8
1
General Mach Discussion / pause btwn lines of code
« on: April 30, 2021, 06:57:15 PM »
For some reason my ellipse shapes are being milled with a slight hesitation between each line of code.  I have the constant velocity checked.  I have imported a dfx from Autocad into Bobad to generate code.  The ellipse in Bobcad is broken into segments and not a continuous line.  Not sure how to correct this.  Thought the constant velocity being generated in Mach3 would take care of this...any ideas out there!

2
VB and the development of wizards / Re: autotoolzero
« on: March 04, 2021, 06:59:45 AM »
Yep....ordered new breakout board and power supply.  Will do some rewiring.  Hope this works.  Thank you

3
VB and the development of wizards / autotoolzero
« on: March 02, 2021, 05:43:15 PM »
Ok...I have discovered the my macro will run if I do connect my wires to the breakout board.   But as soon as I connect them the after starting the auto zero script the z axis stops and then retracts to said height of 1 inch that is in the macro.
So befuttled.  Been at this for 2 days.  Must be a wiring issue I think.  Just about ready to get a new breakout board...maybe its a grounding issue.  Very frustrating..Need Help!!!

4
VB and the development of wizards / Re: autotoolzero
« on: March 01, 2021, 02:21:19 PM »
Is this what I put in the macro and where?


>|| button to excecute code line by line

5
VB and the development of wizards / Re: autotoolzero
« on: February 28, 2021, 01:33:11 PM »
nope....its like its ignoring every line of code until it gets to this one:  Code "G1 Z1. F50"    ' put the Z retract height you want here, must be greater than the touch plate thickness

6
VB and the development of wizards / Re: autotoolzero
« on: February 28, 2021, 07:53:41 AM »
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, .250) ' 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   

7
VB and the development of wizards / Re: autotoolzero
« on: February 27, 2021, 02:41:19 PM »
getting script error message....how critical is the text with respect to spacing....can you put it in the script I posted so I know exactly where it goes.   thanks

8
VB and the development of wizards / Re: autotoolzero
« on: February 27, 2021, 11:33:50 AM »
NOPE...STILL MOVES UPWARD WHEN I INITIATE THE AUTO ZERO TOOL...what can I try next
btw in diagnostics my digitizer led is flashing intermittently ....not sure why

9
VB and the development of wizards / Re: autotoolzero
« on: February 27, 2021, 10:03:10 AM »
Yes the string worked and the z axis went down 4".....how do I edit the VB script to initiate this downward movement..thank you

10
VB and the development of wizards / Re: autotoolzero
« on: February 27, 2021, 08:42:30 AM »
Will give this a try this morning

Pages: 1 2 3 4 5 6 7 8