E Word with no G76

More
27 Mar 2014 11:14 #45302 by lenarlwong
I use Slic3r to generate G-codes which I run in Linuxcnc to 3D print. Whenever I set the z retract to 0.1mm, I receive this error when running the Gcodes in Linuxcnc. If I remove the Z retract the error goes away. I have not tried other values for the Z retract. Has anyone seen this or have any suggestions?

Please Log in or Create an account to join the conversation.

More
27 Mar 2014 13:43 #45303 by ArcEye
Replied by ArcEye on topic E Word with no G76
Hi

Nothing attached.

Going by your title, the interpreter is erroring because it has encountered the letter E and G76 is the only code that uses it.

Put the code into a decent linux terminal text editor and look for spurious charactors.

If you can't find anything, rename to a txt extension and attach

regards

Please Log in or Create an account to join the conversation.

More
28 Mar 2014 03:02 #45320 by lenarlwong
Replied by lenarlwong on topic E Word with no G76
Yes, in line 32, there is an E command issued. I only see this when I add a Z retract

Please Log in or Create an account to join the conversation.

More
28 Mar 2014 03:06 #45321 by lenarlwong
Replied by lenarlwong on topic E Word with no G76
I am not sure if the file uploaded correctly but that section looks like this:

G21 ; set units to millimeters
M107
M190 P65 ; wait for bed temperature to be reached
M104 P210 ; set temperature
G28 ; home all axes
G1 Z5 F5000 ; lift nozzle
M109 P210 ; wait for temperature to be reached
G90 ; use absolute coordinates
G1 F1800.000 A-0.10000
G0 Z0.400 F7800.000
G0 X95.380 Y108.024 F7800.000
G1 E0.00000 F1800.000
G1 X96.550 Y107.294 A0.16378 F540.000
G1 X98.010 Y106.774 A0.34785
G1 X99.560 Y106.594 A0.53317
G1 X100.430 Y106.644 A0.63667

Please Log in or Create an account to join the conversation.

More
28 Mar 2014 14:22 #45332 by ArcEye
Replied by ArcEye on topic E Word with no G76
Hi

G1 E0.00000 F1800.000


Well that is your problem. I am not familiar with slic3r, so have no idea why it is producing moves for a non existent axis.

You could just use a script to remove all instances, but the answer really is to go into the settings for slic3r and find where this is coming from and change it

regards

Please Log in or Create an account to join the conversation.

More
28 Mar 2014 19:17 #45334 by ArcEye
Replied by ArcEye on topic E Word with no G76
Hi again,

I decided I had better get familiar with slic3r, as queries involving it are likely to increase as 3D printing becomes more popular
(not that I have one, so it is all virtual familiarity)

I set up a default config (accepted all default settings in the configuration wizard) and loaded this simple stl file which describes a spanner.

File Attachment:

File Name: wrench.stl.txt
File Size:122 KB
(remove the .txt suffix)

From this I generated gcode for Linuxcnc
; generated by Slic3r 1.0.0 on 2014-03-28 at 11:55:33

; layer_height = 0.4
; perimeters = 3
; top_solid_layers = 3
; bottom_solid_layers = 3
; fill_density = 0.4
; perimeter_speed = 30
; infill_speed = 60
; travel_speed = 130
; nozzle_diameter = 0.5
; filament_diameter = 3
; extrusion_multiplier = 1
; perimeters extrusion width = 0.50mm
; infill extrusion width = 0.53mm
; solid infill extrusion width = 0.53mm
; top infill extrusion width = 0.53mm
; first layer extrusion width = 1.00mm

G21 ; set units to millimeters
M107
M104 P205 ; set temperature
G28 ; home all axes
G1 Z5 F5000 ; lift nozzle

M109 P205 ; wait for temperature to be reached
G90 ; use absolute coordinates
G1 F1800.000 A-1.00000
G0 Z0.500 F7800.000
G0 X89.877 Y95.720 F7800.000
G1 A0.00000 F1800.000
G1 X90.527 Y95.120 A0.05586 F540.000
G1 X91.107 Y94.670 A0.10221
G1 X91.737 Y94.280 A0.14900
G1 X92.587 Y93.870 A0.20859
G1 X93.507 Y93.550 A0.27010
G1 X102.117 Y91.240 A0.83301
G1 X102.637 Y91.120 A0.86671
G1 X103.417 Y90.980 A0.91675
G1 X104.377 Y90.940 A0.97742
G1 X105.087 Y90.970 A1.02230
G1 X106.027 Y91.130 A1.08251
G1 X106.937 Y91.390 A1.14227
G1 X107.817 Y91.770 A1.20280
G1 X108.027 Y91.880 A1.21776
G1 X108.777 Y92.340 A1.27332
G1 X109.357 Y92.780 A1.31929
G1 X109.797 Y93.190 A1.35727
G1 X110.567 Y94.060 A1.43063
G1 X110.707 Y94.250 A1.44554
G1 X111.167 Y94.970 A1.49949
G1 X111.537 Y95.730 A1.55286
G1 X111.877 Y96.680 A1.61658
G1 X112.047 Y97.430 A1.66514
G1 X112.147 Y98.230 A1.71605
G1 X112.147 Y99.370 A1.78803
G1 X112.127 Y99.610 A1.80324
G1 X111.997 Y100.470 A1.85816
G1 X111.687 Y101.530 A1.92790
G1 X111.317 Y102.410 A1.98818
G1 X110.827 Y103.220 A2.04796
G1 X110.687 Y103.420 A2.06337
G1 X110.107 Y104.140 A2.12176
G1 X109.447 Y104.790 A2.18025
G1 X108.787 Y105.310 A2.23331
G1 X107.857 Y105.860 A2.30153
G1 X107.167 Y106.170 A2.34930
G1 X106.457 Y106.400 A2.39643
G1 X97.577 Y108.800 A2.97728
G1 X96.827 Y108.960 A3.02570
G1 X95.827 Y109.050 A3.08910
G1 X95.007 Y109.030 A3.14090
G1 X94.127 Y108.920 A3.19690
G1 X93.397 Y108.740 A3.24438
G1 X92.507 Y108.440 A3.30368
G1 X91.767 Y108.070 A3.35593
G1 X90.607 Y107.280 A3.44455
G1 X89.637 Y106.260 A3.53343
G1 X88.887 Y105.080 A3.62172
G1 X88.397 Y103.760 A3.71063
G1 X88.047 Y102.420 A3.79808
G1 X87.827 Y100.870 A3.89694
G1 X87.967 Y99.300 A3.99647
G1 X88.447 Y97.810 A4.09532
G1 X89.267 Y96.470 A4.19452
G1 X89.791 Y95.823 A4.24711
G1 F1800.000 A3.24711
G0 X102.962 Y99.246 F7800.000
G1 A4.24711 F1800.000
G1 X103.285 Y98.612 A4.29201 F540.000
G1 X103.900 Y98.049 A4.34469
G1 X104.826 Y98.109 A4.40328
G1 X105.100 Y98.526 A4.43477
G1 X105.185 Y98.983 A4.46413
G1 X104.611 Y99.685 A4.52139
G1 X103.509 Y99.566 A4.59137
G1 X103.207 Y99.351 A4.61478
G1 X103.085 Y99.299 A4.62311
G0 X103.550 Y98.846 F7800.000
G0 X102.924 Y99.214 F7800.000
G1 X96.723 Y100.878 A5.02855 F378.000
G1 X95.254 Y100.510 A5.12417
G1 F1800.000 A4.12417
M104 S0 ; turn off temperature
G28 X0  ; home X axis
M84     ; disable motors

; filament used = 4.1mm (0.0cm3)

Note no E axis moves, just XYZ and A, which I take to be the extruder moves.

I have commented out the M codes and it runs in a 9axis sim

All tends to suggest that something is wrong in your setup, looks pretty certain that the
G1 E0.00000 F1800.000 line
should be
G1 A0.00000 F1800.000

Run this stl file through your copy of slic3r, if you still produce E axis moves and cannot find the source, you will have to attach the slic3r config you are using

regards
Attachments:

Please Log in or Create an account to join the conversation.

More
29 Mar 2014 02:54 #45350 by lenarlwong
Replied by lenarlwong on topic E Word with no G76
If I use the printer settings as a Reprap, all of the extruder moves show up as E. If I choose Mach3/EMC, all extruder moves show up as A. But if I add a Z lift, for some reason, E starts to show up again, I think only for the lifts. Here is my config file.
Attachments:

Please Log in or Create an account to join the conversation.

More
29 Mar 2014 17:03 #45366 by ArcEye
Replied by ArcEye on topic E Word with no G76
Hi

Your ini file has the line

extrusion_axis = E


You might want to try changing that.

I cannot replicate your problem, with the stl file I am using, even if I set Z axis to lift I don't get any E 'axis' moves.

If changing the E to A in the ini file does not work, the best solution I have at present is

sed '/E/d' input.ngc > output.ngc

That will remove any line containing an uppercase E
(Just make sure you do not use one in any comments, or that line will be deleted too)

regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum