- Posts: 30
- Thank you received: 0
THC config that works.
How can i reduce the default speed of Z axis it's running quite fast, when I start the F9 procedure. Changes to default and max velocity of ini didn't help.
Please Log in to join the conversation.
the basic signal (kind of signal (problably a float, and how to use this) to let the z-axis move up and down?
So that i can try a simple thing from beginning to let the z-axis go up for example. My goal is to integrate a simple THC into stand alone application. I have a complete working setup to test this.
Therefor i use glade and pyton. What i can do to start with is use the complete code and integrate it with the glade user interface and pyton into my application. But that is not what i really like to do.
Here some item's from the hal section :
loadrt updown
setp oneshot.3.falling 1
setp oneshot.3.rising 0
net PosZ-cmd mux2.4.out => stepgen.2.position-cmd comp.1.in1
net PosZ-fb stepgen.2.position-fb => joint.2.motor-pos-fb mux2.2.in1 comp.1.in0
net MoveDown parport.0.pin-12-in-not => or2.0.in0
net MoveUp parport.0.pin-11-in-not => or2.0.in1 mux2.1.sel
If this is working, i want to make a Hypertherm 45xp with modbuss configuration. I have this machine already in my shop to test.
Thank you, Michel
Please Log in to join the conversation.
I have integrated the full code and i have a little error code :
joint 2 following error emc/task/taskintf.cc 617: Error on axis 2, command number 243
I have tried to lower speeds, etc. Also i had a z-limit error, so deactived this limit switch.
Its strange. In the plasma program the z-axis is moving about 0.5mm and then error.
Also my jog buttons don't work even my e-stop led's don't work. Only mdi homing buttons are working good.
So it looks like the code is manupulating more then the z-axis. because it is separated from the python code.
Please Log in to join the conversation.
Following errors can be due to incorrectly configured settings in your ini file. (Joint 2 is your Z axis right?)
Its amazing what a determined mind can achieve when at first thought it is very difficult
Please Log in to join the conversation.
You are right again. The motor adjustment in the ini file was the problem of getting out of joint position.
I did a 24 hour non stop LinuxCNC study to get the THC working.
And finally it works very good. I solved the issue with off course with the information of John Thornton.
I tried this configuration thcud − Torch Height Control Up/Down Input
After a time i solved most of the signal's. The last signal problem was solved here at the forum.
I will write it down, this works for the z-axis, and i add some comment :
Okey good news so far. I can now start the serial connection with the Hypertherm Powermax 45xp ...
I don't know how this works, but maybe with a little help things are working soon. !!!
Please Log in to join the conversation.
Nerd wrote: Hi Rodw,
Okey good news so far. I can now start the serial connection with the Hypertherm Powermax 45xp ...
I don't know how this works, but maybe with a little help things are working soon. !!!
Glad you got it going. I sent you an email with a couple of ideas on the serial link yesterday.
Please Log in to join the conversation.
- tommylight
-
Topic Author
- Online
- Administrator
-
- Posts: 22012
- Thank you received: 3
kpj10 wrote: Dear Tom,
How can i reduce the default speed of Z axis it's running quite fast, when I start the F9 procedure. Changes to default and max velocity of ini didn't help.
On this thread there is a mention of how to limit the Z axis velocity, just look for it.
Am on the phone, so i will look for it later.
Please Log in to join the conversation.
The THC unit is wired into the BOB, in test mode the indicator lights are flashing as they should; Arc OK, Up & Down and Limit Switch.
I've inverted my pins as needed so the screen indicator lights are unlit and I can toggle the E-Stop.
When I turn on machine power I immediately get the message "joint 2 error on limit switch". The only way around this is to check "override limits" but I still get the message whenever I go to move an axis.
I retrieved my acceleration, scale, etc settings from my working .ini file and plugged them into the thc-toma.ini file so am fairly certain everything should be ok there.
I also noticed that my onscreen limit switch indicator is not lighting when machine power is turned on and I trigger the limit switch by hand.. although it does register on my BOB.
Another thing I noticed is that when turning on my spindle that my Z axis goes down to -25mm which is where my Z minimum limit is set to. When I turn the spindle off the Z is going back to 0. Apparently I have done something incorrectly but from what I can tell everything is set up as it should be.
Any help is greatly appreciated!
My config files are below for reference.
Please Log in to join the conversation.
- tommylight
-
Topic Author
- Online
- Administrator
-
- Posts: 22012
- Thank you received: 3
The other thing to check is the BOB, you need to be sure that it is set as "pull up" or "pull down", on some you can change that with jumpers, on cheap ones you can not, so adding pull up resistors is the only way to make it work.
The behaviour of the Z axis you describe is normal, when you press F9 or use M3 in gcode it will start to go down to search for the material.
Please Log in to join the conversation.
My table is working alright for now without a Z correction, but I have to keep an eye on it in case the sheet starts to warp and manually adjust the arc gap...time I desperately need to be spending working on other stuff while the table runs on its own.
Attachment not found
Attachment not found
Attachment not found
Table running w "my-mill" config
Please Log in to join the conversation.
