Hello Guest it is March 28, 2024, 07:44:59 AM

Author Topic: Display problem maybe?  (Read 5774 times)

0 Members and 1 Guest are viewing this topic.

Display problem maybe?
« on: June 18, 2008, 06:31:36 PM »
I am programming a small frame which contains 3 lines of text. The lines of text and the frame are arranged as 4 subroutines called from the main program. Each line of text has been run as an independant program and works OK.
When 'assembled' and using G52 to locate each line of text within the frame I have a problem.
When the program is loaded to a newly started-up Mach3 the text is correctly positioned in the frame but when I engrave it on the screen it 'cuts' at a completely different place, not on top of the displayed text.
Subsequently, after a toolpath regen the text is out of position but engraving is cut on top of the displayed text.
I have played with the coding and cannot improve the situation!!

Is this a known problem or is it likely to be my coding? I have not tried cutting this on the workshop mill yet.

TMSmith

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Display problem maybe?
« Reply #1 on: June 18, 2008, 06:49:20 PM »
G52 is a temporary work coord. I'm guessing it is all in your code but if you'll post it, we'll have a stab at it.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Display problem maybe?
« Reply #2 on: June 18, 2008, 11:09:24 PM »
Hi, TMSmith

Mach displays offsets properly, But it doesn't display it properly on the "view screen" when cutting.

At the end of your G-code file you need a G52 x0 y0 to reset the Temp Cord. Offset (G52 offset remains persistent till canceled), I Think.

Hope this Helps, Chip
Re: Display problem maybe?
« Reply #3 on: June 20, 2008, 01:42:53 PM »
HI Team,
I have looked at the problem again and realized that G52 retains information and therefore putting G52 X0 Y0 near the start of the program made the part display correctly all the time, not just on the first occassion.
However I cannot get the view window to display the cutting path correctly so sending a copy of the code. Hope the file is not too big; generating test takes a lot of code, thank goodness for 'Write'.

tmsmith

Offline Graham Waterworth

*
  • *
  •  2,668 2,668
  • Yorkshire Dales, England
    • View Profile
Re: Display problem maybe?
« Reply #4 on: June 20, 2008, 05:55:32 PM »
Hi Malcolm,

this is what I get from your code, it looks fine to me.

Graham.

You could send a screen shot by using Screen Hunter :-  http://www.wisdom-soft.com/sh/sh_free.htm
« Last Edit: June 20, 2008, 05:57:56 PM by Graham Waterworth »
Without engineers the world stops
Re: Display problem maybe?
« Reply #5 on: June 21, 2008, 09:57:52 AM »
Thanks Graham,
I get the same display as you.
The problem is that when I simulate the cut with 'cycle start' the indicated cut for the rectangular frame follows the frame outline; but the indicated cut on the lettering does not. The top line of text for instance is shown as being cut at the bottom of the frame i.e. all text is displace downwards!.  This is just being done on the study PC, I have not tried it on the mill but I am assuming it will cut in error as well.

Any ideas

Malcolm

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Display problem maybe?
« Reply #6 on: June 21, 2008, 01:25:34 PM »
Hi, TMSmith

Mach displays offsets properly on the "view screen" when loaded and with Regen Tool-path.

But it doesn't (dose not) display it properly on the "view screen" when Running the code (cycle start).

Your mill will cut the part correct, It's a Bug in the view screen code (offset issue).

Brian is re-writing the View Screen code, So at some point it should display it correct.

Chip
Re: Display problem maybe?
« Reply #7 on: June 21, 2008, 02:15:35 PM »
Thanks Chip and Graham.
That has answered my problem.
Now to the mill.

Cheers

tmsmith