Wierd issues
-
Just got my duet Ethernet board today, and I was super excited to put it in and get back to printing. Along with this upgrade, I also purchased a titan aero. Okay I am sure this is a very easy fix, I am not sure what I did incorrectly because I have changed a number of things. The issue I am having is that when I push home all the printer moves and says it has been homed. But when I go to move any axis I can only move it so far then it will stop. The printer is an Anet A8, but I have upgraded it to a metal frame, using e3d slim stepper motor with the titan aero. Also just purchased 4 new stepper motors that are supposed to be quieter. Really confused on why I cannot move it from one side to the other, on x, y, or z. I am sure it is a configuration issue, but not too sure on what is wrong. I used the configuration tool, but I am sure I selected something wrong.
Config File
; Configuration file for Duet Ethernet (firmware version 1.20 or newer)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sat May 05 2018 19:20:14 GMT-0400 (Eastern Daylight Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P1 ; Set firmware compatibility to look like RepRapFirmare; Network
M550 PMy printer ; Set machine name
M551 ; Set password
M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive X goes forwards
M569 P1 S1 ; Drive Y goes forwards
M569 P2 S0 ; Drive Z goes backwards
M569 P3 S1 ; Drive E0 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z400 E837 ; Set steps per mm
M566 X600 Y600 Z18 E300 ; Set maximum instantaneous speed changes (mm/min)
M203 X24000 Y24000 Z480 E3000 ; Set maximum speeds (mm/min)
M201 X2000 Y2000 Z100 E10000 ; Set accelerations (mm/s^2)
M906 X900 Y900 Z900 E900 I20 ; 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 X220 Y220 Z240 S0 ; Set axis maxima; Endstops
M574 X1 Y1 Z1 S1 ; Set active high endstops; Z-Probe
M558 P0 H5 F120 T6000 ; Set Z probe type to switch and the dive height + speeds
G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
M557 X15:205 Y15:205 S20 ; Define mesh grid; Heaters
M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
M305 P0 T100000 B4725 C7.050000e-8 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 S260 ; Set temperature limit for heater 1 to 260C; 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 are not configured
And my Home settings.
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Sat May 05 2018 19:20:14 GMT-0400 (Eastern Daylight Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 X-225 Y-225 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 X5 Y5 F6000 ; go back a few mm
G1 S1 X-225 Y-225 F360 ; move slowly to X and Y axis endstops once more (second pass)
G1 S1 Z-245 F1800 S1 ; move Z down stopping at the endstop
G90 ; absolute positioning
G92 Z2.5 ; set new Z position
;G1 Z5 F100 S2 ; uncomment this line to lift the nozzle after homingAny help with this would be greatly appreciated, thank you in advance.
-
Perhaps your new stepper motors are 400 step per revolution and your old ones were 200. In that case you would need to update the steps per mm to be double what it once was.
-
Good idea, but not sure if that is correct here are the specs on the motors...not much info but you could be on to something.
Product Parameters:
Product name: Bipolar 42 Stepper Motor
Holding torque: 0.46 N•m/ 65 oz-in
Working voltage: DC 9-42V
Rated current: 1.7A
Resistance: 2.1 ohm
Inductance: 4mH
Rotor inertia: 55g•cm2/ 0.30oz-in2
Weight: 0.28kg
Length: 39.5mm/ 1.56 inch
Phrase: 2
Step angle: 1.8°
Motor frame size: 42*42mm -
Nope, they are 200 step motors. Would need to know the number of teeth on your pulleys to know the steps per mm, but if the old motors were also 1.8degree/ 200 step motors it would be the same.
Can you post your homing files as well?
-
I just changed the pulley's to 20 teeth. Here are the home files, thanks again for the help!
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool on Sat May 05 2018 19:20:14 GMT-0400 (Eastern Daylight Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 X-225 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 X5 F6000 ; go back a few mm
G1 S1 X-225 F360 ; move slowly to X axis endstop once more (second pass)
G1 Z-5 F6000 S2 ; lower Z again
G90 ; absolute positioning; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool on Sat May 05 2018 19:20:14 GMT-0400 (Eastern Daylight Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 Y-225 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y5 F6000 ; go back a few mm
G1 S1 Y-225 F360 ; move slowly to Y axis endstop once more (second pass)
G1 Z-5 F6000 S2 ; lower Z again
G90 ; absolute positioning; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool on Sat May 05 2018 19:20:14 GMT-0400 (Eastern Daylight Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 Z-245 F1800 ; move Z down until the switch triggers
G92 Z2.5 ; set Z position to trigger height; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 S2 ; lift Z relative to current position
;G90 ; absolute positioning; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Sat May 05 2018 19:20:14 GMT-0400 (Eastern Daylight Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 X-225 Y-225 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 X5 Y5 F6000 ; go back a few mm
G1 S1 X-225 Y-225 F360 ; move slowly to X and Y axis endstops once more (second pass)
G1 S1 Z-245 F1800 S1 ; move Z down stopping at the endstop
G90 ; absolute positioning
G92 Z2.5 ; set new Z position
;G1 Z5 F100 S2 ; uncomment this line to lift the nozzle after homing -
How far can you move the X and Y axes, and does Duet Web Control say they have moved those distances or different distances?
-
@dgdgdgdg said in Wierd issues:
its all relative to where I the printer head is when I hit home. I can move from there but not beyond. I thought when it homes, that it was supposed to go to the endstops? All it does is move a few mm's in each direction and then the homing is complete and then it says head position is at x 0.0 y 0.0 and z 2.5, no matter where the head is actually located...I am sure its something I am doing wrong but its frustrating to say the least lol
-
I suspect your endstop switches are reading in reverse. Test them, see https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches#Section_Test_endstop_switches.
-
Okay I fixed that, now when it homes It goes to the end stops, but should the endstops be 0,0,0? or do I need 0,0,0 to be the front left corner (when looking at printer) of my build plate? and if so can I fix that by just measuring how far away the end stop is from the bed?
-
It's easiest if you make (0,0) either the front left corner of the bed or the centre of the bed. You are homing to axis minima, so it is the X and Y values in the M208 S1 command that define what the axis positions are when the endstop switches are triggered.
-
Thank you, I think I have it figured out now, trying out a test print
-
This post is deleted!