Turning Digital outputs on and off

Started by Mathwhittker, April 05, 2016, 11:38:44 AM

Previous topic - Next topic

Mathwhittker

Hi,
  I was wondering if there was a way of creating a method in which Digital outputs are automatically turned on and off during the program. i.e at a certain point along a curve one output turns off and the other turns on. Or would this have to be done manually ? 

Best Regards

Math Whittaker

Johannes @ Robots in Architecture

Hello Math,

According to which criteria do you want to trigger the output? The easiest way is of course to segment your toolpath and add an IO command.
If the triggering happens according to a function based on a system variable, you could just put it into the sps.sub. Note that it would then trigger with all programs (unless it depends on another variable that enables that part). Also, do not put any WAIT or movement commands into the sps.sub and make a backup before you change anything.

Best,
Johannes

Mathwhittker

Hi Johannes

The idea is to trigger outputs along this curve, so where its cyan output 1 is triggered and then along the red part output 2 is triggered. Ideally i would be able to rapidly turn these outputs on and off within the zones they are supposed to work however I can probably achieve this through some other electronics, I just wanted to know if there is a way of getting the IOs to swap halfway through ?

Thanks
Math

Mathwhittker

Hi,


This is the best way i have come up with for my problem, It's a bit clumsy but i can't think of another way. I don't know if anyone else can think of another idea

Thanks

Math

Johannes @ Robots in Architecture

Hmmm... I think that the separation of the curve is indeed the easiest way to approach this if you need precise control over where it is triggered.
I'll think about it some more, and will let you know if I find a simpler/smoother solution.

Best,
Johannes