Hello Guest it is October 22, 2019, 05:49:06 AM

### Author Topic: DRO feedrate to control solenoid cycles?  (Read 2822 times)

0 Members and 1 Guest are viewing this topic.

#### jw1618

• 7
##### DRO feedrate to control solenoid cycles?
« 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

#### BR549

• 6,902
##### Re: DRO feedrate to control solenoid cycles?
« Reply #1 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

#### jw1618

• 7
##### Re: DRO feedrate to control solenoid cycles?
« Reply #2 on: February 01, 2016, 09:25:59 PM »
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

#### stirling

• 2,188
• UK
##### Re: DRO feedrate to control solenoid cycles?
« Reply #3 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.

#### jw1618

• 7
##### Re: DRO feedrate to control solenoid cycles?
« Reply #4 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?

#### stirling

• 2,188
• UK
##### Re: DRO feedrate to control solenoid cycles?
« Reply #5 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.

#### Tweakie.CNC

• 7,956
• Super Kitty
##### Re: DRO feedrate to control solenoid cycles?
« Reply #6 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
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.