print keeps heating up the wrong bed heat zone
-
i am trying to tell it to only turn on 1 of my 4 heatzones for my bed but it seems to always want to turn on P0 heatbed first even though I want it to turn only P2. here are my files.
config.g:
;BED0 M308 S0 P"bedtemp" Y"thermistor" A"Bed0 M190 P0" T100000 B3950 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M140 P0 H0 ; map heatedbed1-RL to heater 0 ;BED1 M308 S1 P"e0temp" Y"thermistor" A"Bed1 M190 P1" T100000 B3950 ; configure sensor 1 as thermistor on pin e1temp M950 H5 C"fan1" T1 ; create heater output on fan1 and map it to sensor 1 M143 H5 S120 ; set temperature limit for heater 1 to 120C M140 P1 H5 ; map heatedbed2-RR to heater 1 ;BED2 M308 S2 P"e1temp" Y"thermistor" A"Bed2 M190 P2" T100000 B3950 ; configure sensor 2 as thermistor on pin e0temp M950 H6 C"fan2" T2 ;create heater output on fan2 and map it to sensor 2 M143 H6 S120 ; set temperature limit for heater 2 to 120C M140 P2 H6 ; map heatedbed3-FL to heater 2 ;BED3 ;https://duet3d.dozuki.com/Wiki/Connecting_PT100_temperature_sensors M308 s3 P"spi.cs1" Y"rtd-max31865" A"Bed3 M190 P3" ;create sensor 3 as PT100 temperature sensor on RTD1 of daughtboard M950 H7 C"e0heat" T3 ; create heater output on e0heat and map it to sensor 3 M143 H7 S120 ;set temperature limit for heater 3 to 120C M140 P3 H7 ;map heatedbed4-FR to heater 3 M98 P"/sys/PRINTCODE/GLOBAL.g"
global.g:
global BED=0 global BH0=0 global BH1=0 global BH2=0 global BH3=0 global PTOOL={state.currentTool}
startbedtemp.g:
;FOR WET RUN if global.BH0=1 && global.BH0!=0 M140 p0 S{global.BED} g4 s2 if global.BH0=0 m140 p0 s0 g4 s2 if global.BH0=1 m116 g4 s2 elif global.BH1=1 && global.BH1!=0 M140 p1 S{global.BED} ;m116 g4 s2 if global.BH0=0 m140 p1 s0 g4 s2 if global.BH1=1 m116 g4 s2 elif global.BH2=1 && global.BH2!=0 M140 p2 S{global.BED} ;m116 g4 s2 if global.BH2=0 m140 p2 s0 g4 s2 if global.BH2=1 m116 g4 s2 elif global.BH3=1 && global.BH3!=0 M140 p3 S{global.BED} ;m116 g4 s2 if global.BH3=0 m140 p3 s0 g4 s2 if global.BH3=1 m116
filament config.g:
M291 R"PCCF - priline black" P"Configuring..." T0 M579 X0.999730148 Y0.997220413 z1 ; scale correction with calibration cross and tower M221 D0 S100.2325581 ;E step flow rate correction D=extruder drive#, S=flowrate M207 P{global.PTOOL} S1 R0 F3000 T3000 Z0.0 ; firmware retraction settings for PETG ;P= tool number ;S= retraction mm ;R= unretraction mm ;F= feedrate of retraction ;T= feedrate of unretraction ;Z= z lift in mm m566 x1200 y1200 y1200 ;jerk speed mm/min. instantaneous speed change m204 P300 t1000 ;acceleration mm/s^2. P=print move. T=travel move. M220 S100 ;speed multiplier percentage M190 S100 ; set bed temp and wait for it to be reached M568 P{global.PTOOL} S265 R160 A0 ;assign this filament to current Tool and set extruder temps set global.BED=100 ;set BED temp to 100
tpost4.g:
; tpost4.g ; called after firmware thinks Tool3 is selected ; Note: tool offsets are applied at this point! ; Note that commands preempted with G53 will NOT apply the tool offset. ;echo "begin Tpost4.g" ;g4 s10 set global.PTOOL={state.currentTool} ;t m703 G4 s1 if {job.file.fileName != null} && {job.build.currentObject = -1} ;if file name exist amd no current object M98 P"/sys/PRINTCODE/startbedtemp.g" ;evoke startbedtemp.g to warm bed m568 P4 A2 ;then set T4 to active temp M116 P4 ; Wait for set temperatures to be reached G90 ; Ensure the machine is in absolute mode before issuing movements. m564 s0 ;allow movement outside boundaries g1 x-37.2 f5000 G53 G1 x-37.2 Y246 F5000 ; Move to pick up position for tool-0. M98 P"/macros/00_MAINTENANCE/tool_lock.g" ; Lock the tool G1 R2 Z0 ; Restore prior Z position before tool change was initiated. ; Note: tool tip position is automatically saved to slot 2 upon the start of a tool change. ; Restore Z first so we don't crash the tool on retraction. g1 y209 m564 s1 ;limit movement outside boundaries G1 R0 Y0 ; Retract tool by restoring Y position next now accounting for new tool offset. ; Restoring Y next ensures the tool is fully removed from parking post. G1 R0 X0 ; Restore X position now accounting for new tool offset. ;G1 R0 Z0 ; Restore Z position now accounting for new tool offset -2 to offset switch. M106 R2 ; restore print cooling fan speed m564 s1 ;limit movement outside boundaries ;echo "end tpost4.g"
file's gcode just the beginning of it:
;FLAVOR:RepRap ;TIME:4816 ;Filament used: 0m, 0m, 0m, 0m, 7.85758m ;Layer height: 0.24 ;MINX:-133.835 ;MINY:-133.403 ;MINZ:0.3 ;MAXX:-22.329 ;MAXY:-71.882 ;MAXZ:9.9 ;POSTPROCESSED ;Generated with Cura_SteamEngine 4.11.0 M82 ;absolute extrusion mode ;1=enable heater 0=disable heater set global.BH0=0 set global.BH1=0 set global.BH2=1 set global.BH3=0 g4 s5 M98 P"/sys/PRINTCODE/startgcode.g" M98 P"/sys/PRINTCODE/startbedtemp.g" M82 ;absolute extrusion mode G10 P4 S0.0 R0.0 T4; ;Note: the ";" at the end of the last line ;is critical! ;What is happening is that all instances ;of T(n) (only those on their own line, not ;those as part of another command) are ;located and a G10 plus a T(n); command ;is added. Later on, in the post processing ; search and replace, the original ;T(n) command is deleted. ;The T(n); command only remains because of ;the semicolon so if that is missing no ;tools will ever get selected. M83 ;relative extrusion mode M83 ;relative extrusion mode G10 ;LAYER_COUNT:41 ;LAYER:0 M107 G0 F3600 X-24.613 Y-72.028 Z0.3 ;TYPE:SKIRT G11 G1 F1800 X-25.107 Y-71.92 E0.02523
-
@tekstyle nevermind. i think i figured it the issue. i Left a m190 s100 in the filament config file