WCS Offset Question
Moderator: cnckeith
-
- Posts: 2180
- Joined: Sat Nov 18, 2017 2:32 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: Acorn 238
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Marquette, MI
- Contact:
WCS Offset Question
While any of the WCS are active I can use G92 X# Y# Z# to set an offset. Is there a command that would remove them and set that WCS offset back to Zero?
-
- Posts: 237
- Joined: Mon Nov 20, 2017 10:13 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Frenchville, PA
Re: WCS Offset Question
G92 sets absolute positions. With a G92 you move the part zero to the current position. If you do a X0.0,Y0.0,Z0.0 it re-sets part zero where it currently is sitting. Unless you wrote down the difference that you changed it by there is not a way to go back. Using a G52 Offset Local Coordinate System you can you offset the part zero by a specified amount. When done issue another G52 with a Zero value for the axis that you offset and part zero is back where it was original.
Example. G52 X3 Y-2 ; Part zero for the current WCS is shifted for X plus 3 and Y minus 2 as an absolute value from the current part zero. A G52 X0 Y0 shifts part zero back to what it was original. The values for the G52 are absolute. So if you issue another G52 with G52 X3 Y-2 the Part zero is not moved. With a G52 X6 Y-4 it is move this amount from the original part zero. not the last G52 that was issued.
Example. G52 X3 Y-2 ; Part zero for the current WCS is shifted for X plus 3 and Y minus 2 as an absolute value from the current part zero. A G52 X0 Y0 shifts part zero back to what it was original. The values for the G52 are absolute. So if you issue another G52 with G52 X3 Y-2 the Part zero is not moved. With a G52 X6 Y-4 it is move this amount from the original part zero. not the last G52 that was issued.
Dana
When requesting support, please ALWAYS post a current report.
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
When requesting support, please ALWAYS post a current report.
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
-
- Posts: 2180
- Joined: Sat Nov 18, 2017 2:32 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: Acorn 238
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Marquette, MI
- Contact:
Re: WCS Offset Question
Thanks for the reply. I had hoped I missed a command.
I currently have a macro setup that does a G53 X0y0 and then G92 X0Y0 to remove the offsets when needed, but I was hoping there was one that didn't require motion to the MCS 0,0.
Maybe a machine variable for the current X and Y position? Like G92 X{current mcs x} Y{current mcs y}
I currently have a macro setup that does a G53 X0y0 and then G92 X0Y0 to remove the offsets when needed, but I was hoping there was one that didn't require motion to the MCS 0,0.
Maybe a machine variable for the current X and Y position? Like G92 X{current mcs x} Y{current mcs y}
Last edited by Gary Campbell on Tue Feb 13, 2018 6:08 pm, edited 1 time in total.
-
- Posts: 237
- Joined: Mon Nov 20, 2017 10:13 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Frenchville, PA
Re: WCS Offset Question
With the G52 there is not any motion. The DRO updates to the current position where it is setting.
Dana
When requesting support, please ALWAYS post a current report.
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
When requesting support, please ALWAYS post a current report.
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