I have a lathe/mill that i recently added a 4th axis -B- to allow the spindle to rotate.
The lathe/mill is setup as follows:
Joint 0/"X" axis - parallel to the bed of the lathe
Joint 2/"Z" axis - perpendicular to the bed of the lathe
Joint 3/"A" axis - rotary around "X" - gives me a access to a polar "Y"
Joint 4/"B" axis - on the "Z" table holding the spindle - rotates with zero degrees perpendicular to the "X" axis, 90 degrees is parallel to the "X" axis pointing to the headstock.
LinuxCNC version 2.7.8
What i want with the custom kins is the following:
with a Z-TLO configured for when the B-axis is at zero degrees, as I rotate the "B" axis, the "Z" and "X" axis will move to keep the end of the tool at the same location.
With this XZABkins, hal and ini (attached) i get a joint 0 following error immediately on executing "G0 B1" - just 1 degree worth of rotation - I added hal-out pins for the joint 0, 2, 4 to validate that the computations are working but i just don't know what i am doing wrong? is this approach even valid?
if I need to increase the follow error - where would I do this?
Note: With Trivkins - all 4 axis operate as expected., Also the tool-number 100 is reserved for a dedicated probe i have attached to the side of my spindle - i have not tested it yet with this kins.
My test case is Tool 99, with a TLO of 132.688276 (T99 P99 D3.175.000000 Z+132.688276 ;Generic) - This should be the actual distance between the center rotation of the spindle and the end of the tool tip. (With the B @ 90 and Z = 0, the bit is on centerline.of the X axis)
Also, I have seen posts on joint vs world view - with this version I am not sure i see a menu choice on how to change this.
Thank you for any and all suggestions!