Machsupport Forum

Mach Discussion => Mach Screens => CVI MachStdMill (MSM) => Topic started by: kencor1 on July 21, 2010, 07:12:58 PM

Title: Inhibited LED
Post by: kencor1 on July 21, 2010, 07:12:58 PM
Dave is the Inhibited LED operational?  I have input 1 setup and the check box set, The functionality is working but the LED does not light.

Thanks,
Tom
Title: Re: Inhibited LED
Post by: DaveCVI on July 21, 2010, 07:28:24 PM
Hi,

It's working on my machine.

On the Hardware page, Signals tab, do you see the input 1 led change as you change the physical input signal?

Dave

Title: Re: Inhibited LED
Post by: kencor1 on July 21, 2010, 09:22:28 PM
Yes, the LED is working on the Hardware Page.

Tom
Title: Re: Inhibited LED
Post by: DaveCVI on July 21, 2010, 09:31:16 PM
Are you on a Parallel port?
If so, please check the led for the pin the signal is on on the hardwre PP driver page.
If the Signal page LED is changing with the input signal, but the PP pin led is not (I know that sounds as if it should be impossible), that tells me something - it would indicate to me that a background process that updates both the PP pin leds and the Inhibited led has stopped running. Which would explain to me why you are not seeing the inhibited led on the screen change with the input signal.

Let me know if this is the case and we'll go from there.

Dave
Title: Re: Inhibited LED
Post by: kencor1 on July 22, 2010, 09:21:40 AM
Sorry I forgot to mention that I was using a SmoothStepper.

Tom
Title: Re: Inhibited LED
Post by: kencor1 on July 22, 2010, 10:12:54 AM
Dave, I was able to get it working by changing the OEM LED code from 1702 to the same code as the Output 1 LED.  I know that you don't want us messing with the screen so I put it back to the 1702, I just wanted you to know in case this helps.

Thanks,
Tom
Title: Re: Inhibited LED
Post by: DaveCVI on July 22, 2010, 10:42:37 AM
I need to find out if the background process is running on your machine - let's try this to see:
please go to the tooling page.
Upper right panel "tool table information", upper right part of the panel there is a "+" and a "-" button with a DRO in between the buttons.
When you click + or - does the DRO in between change with the buttons?

Dave

Title: Re: Inhibited LED
Post by: kencor1 on July 22, 2010, 11:41:38 AM
Dave, Yes the DRO changes the Tool # when I click + or -

TOm
Title: Re: Inhibited LED
Post by: DaveCVI on July 22, 2010, 11:48:47 AM
OK, that is good info - not the info I expected, but info none the less.
That tells me the back ground process that refreshes screen controls is running.
As to how it could be refreshing the tooling page controls but not the inhibited LED is a puzzle.

I need to go scratch my head a bit about this.
FYI, due to other time pressures, it may be a day or two before I can get into this more.

Dave
Title: Re: Inhibited LED
Post by: DaveCVI on July 22, 2010, 11:57:24 AM
A thought comes to mind -

there is a brain that actually drives the drives the inhibited LEDs on the screens. It should be auto loaded by Mach when mach starts, but maybe it is missing or got turned off somehow.

Please look in c:\mach3\brains\autoload and check if "MachStdMill Safety Lockout LED Display" is in that dir.
if it is present, please use the menus to do Operator - Brain control. The dialog that appears should include 4 brains all of which have names that start with "MachStdMill" - all of them should be checked as enabled. If they are not enabled, please enable them and then click "reload all brains".

check the inhibit led - is it now working?
(BTW the MDI labels will also flash yellow when things are inhibited).

Dave

Title: Fixed
Post by: kencor1 on July 22, 2010, 12:22:03 PM
Dave, Thank you, that was the problem, I somehow disabled the brains they are now enabled and it is working correctly.  

Thanks again,
Tom
Title: Re: Inhibited LED
Post by: DaveCVI on July 22, 2010, 12:23:13 PM
Tom,
great - one more bug squashed!
Dave
Title: Re: Inhibited LED
Post by: kencor1 on July 26, 2010, 03:08:00 PM
Dave, I have noticed that when I 1st start up Mach the enable LED does not start to function until after the machine is enabled for the 1st time, then it will begin working. Not really a problem, just thought you might like to know.

Tom
Title: Re: Inhibited LED
Post by: DaveCVI on July 26, 2010, 03:14:54 PM
Tom,
I'm not quite following - would you clarify for me what you are referring to with "enable LED"?

I'm unsure if you mean the "inhibited LED" (as that was this topic of this thread) or
the big green "ready / Not ready" button (since you refer to "enabling" the machine), or
something else?

Sorry, I didn't want to assume, so I figured I'd ask.

Dave


Title: Re: Inhibited LED
Post by: kencor1 on July 26, 2010, 03:51:11 PM
Sorry  Dave, Yes I meant the Inhibited LED.

Thanks,
Tom
Title: Re: Inhibited LED
Post by: DaveCVI on July 26, 2010, 05:21:52 PM
Hi,

My machine with that the inhibit input line runs on a PP -
the inhibited LEDs work for me upon power up - while the screen is still madly blinking that mach is is not ready.

The logic for the inhibited LEDs basically is
    Mach Input signal 1 AND  ProgramSafetyLockOut() => turn on inhibited LED

Some wild ideas:
1) Could it be that your breakout board is not sending input signals to mach until it is cycled once?

2) Are you using a PP or a smooth stepper?
Maybe a SS does not feed back inputs to mach until after the SS is reset once?
I just got a smooth stepper to test with, but have not had time to hook it to anything yet.

The above two are only speculation on my part -

A way to test is to look at the hardware signals page - does the input 1 LED change when first powered up?
The LED on the page is the Mach LED - so if, it's not changing, most likely mach isn't seeing a change in the input signal.
That would indicate that it's a hardware issue you are seeing.

Dave
Title: Re: Inhibited LED
Post by: kencor1 on July 27, 2010, 02:34:32 PM
Dave, When I started the machine today the inhibited LED was functioning on start up,  even shut it down and restarted and it worked again.  I am at a loss as to why. But I will keep an eye on it and let you know if it happens again. By the way I am using it with a Smooth Stepper.

One other thing I noticed is that whenever I hit the stop button while a program is running the smooth stepper will loose data and lock up, it doesn't happen on an e-stop or if I hit feed hold and then stop after the machine stops moving.


Thanks,
Tom