Hello Guest it is November 14, 2019, 12:54:46 AM

Author Topic: LED indicator for optional stop M01 active  (Read 6255 times)

0 Members and 1 Guest are viewing this topic.

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: LED indicator for optional stop M01 active
« Reply #10 on: May 06, 2013, 07:36:50 AM »
ok, then try this:

    see if the "G-Code" IsLoaded() LED is on, AND the M01 LED optional stop is On, AND if the IsMoving is NOT on.
Also, see if the "Cycle Start" LED is also on....... this would give you:

I have G-code that is currently executing, I have the M1 option turned on, and if the machine pauses while running the
g-code then, that would most likely be a G pause condition.

If that all fails, I could try and write a down and dirty plugin that would get to the internal "Mach States", and post them,
to a User Defined LED..........    Kinda a loooonnngggg slide for a short gain.

Scott
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/
Re: LED indicator for optional stop M01 active
« Reply #11 on: May 11, 2013, 04:41:28 PM »
greeting
I have a problem when you put the M1 in the list of G codes it works but when I write it in a macro example
code "g1 x100"
code "M1"
code .........
then will not recognize it on one computer while on a machine to do what we can to be the cause
thank you

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: LED indicator for optional stop M01 active
« Reply #12 on: May 11, 2013, 05:00:04 PM »
Being there is NO gcode file loaded there is NOTHING to M1 hold. A macro runs the lines one at a time so mach does not see a loaded gcode program.

(;-) TP