Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: robertspark on October 17, 2015, 03:30:13 PM

Title: M codes and mach4, is there still a hesitation same as m3? (Except m10/m11)
Post by: robertspark on October 17, 2015, 03:30:13 PM
As per title, when using m codes to toggle outputs is there still a hesitation with mach4, the same as there was with mach3, hence the reason why the m10/m11 codes were used as they were suppose not to have the delay / hesitation?

Was this not to do with the loop speed in mach3

(Question is to do with THC on and off control where a divot was created with the torch pause / hesitation during the m code processing)

Thanks

Rob
Title: Re: M codes and mach4, is there still a hesitation same as m3? (Except m10/m11)
Post by: Tweakie.CNC on October 18, 2015, 03:01:46 AM
Hi Rob,

If it's any help, the Mach4 equivalent to the Mach3 M11Px/M10Px commands are...

M62Px turns Output# x ON
M63Px turns Output# x OFF

There are no delays associated with these commands as they take effect coincident with axis movement.

Tweakie.
Title: Re: M codes and mach4, is there still a hesitation same as m3? (Except m10/m11)
Post by: robertspark on October 18, 2015, 03:09:12 AM
Tweakie, thanks very much, I'll give them a go

(Running a smooth stepper so that has its own challenges to see what's implemented and what's not, in mach3 only one output could be toggled with an m10/m11 regardless of the "Px" bit as the output is defined in the motion controllers config page)

Rob