Tandem Y Axis - Can't Jog Both at the Same Time

More
3 years 9 months ago #263047 by reynolds087
I set up tandem Y axis for my gantry in PNCConf. I have a mesa 7i96s, and my gantry will be dual motors with auto squaring. I can jog each Y motor individually in gmoccapy by using the 1+ and 1-, or the 2+ and 2-, but I can't jog both sides of the gantry simultaneously. In the mesa card settings, under TB1/TB2, I have 1 set to Y Axis StepGen, and 2 set to Y2 Tandem StepGen. 

Can anyone explain the process of enabling auto squaring and how I can jog the gantry as one axis? I have attached the files that I believe to be relevant, but I am totally new to this, and just taking a shot in the dark. Let me know if you need any more info. Thanks

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

More
3 years 9 months ago #263048 by PCW
Have you homed the machine? You can only jog joints until the machine is homed

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

More
3 years 9 months ago #263058 by reynolds087
Thanks, you are right. After clicking the homing buttons for each axis, I can jog the Y motors simultaneously as one axis. Although, homing is behaving differently in LinuxCNC than I am used to in GRBL. It is not seeking the limit switch and then automatically homing. When I click the button, it just sets the current position to home...

How do I get it to use the limit switches to set the home position?

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

More
3 years 9 months ago #263066 by rodw
Please take the time to read the section n the docs on Hominc Configuration
You have not set HOME_SEQUENCE on your joints and the joint Y axes needs an identical negative value...
ALso review the section there on Immediate Homing which seems you have enabled.

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

More
3 years 9 months ago #263122 by reynolds087
Thank you. I've updated my files, and it does appear to now attempt to home. However, let's take the z axis, since we can ignore the auto squaring for a moment, when I attempt to home it, I get the following errors:
"joint 3 on limit switch error"
"hit limit in home state 7"

I have updated the following values in the ini file:
HOME = 0
HOME_OFFSET = -1.0
HOME_SEQUENCE = 0
HOME_SEARCH_VEL = 1000
HOME_LATCH_VEL = 25
HOME_FINAL_VEL = 100
HOME_USE_INDEX = NO

Is there anything obvious that I've done wrong?
I have attempted to find the answer in the documentation, but I am not sure. One bit of potentially helpful information, I cannot seem to edit the home switch location, search velocity, search direction, latch velocity, latch direction, final velocity, or use encoder index values from within PNCConf. I had to manually change them in the INI file for some reason because they are all grayed out in PNCConf.

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

More
3 years 9 months ago #263123 by PCW
An "on limit switch" error typically means you have the limit switch polarity inverted

LinuxCNC expects the limit switch signal in hal to be false unless the limit switch is activated

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

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