Hello Guest it is March 29, 2024, 01:20:56 AM

Author Topic: using brains to turn a switch on  (Read 5124 times)

0 Members and 1 Guest are viewing this topic.

Re: using brains to turn a switch on
« 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

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: using brains to turn a switch on
« 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 »
Re: using brains to turn a switch on
« 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

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: using brains to turn a switch on
« 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