How Do I Calibrate My Titan Extruder and Test Print?
-
Move the S2 to the end of the line:
G1 Z5 F6000 S2
…rather than:
S2 G1 Z5 F6000
-
G1 S2 Z5 F6000 will also work. The important thing is that the actual command (G1 in this case) comes first.
-
OK, updated homeall.g, homez.g and I get this error:
G28
Error: G0/G1: insufficient axes homedIt homes X and Y first, then stops. Does anyone have a copy of their homeall.g file so I can have a look at it and appropriate it for my printer? Is there anything else I need to update?
-
Please post your current homez.g and homeall.g files
-
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Sat Mar 04 2017 15:46:00 GMT+0100 (W. Europe Standard Time); Relative positioning
G91; Lift Z
G1 S2 Z5 F6000; Course home X and Y
G1 X-235 Y-215 F4000 S1; Move away from the endstops
G1 X5 Y5 F5000; Fine home X and Y
G1 X-235 Y-215 F250 S1; Absolute positioning
G90; Go to first bed probe point and home Z
T0 ; select first hot end
G91 ; Relative coordinates
G1 Z3 F200 ; Lower bed to avoid hotend dragging in bed.
G90 ; Absoulte coordinates
G1 X170 Y125 F3000 ; Go to first bed probe point and home the Z axis
M401 ; Deploy probe
G30 ; Probe
M402 ; Retract probe
G1 Z10 ; Move nozzle up 10mmhomez.g:
T0 ; select first hot end
G91 ; Relative coordinates
G1 S2 Z10 F200 ; Lower bed to avoid hotend dragging in bed.
G90 ; Absolute coordinates
G1 S2 X170 Y125 F3000 ; Go to first bed probe point and home the Z axis
M401 ; deploy probe
G30 ; Calibrate Z-axis
G1 S2 Z10
M402
G1 S2 Z2 F200 ; Raise bed to 2mm.
G1 S2 Z10 -
Also, I just found out that my bed is moving backwards on the Y axis on start up, along with heating.
The only thing different about my printer before and when it was working is the 1.21 update.
1. WiFi module won't start when printer is switched on, and requires a third-party program to run M552 S1 to start.
2. Bed heats up with full power.
3. Bed moves backwards slowly on Y axis until Y stop on start up.
4. Can't Home All axis because the G-code is incomplete. -
This line in homeall.g:
G1 Z3 F200 ; Lower bed to avoid hotend dragging in bed.
needs the S2 parameter added.
Regarding the issues on startup, please post your config.g file.
-
;Config.g
; General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates…
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X340 Y250 Z280 S0 ; Set axis maxima; Endstops
M574 X1 Y1 Z1 S0 ; Define active low and unused microswitches
M558 P5 X0 Y0 Z1 H10 F200 T6000 ; Set Z probe type to modulated, the axes for which it is used and the probe + travel speeds
G31 X-44 Y0 Z7.03 P50 ; Set Z probe trigger value, offset and trigger height; Z-offset (Z0.9). Higher value LOWER nozzle height
; Lower value RAISE nozzle heightM557 X10:340 Y10:240 S68 ; Define mesh grid
M307 H3 A-1 C-1 D-1 ; disable heater 3, which makes it available for use to control the BLTouch
; Drives
M569 P0 S1 ; Drive 0 goes forwards - X
M569 P1 S0 ; Drive 1 goes backwards - Y
M569 P2 S0 ; Drive 2 goes backwards - Z
M569 P3 S1 ; Drive 3 goes forwards - ExtruderM350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation 16
M92 X160 Y160 Z1600 E615 ; Set steps per mm 16M566 X600 Y420 Z12 E120 ; Set maximum instantaneous speed changes (mm/min) - (JERK)
M203 X6000 Y6000 Z500 E400 ; Set maximum speeds (mm/min)
M201 X1000 Y1000 Z1000 E250 ; Set accelerations (mm/s^2)
M204 P1000 T1000 ; Set Max acceleration for P=printing moves and T=travel moves
M906 X1600 Y1600 Z900 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M143 S285 ; Set maximum heater temperature to 285CM305 P0 R4700 T100000 B3950 ; Set thermistor + ADC parameters for heater 0 - BED
M305 P1 R4700 T100000 B3950 ; Set thermistor + ADC parameters for heater 1 - HOTENDM307 H0 P96.0, I3.285, D603.9 ;Bed
M307 H1 A250 C999 D4.5 B0 S1 ;Hotend; 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 PCLU ; Set machine name
M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP; 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
-
If there's a vanilla config that comes with 1.21, maybe I should just start with that, then bring across some specific parameters for my printer.
-
This line:
@aarongreen said in How Do I Calibrate My Titan Extruder and Test Print?:
M307 H0 P96.0, I3.285, D603.9 ;Bed
is completely wrong. I suggest you delete it, restart the Duet, run bed heater tuning (M303 H0 Sxxx where xxx is the highest bed temperature you normally use), then run M500 to save the new M307 parameter to config-override.g. As you do not have a M501 command at the end of config.g to run config-override.g (which is a perfectly valid choice), you will then need to copy the M307 H0 line from config-override.g into config.g.
-
@dc42 said in How Do I Calibrate My Titan Extruder and Test Print?:
is completely wrong. I suggest you delete it, restart the Duet, run bed heater tuning (M303 H0 Sxxx where xxx is the highest bed temperature you normally use), then run M500 to save the new M307 parameter to config-override.g. As you do not have a M501 command at the end of config.g to run config-override.g (which is a perfectly valid choice), you will then need to copy the M307 H0 line from config-override.g into config.g.
OK, ran through that process thanks. I copied the data across and it appears to be stable.
; Heaters
M143 S285 ; Set maximum heater temperature to 285CM305 P0 R4700 T100000 B3950 ; Set thermistor + ADC parameters for heater 0 - BED
M305 P1 R4700 T100000 B3950 ; Set thermistor + ADC parameters for heater 1 - HOTENDM307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B1 ;Bed
M307 H1 A250.0 C999.0 D4.5 S1.00 V0.0 B0
M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H1 A250 C999 D4.5 B0 S1 ;Hotend -
I'm unable to test the bed heater control, as I can't home the printer.
I've checked all the connections since moving, and everything is in place, however when I home the printer just rams X with the grantry and Y with the bed. The sensors are in place as well, so I'm guessing something isn't correct in the config again?
;Config.g
; General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates…
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X340 Y250 Z280 S0 ; Set axis maxima; Endstops
M574 X1 Y1 Z1 S0 ; Define active low and unused microswitches
M558 P5 X0 Y0 Z1 H10 F200 T6000 ; Set Z probe type to modulated, the axes for which it is used and the probe + travel speeds
G31 X-44 Y0 Z7.03 P50 ; Set Z probe trigger value, offset and trigger height; Z-offset (Z0.9). Higher value LOWER nozzle height
; Lower value RAISE nozzle heightM557 X10:340 Y10:240 S68 ; Define mesh grid
M307 H3 A-1 C-1 D-1 ; disable heater 3, which makes it available for use to control the BLTouch
; Drives
M569 P0 S1 ; Drive 0 goes forwards - X
M569 P1 S0 ; Drive 1 goes backwards - Y
M569 P2 S0 ; Drive 2 goes backwards - Z
M569 P3 S1 ; Drive 3 goes forwards - ExtruderM350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation 16
M92 X160 Y160 Z1600 E615 ; Set steps per mm 16M566 X600 Y420 Z12 E120 ; Set maximum instantaneous speed changes (mm/min) - (JERK)
M203 X6000 Y6000 Z500 E400 ; Set maximum speeds (mm/min)
M201 X1000 Y1000 Z1000 E250 ; Set accelerations (mm/s^2)
M204 P1000 T1000 ; Set Max acceleration for P=printing moves and T=travel moves
M906 X1600 Y1600 Z900 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout -
I suggest you test the homing switches, see https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches#Section_Test_endstop_switches.
-
Geez this is complicated. I haven't changed anything, and they don't work. I don't know why I'm going over this again.
The end stop LEDs for X and Y are on, yet all the physical connections are good. I would think it's too much of a coincidence that both of them have failed at the same time, but I suppose there's a chance, and I'll have to order replacements which will take a while to arrive.
In the Machine Properties, it says X and Y are 'No' and Z is 'Yes' with:
; Endstops
M574 X1 Y1 Z1 S0 ; Define active low and unused microswitchesEven though X and Y are triggered, according to the LEDs on the board. Unless this means that faulty switches can't be triggered either way, and they're still showing up as not triggered, because they're 'un-trigger-able'. The Z is always triggered at the start, because it uses a BLTouch sensor, but doesn't show an LED light. The X and Y sensors both being faulty, for some reason, is the only explanation why this doesn't work.
-
Are you sure that your endstop switches are active low (S0 in M574)? If the endstop LEDs on the Duet go out when you trigger them, they are active high.
-
OK, so I've turned the power off at the wall and found the Duet finally reset the end stops. I'm not sure why it didn't reset the state of the end stops when I restarted the Duet in web control.
The end stops are simple metal sensor switches that become active when the gantry and bed pass over them at close range - the same that I've used in earlier versions. I can see their lights come on when I pass the gantry and bed over them, but during a Home All the gantry and bed keep moving thereafter, and ram the physical boundaries of the printer.
M574 X1 Y1 Z1 S0 is the current setting, but changing it to S1, for test's sake, doesn't fix it. The Home All ignores the end stops.
-
It sounds like your endstops locked up until you powered them off. Are you sure you are supplying them with enough supply voltage to function correctly?
-
I'm using the expansion bay set up with my end stops. From memory, it had something to do with the voltage. I had a look around the documentation to try and find the wiring guide for this set up but didn't see anything. I'm not sure if Duet is using this system anymore...
-
I also just realised, the X and Y were homing without ramming the printing, before I had to add S2 to G1 commands...
Home All would zero X and Y without a problem, but not Z. When I added S2 to the G1 commands, it started ramming the printer, so it can't be the power, or the switches.
-
Well, I accidentally hit the erase button trying to move the board, and now it's a paper weight at best. Love this thing.
I only have a Mac, and the current documentation says I need a Windows computer, so I that's the end of the road by the looks of it.