How to reset 5221, 5222 and 5223 parameters (G54)?

More
8 years 10 months ago #103424 by nicokid

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.

I think you meant writing L2 and L20.
But I still do not understand the difference. What is the difference between these two commands?
Code:
G10 L20 P1 X0
Code:
G10 L2 P1 X0
In both cases I specify a value :blink:
Thanks.

Nicola.
The following user(s) said Thank You: Todd Zuercher

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

More
8 years 10 months ago #103508 by andypugh
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.

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

More
8 years 10 months ago #103721 by nicokid

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.

So in this case X0 works:
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.

More
8 years 10 months ago #103722 by Todd Zuercher
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.

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

More
8 years 10 months ago #103867 by nicokid

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.

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.
Thanks and happy new year :)

Nicola.

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

More
8 years 10 months ago - 8 years 10 months ago #103888 by Todd Zuercher
Let's say that your machine is located at the machine coordinate position (G53) X5.32 Y3.45 Z-2.34 and the G54 system is active. Issuing G10L20P1X0Y0Z0 will make the DRO show X0 Y0 Z0 at that point. Issuing G10L2P1X0Y0Z0 will make the DRO show X5.32 Y3.45 Z-2.34 .
Last edit: 8 years 10 months ago by Todd Zuercher.
The following user(s) said Thank You: nicokid

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

Time to create page: 0.344 seconds
Powered by Kunena Forum