
New features ============ The PWM frequency for the heated bed and for any heater used as a chamber heater is now 10Hz for bettercompatibility with DC-AC SSRs. The PWM frequency for fans is now configurable using the F paramete ron the M106 command. The default is 500Hz, which gives esonable control of fans not designed for PWM. Increase it to 25000Hz when using 4-wire PWM fans. When a Duet 0.8.5 board is configured or detected, the fan control is now automatically inverted. If you previously used M106 P0 I1 in config.g to invert it, you will need to remove that. M579 (scale Cartesian axes) is now implemented (thanks chrishamm). M114, M119 and M573 commands can now be executed concurrently with other commands. When DDA debugging is enabled, the debug output now includes all active extruders instead of just the first two. M408 S0 now includes the fan speeds (for PanelDue). M119 now reports the Z probe as well as the endstop switch states. A tool can now be defined even if a tool with the same tool number exists already. The existing tool will be shut down and deleted. The bed heater can now be disabled using M140 S-1 (thanks chrishamm). The chamber heater (if present) and the endstop switch states are now reported to the web interface (thanks chrishamm). Increased defauklt Z prove dive height to 5mm. Increased default PID Ki to 0.2 Bug fixes ========= On a CoreXY machine, XY speeds were too low by a factor of sqrt(2). On a delta machine, after running auto calibration the Z=0 height could be slightly inaccurate, depending on the difference between the X and Z endstop corrections When using a non-intelligent modulated Z probe on a Duet 0.8.5, the modulation pin number was incorrect. The M27 (Report SD card print status) response was inverted compared to what it should be. When in Marlin mode it now includes the "byte n/m" field that some versions of Pronterface expect. Cold extrusion prevention did not work - an error message was generated, but the extruder was driven anyway. M999 PERASE is now more reliable (thanks chrishamm). M23, M30 and M32 commands did not work when the filename parameter passed included an absolute path. //A T command inside a macro file did not execute the tool change macros files. A memory leak occurred when a tool was deleted. All moves are now completed before switching to CoreXY mode. Polling requests from PanelDue were not relied to when a macro was being executed M667 with no parameters returned an incorrect string
64 lines
3.7 KiB
Text
64 lines
3.7 KiB
Text
; CoreXY sample config file for dc42 Duet firmware
|
|
|
|
M111 S0 ; Debug off
|
|
M550 PMyCoreXY ; Machine name (can be anything you like)
|
|
M551 Preprap ; Machine password (used for FTP connections)
|
|
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
|
|
;*** Adjust the IP address and gateway in the following 2 lines to suit your network
|
|
M552 P0.0.0.0 ; IP address (0 = use DHCP)
|
|
M554 P192.168.1.1 ; Gateway
|
|
M553 P255.255.255.0 ; Netmask
|
|
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
|
|
|
|
; Machine configuration
|
|
M569 P0 S1 ; Drive 0 goes forwards (change to S0 to reverse it)
|
|
M569 P1 S1 ; Drive 1 goes forwards
|
|
M569 P2 S1 ; Drive 2 goes forwards
|
|
M569 P3 S1 ; Drive 3 goes forwards
|
|
M569 P4 S1 ; Drive 4 goes forwards
|
|
; If you use an endstop switch for Z homing, change Z0 to Z1 in the following line, and see also M558 command later in this file
|
|
M574 X1 Y1 Z0 S1 ; set endstop configuration (X and Y and endstops only, at low end, active high)
|
|
M667 S1 ; set CoreXY mode
|
|
M906 X800 Y800 Z800 E800 ; Set motor currents (mA)
|
|
M201 X800 Y800 Z15 E1000 ; Accelerations (mm/s^2)
|
|
M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min)
|
|
M566 X600 Y600 Z30 E20 ; Maximum jerk speeds mm/minute
|
|
M208 X200 Y200 Z200 ; set axis maxima (adjust to suit your machine)
|
|
M208 X-8 Y0 Z-0.5 S1 ; set axis minima (adjust to make X=0 and Y=0 the edges of the bed)
|
|
|
|
; Z probe
|
|
M558 P1 X0 Y0 Z1 ; Analog Z probe, also used for homing the Z axis
|
|
G31 Z1.20 P500 ; Set the probe height and threshold (put your own values here)
|
|
; The following M557 commands are not needed if you are using a bed.g file to perform bed compensation
|
|
;*** Adjust the XY coordinates in the following M557 commands to suit your build and the position of the Z probe
|
|
M557 P0 X60 Y0 ; Four...
|
|
M557 P1 X60 Y165 ; ...probe points...
|
|
M557 P2 X222 Y165 ; ...for bed...
|
|
M557 P3 X222 Y0 ; ...levelling
|
|
;M557 P4 X141 Y82.5 ; 5th probe point for levelling
|
|
|
|
; Tool definition
|
|
M563 P0 D0 H1 ; Define tool 0
|
|
G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
|
|
M92 E420 ; Set extruder steps per mm (single nozzle)
|
|
;*** If you have a dual-nozzle build, remove or comment out the previous line, and un-comment the following 3 lines
|
|
;M563 P1 D1 H2 ; Define tool 1
|
|
;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
|
|
;M92 E420:420 ; Set extruder steps/mm (dual nozzle)
|
|
|
|
; Thermistors and heaters
|
|
;*** If you have a Duet board with 4.7K thermistor series resistors, change R1000 to R4700 to the following M305 commands
|
|
; You can also use S and B parameters to define the parameters of the thermistors you are using
|
|
M305 P0 R1000 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
|
|
M305 P1 R1000 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
|
|
M305 P2 R1000 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
|
|
|
|
;*** If you are using axis compensation, put the figures in the following command
|
|
M556 S78 X0 Y0 Z0 ; Axis compensation here
|
|
;
|
|
T0 ; select first hot end
|