Updates to SD card contents

Added sample SD card files for Prusa i3
Updated sample CoreXY config.g file
Updated IAP files
This commit is contained in:
David Crocker 2016-05-31 10:59:07 +01:00
parent 54f2af4abc
commit 8d37f6dffd
23 changed files with 157 additions and 16 deletions

View file

@ -11,10 +11,6 @@ M553 P255.255.255.0 ; Netmask
M555 P2 ; Set output to look like Marlin M555 P2 ; Set output to look like Marlin
M575 P1 B57600 S1 ; Comms parameters for PanelDue M575 P1 B57600 S1 ; Comms parameters for PanelDue
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
; Machine configuration ; Machine configuration
M569 P0 S1 ; Drive 0 goes forwards (change to S0 to reverse it) M569 P0 S1 ; Drive 0 goes forwards (change to S0 to reverse it)
M569 P1 S1 ; Drive 1 goes forwards M569 P1 S1 ; Drive 1 goes forwards
@ -25,12 +21,16 @@ M569 P4 S1 ; Drive 4 goes forwards
M574 X1 Y1 Z0 S1 ; set endstop configuration (X and Y and endstops only, at low end, active high) M574 X1 Y1 Z0 S1 ; set endstop configuration (X and Y and endstops only, at low end, active high)
M667 S1 ; set CoreXY mode M667 S1 ; set CoreXY mode
M92 X80 Y80 Z4000 ; Set axis steps/mm M92 X80 Y80 Z4000 ; Set axis steps/mm
M92 E420:420 ; Set extruder steps/mm
M906 X800 Y800 Z800 E800 ; Set motor currents (mA) M906 X800 Y800 Z800 E800 ; Set motor currents (mA)
M201 X800 Y800 Z15 E1000 ; Accelerations (mm/s^2) M201 X800 Y800 Z15 E1000 ; Accelerations (mm/s^2)
M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min) M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min)
M566 X600 Y600 Z30 E20 ; Maximum jerk speeds mm/minute M566 X600 Y600 Z30 E20 ; Maximum jerk speeds mm/minute
M208 X200 Y200 Z200 ; set axis maxima (adjust to suit your machine) 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) M208 X-8 Y0 Z-0.5 S1 ; set axis minima (adjust to make X=0 and Y=0 the edges of the bed)
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
; Z probe ; Z probe
M558 P1 X0 Y0 Z1 ; Analog Z probe, also used for homing the Z axis M558 P1 X0 Y0 Z1 ; Analog Z probe, also used for homing the Z axis
@ -43,23 +43,23 @@ M557 P2 X222 Y165 ; ...for bed...
M557 P3 X222 Y0 ; ...levelling M557 P3 X222 Y0 ; ...levelling
;M557 P4 X141 Y82.5 ; 5th probe point for levelling ;M557 P4 X141 Y82.5 ; 5th probe point for levelling
; Thermistors and heaters
;*** If you have a Duet board with 1K thermistor series resistors, change R4700 to R1000 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 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
M305 P1 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
M305 P2 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
M301 H1 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 0
M301 H2 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 1
M570 S120 ; Increase to allow extra heating time if needed
; Tool definition ; Tool definition
M563 P0 D0 H1 ; Define tool 0 M563 P0 D0 H1 ; Define tool 0
G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures 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, un-comment the following 3 lines
;*** 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 ;M563 P1 D1 H2 ; Define tool 1
;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures ;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 ;*** If you are using axis compensation, put the figures in the following command
M556 S78 X0 Y0 Z0 ; Axis compensation here M556 S78 X0 Y0 Z0 ; Axis compensation here
;
T0 ; select first hot end T0 ; select first hot end

View file

@ -20,7 +20,7 @@ G90 ; back to absolute mode
; The following code assumes you are using a Z probe to do Z homing. Remove it if you are using a microswitch. ; The following code assumes you are using a Z probe to do Z homing. Remove it if you are using a microswitch.
; Adjust the XY coordinates in the following to place the Z probe over a suitable spot, ; Adjust the XY coordinates in the following to place the Z probe over a suitable spot,
; preferably near the centred of the bed if your Z probe supports that ; preferably near the centre of the bed if your Z probe supports that
G1 X100 Y100 F2000 G1 X100 Y100 F2000
G30 G30

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,66 @@
; Prusa i3 config file for dc42 Duet firmware
; Prologue and comms section
M111 S0 ; Debug off
M550 PPrusai3 ; Machine name (can be anything you like)
M551 Preprap ; Machine password
;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
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
; Movement section
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
M574 X1 Y1 Z0 S1 ; set endstop configuration (X and Y endstops only, at low end, active high)
M906 X800 Y800 Z800 E1000 ; 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 ; Minimum speeds mm/minute
M208 X200 Y200 Z200 ; set axis maxima (adjust to suit your machine)
M208 X0 Y0 Z-0.2 S1 ; set axis minimum (adjust to make X=0 and Y=0 the edge of the bed)
M92 X80 Y80 Z2560 ; Set axis steps/mm
M92 E420:420 ; Set extruder steps per mm
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
; Z probe section
M558 P1 X0 Y0 Z1 H3 F200 T5000 ; Smart IR Z probe, used for homing Z axis, dive height 3mm, probe speed 200mm/min, travel speed 5000mm/min
G31 X11.0 Y0.5 Z1.20 P500 ; Set the probe height and threshold (put your own values here)
; Heater and thermistor section
;*** If you have a Duet board with 1K thermistor series resistors, change R4700 to R1000 to the following M305 commands
M305 P0 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
M305 P1 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
M305 P2 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
M301 H1 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 0
M301 H2 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 1
M570 S120 ; Increase to allow extra heating time if needed
; Tool definition section
M563 P0 D0 H1 ; Define tool 0 to use extruder drive 0 and heater 1
G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
;*** If you have a dual-nozzle build, un-comment the following 2 lines
;M563 P1 D1 H2 ; Define tool 1
;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
; Bed probe section (not needed if you use a bed.g file)
;*** Adjust the XY coordinates in the following M557 commands to suit your build and the position of your Z probe
M557 P0 X60 Y0 ; Four...
M557 P1 X60 Y165 ; ...probe points...
M557 P2 X200 Y165 ; ...for bed...
M557 P3 X200 Y0 ; ...levelling
;M557 P4 X141 Y82.5 ; 5th probe point for levelling (un-comment this to get a 5th point at the centre of the bed)
; Epilogue
;*** 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

View file

@ -0,0 +1,15 @@
; Prusa i3 homeall file for use with dc42 Duet firmware
; Adjust the bed upper and lower limits in config.g (M208 commands) to get the correct homing positions
G91
G1 Z4 F200 ; raise head 4mm to keep it clear of the bed
G1 X-240 Y-240 F3000 S1 ; course home X and Y
G1 X4 Y4 F600 ; move 4mm away from the homing switches
G1 X-10 Y-10 S1 ; fine home X and Y
G90
G1 X100 Y100 F2000 ; move tol bed centre for probing
G30
; This file leaves the head at the zprobe trigger height so that you can slip a piece of paper under it and then do G0 Z0 to check the height.
; If you prefer to send the printer to X0Y0Z0, un-comment the following lines
;G1 X0 Y0 Z0 F5000

View file

@ -0,0 +1,9 @@
; Prusa i3 Y homing file for dc42 Duet firmware
; This version is for a homing switch at the low end of the axis
G91
G1 Z4 F200
G1 X-240 F3000 S1
G1 X4 F600
G1 X-10 S1
G1 Z-4 F200
G90

View file

@ -0,0 +1,9 @@
; Prusa i3 Y homing file for dc42 Duet firmware
; This version is for a homing switch at the low end of the axis
G91
G1 Z4 F200
G1 Y-240 F3000 S1
G1 Y4 F600
G1 Y-10 S1
G1 Z-4 F200
G90

View file

@ -0,0 +1,8 @@
; Z homing file for Prusa i3 or similar printer using a Z probe for Z homing
G91
G1 Z5 F200
G90
G1 X100 Y100 F9000
G30
; Un-comment the following line if you want the head to actually move to Z=0 after homing
;G1 Z0 F200

Binary file not shown.

View file

@ -0,0 +1,7 @@
; Pause macro file
M83 ; relative extruder moves
G1 E-4 F2500 ; retract 4mm
G91 ; relative moves
G1 Z5 F5000 ; raise nozzle 2mm
G90 ; absolute moves
G1 X0 Y200 F5000 ; move head out of the way of the print

View file

@ -0,0 +1,5 @@
; Resume macro file
G1 R1 Z2 F5000 ; move to 2mm above resume point
G1 R1 ; lower nozzle to resume point
M83 ; relative extruder moves
G1 E4 F2500 ; undo the retraction

View file

@ -0,0 +1,2 @@
; tfree1.g
; Put G/M Codes in here to run when Tool 1 is freed

View file

@ -0,0 +1,2 @@
; tfree2.g
; Put G/M Codes in here to run when Tool 2 is freed

View file

@ -0,0 +1,5 @@
; tpost1.g
; Put G/M Codes in here to run after Tool 1 is selected
; un-comment the following line if you have a dual-nozzle build
;M116 P1

View file

@ -0,0 +1,5 @@
; tpost1.g
; Put G/M Codes in here to run after Tool 1 is selected
; un-comment the following line if you have a dual-nozzle build
;M116 P1

View file

@ -0,0 +1,4 @@
; tpre1.g
; Put G/M Codes in here to run before Tool 1 is selected
; un-comment the following line if you have a dual-nozzle build
;G1 X1 Y205 F6000

View file

@ -0,0 +1,4 @@
; tpre2.g
; Put G/M Codes in here to run before Tool 2 is selected
; un-comment the following line if you have a dual-nozzle build
;G1 X1 Y205 F6000

Binary file not shown.