Hi,

since a few days i finished the most parts of my selfmade cnc and i
installed emc 2.4.1 on a pc to control it. The hardware setup is fine
now and when i move the three axis it works like expected. Now i made a
simple test with an eagle layout file which i exported to gcode
(isolation milling). It is just a rectangle with two letters within it.
The layout looks like in the attached picture layout.png. The generated
gcode is in the file cnc_test.bot.etch.tap and in gcode_ok.png is a
picture of the generated toolpath for the gcode. This looks exactly the
same as in the 3d window of emc.

But now to the real problem. The inner rectangle has 90° edges so it is
just a four lines path. It is defined with these lines in the file:

G00 X-13.3652 Y13.3652
G01 Z-0.3730 F100.00
G01 X-13.3652 Y1.8747 F360.00
G01 X-1.8747 Y1.8747
G01 X-1.8747 Y13.3652
G01 X-13.3652 Y13.3652

First it goes to the upper left corner, moves the z-axis down and than
moves to the next corner and on until it is back to the starting point.
When i run it in single step mode it works as long as i let every
command finish and then do the next step. When i do more than one step
in a short time the path is changed to round edges like shown in green
in gcode_wrong.png. When i run the program without stepping through it
also has round edges. Maybe this ia a feature and not a bug but then i
need to know how to tweak or disable it.

I hope someone can help me with this. :)

Ciao,
     Rainer
(.../pcb-gcode-3.5.2.11/pcb-gcode.ulp)
(Copyright 2005 - 2009 by John Johnson)
(See readme.txt for licensing terms.)
(This file generated from the board:)
(.../cnc_test/cnc_test.brd)
(Current profile is .../pcb-gcode-3.5.2.11/profiles/emc.pp  )
(This file generated 22.06.2010 12:48:53)
G21
(Absolute Coordinates)
G90
G00 X0.0000 Y0.0000 
M03
G04 P2.000000
G00 Z2.5000 
G00 X-13.3652 Y13.3652 
G01 Z-0.3730 F100.00 
G01 X-13.3652 Y1.8747 F360.00 
G01 X-1.8747 Y1.8747 
G01 X-1.8747 Y13.3652 
G01 X-13.3652 Y13.3652 
G00 Z2.5000 
G00 X-9.7269 Y6.9169 
G01 Z-0.3730 F100.00 
G01 X-9.7915 Y7.0287 F360.00 
G01 X-9.8249 Y7.1534 
G01 X-9.8249 Y7.2827 
G01 X-9.7915 Y7.4074 
G01 X-9.7269 Y7.5192 
G01 X-9.6356 Y7.6105 
G01 X-9.5238 Y7.6751 
G01 X-9.3991 Y7.7085 
G01 X-9.2698 Y7.7085 
G01 X-9.1451 Y7.6751 
G01 X-9.0333 Y7.6105 
G01 X-8.7943 Y7.3714 
G01 X-8.7445 Y7.4213 
G01 X-8.7445 Y8.5459 
G01 X-8.8036 Y8.5617 
G01 X-8.9154 Y8.6263 
G01 X-9.0067 Y8.7176 
G01 X-9.0713 Y8.8294 
G01 X-9.1047 Y8.9541 
G01 X-9.1047 Y9.0834 
G01 X-9.0713 Y9.2081 
G01 X-9.0067 Y9.3199 
G01 X-8.9154 Y9.4112 
G01 X-8.8036 Y9.4758 
G01 X-8.6789 Y9.5092 
G01 X-7.8293 Y9.5092 
G01 X-7.7046 Y9.4758 
G01 X-7.5928 Y9.4112 
G01 X-7.5015 Y9.3199 
G01 X-7.4449 Y9.2217 
G01 X-7.3882 Y9.3199 
G01 X-7.2969 Y9.4112 
G01 X-7.1851 Y9.4758 
G01 X-7.0604 Y9.5092 
G01 X-5.6199 Y9.5092 
G01 X-5.4906 Y9.5092 
G01 X-5.3659 Y9.4758 
G01 X-5.2541 Y9.4112 
G01 X-5.1628 Y9.3199 
G01 X-5.0982 Y9.2081 
G01 X-5.0648 Y9.0834 
G01 X-5.0648 Y8.7233 
G01 X-5.0648 Y8.5941 
G01 X-5.0968 Y8.4747 
G01 X-5.0982 Y8.4693 
G01 X-5.1628 Y8.3575 
G01 X-6.5053 Y7.0150 
G01 X-6.5053 Y6.7933 
G01 X-6.5387 Y6.6686 
G01 X-6.6033 Y6.5568 
G01 X-6.6946 Y6.4655 
G01 X-6.8064 Y6.4009 
G01 X-6.9311 Y6.3675 
G01 X-7.0604 Y6.3675 
G01 X-7.1851 Y6.4009 
G01 X-7.2969 Y6.4655 
G01 X-7.3882 Y6.5568 
G01 X-7.4528 Y6.6686 
G01 X-7.4862 Y6.7933 
G01 X-7.4862 Y7.2827 
G01 X-7.4528 Y7.4074 
G01 X-7.3882 Y7.5192 
G01 X-7.3643 Y7.5430 
G01 X-6.3790 Y8.5283 
G01 X-7.0604 Y8.5283 
G01 X-7.1851 Y8.5617 
G01 X-7.2969 Y8.6263 
G01 X-7.3882 Y8.7176 
G01 X-7.4449 Y8.8158 
G01 X-7.5015 Y8.7176 
G01 X-7.5928 Y8.6263 
G01 X-7.7046 Y8.5617 
G01 X-7.7636 Y8.5459 
G01 X-7.7636 Y7.1534 
G01 X-7.7651 Y7.1481 
G01 X-7.7970 Y7.0286 
G01 X-7.8616 Y6.9168 
G01 X-8.3131 Y6.4654 
G01 X-8.3850 Y6.4240 
G01 X-8.4249 Y6.4009 
G01 X-8.5496 Y6.3675 
G01 X-8.6789 Y6.3675 
G01 X-9.0390 Y6.3675 
G01 X-9.1637 Y6.4009 
G01 X-9.2755 Y6.4655 
G01 X-9.3668 Y6.5568 
G01 X-9.7269 Y6.9169 
G00 Z2.5000 
G00 X-13.9103 Y0.6652 
G01 Z-0.3730 F100.00 
G01 X-14.0296 Y0.6652 F360.00 
G01 X-14.1464 Y0.6884 
G01 X-14.2564 Y0.7340 
G01 X-14.3555 Y0.8002 
G01 X-14.4397 Y0.8844 
G01 X-14.5059 Y0.9835 
G01 X-14.5515 Y1.0935 
G01 X-14.5747 Y1.2103 
G01 X-14.5747 Y13.9103 
G01 X-14.5747 Y14.0296 
G01 X-14.5515 Y14.1464 
G01 X-14.5059 Y14.2564 
G01 X-14.4397 Y14.3555 
G01 X-14.3555 Y14.4397 
G01 X-14.2564 Y14.5059 
G01 X-14.1464 Y14.5515 
G01 X-14.0296 Y14.5747 
G01 X-1.3296 Y14.5747 
G01 X-1.2103 Y14.5747 
G01 X-1.0935 Y14.5515 
G01 X-0.9835 Y14.5059 
G01 X-0.8844 Y14.4397 
G01 X-0.8002 Y14.3555 
G01 X-0.7340 Y14.2564 
G01 X-0.6884 Y14.1464 
G01 X-0.6652 Y14.0296 
G01 X-0.6652 Y1.2103 
G01 X-0.6884 Y1.0935 
G01 X-0.7340 Y0.9835 
G01 X-0.8002 Y0.8844 
G01 X-0.8844 Y0.8002 
G01 X-0.9835 Y0.7340 
G01 X-1.0935 Y0.6884 
G01 X-1.2103 Y0.6652 
G01 X-1.3296 Y0.6652 
G01 X-13.9103 Y0.6652 
G00 Z2.5000 
G00 Z5.0000 
M05
M02

<<attachment: gcode_ok.png>>

<<attachment: gcode_wrong.png>>

<<attachment: layout.png>>

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to