Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 10:26:02 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  using brains to turn a switch on
Pages: « 1 2   Go Down
Print
Author Topic: using brains to turn a switch on  (Read 319 times)
0 Members and 2 Guests are viewing this topic.
widpyro
Active Member

Offline Offline

Posts: 61


View Profile WWW
« Reply #10 on: December 11, 2011, 08:33:25 AM »

Yes, I want the signal to be turned off during a move. The length of time varies but would generally between 2-4 seconds. I managed to achieve what I want to do by using a brain triggered by the DRO of an un-used axis -just like the example Art gives in the "introduction to brains" tutorial. But I would like to not have to tie up an axis for this purpose in case I want to use it later. That is why I asked about using another command. It could be any other command that works.
-jim
Logged
BR549
Active Member

Offline Offline

Posts: 2,558


View Profile
« Reply #11 on: December 11, 2011, 09:04:06 AM »

IF I read you correctly use the brain this way . When you turn on the mist with the M7 then 10 sec later the mist will turn off.


Miston(led) --------- No OP------------ Timer for 10 sec ------------- Button(mistoff)


BUT also as Hood said it is just as good to use the M7 in the Gcode to turn it on then use the M9 to turn it off where ever you want. It has NO effect on the motion.

(;-) TP
« Last Edit: December 11, 2011, 09:13:57 AM by BR549 » Logged
widpyro
Active Member

Offline Offline

Posts: 61


View Profile WWW
« Reply #12 on: December 11, 2011, 10:55:03 AM »

Thanks Brian,

You are telling my how to program the brain correct? What do you mean by button?
thanks,
-jim
Logged
BR549
Active Member

Offline Offline

Posts: 2,558


View Profile
« Reply #13 on: December 11, 2011, 11:13:00 AM »

THe brain terminates with a buttoncall. That is what turns OFF the Mist/on.

I would suggest studying up on the brains a little more, (;-) TP
Logged
Pages: « 1 2   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!