- Posts: 52
- Thank you received: 3
How to reset 5221, 5222 and 5223 parameters (G54)?
- nicokid
- Offline
- Senior Member
-
I think you meant writing L2 and L20.Todd Zuercher wrote: G2 sets the G5x offset to the values you specify. So X0 clears the X offset. G20 sets the current axis location to the value specified. Think touch off.
But I still do not understand the difference. What is the difference between these two commands?
Thanks.
Nicola.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
The other sets the #522x parameters such that the current machine position becomes the given values.
Please Log in or Create an account to join the conversation.
- nicokid
- Offline
- Senior Member
-
- Posts: 52
- Thank you received: 3
So in this case X0 works:andypugh wrote: One sets the #522x parameters to the given values
The other sets the #522x parameters such that the current machine position becomes the given values.
G10 L20 P1 X0
In this case X0 is wrong:
G10 L2 P1 X0
The right command is:
G10 L2 P1 X
I understood right?
Thanks and happy holidays.
Nicola.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4793
- Thank you received: 1480
For example using this command to touch off the right side of the piece.
You would type G10L2P1X0, if you wanted that point to be 0 in your G54 work coordinate system.
If you were locating off a hole 1" from where you want the edge to be you could enter G10L2P1X1.
Please Log in or Create an account to join the conversation.
- nicokid
- Offline
- Senior Member
-
- Posts: 52
- Thank you received: 3
OK, but I still do not understand what the difference is between L2 and L20. However it does not matter, I use L20 and I think it does its job.Todd Zuercher wrote: No, The X must have a number after it.
For example using this command to touch off the right side of the piece.
You would type G10L2P1X0, if you wanted that point to be 0 in your G54 work coordinate system.
If you were locating off a hole 1" from where you want the edge to be you could enter G10L2P1X1.
Thanks and happy new year
Nicola.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4793
- Thank you received: 1480
Please Log in or Create an account to join the conversation.