Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 12:30:10 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Brains Development
| | |-+  Need brain condition
Pages: 1   Go Down
Print
Author Topic: Need brain condition  (Read 1718 times)
0 Members and 1 Guest are viewing this topic.
Bodini
Active Member

Offline Offline

Posts: 112



View Profile
« on: October 29, 2007, 02: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

Logged
Bodini
Active Member

Offline Offline

Posts: 112



View Profile
« Reply #1 on: October 29, 2007, 03:45:33 PM »

Dont need the greater than zero part... set it to 'no operation'.

Logged
Hood
Active Member

Offline Offline

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #2 on: October 29, 2007, 03:45:50 PM »

All you do is choose to do nothing, ie pass through the signal and it should work.
Hood
Logged
Bodini
Active Member

Offline Offline

Posts: 112



View Profile
« Reply #3 on: October 29, 2007, 03:47:59 PM »

yup, bout 20 seconds ahead of ya. ha!  Tongue  thanks hood.
Logged
Hood
Active Member

Offline Offline

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #4 on: October 29, 2007, 03:48:29 PM »

Smiley
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!