You have to add the pins to the axis config in the hal file. Here is what I have for mine
net min-home-x => axis.0.home-sw-in
net min-home-x => axis.0.pos-lim-sw-in
Type: Posts; User: spokes
You have to add the pins to the axis config in the hal file. Here is what I have for mine
net min-home-x => axis.0.home-sw-in
net min-home-x => axis.0.pos-lim-sw-in
You might want to have a look at one of the sample scripts made for Linuxcnc. Check this one out and see if it fills your needs.
LinuxCNC Documentation Wiki: Simple LinuxCNC G-Code Generators
...
Can you please share the link. I would like to join and cannot find it.
I tried to join the EMC Youtube group but when I select social groups I get a VBulletin database error.
Dan
Thanks Ed. I got this working with the great help at LinucCNC.org. Pretty much what you said.
Thanks again for the reply,
Dan
I've built a fourth axis for my CNC table to feed a 3D print extruder. The problem is I need it to be a linear axis not an angular one. I've tried modifying the ini file in the TRAJ section and it...
I've been building a 3D add on for my CNC table using the information here;
Combination CNC Machine and 3D Printer
I'm almost ready to start testing actual printing now and should have some parts...
Did you switch to MDI mode?
I'm sure there is a way but it's beyond my level of expertise. Maybe Chris (chester88) can assist you.
When that happens to me I manually raise or lower z (jog) to put it in range, the z will then make a move which means the classicladder has completed. When that happens you can then run the touch off...
Thanks Chris. I try to do what I can but I don't have the handle on things like you do.
Here is the contents of the post. Sounds like your classicladder is hanging at the touch off.
In the ladder program , The timer T0 (second rung) needs to have the E and C pins connected.
Chester88 Chris will probably have to help you with debounce or possibly classicladder. I think if you go back through this thread you will see where the classicladder file has to be connected...
Mine will work repeatedly unless the z exceeds the limit. This includes the offset done when performing the touch off. There is a command to clear the z offsets back to the homing values but I can't...
That would depend on how you set EMC up initially.
In your ini file under HALUI change the value of Z for the MDI_COMMAND for that move
You're welcome, I got plenty of help getting my setup working and I'm just trying to pay it forward.
Keep in mind you have to use the Z button in MDI mode.
My guess is you have a different version of Classicladder due to the upgrade process. I think you're onto something with the idea of doing the...
I just used the 10.04 install that had EMC2 bundled with it.
I'm probably going to have to let Chris (chester88) work with you on this. He has been my savior when I had problems. Chris usually...
Did you load the following lines in your custom.hal file?
#load classic ladder
loadrt classicladder_rt
addf classicladder.0.refresh servo-thread
loadusr -w classicladder --nogui...
Please post the entire error text, I can't tell what's going on from the info listed.
Good luck, it's been working well for me.
Dan
I'll start by slowing the touch probe speed. I'm using .250 polished steel for the touch pad so I think it is heavy enough. I might switch to aluminum if I have contact problems with the probe...
Chris,
The changes you made seem to be doing the trick. I was able to do a home all repeatedly with no errors, thanks a bunch.
I do still have one minor problem though. I am using the one button...
Thanks Chris, I'll give it a try tomorrow. I know it will be overwritten if I run stepconfig, that's why I have so many saved configs ;-)
Sure wish I knew as much about EMC as you do.
Dan
Here is the HAL file taken from my CNC machine. Got the right one this time.
I'll upload the right one later today. I have so many iterations of my setup floating around I picked the wrong one again.
I'll go right to the machine this time.
I don't see anything like that in my HAL file. I have attached a copy, this is the correct file this time.
Thanks, I'll let you know how it goes tomorrow.
The wire is shielded and grounded as it should be, I think I just have cheap switches. Where do you put the debounce code, do you need to use Classicladder or just add it to the ini file on the home...