Configuration for a 3+2 Axis XYZAB machine

More
4 years 1 month ago #252857 by geostein8888
Hello,
i finally got my respi4 running linuxcnc with 5 axis. Now the next problem is coming. I created in Deskproto (test version) a nc file where i machine 5 sides of a bust. In Deskproto all the tool path looks correct, but when i open the nc file in linuxcnc, the rotations are not done, means i have the 5 jobs (for each side) beside each other - overlapping. No a and no b rotition is done. In the gcode i can see in linuxcnc that the rotations are in.
Does anybody have a ini/hal configuration where i can see what might be wrong with mine?
Georg
here the nc code
 

Attachment not found


Configuration
 

Attachment not found

 

Attachment not found

Please Log in to join the conversation.

More
4 years 1 month ago #252860 by Aciera
I think you might just be confused by the limitations of the tool path preview. The X,Y and Z coordinate system in the preview is static. Rotations around A, B or C will not rotate the toolpath but only the toolcone.

Please Log in to join the conversation.

More
4 years 1 month ago #252919 by geostein8888
The problem is then, that linuxcnc tries to make a Z step what is greater then my z-axis, because this step normally should be done in x or y direction (because its not turned)
i made now a simpler test wit only a die to follow this

Georg

Please Log in to join the conversation.

More
4 years 1 month ago #252920 by Aciera
 

The problem is then, that linuxcnc tries to make a Z step what is greater then my z-axis

Are you actually getting an error or is that your interpretation of what it shows you in the preview?

There isn't much LinuxCNC can do except execute the gcode it gets and it will do just that regardless of the limitations of the tool path preview. In trivial kinematics a gcode move in any axis will always be the same on the machine regardless of the position of any rotary axis.

Multiside operations often require shifting the work offsets after a rotation of the work piece unless you set the origin in the center of rotation. If your actual work surface does not correspond to the work origin after a turn of the a axis then you need to address that in the CAM. 
 

Please Log in to join the conversation.

More
4 years 1 month ago #252938 by andypugh

when i open the nc file in linuxcnc, the rotations are not done, means i have the 5 jobs (for each side) beside each other - overlapping. No a and no b rotition is done. 
In the INI file change 

GEOMETRY = XYZAB 

to 

GEOMETRY = ABXYZ

(Or maybe BAXYZ, see which works better) 
 

Please Log in to join the conversation.

More
4 years 1 month ago #252954 by Aciera
Just had a look at your code in the toolpath preview and I presume this is the orientation that shows the problem with your CAM output the best:

 

Attachment not found



As you can see your code rotates upright around the work offset this is due to the fact that the preview in LinuxCNC does not actually show the toolpath rotating around the B axis but has a static xyz orientation. However it shows exactly how the tool moves in relation to the set work offset as commanded by the gcode coming from your CAM. The key here is to carefully set the work offset either in the center of rotation or reset the offset after each rotation, all of this needs to happen in the CAM. 

Please Log in to join the conversation.

Time to create page: 0.132 seconds
Powered by Kunena Forum