Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: nicad on February 05, 2006, 05:56:47 PM

Title: G92 does not always take.. why??
Post by: nicad on February 05, 2006, 05:56:47 PM
I have observed this problem in Mach 2 6.11 and now just happened to me today with Mach3.

G92 command randomly gets ignored. G92 should change the designated axis to the value given (no movement).

Example:
G0 Z1
G92 Z0

Most of the time Z will be 0 after this, but sometimes, randomly, Z will still be 1.

why??
Title: Re: G92 does not always take.. why??
Post by: Art on February 05, 2006, 06:47:33 PM
Hi:

 I havent observed this one. Is it mixed with another ocde on the line, an erronous line can be ignored.. (Thoguh it shoudl give an error..)

Art
Title: Re: G92 does not always take.. why??
Post by: nicad on February 06, 2006, 12:46:05 AM
Art-
Nope- always on its own line.
It works most of the time.. but every now and then it won't. same code, just random.
here is a segment of the exact code (beginning of the program) where it happened today:

Code: [Select]
G40G49G80G64G90
G0 Z1.5
X0.125 Y0 Z0.86
G1 X-1.2 A2520 F90
A2880
G92 A0
X-0.0059 F80

After this, A may still be 2880, or it may be 0.
If I run it step-by-step mode, it will always work correctly.
When running through normally is when it might ignore it.

I have also had this happen in the past on a Y axis re-setting to 0 (in Mach2 V6.11)

Any ideas?? :)
Title: Re: G92 does not always take.. why??
Post by: Art on February 06, 2006, 07:27:15 AM
Make sure in Config/state that you dont have "Shortest Rot." checked. A2880 IS A0, so it could see that as zero since 28880 is a multiple of 360 or 0.
 Cant think of anythign else that coudl do it..