Joint limit switch errors

More
7 years 5 months ago #135276 by norbertfarquharsh
Thank you for your help.

Yes, they have changed. I did a new run of stepconfig and then edited the resultant .ini and .hal files per a forum post. And the result does not run.
I will attach the current .hal. and .ini files and also part of an Axis error report and part of a resultant error report which always occurs when I click the button on the axis error report to "generate a report". When I look it the directory /tmp there are many new files and I will attach the linuxcnc.report and the linuxcnc.info.txt files.

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

More
7 years 5 months ago - 7 years 5 months ago #135278 by bevins
Replied by bevins on topic Joint limit switch errors
IF I am not mistaken it should be:
Code:
[AXIS_X] [JOINT_0] [AXIS_Y] [JOINT_1] [JOINT_2] [AXIS_Z] [JOINT_3]

You have two [AXIS_Y] sections. I don't know if that matters but it seems like it should.
Last edit: 7 years 5 months ago by bevins.

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

More
7 years 5 months ago - 7 years 5 months ago #135281 by dgarrett
Replied by dgarrett on topic Joint limit switch errors
This error:
Code:
[JOINT_1]MAX_LIMIT < [AXIS_Y]MAX_LIMIT (27.5 < 27.5 27.5) [JOINT_2]MAX_LIMIT < [AXIS_Y]MAX_LIMIT (27.5 < 27.5 27.5)

is due to having multiple (repeated and redundant) stanzas for
[AXIS_Y]

(There may be other errors after fixing this)

This reporting error:
Code:
exec cat $info_file >> $report_file
is a bug addressed by new commit: d3956a3bf
github.com/LinuxCNC/linuxcnc/commit/d395...ba0614388462d0d199cf
(Note: The buildbot is currently failing to make debs:
buildbot.linuxcnc.org/buildbot/grid )


Recommended reading for anyone using master branch:

linuxcnc.org/docs/master/html/getting-st...dating-linuxcnc.html

linuxcnc.org/docs/master/html/getting-st...#_kinematics_modules

linuxcnc.org/docs/master/html/getting-st..._axes_specifications
Last edit: 7 years 5 months ago by dgarrett.

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

More
7 years 5 months ago #135309 by norbertfarquharsh
Thank you very much.

Once you said what you did it made sense and I corrected it and that problem was fixed. But I never would have spotted it. I just copied and pasted the whole joint block and edited some of the values but did not edit out the duplicate axis info. Can't thank you enough.
Now that it is working, more or less, I find that I have also made an error in assigning one of the Y axis pins to the Z axis and vise versa. And I tried to establish a parallel port pin for a new limit switch on the Y axis and did not do that correctly but I will work on it.

Thanks again.

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

More
7 years 5 months ago #135440 by norbertfarquharsh
Here I am again. Still trying to set up the second joint on an axis. I followed a article on the forum (27 Jul 2017 20:25 - 27 Jul 2017 20:33 #96594) which explains how to set up a axis that has two joints (in version 2.8) and it is the only one I can find though I know it is old.
The latest problem is that when I start my Axis interface, it fails saying that I am using the same parallel pin twice; specifically the error statement is: gantry.hal: 46 Pin 'parport.0.pin-04-out' was already linked to signal 'y0-step'.
I know that is true because I did it as that is the signal I want it to follow and I do not know how else to do it and the article I quote gives no explanation on this subject and no search that I make brings anything else to help.
Sorry that I can't seem to get my machine working like it did for years and need so much help.

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

More
7 years 5 months ago #135442 by PCW
Replied by PCW on topic Joint limit switch errors
Yes that's an error, what value should parport.0.pin-04-out take, y0step or y1step?

There appear to be many errors in the hal file (Y0 and Y1 should not share any common motion signals, incorrect joint pin names (joint name are all numeric no x,y,z etc)

Do you have an A axis?

Do you need 2 switch gantry squaring on Y?

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

Time to create page: 0.117 seconds
Powered by Kunena Forum