I've had very good results with my vb.net cnc controller by sending gcode lines to the Interpreter.Interpret(file) method. However, I'm writing some code to do auto-calculation of backlash that involves moving the motor in very small increments many times in
a row until a trigger is seen. Because each call requires:
Write the move gcode to a file.
Read the file via Interpreter.interpret().
Repeat
....all that thrashing about on disk sometimes causes some slowdowns......besides it isn't very elegant.
While I'm hopeful that we will some day see a version of Interpret() that takes arguments such as
Interpret(gcode line as string)
and overloads such as
Interpret (gcode lines as collection)
Interpret(gcode lines as array)
in the meantime I'm looking for an alternative that doesn't require all the writing/reading to disk but still utilizes any existing Interpreter settings such as backlash.
Are there dotnet non-gcode commands that I can use to perform absolute/relative motion utilizing all existing motor tunings and interpreter settings, something like
AbsoluteMoveTo(AxisID, Location)
RelativeMoveTo(AxisID,Location)
sam marrocco | chief technical officer
ringside.cutters.picnic.moonlink
248 548 2500 w
248 910 3344 c
ringsidecreative.com