Hello Guest it is April 19, 2024, 02:22:23 PM

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

0 Members and 1 Guest are viewing this topic.

Offline BR549

*
  •  6,965 6,965
    • View Profile
LED indicator for optional stop M01 active
« on: April 18, 2013, 07:17:20 PM »
Does anyone know how to tell IF mach3 is in M01 optional stop mode?

LED ?

(;-) TP
Re: LED indicator for optional stop M01 active
« Reply #1 on: April 18, 2013, 08:03:02 PM »
65  according to the standard 1024.set

Optional Stop On LED   65   
« Last Edit: April 18, 2013, 08:04:57 PM by Overloaded »

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: LED indicator for optional stop M01 active
« Reply #2 on: April 18, 2013, 09:16:50 PM »
That just tells you that you have the option turned on NOT if it is actually in use.

For example in a Gcode program you used M01 and it is active and the machine is paused, waiting on a Cycle start to resume.

(;-) TP
Re: LED indicator for optional stop M01 active
« Reply #3 on: April 18, 2013, 11:01:28 PM »
Somehow I  knew there was more to it than what I was seeing.  ::)

Silly me.  :)

 ;D

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: LED indicator for optional stop M01 active
« Reply #4 on: April 18, 2013, 11:07:06 PM »
Well I did not explain it very well(;-)

Thanks for the help, (;-) TP
Re: LED indicator for optional stop M01 active
« Reply #5 on: April 24, 2013, 01:06:42 AM »
There is a "Pause Active LED" (80) and "Pause LED" (805).  If either of those is on during an M01 pause, checking for either one of those AND "optional stop on" (65)  would tell you if you were paused with optional stop turned on.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: LED indicator for optional stop M01 active
« Reply #6 on: April 24, 2013, 01:08:22 PM »
I have tired all of those . None are active in M01 mode.

Heck I even built a screen that has ALL the LEDs on screen. Nothing comes on in M01 mode (;-).

(;-) TP
Re: LED indicator for optional stop M01 active
« Reply #7 on: April 27, 2013, 10:24:35 AM »
Pretty rare that you find something that can't be done in Mach3, but I don't see any way to tell if you are paused in an M01.  You could look at the M01 LED while at the same time checking for motion, but then you'd have to somehow determine if you were stopped or paused under other circumstances.

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: LED indicator for optional stop M01 active
« Reply #8 on: April 30, 2013, 07:37:33 PM »
another option would be to look at the "IsMoving" LED in Mach3, if it is NOT on, then you are paused....

Scott
fun times
Re: LED indicator for optional stop M01 active
« Reply #9 on: May 01, 2013, 01:31:21 PM »
I tried that, but isMoving() evaluates false any time the machine is stopped or paused.  If the machine is stopped with no program running and LED 65 is on, that statement would evaluate true.  He's trying to determine if the machne is pause as a result of an M01.