Min Max limit error on only one axis

More
1 year 10 months ago #316671 by mjones@welfab.ca
Hi Guys, I'm sure this is a simple solution but it is escaping me.  
I have a 4 axis lathe x1,x2,z1,z2 but in hal and ini are called x,y,z,a, I would like to change that eventually but that can wait till things work.  After alot of messing around I finally have my homing-limit switches working, reading and the machine homing proper (yay). but for my z axis, after I went into ini and set the min max for all the axis when I started Linuxcnc saying my, and I'm paraphrasing here, z axis isn't right they should be 1e99. From what I can tell that is for a rotary axis.  In the ini its states its linear, so I don't know why I am getting that error.
Any ideas what I'm doing wrong, I know its going to be some stupid that I'm not seeing or thinking of.

Please Log in to join the conversation.

More
1 year 10 months ago #316781 by andypugh
Your lathe could be configured as xzuw, which would probably make sense, though I don't think that canned cycles are supported in the uw plane, nor is radius/diameter mode, as far as I can recall.

Note that the mapping between the "joints" and the "axes" is governed by the kinematics module and and configuration. It may be that something is a bit wrong there in your configuration.

If you attach your HAL and INI file we will have more to go on.

Please Log in to join the conversation.

More
1 year 10 months ago #316787 by mjones@welfab.ca
Thanks for the response
I was going with x1,x2,z1,z2 because that is what Hardinge used. what they are called in the program doesn't make a lot of difference to me.
I have attached my hal and ini

Thanks

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
1 year 10 months ago #317065 by mjones@welfab.ca
Ok so I took Andy's advise, and looked at the kinematics tutorial and sure enough axis a,b,c are designated for rotary axis and u,v,w are other linear, so to see if it would make a difference I changed my a axis to u, then when I tried opening linuxcnc it came up with an error saying that pin pid.u.pgain didn't exist. I looked through everything and changed in the ini axis.U to axis.u. then it came up similar to previouse the min max needs to be1e99 +- so then I changed to joint for u to 6 from 3 because the manual says that axis u is joint 6 then it went back to pin pid.u.pgain didn't exist.
I am now wandering if I have to plug that axis into the axis 6 output on the 7i76 board and change all the stepgens to stepgen 6 as well.

Has any one had this problem that can steer me the right way? Forgive my paraphrasing the errors, I am at home now not at work near the machine, and on a windows machine not linux.

Please Log in to join the conversation.

More
1 year 10 months ago #317524 by andypugh
Sorry for the late reply, the forum has stopped sending me notifications.

In the INI [KINS] section
Code:
[KINS] KINEMATICS = trivkins coordinates=XZUW JOINTS = 4

The in the joints and axes defintions:
Code:
[AXIS_X] ... [JOINT_0] ... [AXIS_Z] ... [JOINT_1] ... [AXIS_U] ... [JOINT_2] ... [AXIS_W] ... [JOINT_3]

Also, in [TRAJ]
Code:
COORDINATES = XZUW

The in the HAL file make sure that all references to the INI file like 'setp pid.z.Pgain [JOINT_2]P" point to things that exist (they should, if you tructure it like I showed above)

Please Log in to join the conversation.

More
1 year 10 months ago #317525 by mjones@welfab.ca
Thank you. Better late than never. I am working on the road today and tomorrow, I will try this on Sunday and see how it goes. Will let you know.

Please Log in to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum