@lilow
My recommendation was to connect the Raise/Lower signals from the Plasma Torch Height Controller (THC) to the L298N board. Masso has no control over the position of the torch.
The "simple DC motor lifter" (see previous forum post
Dc 24 volt torch height lifter for a photo). It is a 24V DC motor with a reduction gear connected to a ball screw. The black cylinder is the motor while the lower silver cylinder will be the reduction gears. There was a follow-up posting that the lead screw is actually a ball screw (we will come back to that).
I had a look at a manual online for a typical THC (specifically
Hypertherm) to understand how this simple lifter is actually meant to work. It appears that when the arc is turned off the THC requests the torch to be lifted until the upper limit switch is reached. When the arc is requested on the THC lowers the torch until an arc is struck, the height is adjusted until a stable arc and then an "Arc OK / Motion allowed" is sent to the CNC machine. This sort of configuration is potentially inefficient if you are doing a lot of intricate piercing work (start / stop the arc) as the torch will be traveling several inches up and down with each arc strike. For typical factory floor cutting the length of the cut segment is not a couple of centimeters but closer to a meter linear length - the up/down bob is a small amount of time compared to cutting.
I need to post a drawing of how this links together but my laptop is "having issues" (mandatory software upgrade from IT broke stuff).
Second, you would have to use both outs on that board.
There are a couple of things here - 24V 2A => 48W, that is enough power to lift 5 Kg at 1 meter/sec (that sounds fast enough to me). Ball screws are typically >90% efficient and the reduction gear box should be 80% efficient. The
L298N datasheet on page 7 has the following statement / warning:
For higher currents, outputs can be paralleled. Take care to parallel channel 1 with channel 4 and channel 2 with channel 3.
You can check the datasheet - Channel 1 is on the far left of the IC and channel 4 is on the far right. Which terminals on the PCB they are connected to is a bit of a lucky dip.
My guess would be: (strictly an educated guess)
- Outlet terminal on the left closest to the IC is channel 1
- Outlet terminal on the left farthest from the IC is channel 2
- Outlet terminal on the right farthest from the IC is channel 3
- Outlet terminal on the right closest to the IC is channel 4
This lifts the current rating close to 4A (this would have the torch head
really moving). Trying to explain the gotcha for parallel output didn't appear to be worth it at the time - but since you asked you now have the gritty detail.
Third, if no signal is generated, the dc motor is in free fall.
If the both outputs are high or both outputs are low then the two wires of the DC motor are effectively connected together - this acts as a brake. Grab a loose DC motor and spin the shaft, next short the two terminals / wires together and then try to turn the motor - it should still turn but will have significantly more mechanical resistance. What is happening is the DC motor turns into a generator and mechanical power is converted to electrical power which is converted into heat by the motor winding resistance.
Secondly the reduction gearbox should provide enough mechanical resistance to avoid the "free fall" scenario.
Fourth, the THC has to be set in Masso so that it constantly hovering between ccw /cw from a really fine setting of the THC or by using a resistive Z axis.
The THC will be doing the "dithering" to maintain the correct height - it measures the arc voltage using a voltage divider and then constantly sending short pulses up/down to adjust the position. Masso moves the X/Y axis when the THC says the arc is OK. As mentioned in the response from the previous point - the DC motor acts as a brake together with the resistance of the reduction gears, very unlikely to move on its own.
The appendix of the Hypertherm manual requires the lifter to have 2 mm/rev ball screw and capable of moving at 200 in/min. This works out to be about 2500 RPM. A quick hunt on eBay turns up a suitable motor rated at 2400 RPM, 24V, 2.4A at full load (no reduction gears required, hmm...).
Hopefully this has covered off your questions (apart from wiring - need to know the model of your THC to advise further).
EDIT: The silver cylinder could actually be the DC Motor to Ball screw coupling - not a reduction gear. The photos don't provide enough detail.