Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Rimmel on March 13, 2017, 02:51:08 PM

Title: Mach3 turn auto screen loop increment counter???
Post by: Rimmel on March 13, 2017, 02:51:08 PM
Mach3 turn auto screen loop increment counter???


On the auto screen (see pic attached) there is a loop counter. Is there any way to increment it when using a M98/99 loop?

e.g.
Code: [Select]

M98  P001 L43  ( -86MM - START AT Z0 )
G0 Z50.0
G0 X50.0
M5
M9
M30

O001
( Incremet loop counter here ???????)
G91 Z-2.0
G90
G1 X37.0
G0 X42.0
M99
%

When the above code runs I would like the loop counter to update so I know which increment I am at.

or

Is that not what this counter is for?

thanks
Rim