Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; General preferences
- G90 ; send absolute coordinates...
- M83 ; ...but relative extruder moves
- M550 P"Vogue" ; set printer name
- M669 K1 ; Set CoreXY
- G4 S2 ; Pause for CAN-FD
- ; Drives
- M569 P0.0 S0 ; X
- M569 P0.1 S0 ; Y
- M569 P0.2 S1 ; T1
- M569 P0.3 S1 ; B
- M569 P0.4 S1 ; T0
- M569 P0.5 S1 ; Z
- M569 P1.0 S1 ; T3
- M569 P1.1 S1 ; T2
- M569 P1.2 S1 ; UNUSED
- ;M569.1 P21.0 T1 C164.206 E40.0:200.0 R10 S200 ;closed loop config for drive 21.0, composite encoder
- M569.1 P21.0 T3 R10 S200 ;closed loop config for drive 21.0, magnetic shaft encoder
- M569 P21.0 S1 D4 ; physical drive 21.0 goes forward and closed loop is enabled
- ;M569.1 P21.0 R10 I200 D0.02 V800 A1000000 ;set PIDVA parameters for closed loop (370mm Bowden with hotend)
- ;M569.1 P21.0 R10 I2 D0.05 V700 A1000000 ;set PIDVA parameters for closed loop (700mm Bowden with hotend)
- M569 P2.0 S1 ; C
- ;########################
- M584 X0.0 Y0.1 Z0.5 E0.4:0.2:1.1:1.0 B0.3 C2.0 U21.0 ; Drive mapping
- M350 E16:16:16 C16 I0 ; Configure microstepping without interpolation
- M350 X16 Y16 Z16 B16 U16 I1 ; Configure microstepping with interpolation
- M92 X100 Y100 Z800 B1600 C91.022 E396:396:396:396 U396 ; Set steps per mm
- M566 X100 Y100 Z50 C2 B200 E10:10:10:10 U1000 ; Set maximum instantaneous speed changes (mm/min)
- M203 X35000 Y35000 Z3000 B3500 C10000 E5000:5000:5000:5000 U1200 ; Set maximum speeds (mm/min)
- M201 X2000 Y2000 Z200 B500 C500 E1000:1000:1000:1000 U5000 ; Set accelerations (mm/s^2)
- M906 X1800 Y1800 Z1000 B750 I30 ; Idle motion motors to 30%
- M906 E1330:1330:1330:1330 U1330 C500 I10 ; Idle extruder motors to 10%
- ;######################
- ;M584 X0.0 Y0.1 Z0.5 E0.4:0.2:1.1:1.0:21.0 B0.3 C2.0 ; Drive mapping
- ;M350 E16:16:16:16:16 C16 I0 ; Configure microstepping without interpolation
- ;M350 X16 Y16 Z16 B16 I1 ; Configure microstepping with interpolation
- ;M92 X100 Y100 Z800 B1600 C91.022 E396:396:396:396:396 ; Set steps per mm
- ;M566 X100 Y100 Z50 C2 B200 E10:10:10:4000:4000 ; Set maximum instantaneous speed changes (mm/min)
- ;M203 X35000 Y35000 Z3000 B3500 C10000 E5000:5000:5000:5000:5000 ; Set maximum speeds (mm/min)
- ;M201 X2000 Y2000 Z200 B500 C500 E1000:1000:1000:5000:5000 ; Set accelerations (mm/s^2)
- ;M906 X1800 Y1800 Z1000 B750 I30 ; Idle motion motors to 30%
- ;M906 E1330:1330:1330:1330:1330 C500 I10 ; Idle extruder motors to 10%
- ; Axis Limits
- M208 X-25:350 Y-49:300 Z0:300 B0:50 C-45:360 U-100000:100000 S0 ; Set axis maxima & minima
- ; Endstops
- M574 B1 S3 ; Set B endstops to stall detection
- M574 Y0 ; Free Y Endstop
- M574 X1 P"2.io0.in" S1 ; Set X to Switch and assign Pin
- M574 C0 ; Free C Endstop
- ; Stall Detection
- M915 B S5 F0 H200 R4700 ; Brush
- ; Brush Servo
- M950 P0 C"1.io1.out" ; Setup Servo on 3HC I/0 0 Out (Pin 4)
- M42 P0 S0.41 ; Set Servo PWM to 41%
- ; Setup Z-Probe
- M558 P8 C"2.io1.in" H3 F360 I0 T20000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
- G31 P200 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
- M557 X10:290 Y20:180 S40 ; Define mesh grid
- ; Heaters
- M308 S0 A"Bed" P"temp0" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin temp0
- M950 H0 C"out3" T0 ; create bed heater output on out2 and map it to sensor 0
- M143 H0 S250 ; set temperature limit for heater 0 to 250C
- M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
- M140 H0 ; map heated bed to heater 0
- M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 A"T0" ; define E0 temperature sensor
- M950 H1 C"out1" T1 ; Extruder 0 heater
- M143 H1 S405 ; Set temperature limit for heater 1 to 300C
- M308 S2 P"1.temp1" Y"pt1000" A"T1" ; define E1 temperature sensor
- M950 H2 C"1.out1" T2 ; Extruder 1 heater
- M143 H2 S405 ; Set temperature limit for heater 2 to 300C
- M308 S3 P"1.temp0" Y"thermistor" T100000 B4725 C7.06e-8 A"T2" ; define E2 temperature sensor
- M950 H3 C"1.out2" T3 ; Extruder 2 heater
- M143 H3 S305 ; Set temperature limit for heater 3 to 300C
- M308 S4 P"temp2" Y"thermistor" T100000 B4725 C7.06e-8 A"T3" ; define E3 temperature sensor
- M950 H4 C"out2" T4 ; Extruder 4 heater
- M143 H4 S305 ; Set temperature limit for heater 4 to 300C
- ; Fans
- M950 F0 C"out7" ; T0 Hotend Fan
- M950 F1 C"1.out7" ; T1 Hotend Fan
- M950 F2 C"1.out6" ; T2 Hotend Fan
- M950 F3 C"out8" ; T3 Hotend Fan
- M950 F4 C"out4" ; T0 Part Cooling Fan
- M950 F5 C"1.out4" ; T1 Part Cooling Fan
- M950 F6 C"1.out5" ; T2 Part Cooling Fan
- M950 F7 C"out5" ; T3 Part Cooling Fan
- M106 P0 T65 S255 H1 ; T0 HotEnd Fan
- M106 P1 T65 S255 H2 ; T1 HotEnd Fan
- M106 P2 T65 S255 H3 ; T2 HotEnd Fan
- M106 P3 T65 S255 H4 ; T3 HotEnd Fan
- M106 P4 S0 ; T0 Part Cooling Fan
- M106 P5 S0 ; T1 Part Cooling Fan
- M106 P6 S0 ; T2 Part Cooling Fan
- M106 P7 S0 ; T3 Part Cooling Fan
- ; Tools
- M563 P0 S"T0" D0 H1 F0 ; Define tool 0
- G10 P0 X0 Y0 Z0 ; Reset tool 0 axis offsets
- G10 P0 R0 S0 ; Reset initial tool 0 active and standby temperatures to 0C
- M563 P1 S"T1" D1 H2 F1 ; Define tool 1
- G10 P1 X0 Y0 Z0 ; Reset tool 1 axis offsets
- G10 P1 R0 S0 ; Reset initial tool 1 active and standby temperatures to 0C
- M563 P2 S"T2" D2 H3 F2 ; Define tool 2
- G10 P2 X0 Y0 Z0 ; Reset tool 2 axis offsets
- G10 P2 R0 S0 ; Reset initial tool 2 active and standby temperatures to 0C
- M563 P3 S"T3" D3 H4 F3 ; Define tool 3
- G10 P3 X0 Y0 Z0 ; Reset tool 3 axis offsets
- G10 P3 R0 S0 ; Reset initial tool 3 active and standby temperatures to 0C
- M563 P4 S"FeedX" D3 H4 F3 ; Define tool 4
- G10 P4 X0 Y0 Z0 ; Reset tool 3 axis offsets
- G10 P4 R0 S0 ; Reset initial tool 3 active and standby temperatures to 0C
- ;Set Hotends to Standby
- T0 P0
- T1 P0
- T2 P0
- T3 P0
- T-1 P0
- ; Additional Machine settings
- M501 ; Load config-overide.g
- M575 P1 S1 B57600 ; Enable LCD
- G92 U0 ;set U to 0
- ;M568 P4 S1 ; enable mixing for tool 4
- ;M567 P4 E1:1 ; set mixing ratios for tool 4
- ; Tool calibration offsets
- G10 P0 X20 Y43.5 Z-8.40 ; T0 axis offsets
- G10 P1 X19.8 Y43.2 Z-5.35 ; T1 axis offsets
- G10 P2 X19.85 Y43.4 Z-8.4 ; T2 axis offsets
- G10 P3 X19.75 Y43.3 Z-8.75 ; T3 axis offsets
Advertisement
Add Comment
Please, Sign In to add comment