5271
General Mach Discussion / Re: Z speed limiting xy speed
« on: February 13, 2018, 06:44:32 PM »
Hi,
if I understand what you're trying to do is use the Z axis step pulses in some sort of frequency to voltage
conversion to control a laser?
Seems like a difficult way of doing it. The Z axis pulse rate will change at each move determined by the other
coordinated axes.
Using S commands wont work either as they are read per line, thus a move has to complete BEFORE the next
line and therefore the next S command can be read.
What you have to do is start the laser with an S command but the S (speed DRO or pound variable) will need to be updated
either by a brain or a macro at the macro pump rate. At the macro pump rate the laser pulse stream can be
modified ten times a second even during a coordinated move. Would that suffice?
My VB coding has never been strong, I converted to Mach4 and Lua, if I'm going to learn something new I wanted it to
be up to date, ie Lua. While I can see how I would go about coding this I'm not going to offer help to do it in VB.
If you wish to download Mach4 I could and would be keen to help you code it in Lua.
Craig
if I understand what you're trying to do is use the Z axis step pulses in some sort of frequency to voltage
conversion to control a laser?
Seems like a difficult way of doing it. The Z axis pulse rate will change at each move determined by the other
coordinated axes.
Using S commands wont work either as they are read per line, thus a move has to complete BEFORE the next
line and therefore the next S command can be read.
What you have to do is start the laser with an S command but the S (speed DRO or pound variable) will need to be updated
either by a brain or a macro at the macro pump rate. At the macro pump rate the laser pulse stream can be
modified ten times a second even during a coordinated move. Would that suffice?
My VB coding has never been strong, I converted to Mach4 and Lua, if I'm going to learn something new I wanted it to
be up to date, ie Lua. While I can see how I would go about coding this I'm not going to offer help to do it in VB.
If you wish to download Mach4 I could and would be keen to help you code it in Lua.
Craig