Machsupport Forum

Mach Discussion => Brains Development => Topic started by: jw1618 on February 01, 2016, 10:34:01 AM

Title: DRO feedrate to control solenoid cycles?
Post by: jw1618 on February 01, 2016, 10:34:01 AM
Hello, Is it possible to use the a-axis dro feed-rate to control a solenoids cycles per minute. I am trying to get the solenoid to cycle faster as the axis moves faster and only cycle when moving in the clockwise direction.

Any help is greatly appreciated.
Jamie
Title: Re: DRO feedrate to control solenoid cycles?
Post by: BR549 on February 01, 2016, 11:47:22 AM
Not that I am aware of directly with Mach3. Perhaps IF you explained a little more of what you are trying to do we can help work something out.

(;-) TP
Title: Re: DRO feedrate to control solenoid cycles?
Post by: jw1618 on February 01, 2016, 09:25:59 PM
Thank you for your reply.
I should have elaborated more.
I am going to be using mach3 with kisslicer and a wire feed welder to create a 3d printer. I am trying to get a solenoid to mechanically oscillate the wire proportional to the feedrate acceleration and deceleration. I need it to oscillate so the wire wont stick. I understand I can use a brain to enable/disable a relay when the A-axis is moving and use the A-axis direction pin so it will only turn on when moving in one direction. This is how I plan to control the welder, Unless I can also get 0-10v to do that also. I think I could use an arduino to control the rate of oscillation if I can give the arduino a 0-10v proportional to the A-axis feedrate . But I don't know if I can in any way get a voltage output from the A-axis in mach. Also its a welder so I'm trying to stay away from arduino do to the likely noise.

Jamie
Title: Re: DRO feedrate to control solenoid cycles?
Post by: stirling on February 03, 2016, 11:24:34 AM
why not just use the A axis step pulse signal itself? Put that through an appropriate driver (i.e. suitable for your solenoid's voltage and current specs) and use DIR for the driver's enable. An example driver if your solenoid is less than 36V and 1A might be something like a LM18293.

Whatever you end up doing - don't "give" your Arduino 0-10V - it'll push the magic smoke out quick time.
Title: Re: DRO feedrate to control solenoid cycles?
Post by: jw1618 on February 04, 2016, 06:42:23 PM
That sounds like an interesting solution, I'll have to read into it sometime today. Sorry, I meant to say 0-10k. Thank you for reminding me before I destroy another Arduino. My main concern is that I will need to readily control the on off timing and cycle rate. I'm considering using a 2 way pneumatic cylinder that way I can keep the 2 solenoids cooled. Unless there's any way I can use the 4th axis wire feed to oscillate while still feeding instead of a solenoid?
Title: Re: DRO feedrate to control solenoid cycles?
Post by: stirling on February 05, 2016, 04:51:26 AM
Maybe someone involved in impact engraving could step in. It seems to me there might be at least some crossover with what you want to do.
Title: Re: DRO feedrate to control solenoid cycles?
Post by: Tweakie.CNC on February 05, 2016, 05:51:59 AM
Interesting idea Ian.

I suppose it may be possible to use the X & Y axis Step pulses which could be electronically scaled (divided) and combined with the Direction signals so that pulses would vary with speed and only occur when travelling in one direction. I haven’t thought about the quadrant math’s for the circular paths but how hard can it be ??  ;)

Tweakie