G52 Question
Moderator: cnckeith
-
- Posts: 493
- Joined: Tue Oct 20, 2020 8:41 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Arizona
G52 Question
I have been entering G52 commands via MDI to offset the local coordinate system. I use it mostly to shift the Z axis so I can trial run g-code prior to actually running it (an air run). Is there a way to view how much offset has been applied to a given axis without verifying the value of your last G52 command?
Thanks... Richard
Thanks... Richard
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: G52 Question
Not anywhere easy.
Arguably, there is no reason the G52 offsets could not be in a table somewhere: maybe a fourth option on the "WCS Table" menu below Part Setup; but for now, they are not.
1) You can make a report, open the report*.txt file from within the report*.zip file, and look in the "job file" listing:
2) You can cancel the offset (G52 Z0), and see by how much the DRO position changes.
3) You can do some arithmetic: look at the current local (WCS) position of the axis; add the WCS offset value for the current WCS; and, for Z, add any active tool height (H) offset value. Compare the result to the current Machine Coordinates position of the axis. The difference is the G52 offset.
Arguably, there is no reason the G52 offsets could not be in a table somewhere: maybe a fourth option on the "WCS Table" menu below Part Setup; but for now, they are not.
1) You can make a report, open the report*.txt file from within the report*.zip file, and look in the "job file" listing:
Code: Select all
Job file
Last job file: c:\cncm\ncfiles\spindlebenchtest.cnc
Part count: 0 Edge Finder Diameter: 0.0000
PID Collection Axis: 1 Density: 1 Extension:
Move Commands: 1
2
3
4
5
WCS: #3 X axis Y axis Z axis N axis N axis N axis N axis N axis
G52 Shift Distance: 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
Home State: Set Set Set Set Set Set Set Set
3) You can do some arithmetic: look at the current local (WCS) position of the axis; add the WCS offset value for the current WCS; and, for Z, add any active tool height (H) offset value. Compare the result to the current Machine Coordinates position of the axis. The difference is the G52 offset.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 493
- Joined: Tue Oct 20, 2020 8:41 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Arizona
Re: G52 Question
Thanks so much for your thoughts. For simplicity, I will continue entering G52 Z0 when in doubt. I just thought maybe I was missing something.
Best... Richard
Best... Richard
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 727
- Joined: Fri Nov 30, 2018 1:04 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Thorp WI
Re: G52 Question
I use G52 offsets often as well, and also forget to clear it from time to time. I made a button that clears it for all axes, but it would be nice to have some means of indication or capturing a system variable to verify if it is active or not.
Some time ago I requested as a new feature if G52 could be included in the 'Active G-Code' line, for a quick reference, but it didn't make it in yet. A parameter or setting in the Wizard to clear any G52 offset upon restart could be another option.
Some time ago I requested as a new feature if G52 could be included in the 'Active G-Code' line, for a quick reference, but it didn't make it in yet. A parameter or setting in the Wizard to clear any G52 offset upon restart could be another option.
Scott
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: G52 Question
You could just add "G52 X0 Y0 Z0" to your cncm.hom file. Done.A parameter or setting in the Wizard to clear any G52 offset upon restart could be another option.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 727
- Joined: Fri Nov 30, 2018 1:04 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Thorp WI
Re: G52 Question
That is true.
Would still be nice to have a visual in the active g-code line though.
Scott
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 493
- Joined: Tue Oct 20, 2020 8:41 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Arizona
Re: G52 Question
I like the idea of adding to the home file.. Thanks!
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 7929
- Joined: Wed Mar 03, 2010 4:23 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Contact:
Re: G52 Question
i added this idea to the to do list
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 2513
- Joined: Fri May 24, 2019 8:34 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804734C6498-0401191832
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Clearwater, FL
Re: G52 Question
I like this idea so you could easily see it at a glance while running.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 493
- Joined: Tue Oct 20, 2020 8:41 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Arizona
Re: G52 Question
Thanks for adding to the todo list. That is something I look at all the time.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)