Hello Guest it is April 19, 2024, 08:16:10 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.


Topics - Millone

Pages: 1
1
General Mach Discussion / Z speed limiting xy speed
« on: February 13, 2018, 08:25:53 AM »
Hi there,

I am using the Z pulses to drive a laser TTL trough a micro. So I really do not mind about how fast the Z speed is because there is no motor connected to it and I need it fast..
I have set x and y at 15000mm/min  (that's my max speed on these axis) and Z at 50000 mm/min. When I run the gcode with a feed rate of 1800 mm/min I expect z to be so fast that should not slow down xy.
I do not know why but z is slowing xy and it is running at merely 500-800 mm/min.
The situation does not change if I increase the feedrate. Mach3 is running at 75 kHz so this shlould not be the issue either. The Z acceleration is also very high (10000) so neither this is the issue.

I have tried different gcodess produced with different cam software but still, despite the settings, Z is slowing down XY which I can hear stepping all the time. I have set constant speed but the machine sounds like the gcode is running in exact stop.
I have attached the gcode I am using for the above test. As you will see the Z movement are from 0 to -1 mm so at the speet I have set the Z, I am not expecting xy to slow dons or to step..

Is there a setting to detach Z speed from xy? Any hint?

Thanks for helping,
Felice



2
VB and the development of wizards / Macro does stop
« on: October 30, 2017, 11:14:59 AM »
I am reusing a macro I loaded somewhere to zero the tool.

Here is the macro:

Code: [Select]
[code]'VB Code Start
'-------------------
CurrentFeed = GetOemDRO(818)
DoSpinStop()
CODE"G90"
code"G0 X100 Y100"
code"G0 Z-50"
Sleep (100)


ZMove = 80.00 'Distance of Probe to move from 0 absolute before Stop or no Contact Made.
ZOffset = 2 ' Plate Hight
ZSal = ZOffset + 8.00 '+ Free Hight, Will possition the Proble 2 MM over the Material.

StopZmove = 0
If GetOemLed (825)=0 Then
DoOEMButton (1010)
Code "G4 P2.5"
Code "G31 Z-"& ZMove & "F25"
While IsMoving()
Sleep(200)
Wend
Probepos = GetVar(2002)
If Probepos = - ZMove Then

'****************
Code "G0 Z-10" 'this does not happen
responce = MsgBox ("**ERROR** " , 4 , "Probe **ERROR**" ) 'this message never pops out
'***************

StopZmove = 1
Code "F" &CurrentFeed
End If
If StopZmove = 0 Then
Code "G0 Z" & Probepos
While IsMoving ()
Sleep (200)
Wend
Call SetDro (2, ZOffset)
Code "G4 P1"
Code "G0 Z" & ZSal
Code "(Z zeroed)"
Code "F" &CurrentFeed
End If
Else
Code "(Check Ground Probe)"
End If
Exit Sub
'-------------------
'VB Code Stop
[/code]

I have commented two lines in the middle of the code that should show an error message and move the z up to -10 in the event that the probe is not found.
Actually is not happening, if the probe is not found within the given ZMove, nothing happens it just stop.

If the ZMove is reached, I would like to move  Z up to -10 and pop out the error message "Probe Error".
I do not get the problem. Any help will be appreciated.

Thanks
Felice

3
General Mach Discussion / E-cut BoB output configuration
« on: July 28, 2017, 10:24:03 AM »
I have this card in my machine: http://www.ebay.co.uk/itm/4-Axis-E-Cut-USB-MACH3-Motion-Control-Card-CNC-Interface-Breakout-Driver-Board-/152143428460?hash=item236c747b6c
It is not something I choose, it was simply part of the machine I bought. I have had no problems with this BOB but now I need to get an additional output to work and the documentation is basically not existing.

I am trying to configure one of the outputs to connect a relay and finally drive the TTL signal of a laser.
Is there anyone that has the same breakout board?
My issue is the following:

I have connected the output #3 and connected a dc voltmeter between such wire and ground.
Using the BoB plugin configurator I see that the output switch on (24Vdc) when I trigger the output #4. Since they start physically counting the outputs from 0, I am not surprised that the output marked #3 on the board switches with the command #4 from the plugin screen. Even the physical output #2 switch from the command 3 on the plugin screen switching on the light.  So, it is like that.
Cool! the output is working with the BoB plugin.
I am not an expert of Mach3, just a beginner user.

Now the mission is to get it working from Mach3.
I did set in the output configuration both the output 3 and 4 to port 1, pin 3 and pin 4 respectively.
I did try to switch on/off such outputs using Gcode M11p3, M11p4, M10p3, M10p4 without any success.
I even tried to configure the output as spindle mapping those outputs (3 and 4) to pin 17 and then using M4 M5 commands.
I am not getting right and I am now quite confused.
I am not sure if I am using the wrong Gcode commands to get the output or if I am doing a mistake in configuring it.

Any help to get the output from such BoB on a Gcode command  will be appreciated.
Thank you
Felice


Pages: 1