Ft-5/Duet wifi/Cura Prints not homing properly, Help!
-
I just upgraded my board to the latest duet firmware 1.21, using Cura with the FT-5 printer. I can move around and home perfectly fine both with the individual axis and with the home all. The problem arrises when I try to print a file generated in Cura. After homing the printer and loading up a file, the head wants to move beyond the print area. The Z moves up into the head, the X moves further away in the + direction. My home position is in the upper right corner of the 300x300 bed, the Z is 400mm. My axis movements all begin in the minus X, Y, and Z direction from home as I am using the minus quadrant relative to my zero. I suspect the problem is in the Cura start code? Ive been trying to get up and running for four days now with no success. Any help on getting my prints set up in the middle would be great!
My Config.g file:
; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Wed Oct 17 2018 15:55:24 GMT-0400 (Eastern Daylight Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Drives
M569 P0 S1 ; Drive 0 goes forwards
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.22 Y80.22 Z400.5 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 Y20 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; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X300 Y300 Z400 S0 ; Set axis maxima; Endstops
M574 X1 Y1 S1 ; Set active high endstops; Z-Probe
M558 P0 H5 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
M557 X15:285 Y15:285 S20 ; Define mesh grid; Heaters
M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
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; 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; 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; Automatic power saving
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss; Custom settings
M501The Start code from Cura:
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z-5.0 F3000 ;move the platform down 5mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;Zero the extruded length again
G1 F3000
;Put printing message on LCD screen
M117 Printing...Can anyone please help me with the correct parameters here?
-
What firmware did you upgrade from? There was a bug fix regarding corexy motor direction. Might want to give the release notes a read for the versions between what you were using and what you upgraded to. I think your answer is in there.
You can verify your motor direction and axis configuration here: https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_Movement_section
-
The firmware version is the same, but I installed the duet2combinedfirmware, webcontrol1.22.3 and the duetwifiserver1.21.1. I'll take a look at the file, hope it helps. Thanks
-
The Cura start code looks fine, but it would help to see your homing files since that's what actually controls the homing moves.
-
My printer is not formatted for corexy but cartesian, via the manufacturer. Here are the homeall settings:
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Thu Oct 18 2018 03:31:05 GMT-0400 (Eastern Daylight Time)
G91 ; relative positioning
G1 Z-5 F6000 S2 ; lower Z relative to current position
G1 S1 X305 Y305 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 X-5 Y-5 F6000 ; go back a few mm
G1 S1 X305 Y305 F360 ; move slowly to X and Y axis endstops once more (second pass)
G1 S1 Z405 F1800 ; move Z up stopping at the endstop
G90 ; absolute positioning
G92 Z0 ; set Z to axis minimum (you may want to adjust this); Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 S2 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning -
My mistake. I thought the FT 5 was corexy.
Try this instead.
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter
-
I used this initially and definitely got the printer up and running, everything moves as it should. The problem is printing from cura, it wants to print in the wrong location. It seems to want to print in the positive XY quadrant when it should be in the negative quadrant. It looks like cura reverses the axis and start point. I posted the cura start code. Do you think its a problem with the G90 and G91 commands?
-
Can you post the first 50 lines or so of an actual sliced gcode file?
How do you have your bed setup in Cura printer properties?
Have you tried another slicer?
If you jog the printer manually does it move the way it should?
-
I just ran pronterface, tried to print and this is the gcode I got:
Center.gcode, 76886 lines
15026.67mm of filament used in this print
The print goes:- from 0.00 mm to 188.79 mm in X and is 188.79 mm wide
- from 0.00 mm to 188.79 mm in Y and is 188.79 mm deep
- from 0.00 mm to 25.10 mm in Z and is 25.10 mm high
Estimated duration: 126 layers, 1:16:11
Setting hotend temperature to 220.000000 degrees Celsius.
Setting bed temperature to 60.000000 degrees Celsius.
M564 H0 S0
SENDING:M564 H0 S0
Bad command: -1 M110
Print started at: 15:02:24
[ERROR] Failed to set power settings:
Traceback (most recent call last):
File "/Users/craigvanvliet/Desktop/PyInstaller-2.1/pronterface/build/pronterface/out00-PYZ.pyz/printrun.pronsole", line 1173, in startcb
File "/Users/craigvanvliet/Desktop/PyInstaller-2.1/pronterface/build/pronterface/out00-PYZ.pyz/printrun.power", line 130, in powerset_print_start
File "/Users/craigvanvliet/Desktop/PyInstaller-2.1/pronterface/build/pronterface/out00-PYZ.pyz/printrun.power.osx", line 72, in inhibit_sleep_osx
File "/Users/craigvanvliet/Desktop/PyInstaller-2.1/pronterface/build/pronterface/out00-PYZ.pyz/printrun.power.osx", line 49, in AssertionCreateWithName
File "/Users/craigvanvliet/Desktop/PyInstaller-2.1/pronterface/build/pronterface/out00-PYZ.pyz/printrun.power.osx", line 40, in StringToCFString
AttributeError: 'module' object has no attribute 'kCFStringEncodingASCII'Apparantly I have a few errors.
-
The machine missed a whole bunch of steps at the beginning of the print, it was trying to move beyond the print area to another quadrant. It should be printing in the center. Im not sure what to make of the error code.
-
Sorry, I meant "printrun" not pronterface.
-
this might help as I have a cartesian AM8
; config.g; General preferences
M564 H0 ;comment out after setup allows move past end-stops
; Network*****Access point is configured manually via M587
M550 PPetra's-Little Toy ; Set machine name
M552 S1 ; Enable network
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet
M555 P2 ; Set firmware compatibility to look like Marlin output; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes backwards
M569 P3 S0 ; Drive 3 goes backwards for titan
M350 X16 Y16 Z16 E16 I1 ; Configure micro-stepping with interpolation
M92 X100 Y100 Z400 E437 ; Set steps per mm ( 99.5 for standard extruder)
M566 X1000 Y1000 Z320 E300 ; Set maximum instantaneous speed changes (mm/min) jerk settings. was 600 600 40
M203 X18000 Y18000 Z800 E3000 ; Maximum speeds (mm/min)
M201 X2000 Y2000 Z320 E10000 ; Set accelerations (mm/s^2) from X480 Y240 Z250 E1000
M204 P400 T1000 ; Lower accelerations when printing though
M906 X600 Y600 Z600 E700 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
G21 ; Work in millimeters
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Axis Limits
M208 X-15 Y-20 Z0 S1 ; Set axis minima
M208 X275 Y235 Z280 S0 ; Set axis maxima; Endstops and set inductive sensor
;M307 H7 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duex board.(for bltouch)
M574 X1 Y2 S0 ; X home to min. Y home to max. N0pen micro-switches.
M574 Z1 S2 ; Define Z to use Probe. Home to Min.
M558 P5 H2 F200 T6000 X0 Y0 Z1 I1 ; Set Z probe type/mode 5. Inverted output I1 Not using on XY, but using it on Z. F200 dive speed T6000 travel speed
G31 P350 X30 Y2 Z0.40 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
M557 X5:246 Y20:210 S20 ; Define mesh grid at edge; Heaters
M307 H0 A148.7 C890.0 D1.2 S1.00 V13.9 B0 ; AUTO-TUNE bed
M307 H1 A723.4 C274.7 D6.1 S1.00 V13.8 B0 ; 2nd PID tune PT1000 Sensor
M305 P0 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 0 BED
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 X501 ; Configure thermocouple for heater 1 PT1000
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S255 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; Tools
M563 P0 S"Hotend" 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; Pressure Advance
M572 D0 S0.25; Power Loss
M911 S12 R13 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss; Custom settings are not configured
and my homeall.g
; homeall.g
; called to home all axes
;
; generated by ME
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 X-280 Y280 F6000 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 X5 Y-5 F2000 ; go back a few mm
G1 S1 X-205 Y225 F360 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioning
G1 X110 Y118 F6000 ; go to bed center point and
G30 ; home Z by probing the bed; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 S2 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioningand my start code from s3d
G30 ; home all axes
G1 X30 Y30 Z0.2 F3000 ; get ready to prime
G92 E0 ; reset extrusion distance
G29 S1
G1 X180 E20 F800 ; prime nozzle
M83hope this helps
-
Are you printing from the DWC by uploading the gcode to the SD card or are you printing via usb?
How do you have the bed setup in Cura?
-
-
@starpowersolaryahoo-com not sure if this will help you but you may want to change to reprapfirmware gcode flavour
-
Aaa...nd reading that I just realized I forgot to comment out the first M305 when I put in a PT1000
-
@phaedrux It made no difference, same result. Im dead in the water here.
-
@stewwy We have different machines, but Ill try your settings. Thx
-
See my additional questions from a few posts up.
-
When sending a print, the XY motors start moving and skipping steps, then the they move to the wrong location and begin printing. Ive included a link to a youtube video that shows their behavior, https://youtu.be/uHj62Tgl_jw. Anyone have any idea of whats going on? Again the printer homes correctly but reacts like this when attempting to print.