Hello Guest it is October 17, 2019, 02:05:10 AM

Author Topic: Need brain condition  (Read 3629 times)

0 Members and 1 Guest are viewing this topic.

Offline Bodini

*
  •  216 216
    • View Profile
Need brain condition
« on: October 29, 2007, 03:33:51 PM »
I want a brain to:

if gcode is running then -> output5

I tried:

LED804->greater than 0-> output5

but that doesnt work.

Is that how you get the signal from an led, like in VB? (0 for off, 1 for on?)

Basically, the condition I'm looking for is: if gcode is running, then do it... if you're jogging by hand, dont do it.... which is why i didnt just link it to blended velocity, which did work as a test.

thanks,

Nick

Offline Bodini

*
  •  216 216
    • View Profile
Re: Need brain condition
« Reply #1 on: October 29, 2007, 04:45:33 PM »
Dont need the greater than zero part... set it to 'no operation'.

Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: Need brain condition
« Reply #2 on: October 29, 2007, 04:45:50 PM »
All you do is choose to do nothing, ie pass through the signal and it should work.
Hood

Offline Bodini

*
  •  216 216
    • View Profile
Re: Need brain condition
« Reply #3 on: October 29, 2007, 04:47:59 PM »
yup, bout 20 seconds ahead of ya. ha!  :P  thanks hood.

Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: Need brain condition
« Reply #4 on: October 29, 2007, 04:48:29 PM »
:)