Newbie looking for some setup guidance... November 13, 2017 09:05PM |
Registered: 7 years ago Posts: 128 |
;*** Networking - Enable for both WiFi and Ethernet boards. M552 S1 ; Turn network on ;*** Ethernet networking: Adjust the IP address and gateway in the following 2 lines to suit your network M552 P192.168.3.118 ; (0 = DHCP) M554 P192.168.3.9 ; Gateway M553 P255.255.255.0 ; Netmask M555 P2 ; Set output to look like Marlin G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Disable Fan 1 thermostatic mode M106 P1 H-1 ; Axis and motor configuration M667 S1 ; switch to CoreXY mode M569 P0 S0 ; Drive 0 goes backwards M569 P1 S0 ; Drive 1 goes backwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high) ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration M665 R105.6 L215.0 B85 H250 ; set delta radius, diagonal rod length, printable radius and homed height M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them M350 X16 Y16 Z16 E16:16 I1 ; Set 16x microstepping with interpolation M92 X80 Y80 Z80 ; Set axis steps/mm M906 X1000 Y1000 Z1000 E800 I60 ; Set motor currents (mA) and increase idle current to 60% M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2) M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min) M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute ; Thermistors M305 P0 T100000 B3950 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set first nozzle thermistor ADC correction M305 P2 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set 2nd nozzle thermistor ADC correction M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds ; Adjustments for J-heads used as dummy heaters on test rig M307 H0 A250 C140 D5.5 B1 M307 H1 A250 C140 D5.5 B0 M307 H2 A250 C140 D5.5 B0 ; Fans M106 P1 S-1 ; disable thermostatic mode for fan 1 ; Tool definitions M563 P0 D0 H1 ; Define tool 0 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures ;*** If you have a single-nozzle build, comment the next 2 lines ;M563 P1 D1 H2 ; Define tool 1 ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures M92 E663:663 ; Set extruder steps per mm ; Z probe and compensation definition ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command M558 P1 X0 Y0 Z0 ; Z probe is an IR probe and is not used for homing any axes G31 X0 Y0 Z4.80 P500 ; Set the zprobe height and threshold (put your own values here) ;*** If you are using axis compensation, put the figures in the following command M556 S78 X0 Y0 Z0 ; Axis compensation here M208 S1 Z-0.2 ; set minimum Z T0 ; select first hot end
Re: Newbie looking for some setup guidance... November 14, 2017 03:03AM |
Registered: 8 years ago Posts: 5,232 |
Re: Newbie looking for some setup guidance... November 14, 2017 06:56AM |
Registered: 7 years ago Posts: 128 |
Re: Newbie looking for some setup guidance... November 14, 2017 08:20AM |
Registered: 10 years ago Posts: 14,672 |
Re: Newbie looking for some setup guidance... November 14, 2017 01:39PM |
Registered: 7 years ago Posts: 128 |
Re: Newbie looking for some setup guidance... November 15, 2017 05:40AM |
Registered: 10 years ago Posts: 14,672 |
Re: Newbie looking for some setup guidance... November 15, 2017 07:19AM |
Registered: 7 years ago Posts: 128 |
B; Configuration file for Duet WiFi (firmware version 1.17 to 1.19) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Tue Nov 14 2017 17:05:20 GMT-0500 (Eastern Standard Time) ; General preferences M111 S0 ; Debugging off G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P1 ; Set firmware compatibility to look like RepRapFirmare M667 S1 ; Select CoreXY mode M208 X0 Y0 Z0 S1 ; Set axis minima M208 X300 Y300 Z320 S0 ; Set axis maxima ; Endstops M574 X1 Y2 Z1 S1 ; Set active high endstops M558 P0 X0 Y0 Z0 H5 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height M557 X15:285 Y15:310 S20 ; Define mesh grid ; Drives M569 P0 S0 ; Drive 0 goes backwards M569 P1 S0 ; Drive 1 goes backwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X80 Y80 Z4000 E420 ; Set steps per mm M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min) M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min) M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2) M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Heaters M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0 M143 H0 S120 ; Set temperature limit for heater 0 to 120C M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1 M143 H1 S280 ; Set temperature limit for heater 1 to 280C ; Tools M563 P0 D0 H1 ; Define tool 0 G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C ; Network M550 PDuetPrinter ; Set machine name M551 Ppassword ; Set password M552 S1 ; Enable network M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Fans M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Custom settings are not configured
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool on Tue Nov 14 2017 17:05:20 GMT-0500 (Eastern Standard Time) ; Lift Z relative to current position G91 G1 Z5 F6000 G90 ; Move quickly to X axis endstop and stop there (first pass) G1 X-300 F1800 S1 ; Go back a few mm G91 G1 X5 F6000 G90 ; Move slowly to X axis endstop once more (second pass) G1 X-300 F360 S1 ; Lower Z again G91 G1 Z-5 F6000 G90
Re: Newbie looking for some setup guidance... November 15, 2017 08:21AM |
Registered: 10 years ago Posts: 14,672 |
Re: Newbie looking for some setup guidance... November 15, 2017 06:07PM |
Registered: 7 years ago Posts: 128 |
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool on Tue Nov 14 2017 17:05:20 GMT-0500 (Eastern Standard Time) G91 ; relative positioning G1 X-305 F2000 S1 ; move to limit G1 X5 F600 G1 X-10 F100 S1 G1 X6 F2000 ; Offset to correct zero position. G90 ; absolute positioning G92 X0
Re: Newbie looking for some setup guidance... November 15, 2017 06:21PM |
Registered: 10 years ago Posts: 14,672 |
Re: Newbie looking for some setup guidance... November 16, 2017 04:10PM |
Registered: 7 years ago Posts: 128 |
DC42, Thanks for your insight as ultimately the switch wiring and the machine properties page got me squared away. My newness overlooked that the Properties End Stop message said "EndStop Hit" was "yes" for all the axes.. Ultimately the problem was not that the switches were incorrectly wired, since the board had the 3.3v green light lit, but that the Gcode for the switches was set to normally closed and the switches are normally open. ; Endstops M574 X1 Y2 Z1 S1 ; Set active high endstops modified to: ; Endstops M574 X1 Y2 Z1 S0 ; Set active high endstops
Re: Newbie looking for some setup guidance... November 19, 2017 08:24AM |
Registered: 7 years ago Posts: 128 |
G91 ; relative positioning G1 X-305 F2000 S1 ; move to limit G1 X5 F600 G1 X-10 F100 S1 G1 X6 F2000 ; Offset to correct zero position. G90 ; absolute positioning G92 X0
G91 ; relative positioning
G1 X-305 F2000 S1 ; move to limit
G90 ; absolute positioning
G1 X6 F2000 ; Offset to correct zero position G92 X0
Re: Newbie looking for some setup guidance... November 19, 2017 09:45AM |
Registered: 8 years ago Posts: 5,232 |
Re: Newbie looking for some setup guidance... November 19, 2017 12:29PM |
Registered: 7 years ago Posts: 128 |
Re: Newbie looking for some setup guidance... November 19, 2017 03:42PM |
Registered: 8 years ago Posts: 622 |
Quote
ampapa
Thanks o_Lampe but I was hoping for a little more layman terms explanation than just the technical aspects.
I mean, why change to G91 when homing? and why add an S1 on the end of a homing move?
ampapa,
Re: Newbie looking for some setup guidance... November 19, 2017 09:16PM |
Registered: 7 years ago Posts: 128 |
G91 ; relative positioning G1 X-305 F2000 S1 ; move to limit G1 X5 F600 G1 X-10 F100 S1 G1 X6 F2000 ; Offset to correct zero position. G90 ; absolute positioning
Re: Newbie looking for some setup guidance... November 20, 2017 02:24AM |
Registered: 10 years ago Posts: 14,672 |
Quote
ampapa
...
In the below code, could I throw in the Y and Z axis homing before submitting a G90?
G91 ; relative positioning G1 X-305 F2000 S1 ; move to limit G1 X5 F600 G1 X-10 F100 S1 G1 X6 F2000 ; Offset to correct zero position. G90 ; absolute positioning
ampapa,
Re: Newbie looking for some setup guidance... November 25, 2017 09:20AM |
Registered: 7 years ago Posts: 128 |
Re: Newbie looking for some setup guidance... November 25, 2017 01:21PM |
Registered: 10 years ago Posts: 14,672 |
Re: Newbie looking for some setup guidance... November 25, 2017 05:02PM |
Registered: 7 years ago Posts: 128 |
M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and increase idle current to 30%
Re: Newbie looking for some setup guidance... November 26, 2017 02:40AM |
Registered: 10 years ago Posts: 14,672 |
Re: Newbie looking for some setup guidance... November 26, 2017 08:06AM |
Registered: 7 years ago Posts: 128 |
Re: Newbie looking for some setup guidance... November 26, 2017 12:22PM |
Registered: 10 years ago Posts: 14,672 |
Re: Newbie looking for some setup guidance... November 27, 2017 07:56AM |
Registered: 7 years ago Posts: 128 |
Re: Newbie looking for some setup guidance... November 27, 2017 08:51AM |
Registered: 10 years ago Posts: 14,672 |
Re: Newbie looking for some setup guidance... November 27, 2017 11:46AM |
Registered: 8 years ago Posts: 5,232 |
Re: Newbie looking for some setup guidance... November 27, 2017 10:57PM |
Registered: 7 years ago Posts: 128 |
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X100 Y100 Z1600 E100 ; Set steps per mm M566 X900 Y900 Z12 E1200 ; Set maximum instantaneous speed changes (mm/min) M203 X12000 Y12000 Z360 E2500 ; Set maximum speeds (mm/min) M201 X500 Y500 Z250 E500 ; Set accelerations (mm/s^2) M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
Re: Newbie looking for some setup guidance... November 28, 2017 03:18AM |
Registered: 10 years ago Posts: 14,672 |
Re: Newbie looking for some setup guidance... November 28, 2017 07:13AM |
Registered: 7 years ago Posts: 128 |
Re: Newbie looking for some setup guidance... November 28, 2017 07:23AM |
Registered: 7 years ago Posts: 128 |