Hello Guest it is August 17, 2019, 07:28:14 AM

Author Topic: Mach3 need one more input for Pressure sensor?  (Read 3734 times)

0 Members and 1 Guest are viewing this topic.

Re: Mach3 need one more input for Pressure sensor?
« Reply #10 on: April 16, 2016, 04:10:54 PM »
when the brain is active, when air pressure is below 80psi and the pin on the BOB turns on My UserLED on the ATC screen should turn on YES or NO?  When the pressure sensor is satisfied the BOB pin LED is OFF when the Pressure drops below 80PSI the BOB LED should come on which it does.  Why can't I get the UseLED1061 to light up when the BOB LED is ON?  This is the problem.  There is a disconnect somewhere in the logic.  I have to be missing something very simple.

I appreciate your help

Jeff
Re: Mach3 need one more input for Pressure sensor?
« Reply #11 on: April 16, 2016, 04:15:47 PM »
I am sorry what i meant to say is when the Pin on the BOB turns on because the pressure sensor is open the UserLED1061 should be off.  When the pressure drops below the 80PSI the bob LED turns on but the UserLED1061 is not turning on. 

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach3 need one more input for Pressure sensor?
« Reply #12 on: April 16, 2016, 04:32:26 PM »
Should work fine, works here.
If you attach your xml and brain I will have a look here and see if I can find the issue.
Hood
Re: Mach3 need one more input for Pressure sensor?
« Reply #13 on: April 16, 2016, 04:52:18 PM »
Hood thanks!

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach3 need one more input for Pressure sensor?
« Reply #14 on: April 16, 2016, 04:54:05 PM »
Just to test wherther the LED is working you could open the VB editor and type in

SetUserLED (1061,1)
Sleep 1000
SetUserLED(1061,0)


Then press the Run Script arrow and you should see the LED go on then off.
Hood
Re: Mach3 need one more input for Pressure sensor?
« Reply #15 on: April 16, 2016, 04:55:09 PM »
My brain in fried trying to figure this out....

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach3 need one more input for Pressure sensor?
« Reply #16 on: April 16, 2016, 05:02:03 PM »
Not sure if that was the correct xml or not, if it was you didn't have the brain enabled.
Hood

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach3 need one more input for Pressure sensor?
« Reply #17 on: April 16, 2016, 05:07:11 PM »
<Brains><OP78LED.brn>1</OP78LED.brn><ModIOMPG.brn>1</ModIOMPG.brn><PSI11.brn>1</PSI11.brn></Braiins<

That is what your xml has, maybe you renamed the brain before posting?
Hood
Re: Mach3 need one more input for Pressure sensor?
« Reply #18 on: April 16, 2016, 05:43:17 PM »
i did what you said and the LED on the ATC screen works.  I need to now try to figure out what I am doing wrong in the brain.  Here the XML is and the brain sorry about that I gave you an old one.
Re: Mach3 need one more input for Pressure sensor?
« Reply #19 on: April 16, 2016, 05:44:02 PM »
I had to rename them to send again on the forum.