Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Katoh on July 17, 2019, 03:30:41 AM
-
G'Day All
I am trying to write a little program but it has a twist I want to make it time based.
This is basically what I want.
S75
M3 (on for 5 seconds)
M4 (on for 3 seconds)
M5
M30
Nothing to hard there but is there a time based code?
Thanks
-
G4Px should do the trick (Uncheck in Settings for an x dwell time in Seconds).
-
Hi Tweakie
I just wanted to clarify I am Using Mach3 Lathe, Where do I find the ( x dwell settings) ?
Many thanks for the quick reply
-
If you look up the G04 command you will see that it is followed by Px where x=Dwell in Seconds or Milliseconds. As an example the Gcode command line G4P3 will give a 3 second delay assuming 'G04 Dwell in ms' is unchecked in Config/ General Config.
If you lathe screen does not allow you to see the Gcode Summary then temporarily select the Mill screen (1024.set) to view.
Tweakie.
-
Awsome ;D
Works a charm!!!
I have being Nc Machining for a long time but never had heard of or needed time management in an axis, simply fantastic, and you Tweakie can not thank you enough. Happy Happy, Joy Joy!!!!
-
Excellent ;)