View Full Version : turbocnc 4 not homin


JFettig
10-20-2004, 11:06 PM
Hey guys, I just installed turbocnc on my computer running my cnc. its pretty nice but I cannot get it to home my Z axis, its the only one with a switch. I set it up in the IO config.

I also had my steppers pushing 120ipm :eek:
they couldnt handle it all the way though.


Jon

ger21
10-21-2004, 07:30 AM
Are you using the latest Hotfix from the Yahoo group files section?

JFettig
10-21-2004, 07:33 AM
I guess not, I just downloaded it strait off the site.

Ill take a look, thanx

Jon

sol
10-21-2004, 07:44 AM
To which pin is the switch connected? I ask because I could not get pin #1 to behave; switched over to an input pin (#10) and all's well... :)

Bubba
10-21-2004, 07:45 AM
Jon,
make SURE you have the direction and sense properly set up. This can be tricky and may take "playing" with. Use the "Ports display" F2 and try manually tripping the switch to verify that works (or use "Active Ports display" Alt F2). Then if you see activity there, play with the direction and sense settings in the ini.

It does work, as I have three axis working on home.

Bubba

JFettig
10-21-2004, 01:32 PM
hey, its on pin 10, Im sure its that I need the new hotfix, I have it downloaded just not installed yet. I had it homing in the older version of turbocnc.

Jon

Bubba
10-21-2004, 04:44 PM
Jon,
I had that problem when I went from 3.x to 4.x and as I remember, it WAS a sense change that was needed in the ini due to changes in the way the lines are handled in 4.x. They changed the coding on some of the lines to staighten out the natural inversion of some lines.
I would imagine that right now, the table moves to the switch and stops (no reversal). If that is what you are seeing, try changine the sense on the line Active high instead of Active low or the reverse and see what happens.

Bubba

JFettig
01-18-2005, 10:38 PM
I recently upgraded my drive box and everything on my mill, new computer(motherboard and hard drive) and I am now having problems homing again, I installed the fix, I took the INI off my laptop that was running, hooked everything up good and the machine will home, but sometimes it will just stop randomly, not completely homed, so I have to home again, sometimes it goes an inch, sometimes half an inch, other times the whole way. Typically when the machine is on the home switches, it moves off and back on, on my X axis where I had the problem first(now on Y too) it would just move a couple thousandths and no more and call it zero. The Y and Z axes do this correctly still.

Is there anyway to pinpoint the problem? I changed the input for the X to pin 15 rather than 12 and then the Y axis acted up,
All I did to the switches is cut the cables shorter, had them hooked up identically.

I want this machine to work right, I have some parts to make this weekend.

Jon

dkowalcz
02-27-2005, 02:28 AM
I'm coming in a bit late to the party here, but it seems logical to hang a scope or meter on the homeswitch lines just to see if there's any crosstalk or funny stuff going on there.

You can look at the inputs using the FKEYBIT utility depending on which pins they're on - so you can determine if the computer is seeing a signal as consistently one state or flickering.

Can't rule out software of course, but best to first check the wires.

JFettig
02-27-2005, 09:04 AM
Thanks for the idea, I switched to mach2 and dont have this problem anymore.

Jon