
09-16-2009, 04:41 AM
|
| | | Join Date: Dec 2007 Location: UK
Posts: 15
| |
hi Hartan,
yes - for 'Run full program' = button for automatic.
All of our TNC programming is done using Heidenhain's 'conversational/klartext'; so I don't write G-code for the TNC and I'm slightly confused by some of the G code you posted, e.g. why G1 before the M6 in line 60. Also not sure what macro M13 does on your machine. One thing I did notice - but I don't know if it will affect your graphics - is that I can't see anything in your program to actually start the spindle? - would have expected an M03 or M04 perhaps?
Looking at the code and backplotting it with NCplot, it does cover a lot of co-ordinate space. When you run a graphics simulation, it starts from wherever the real XYZ of the head is in real XYZ at the moment you press the graphics [Start] - just the same as if you had actually pressed the Cycle Start to actually machine the piece. I wonder if this is why you don't actually see anything being machined on your screen?
Did you try what Zhyyra said and run graphics with no datum shift?
Can I suggest that you start with a simple program that
define simple BlkForm like you have X +/- 20 Y +/- 20 Z 0 to -10
just one tool of L10 and R5
machine a couple of slots within the block
Then, most important, before you press graphics [Start] go into manual mode and set the datum for X Y and Z all to 0
Dave |