I am trying to convert/Import my startup script and am having syntax issues with the variable names as most of my examples come from Prusa or Cura, which have "slightly" different syntax and spelling. I am following Marlin gCode, but I don't know the variable names in S3D. The script WORKS if I hard code and don't use variables, but I want to be able to TUNE my output without having to change the process -AND- the script settings.
My Sample Printer is an Ender3 Clone: single extruder, heated bed.
What I am TRYING to do is: (in order of the code)
G90 & M83 set coordinates and modes
Set Nozzel to warm to a safe non-oozing temperature
Warm the Bed and WAIT until to temperature
Home everyone
Level if Needed
Raise the Hotend a bit before moving
Move Hotend to Purge Start position
Warm the Nozzle and WAIT until to temperature
Draw the Prime lines
I am having issues with the M109 S{first_layer_temperature} and the associated BED TEMPERATURE command as well. I think that is failing; the temperature slowly falls, and about a minute into the print, I get "Cold Extrusion Blocked" or something like that. Oh yeah, and the print comes loose because the bed is cold.
Here is my Start File:
;Aquila
;START
G90 ; use absolute coordinates
M83 ; extruder relative mode
M104 S150 ; set temporary nozzle temp to prevent oozing during homing
M117 Waitin on Bed Temp
M190 S{first_layer_bed_temperature[0]} ; wait for bed temp to stabilize
G28 ; home all axis
G29 O S1; Level if needed & save
M420 S1; Get saved, Mesh
G1 Z10 F240
G1 X2.0 Y10 F3000
M109 S{first_layer_temperature[0]} ; Set & wait for nozzle temp to stabilize
G1 Z0.28 F240
G92 E0
G1 X2.0 Y140 E10 F1500 ; prime the nozzle
G1 X2.3 Y140 F5000
G92 E0
G1 X2.3 Y10 E10 F1200 ; prime the nozzle
G92 E0