Incremental Axes U, V, W support?

More
27 Nov 2025 01:56 #339280 by drdyna
Incremental Axes U, V, W support? was created by drdyna
Hi

I'd like to use LinuxCNC to simulate some lathe g-code before I run it on my actual machine. 
I have linuxCNC installed, and have the gmoccapy lathe simulations installed, but when I try to run my g-code, I get an error about "invalid character U". My physical machine has incremental axes U and W that correspond to X and Z. U and W are incremental moves, and X and Z are absolute moves. So if you're at X1.0 and you move U3.0, you'd end up at absolute X4.0, or if you're at X1.0 and move U-3.0 you'd end up at X-2.0

Does linuxCNC support incremental axes like U and W? Do I need to set them up somehow in the simulation machine's HAL file?

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
27 Nov 2025 10:08 #339312 by Aciera
Replied by Aciera on topic Incremental Axes U, V, W support?
The gcode interpreter will only accept axes you have configured in your ini file. The live plot in the gui will add translation in U,V,W to position of X,Y,Z respectively.
Note that you will need to add 'U,V,W' to the GEOMETRY entry of the [DISPLAY] section in your ini file.

See 'configs/sim/axis/axis_9axis.ini' for an example configuration.

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

Time to create page: 0.073 seconds
Powered by Kunena Forum