Error running GPXui with Slic3r gcode

89 views
Skip to first unread message

wirlybird

unread,
Feb 24, 2017, 8:52:55 PM2/24/17
to GPX converter
Hi all,

New here and I hope this is an ok place for my issue.

I am trying to run a start script in slic3r for my QIDI Tech-1 (rep1 dual clone).
When I run the GPXui to convert to x3g I get the following errors.  This is the output text I get.  When I try the print the start script actions aren't even close to what I would assume they should be.  For example the bed drops way down, the prime is in mid air etc.

I added the start script below.  Thanks for anyt help!!

Running GPX...
C:/Users/Admin/AppData/Local/GpxUi/app-2.5.2/gpx.exe -v E:/202020.gcode E:/202020.x3g

Loading config: C:\Users\Admin\AppData\Local\GpxUi\app-2.5.2\gpx.ini
Loading machine definition: Replicator 1 - dual extruder

Using custom machine definition from: C:\Users\Admin\AppData\Local\GpxUi\app-2.5.2/r1d.ini

Loaded config: C:\Users\Admin\AppData\Local\GpxUi\app-2.5.2\gpx.ini
Reading from: E:/202020.gcode

Writing to: E:/202020.x3g

(line 32) queuing an absolute point to X:110.00 Y:-72.00 Z:30.00 A:0.00 B:0.00
(line 37) Syntax error: unrecognised gcode '% F2400.0 ; move to just on the bed
'

(line 5263) queuing an absolute point to X:8.72 Y:8.91 Z:150.00 A:0.00 B:0.00
(line 32) queuing an absolute point to X:110.00 Y:-72.00 Z:30.00 A:0.00 B:0.00
(line 37) Syntax error: unrecognised gcode '% F2400.0 ; move to just on the bed
'

(line 5263) queuing an absolute point to X:8.72 Y:8.91 Z:150.00 A:0.00 B:0.00
Extrusion length: 0.504 metres

Estimated print time: 25 minutes 31 seconds

X3G output filesize: 166954 bytes

GPX finished with code = 0x0.




Start script for left extruder:

T1; set primary extruder
M73 P0; enable show build progress
M109 S[first_layer_bed_temperature] T1; heat bed up to first layer temperature
M104 S[first_layer_temperature_0] T1; set nozzle heater to first layer temperature
M104 S0 T0; set nozzle heater to first layer temperature
M103; disable RPM
G21; set units to mm
G162 X Y F6000; home XY axes maximum
G161 Z F9000; home Z axis minimum
G92 Z0; set Z to 0
M132 X Y Z A B; Recall stored home offsets
G90; set positioning to absolute
G1 Z30; move Z to waiting height
G1 X-95 Y-73 Z30 F14000; move to waiting position (front left corner of print bed)
G130 X0 Y0 A0 B0; set stepper motor vref to lower value while heating
M6; wait for bed and extruder to heat up
G130 X127 Y127 A127 B127; set stepper motor vref to defaults
M108 T1 R3; set extruder speed
G92 E0; set E to 0
G90; use absolute coordinates
M320; acceleration enabled for all commands that follow
G1 Z[first_layer_height] F6000.000; move to first layer height
G1 X100 Y-73 F14000.000; move to front right corner of bed
G1 X-90 Y-73 E24 F2000.000; extrude a line of filament across the front edge of the bed
G4 P2000; wait for ooze to slow
G1 Z0 F6000.000; lower nozzle height to 0
G1 X-95; wipe nozzle
G1 Z[first_layer_height] F6000.000; set nozzle to first layer height
G1 F12000; ensure fast travel to first print move
G92 E0; set E to 0 again
M73 P0; reset build progress to 0

wirlybird

unread,
Feb 25, 2017, 12:42:34 PM2/25/17
to GPX converter

Ok, I figured out the "syntax error" it is setting the first layer height by a percentage instead of absolute.  Now my first layer is still an issue.  If I can even get anything to stick it looks very under extruded but the prime line prints good.





wirlybird

unread,
Mar 5, 2017, 11:16:02 AM3/5/17
to GPX converter
I have now been able to get the start script and Slic3r working.  Still need to tune Slic3r but gaining slowly.

Here is my working start script.  Feel free to comment or advise improvements!!

; begin

M73 P0 ; tell the firmware we're starting a build

G130 X118 Y118 Z40 A118 B118 ; set vref's to default

; set temps

M140 S[first_layer_bed_temperature] ; set bed temp, don't wait

M104 S[first_layer_temperature_0] T1 ; set nozzle temp, don't wait

; home and set coordinates

T0 ; home on the right extruder


G90 ;  set positioning to absolute

G28 X Y Z ; home XYZ at default home feedrates

; home Z again slowly to give more consistent first layer height

G92 X0 Y0 Z0 A0 B0 ; define this as Z=0, the other coords are technically unnecessary but x3g requires them so gpx will make some up

G1 Z5 ; move the platform 5mm down

G28 Z F500 ; so we can home z again slowly

M132 X Y Z  ; Recall stored home offsets

; wait for heat up

G1 X110 Y-72 Z30 F3300 ; move to waiting position (front right corner of print bed)

M116 ; wait for target temperatures to be reached. GPX only, RepG doesn't understand

; purge and wipe
G130 X127 Y127 Z40 A127 B127 ; Default stepper Vrefs

;G92 E0 ; set current extruder position as 0 so that E15 below makes sense
G92 A0 B0 ; Zero extruders
M135 T1 ; Load left extruder offsets

G1 X110 Y-70 Z[first_layer_height] F2400.0 ; move to just on the bed

G1 X110 Y70 E15 F1200.000 ; extrude a line of filament along the right edge of the bed
G1 Z1 F100 ; Lift
;G92 E0 ; set E to 0 again because the slicer's next extrusion is relative to this 0
G92 A0 B0 ; Zero extruders
M73 P1 ; @body (notify GPX body has started)
Reply all
Reply to author
Forward
0 new messages