unplotted blocks

NCPlot questions or comments

unplotted blocks

Postby SD » Sat Aug 12, 2006 4:50 pm

Quick question concerning simple wire EDM code plotting:
The following code:
M86
G90
G92 X-0.1 Y-0.1
G01 X-0.1 Y0.
G42
G01 X3.5 Y0.
G01 X3.5 Y2.25
G01 X1.6 Y2.25
G01 X1.6 Y1.96302
G02 X2.21622 Y1.32364 I-0.1 J-0.71302
G01 X1.90397 Y0.65401
G02 X0.78378 Y1.17636 I-0.40397 J0.59599
G01 X1.09603 Y1.84599
G02 X1.4 Y1.96302 I0.40397 J-0.59599
G01 X1.4 Y2.25
G01 X0. Y2.25
G01 X0. Y-.01
M00
G28
G40
M02

does not plot until the 6th block.
I understand the setup codes, but what's happening with the G01 X-.1 Y0 line?
Is it related to configuration or something to do with G92?

Thank You
SD
 

Postby scottmartinez » Sat Aug 12, 2006 6:58 pm

Hi,

When you step or animate through the program, the block that is highlighted corresponds to the END point of the entity that was drawn on the screen. This is the same point that the marker shows up at. Here's what's going on in your program:

M86 (NOTHING TO PLOT)
G90 (SETS ABSOLUTE MODE)
G92 X-0.1 Y-0.1 (THIS SETS THE COORDINATE SYSTEM LOCATION)
G01 X-0.1 Y0. (THIS IS ACTUALLY THE FIRST KNOWN POINT THAT NCPLOT)
(RECOGNIZES, SO IT BECOMES THE START POINT OF THE PLOT)
G42 (CUTTER COMP RIGHT)
G01 X3.5 Y0. (THIS IS THE FIRST ENTITIY YOU SEE ON THE SCREEN)

So, you are missing the move that should be after the G92 because NCPlot isn't recognizing the G92 as a start point. I'll see if I can fix this.

Thanks,
Scott
User avatar
scottmartinez
Site Admin
 
Posts: 215
Joined: Sat Mar 11, 2006 8:49 pm

Postby SD » Thu Dec 21, 2006 10:05 am

Scott


Thanks fro the change. The recent version does plot all the lines.
One suggestion though if you have time. It would appear that anytime G92 is encountered, it positions the X/Y0 point to that block, instead of actually orienting the plot according to the G92 values.
The case in this program is that the first block, meaning the starting point is really at X-.1 Y-.1. On the plot it shows the starting point as X0 Y0, altough the blocks after that plot accurately from that point.

No big deal though, works like a charm! Really like the coords. display on the graphics screen!
SD
 
Posts: 14
Joined: Thu Dec 21, 2006 10:00 am


Return to Questions / Comments

Who is online

Users browsing this forum: No registered users and 31 guests

cron