Hydraulic Tube Bender - Manual to CNC Conversion
exactly. For thin wall tubes a mandrel is needed.
As i wrote also in my first post, the actual manual machine has its only axis measured by a pot. Its mounted under the machines bending head and 10:1 geared.
When you choose a bending angle on the control panel, its also done by such a pot. (those 8 black knobs you can see on the first link). When both values are equal, the machine knows that the bending angle is reached.
For now i have no clue how to do this in the future with linuxcnc and the ttl encoder.
I have to preset the desired angle and the axis has to move later on (with the bending start signal). The output for the motion valve also cant be high when the machine has reached its fully back position although the encoder maybe flickers (because of some eventually wobble caused by the chain which drives the bending arm)
I hope you understand my problem and maybe you can get me a hint!
Thanks
Conny
Please Log in or Create an account to join the conversation.
How many axes does your machine have?
JT
Please Log in or Create an account to join the conversation.
the problem its only about the C axis. when i have the machine upgraded to cnc the tube transport unit will make the Z and A axis. (but here i will go with a stepper system with encoders, so there is everything clear to me)
So what i tried to say in my last post. the output for my c axis has to be low until the "bending start signal" comes true.
Also there are other things which have to block the movement (like tool has to be clamped and mandrel position and so on) <=but this works already in my ladder program.
I looked alredy in the docs for the motion or axis pins, but didnt find a solution for interrupting the movement with a presetted position. i am not sure if the spindle is at speed signal is a good way to solve this.
Please Log in or Create an account to join the conversation.
I thought it would be just a normal machine and the G code would be something like this:
G61.1 ; set exact stop mode
M100 ; clamp tube
Z-10.25 ; move tube out
C25 ; bend 25 degrees
C0 ; move bender back
Z-25.5 ; move tube out
A90 ; rotate tube
C45 ; make another bend
C0; move bender back
M101 : release tube
M2 ; end program
Please Log in or Create an account to join the conversation.
yes and no. I want to have 3 different modes.
-A manual mode for eg. setting up the tooling, where every (hydraulic) movement is made because of a button press on the panel.
-A automatic mode (basicly for single bends) which starts the bending sequence by touching the footswitch.
-And the "new" one: Bending sequences after a bending table with the use of the added Z and A axis
My manual and auto mode are already working so far in CL. (because i simple reused the existing code). Now i have to adapt at least the C axis output to work by gcode. (also to use later the bending table in the "cnc" mode)
Imho the bending sequence or at least C axis movement has to be done with CL because of dependencies with other tool components.
Please look at this . The bending axis only can move if the tool is clamped, the pressure die is attached and the mandrel is in position. Also the pressure die has to move by hydraulic towards the bend (to push the material for better bending quality). On top of that the mandrel has to be pulled back in generally early. Mostly at 5deg before the desired bending angle is reached.
So for i have no clue how the signal for my bending axis valves can be attached to do the movement correct.
I hope its now a bit better comprehensible for you what i was trying to say.
Thank you
Conny
Please Log in or Create an account to join the conversation.
In automatic mode how do you set the bend angle?
You might attach your configuration files in a zip.
JT
Please Log in or Create an account to join the conversation.
andypugh did this in the other thread i linked in the first post.I'm not sure how you could use a bending table in G code.
BUT: i didnt get it with the Python code in "bender.py" ...maybe andy can help here.
In automatic mode how do you set the bend angle?
The auto mode gets this value presetted by the pot on the control table. Therefore i was asking the question in post #140281 how to do this in the future by linuxcnc.
For the config files: do you see chances to get it with german named I/O´s?
Thanks
Conny
Please Log in or Create an account to join the conversation.
Hi John,
andypugh did this in the other thread i linked in the first post.I'm not sure how you could use a bending table in G code.
BUT: i didnt get it with the Python code in "bender.py" ...maybe andy can help here.
In automatic mode how do you set the bend angle?
The auto mode gets this value presetted by the pot on the control table. Therefore i was asking the question in post #140281 how to do this in the future by linuxcnc.
For the config files: do you see chances to get it with german named I/O´s?
Thanks
Conny
if you mean this post from Andy
your still using G code to run the machine.Alternatively, an input filter file could convert your table to G-code, then you would execute the G-code.
The pin names are hard coded into the hostmot2 c files.
JT
Please Log in or Create an account to join the conversation.
HSo for i have no clue how the signal for my bending axis valves can be attached to do the movement correct.
PID.
Exactly like a servo axis. Is the hydraulic valve proprtional?
Please Log in or Create an account to join the conversation.
HSo for i have no clue how the signal for my bending axis valves can be attached to do the movement correct.
PID.
Exactly like a servo axis. Is the hydraulic valve proportional?
Please Log in or Create an account to join the conversation.