On Friday 13 May 2016 16:37:21 John Morris wrote:

> I'm trying to make sense of some strange behavior in preview.  See the
> program, attached and pasted below, which documents the problem.
>
> Is this a known bug?
>
> Thanks-
>
>       John
>
>
> %
>
> ; If machine is in G54, and a program in G55 is aborted during run,
> ;  preview will display DROs and origin in G55 coords, but mode line
> ;  will say G54, register #5220 will contain 1, and MDI motion
> ;  commands will use G54 coords.
>
> ; To reproduce:
> ; - A. Load this program
> ; - B. Set up coordinate systems with MDI commands:
> ;    G10 L2 P1 X0 Y0 Z-4 (Set G54)
> ;    G10 L2 P2 X0 Y0 Z-5 (Set G55)
> ;    G54 (Use G54)
> ;    G0 X0 Y0 Z0 (Move to 0,0,0)
> ; - C. Run program, stopping during execution at 2. below
> ; - D. Move tool to origin with MDI command:
> ;    G0 X0 Y0 Z0 (Move to 0,0,0)
> ; - E. Verify:
> ;   - a. Mode line:  G54
> ;   - b. MDI: G0 X0 Y0 Z0 ; Tool moves to abs X0Y0Z-4 == G54 X0Y0Z0
> ;   - c. MDI: (debug, G53+#5220; Z#5422) ; Prints "G53+1.0 Z0.0" ==
> G54 ;   - d. Preview:  DROs say G55 X0Y0Z1; origin position at G55
>
> ; 1.  Set a non-G54 offset and move to origin
> G55
> G0 X0 Y0 Z0
>
> ; 2.  Stop program during execution of the following line
> G1 X5 Y-5 F1 (Slow move; STOP PROGRAM NOW)
>
> ; (This line will never be reached)
> M30
>
> %

I ran into what sounds like the same behaviour 2 or 3 days back, where 
breaking the program resulted in the mdi status display claiming it was 
reset to g54, but an MDI command did strange things requiring another 
break key hit.  I found that altough the mdi status line said G54, I had 
to issue a  g54, then a g5x to get back into the desired co-ord system 
and make mdi stuff work as one expects..

IMO,  hitting the esc kay, or clicking stop, should NOT effect this as 
its completely by surprise that you get bit the 2nd time.  Any change in 
the co-ord system should ONLY be accomplished by your code or by a 
specific entry from the MDI command line.

I might add that entering a G55, without the G54 first, had no effect as 
the machine was still out in the north 40 someplace. I think thats best 
described as a PIMA. :[

My machines were all updated again today, so I haven't a clue if that 
behaviour still holds. When I encounter a problem and hit the esc key, I 
don't appreciate having the machines operating envelope jerked out from 
under me, hiding the clues I may need to fix my errant code.

Thanks for mentioning it, John, I had already forgotten that 10 minutes 
of confusion.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to