G92 messing up the coordinate

More
27 Feb 2012 15:12 - 27 Feb 2012 15:13 #18144 by KenC
OK.
I did everything exactly as 5.3
& at the end of the procedure both the DRO in the Preview Tab (upper left corner) and the DRO tab both show all axes to be 0.0000
Next, (without homing any axis) I click on MDI tab & issue G92 Z-15 & the DRO in the Preview Tab change to Z:381.00 instantly. but when I click on the the DRO tab, it show all axis to be 0.000

Ken
Last edit: 27 Feb 2012 15:13 by KenC.

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

More
27 Feb 2012 15:38 #18149 by BigJohnT
I'm able to reproduce that here. Seems the DRO tab is not getting updated after a G92 is issued in the MDI if it is not on top (visible) when the G92 is issued while the Preview DRO is updated in every case. If you move an axis while the DRO tab is visible the G92 is updated and shows up.

Is that what your seeing?

John

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

More
27 Feb 2012 15:47 #18150 by BigJohnT
Also, you see 381 because your viewing it in MM... which is configured on the View menu.

John

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

More
28 Feb 2012 03:45 #18165 by KenC
Hi John,
Thanks for looking into this.
This "mess" is driving me nuts...
How do you think it can be solve? or is this a genuine bug?

Regards

Ken

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

More
28 Feb 2012 11:29 #18172 by BigJohnT
Which "mess" are you talking about?

John

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

More
28 Feb 2012 11:57 #18174 by KenC
Can not get G92 to assign offset cordinate. & the joint limit get exceeded.

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

More
28 Feb 2012 12:13 - 28 Feb 2012 12:23 #18175 by KenC
LOL!!!!

I think I found the problem...

Some time in the pass, a G20 code was issued in my program.... Don't ask me how it get ther but it was there...

A simple G21 solved the whole of my own "mess"...

John, I could had done it without you help... found the clue in " which 'mess' are you talking about"

Edit:
Found that naughty G20 in the default EMC2.4/Axis g-code. I will add a G21 lin in my post processor just to be sure this doesn't happen in the future.
Last edit: 28 Feb 2012 12:23 by KenC.

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

More
28 Feb 2012 13:25 #18178 by BigJohnT
I am so glad you sorted that out!

So I gather your set up for millimeters and when you issued the G92 Z15 you were expecting 15mm and you got the conversion from 15 inches to 381millimeters. That would blow your mind... As you have found out a good practice is to put all the settings like units, turning off comp etc. in the preamble of every file. For my lathe my preamble line is something like this:

G7 G18 G20 G40 G49 G54 G61P0.001 G80 G90

John

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

More
28 Feb 2012 14:14 #18181 by KenC
John,
I see G20 & G61. hmmm... trujutory control is something I should put in my preamble line too.
Thanks for the help.
I felt like an idiot when I realised the cause of this G92 episode... a problem which wasn't a real problem BUT I am glad its "solved" :)
Otherwise, I would not had learnt a great deal more on co-ordinate related codes.

I can sleep tonight with peace. :)

I can't thank you more...

Regards

Ken

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

Time to create page: 0.074 seconds
Powered by Kunena Forum