Checking for G52 offset active
Posted: Tue Jan 17, 2023 2:51 pm
Hey all,
I've been digging through some docs to see if there's a way to track/check if a G52 offset is active or in play, by way of a system variable, or with the implementation of "PLC Words" in the upcoming version.
Desired goal is to have a way of quickly seeing that an offset is active or not. I'll often run a part that I may see needs a bit more depth of cut after running the first blank, so I'll apply a small amount of Z offset to cut through on subsequent blanks. Another scenario might be two blanks that need the same cut, so after running the first one, I'll apply a X offset for the second blank. On occasion, I've forgotten to clear the G52 offset before doing something else, and would like to have some kind of visible option to see that it's still active. A button LED could be an option, but possibly better than that would be a "PLC Word" that could be displayed on a "Clear G52 Offset" button that I already have in place.
Just looking for some thoughts, thanks.
Edited: Another good easy option would be if the "Active Codes" display had G52 on it.
I've been digging through some docs to see if there's a way to track/check if a G52 offset is active or in play, by way of a system variable, or with the implementation of "PLC Words" in the upcoming version.
Desired goal is to have a way of quickly seeing that an offset is active or not. I'll often run a part that I may see needs a bit more depth of cut after running the first blank, so I'll apply a small amount of Z offset to cut through on subsequent blanks. Another scenario might be two blanks that need the same cut, so after running the first one, I'll apply a X offset for the second blank. On occasion, I've forgotten to clear the G52 offset before doing something else, and would like to have some kind of visible option to see that it's still active. A button LED could be an option, but possibly better than that would be a "PLC Word" that could be displayed on a "Clear G52 Offset" button that I already have in place.
Just looking for some thoughts, thanks.
Edited: Another good easy option would be if the "Active Codes" display had G52 on it.