These are chat archives for machinekit/machinekit

9th
Jun 2016
zhivko
@zhivko
Jun 09 2016 19:33
Hi guys!
I am trying to find out how is MT_EMC_TASK_PLAN_STEP supposed to work.
I finally was able to connect all 6 steppers, and now I need to tune my gcode program... So I need this functionality badly.
So what I am trying to do is run my gcode program, line by line.
zhivko
@zhivko
Jun 09 2016 19:40
Currently I have code in place to run whole gcode program... but I havent implemented stepping yet - so I am wondering does MT_EMC_TASK_PLAN_STEP works like a toggle - and after beeing in plan_step mode I need to call MT_EMC_TASK_PLAN_RUN with desired line number?
zhivko
@zhivko
Jun 09 2016 19:45
Or I do stepping with the MT_EMC_TASK_PLAN_RESUME ?
zhivko
@zhivko
Jun 09 2016 21:25
OK... find out by experimenting ... MT_EMC_TASK_PLAN_STEP seems to work just fine .... it steps before opened gcode line by line.