Hello Guest it is April 19, 2024, 05:20:45 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 - ZASto

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 »
171
General Mach Discussion / Re: I need help with e-stop
« on: May 16, 2020, 07:35:29 AM »
On diagram that you posted, you marked tha EStop switch.
There is a secondary contact which is Normally Opened, you can use it for signaling Mach3 thatEStop is activated.
Run 2 wires from unused contact and wire them to your BOB, and in settings enable EStop and tick or untick ActiveLow.
That way Mach3 will have info that you activated EStop and will stop all motion (of course, you will have to reference your machine after EStop condition).

172
General Mach Discussion / Re: I need help with e-stop
« on: May 14, 2020, 08:35:31 AM »
So your ES is switching off some kind of "main" power supply, but your diagram is incomplete :(
Some more of the diagram is needed where is seen where your spindle is connected.

173
General Mach Discussion / Re: Limit switches acting crazy, crashing
« on: May 03, 2020, 11:22:04 AM »
You should supply your sensors with 12V

174
General Mach Discussion / Re: Limit switches acting crazy, crashing
« on: May 02, 2020, 04:24:16 AM »
You should connect sensors according to the following picture.

175
just do a google search on "mach3 arduino modbus"

176
General Mach Discussion / Re: Demo version
« on: May 01, 2020, 03:34:49 AM »
You start typing your reply, then click on Preview button.
Here you have more options for message editing, as well as attaching images. There is + Attachments and other options, just below.
When you select an attachment, just click on Post button.
As you've seen, there is already a file called 1.jpg (hate this on this board - no duplicate file names  :( )

Here is HowTo video : https://youtu.be/y65Fd4rEBWQ

177
General Mach Discussion / Re: Demo version
« on: April 30, 2020, 02:46:25 PM »
On 64 bit versions of operating systems, Driver Test can not work because on these operating systems Mach3 can not access parallel port.
Post picture of your interface board so that we could try to help you.

178
Kernel speed is only for Parallel Port. Nothing there interesting for your configuration as you use external controller.

179
Analyze this code to figure out how touchoff is working.
It does NOT retract automatically after contact.

Code: [Select]
Sub Main() 'made it a sub, so you can return on "show stopper" errors
'Option Explicit 'Written by Big-Tex Dec 26 2010 Updated Jun 3 2014
'Mod pb 11dec10

Dim ZNew, Zplate, Zrestposition, ZMaterialmachcoord, ZPlatejobcoord, Zplatetomaterial
Dim xjobcoord, yjobcoord, xmachcoord, ymachcoord, zmachcoord
Dim xprobeloc, yprobeloc, xtoprobe, ytoprobe, PlateOffset
Dim CurrentFeed, Zretract
Dim CurrentAbsInc

xjobcoord = GetDRO(0) 'get current job coordinate for X
yjobcoord = GetDRO(1) 'get current job coordinate for Y
xmachcoord = GetOemDRO(83) 'get current machine coordinate for X
ymachcoord = GetOemDRO(84) 'get current machine coordinate for Y
zmachcoord = GetOemDRO(85) 'get current machine coordinate for Z
xprobeloc = GetUserDRO(1100) 'get X machine coordinate location of the touch plate
yprobeloc = GetUserDRO(1101) 'get Y machine coordinate location of the touch plate
xtoprobe = (xprobeloc - xmachcoord + xjobcoord) 'calculate the X move from the current location to the touch plate
ytoprobe = (yprobeloc - ymachcoord + yjobcoord) 'calculate the Y move from the current location to the touch plate
PlateOffset = GetUserDRO(1151) 'get plate offset DRO
CurrentFeed = GetOemDRO(818) 'get the current feedrate to return to later
Zretract = GetOemDRO(1202) 'get Z tool change location
CurrentAbsInc = GetOemLED(48) 'Get the current G90/G91 state

'//////// the block below will set all your reusable vars depending on Inch or mm.
'//////// this sets the vars so you only need ONE large block of probing code.

If GetOEMLED(801) Then 'ON = English Measure INCH
FirstProbeDist = 6.0 'first probe travel
FirstRetractDist = 0.1 'first probe retract travel
SecProbeDist = 0.25 'second probe travel
FirstProbeFeed = 10 'First Probe Feed Speed
SecondProbeFeed = 2 'Second Probe Feed Speed
Else 'OFF = Metric Measure MM
FirstProbeDist = 150.0 'first probe travel
FirstRetractDist = 3.0 'first probe retract travel
SecProbeDist = 6.0 'second probe travel
FirstProbeFeed = 300 'First Probe Feed Speed
SecondProbeFeed = 50 'Second Probe Feed Speed
End If

'//////// Error Condition checking code

If GetOemLED(16)<>0 Then 'Checks for machine coordinates
Code "(Please change to working coordinates)"
Exit Sub 'ERROR! exit the macro
End If

If GetOemLED(825)<>0 Then
Code "(Z-Plate Grounded Check connection and try again)"
Exit Sub 'ERROR! exit the macro
End If

'//////// Start Probing Code, Probe In -Z direction.MOVABLE PROBE PLATE
'//////// The vars will be Inch or Metric from above if/else statment

sleep(1000) 'pause 1 seconds to give time to position probe plate
Code "F" & FirstProbeFeed 'slow down feedrate to 10 ipm
ZNew = ( GetDro(2) - FirstProbeDist ) 'probe move to current z - 6 inches
Code "G90 G31Z" & ZNew
While IsMoving() 'wait for probe move to finish
Wend
ZNew = GetVar(2002) 'read the touch point
Code "G0 Z" & ( ZNew + FirstRetractDist ) 'move back to hit point incase there was overshoot +.1
While IsMoving ()
Wend
Code "F" & SecondProbeFeed 'slow down feedrate to 2 ipm
ZNew = ( GetDro(2) - SecProbeDist ) 'probe move to current z - .25 inches
Code "G90 G31Z" & ZNew
While IsMoving() 'wait for probe move to finish
Wend
ZNew = GetVar(2002) 'read the touch point
Code "G0 Z" & ZNew 'move back to hit point incase there was overshoot
While IsMoving ()
Wend
Call SetDro (2, PlateOffset) 'set the Z axis DRO to plate thickness
sleep(250) 'pause for Dro to update.
Code "G53 G0 Z" & Zretract
While IsMoving ()
Wend
Code "F" & CurrentFeed 'returns to prior feed rate

'//////// End Probing Code,

If GetOEMLED(801) Then 'ON = English Measure INCH
Code "(Z axis is now zeroed in English Units)" 'puts this message in the status bar
Else 'OFF = Metric Measure MM
Code "(Z axis is now zeroed in Metric Units)" 'puts this message in the status bar
End If

If CurrentAbsInc = 0 Then 'if G91 was in effect before then return to it
Code "G91"
End If


180
General Mach Discussion / Re: Strange Arcs
« on: April 24, 2020, 04:14:39 AM »
When you import this dxf in Aspire it shows a lot of opened vectors.
First they should be Joined and afterwords you should Curve Fit vectors

You can view process here: https://youtu.be/MzTO9ikBuiA

As I do not use Aspire for laser work, no g-code generated :)

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 »