Is there a way to have more than 9 coordinate systems?
- melodic_cnc
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
14 Jun 2025 16:33 - 14 Jun 2025 16:34 #330277
by melodic_cnc
Is there a way to have more than 9 coordinate systems? was created by melodic_cnc
Hello,
I am a bit new to linuxcnc but have mostly used mach3 in the past. So far things are going very well except this one issue. I am wondering if there is a way to access more than 9 coordinate systems in linuxcnc?
For example on this doc page it states
linuxcnc.org/docs/html/gcode/coordinates.html
"This chapter introduces you to offsets as they are used by the LinuxCNC. These include:
Global Offsets (G92) and Local Offsets (G52)"
On mach3 they have implemented G59 PXXX
where XXX is (iirc) between 1 and 255, giving access to 255 coordinate systems. I don't need 255 but i do need about 30. Is there any way to achieve such a thing with linuxcnc?
Maybe you can write your own macro to load the offsets from a file or something like that if only 9 workpiece coordinates are implemented in linuxcnc?
Any suggestions on how to approach adding coordinate systems would be welcome.
Thank you for your time.
s
I am a bit new to linuxcnc but have mostly used mach3 in the past. So far things are going very well except this one issue. I am wondering if there is a way to access more than 9 coordinate systems in linuxcnc?
For example on this doc page it states
linuxcnc.org/docs/html/gcode/coordinates.html
"This chapter introduces you to offsets as they are used by the LinuxCNC. These include:
- Machine Coordinates (G53)
Global Offsets (G92) and Local Offsets (G52)"
On mach3 they have implemented G59 PXXX
where XXX is (iirc) between 1 and 255, giving access to 255 coordinate systems. I don't need 255 but i do need about 30. Is there any way to achieve such a thing with linuxcnc?
Maybe you can write your own macro to load the offsets from a file or something like that if only 9 workpiece coordinates are implemented in linuxcnc?
Any suggestions on how to approach adding coordinate systems would be welcome.
Thank you for your time.
s
Last edit: 14 Jun 2025 16:34 by melodic_cnc.
Please Log in or Create an account to join the conversation.
- jimmyrig
- Offline
- Premium Member
-
Less
More
- Posts: 117
- Thank you received: 38
15 Jun 2025 04:36 #330293
by jimmyrig
Replied by jimmyrig on topic Is there a way to have more than 9 coordinate systems?
I've wondered the same thing a few times. Wouldn't mind digging into code if no one has a solution.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4425
- Thank you received: 1973
15 Jun 2025 04:59 - 15 Jun 2025 05:00 #330294
by Aciera
Replied by Aciera on topic Is there a way to have more than 9 coordinate systems?
You could use an ngc remap to create a gcode for setting numbered parameters to the required offset values and another ngc remap to read the parameters and set one of the built in offset system. Arrange the parameters in blocks of 10, that way a 'p' word value can easily be used to reference which block to read/store the (x,y,z,..) offset values from/to.
Use python to remap an unused Gcode to get the required offset values from a file and set one of the nine built in offset systems. Takes a bit more effort than the above solution.
Maybe you can write your own macro to load the offsets from a file
Use python to remap an unused Gcode to get the required offset values from a file and set one of the nine built in offset systems. Takes a bit more effort than the above solution.
Last edit: 15 Jun 2025 05:00 by Aciera.
The following user(s) said Thank You: melodic_cnc
Please Log in or Create an account to join the conversation.
Time to create page: 0.080 seconds