- Posts: 1
- Thank you received: 0
Is there a way to have more than 9 coordinate systems?
- melodic_cnc
- Topic Author
- Offline
- New Member
-
Less
More
1 year 4 months ago #330277
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
Please Log in to join the conversation.
1 year 4 months ago #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 to join the conversation.
1 year 4 months ago #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.
Please Log in to join the conversation.
Time to create page: 0.330 seconds
