4621
Mach4 General Discussion / Re: Mache4 Lathe-pmdx411 incremental move problem
« on: May 07, 2018, 08:43:57 PM »
Hi,
thinking a little more about this may I suggest some experiments to find out whats going on.
First just set up a script to rotate the C axis in discrete steps... something like
local s
Local for i=1 to 100
s=s..'g0 h5\n'
end
mc.mcCntlMdiExecute(mc.mcGetInstance(),s)
The next question I have is 'is it possible that the lines of Gcode presented to the interpreter are returning
before being executed and being lost?'
Maybe something like this
local i,s
for i=0,100
s='g0 h5'
mc.mcCntlMdiExecuteWait(mc.mcGetInstance(),s)
end
Craig
thinking a little more about this may I suggest some experiments to find out whats going on.
First just set up a script to rotate the C axis in discrete steps... something like
local s
Local for i=1 to 100
s=s..'g0 h5\n'
end
mc.mcCntlMdiExecute(mc.mcGetInstance(),s)
The next question I have is 'is it possible that the lines of Gcode presented to the interpreter are returning
before being executed and being lost?'
Maybe something like this
local i,s
for i=0,100
s='g0 h5'
mc.mcCntlMdiExecuteWait(mc.mcGetInstance(),s)
end
Craig