Hello Guest it is August 03, 2021, 04:15:24 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Inertia

Pages: 1
1
Hi everybody!

I'm writing a macro (M11) for Mach4 that must:

> Read current gcode file line (X-26.306 Y-4.449 Z10.603 I-0.05081 J0.094506 K0.994227 M11)
> Derive new line based on its values
> Execute derived line
> Move to next line in gcode file without ever having executed the X, Y, Z, I, J, K values on the original line from the gcode file

I figure that since it has to execute the line to start the M11 macro, it might also have to execute all the X, Y, Z, I, J, K values too.

Is this the case or does the M11 take priority before any other values in the line?
An example of code to achieve this would be bonus point for you if you would be so kind.  ;D

Thanks guys.

Pages: 1