; Configuration file for RailcoreII 300ZL Series Printers ; Do NOT change this file. All customizations should occur in config-user.g ; Debugging M111 S0 ; Debug off M929 P"eventlog.txt" S1 ; Start logging to file eventlog.txt M550 P"RailCore" ; Machine name and Netbios name (can be anything you like) M552 S1 ;M98 P"wifi.g" ; Run WiFi configuration file. M552 P0.0.0.0 ; Use DHCP ; General preferences M555 P2 ; Set output to look like Marlin M575 P1 B57600 S1 ; Comms parameters for PanelDue G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Axis and motor configuration M669 K1 ; CoreXY mode ; Drives M584 X0 Y1 Z5:6:7 E3:4:8:9 ; Map Z to drivers 5, 6, 7. Define unused drivers 3,4,8 and 9 as extruders M569 P0 S0 ; Drive 0 goes forwards (change to S0 to reverse it)| X stepper M569 P1 S1 ; Drive 1 goes backwards(change to S1 to reverse it)| Y Stepper M569 P2 S1 ; Drive 2 goes forwards | Unused M569 P3 S1 ; Drive 3 goes forwards | Extruder S1 for Bondtech, S0 for Titan M569 P4 S1 ; Drive 4 goes forwards | Extruder (unused) M569 P5 S0 ; Drive 5 goes backwards | Front Left Z M569 P6 S0 ; Drive 6 goes backwards | Rear Left Z M569 P7 S0 ; Drive 7 goes backwards | Right Z ;Leadscrew locations M671 X-10:-10:333 Y22.5:277.5:150 S7.5 ;Front left,(-10,22.5) Rear Left (-10.,227.5) , Right (333,160) S7.5 is the max correction - measure your own offsets, to the bolt for the yoke of each leadscrew ; Axis and motor configuration M350 X16 Y16 Z16 E16 I1 ; Set 16x microstepping for axes & extruder, with interpolation. M574 X1 Y1 S1 ; Set homing switch configuration (x,y at min, z at max) IF YOU NEED TO REVERSE YOUR HOMING SWITCHES CHANGE S1 to S0 M906 X500 Y500 Z400 E700 I60 ; Motor currents (mA) - WARNING: Conservative - May trigger stallguard (and prematurely during homing) if sensorless. M201 X500 Y500 Z02 E500 ; Accelerations (mm/s^2) - WARNING: Conservative M203 X3000 Y3000 Z50 E1800 ; Maximum speeds (mm/min) - WARNING: Conservative M566 X200 Y200 Z5 E10 ; Maximum jerk speeds mm/minute - WARNING: Conservative M92 X200 Y200 Z1600 ; Steps/mm for X.Y M92 Z1600 ; Steps/mm for Z - TR8*2 / 1.8 deg stepper or TR8*4 / 0.9 deg stepper M92 E837 ; Extruder - 0.9 deg/step (ProjectR3D kit with E3D stepper MT-1701HSM140AE or Standard Titan stepper 42BYGHM208P4.5-15-X2) ; Set axis minima:maxima switch positions (Adjust to suit your machine and to make X=0 and Y=0 the edges of the bed) ; These values are conservative to start with, adjust during commissioning. M208 X0:250 Y0:250 Z-0.2:230 ; Conservative 300ZL/T settings (or 250ZL) ; Thermistors M305 P0 S"Bed" T100000 B3950 R4700 H0 L0 X6 ; BOM thermistor values. Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 S"E0" T100000 B4725 C7.06e-8 R4700 H0 L0 ; E3D Semitec 104GT2 thermistor values. Put your own H and/or L values here to set the first nozzle thermistor ADC correction ;Heaters ;M570 S360 ; Print will be terminated if a heater fault is not reset within 360 minutes. M143 H0 S80 ; Maximum H0 (Bed) heater temperature (Conservative) M143 H1 S230 ; Maximum H1 (Extruder) heater temperature (Conservative and in case extruder has PTFE lining) M140 S-273 R-273 ; Standby and initial Temp for bed as "off" (-273 = "off") ; Default heater model M307 H0 A270.7 C90.4 D6.7 B0 S1.0 ; Default Bed Heater Parameters, before tuning / if config-override.g is missing M307 H1 A508.1 C249.0 D3.8 S1.00 V24.2 B0 ; Default Tool Heater Parameters, before tuning / if config-override.g is missing ; Fans M106 P0 H-1 ; Disable thermostatic mode for fan 0 M106 P1 H-1 ; Disable thermostatic mode for fan 1 M106 P2 H-1 ; Disable thermostatic mode for fan 2 M106 P0 S0 ; Turn off fans M106 P1 S0 M106 P2 S0 ; Tool definitions M563 P0 D0 H1 ; Define tool 0 G10 P0 S-273 R-273 ; Set tool 0 operating and standby temperatures(-273 = "off") ; Z probe M558 H10 A1 T3000 S0.02 ; Z probe - raise probe height. ; H10 - dive height ; A bigger dive height prevents a situation where the bed is out of alignment by more than the dive height ; on any corner, which can crash the hot-end into the bed while moving the head in XY. ; Probing speed and travel speed are similarly reduced in case the Z probe isn't connected properly (or ; disconnects later after moving to a point) giving the user more time to stop. M557 X50:200 Y50:200 S150 S150 ; Set Default Mesh (conservative) M98 P"/sys/config-user.g" ; Load custom user config M501 ; Load saved parameters from non-volatile memory