Workpiece Coordinate System (WCS)
-
I use a Duet WiFi to control a CNC Mill. What I miss is a workpiece coordinate system (G54 - G59).
-
I have looked at the NIST standard. What I think it means is that you can program up to 9 different sets of tool offsets for each tool by using G10 with the L parameter to select which set you are talking about; then select which set of tool offsets is used with commands G54 thru G59.3. Is that all, or have I missed something?
-
Yes, that is exact what I need.
-
That looks straightforward enough. Due to the extra memory needed to hold 10 sets of tool offsets instead of 1, I'll implement this on the Duet Ethernet and WiFi only, not the older Duets.
-
In my opinion most cnc users would be happy to have 3 or 4 sets of tool offsets.
-
Can you tell me what the use case is for multiple sets of tool offsets?
-
I use often more fixtures to mill the same part. With the WCS I can jump easy from one fixture to the next.
-
Thanks, that makes sense to me. I'll see if I can squeeze a partial implementation into RRF 1.21.
-
Two further questions:
1. If I specify e.g. G10 L2 P1 X100 and then G54, does that mean that I should add 100mm to the coordinate the user asked to move the tool to, or subtract 100mm? i.e. is your second work piece 100mm in the +X or in the -X direction?
2. If I have multiple tools and I send G10 L2 P1 X100, does that 100mm offset apply to all tools, when I am using the G54 coordinate system?
-
I hope you understand my explanations.
1. e.g. G10 L2 P1 X100 and then G54 G0 X20 -> absolute movement to X120 in machine coordinates (G53 G0 X120). The same result without WCS is to move absolute (G0 X120) or moving the MCS after homing (G92 X-100 and then G0 X20).
2. The offset apply to all tools, when you are using the G54 coordinate system.
-
Thanks. This will be implemented in firmware 1.21RC1 due out soon.
-
Thanks for your great support.
-
This is now implemented.
-
Thanks for the new RC!
I tried G53 to G56. All is working as expected.