7i96 Homing Setup

More
5 years 2 months ago #217571 by dzawacki
Replied by dzawacki on topic 7i96 Homing Setup
Okay, I used halshow to monitor each of the limit switches and the e-stop at once. I triggered each switch and only the associated monitor item was tripped. The e-stop, as expected also only tripped the associated e-stop monitor.

I think I can rule wiring out.

For Clive's questions, I'm only working on the X-axis at the moment and once I get that configured I'll translate that to the Y-axis.

The Home_Search_Vel is marked as -1.000 in the INI but the PNCCONF is showing 60.000. I don't know enough to know if these should match and if it makes a difference. I do know that when I home the axis, it moves at a speed that seems about right.

I swapped the HOME_OFFSET to 0, per the suggestion and saved the config. I opened the machine and homed the x-axis. The machine moved toward the negative limit as expected, hit the limit switch, and stopped. I got a "joint 1 on limit switch error" when this happened.

Maybe I'm thinking about this wrong, but I'd expect the axis to hit the limit switch and then back off on its own so the machine is usable. This would also set the proper coordinates for the machine.
To me, it seems like HOME_IGNORE_LIMITS = YES is being ignored.

For the home sequence, I left it as the default in the UI.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #217575 by Clive S
Replied by Clive S on topic 7i96 Homing Setup

he Home_Search_Vel is marked as -1.000 in the INI but the PNCCONF is showing 60.000. I don't know enough to know if these should match and if it makes a difference. I do know that when I home the axis, it moves at a speed that seems about right.


It's late here. Once you have used Pncconf it is better to hand edit the hal and ini files by hand ie. It IS the hal and ini files that are in the config folder that are used. If you then try and use Pncconf again it will over write them.

Maybe I'm thinking about this wrong, but I'd expect the axis to hit the limit switch and then back off on its own so the machine is usable. This would also set the proper coordinates for the machine.
To me, it seems like HOME_IGNORE_LIMITS = YES is being ignored.


It does not back off a limit switch only a home switch BUT you can have a shared home and limit switch then it will ignore the limit with HOME_IGNORE_LIMITS = YES until it is homed THEN the switch will be treated as a limit

Did you set it up with shared home and limit?

Hope this helps.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #217586 by dzawacki
Replied by dzawacki on topic 7i96 Homing Setup
I solved my problem. And it was with my wiring. I was reading over the INI homing page ( linuxcnc.org/docs/html/config/ini-homing...#_home_ignore_limits ) on ignoring limits and it mentioned that:

 LinuxCNC will ignore the limit switch input for this joint while homing. This setting will not ignore limit inputs for other joints.

And that just clicked for me. I had checked that the e-stop wasn't being triggered with halshow, but I hadn't looked closely to confirm that the limit switches were triggering the axis I thought they were. A quick fix to swap the pins in PNCCONF and the axis homed no problem.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #217587 by dzawacki
Replied by dzawacki on topic 7i96 Homing Setup

It's late here. Once you have used Pncconf it is better to hand edit the hal and ini files by hand ie. It IS the hal and ini files that are in the config folder that are used. If you then try and use Pncconf again it will over write them.

I have to disagree. It can be better/easier/faster to edit the files directly, but PNCCONF has context and explanations that for a novice like myself make it easier to set up a configuration. Running through a config program once does not make me an expert enough to understand the shorthand used in the INI file. 
If I had more experience, I'd probably edit the INI file directly, but for now the UI is a far better choice for me.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.345 seconds
Powered by Kunena Forum