Hello Guest it is April 28, 2024, 08:25:58 PM

Author Topic: Calling Subroutine during GCode-Execution on every linebreak  (Read 1889 times)

0 Members and 1 Guest are viewing this topic.

Calling Subroutine during GCode-Execution on every linebreak
« on: December 11, 2010, 05:35:55 AM »
Hello everybody,

iam a newbie to Mach3 and had a question.
First of all: How does i call my own subroutine/macro during gcode-execution? I found that macro-directory, but how to name them and call them? Is there an instruction for that?
Second: We got a fixed gcode(mainly G0 commands) and want to execute on every lineend my own code - without first generating a new gcode. How can i make that? With macropump or something like that? Or is it possible to execute my own code on every gcode-line and pass the Gcode-command to my macro and analyse it and than run my own commands?

Thanks in advance - Glenn! Sorry for my english!