hbot homes correctly but prints mirrored ,
-
its a bit much for me, i did upgrade to 3.11 but then it took me 3 days to figure out how to downgrade and get the wifi part to connect.. im more a hardware kinda guy. this software is a p-i-t-a for me.
so can you show me a visual example of what i need to change in the code ?
-
Sure. Post your current config.g and the results of M115 so I know what firmware you're currently on.
Physical location of endstops is left and rear correct?
-
Do a M122 again , so we can make sure you are on version 3.1 of the firmware.
-
@Phaedrux said in hbot homes correctly but prints mirrored ,:
M115
currently:
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.05.1 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-02-09b1
; Configuration file for Duet WiFi (firmware version 2.03)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 27 2020 12:25:17 GMT-0600 (Mountain Daylight Time); General preferences
G31 X0 Y0 Z0 P25
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Duet2" ; set printer name
M669 K1 ; select CoreXY mode; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P5 S1 T5 R1 ; physical drive x axis goes forwards
M569 P6 S1 T5 R1 ; physical drive y axis goes forwards
M569 P7 S1 T5 R1 ; physical drive z axis goes forwards
M569 P8 S1 T5 R1 ; physical drive z2 axis goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X5 Y6 Z7:8 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X200.00 Y200.00 Z800.00 E138.2316760023409 ; set steps per mm
M566 X200.00 Y200.00 Z200.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X25000.00 Y25000.00 Z2500.00 E2400.00 ; set maximum speeds (mm/min)
M201 X400.00 Y400.00 Z400.00 E400.00 ; 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 X440 Y535 Z900 S0 ; set axis maxima; Endstops
M574 X1 Y1 Z1 S0 ; set active high endstops; Z-Probe
M307 H7 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
M950 S0 C"exp.heater7" ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X0 Y40.9 Z.445 ; set Z probe trigger value, offset and trigger height
M557 X50:400 Y50:400 S100 ; define mesh grid x50:400 starts at 50, ends at 400 SXX moves by what its set to between points; Heaters
M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1
M143 H1 S280 ; set temperature limit for heater 1 to 280C; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on; Tools
M563 P0 D0 H1 F0 ; 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; Custom settings are not defined
; Miscellaneous
;M575 P1 S1 B57600 ; enable support for PanelDue -
@tracar said in hbot homes correctly but prints mirrored ,:
WiFi/Ethernet FIRMWARE_VERSION: 2.05.1
Still version 2 firmware and running 3.1 config.g
-
To update to RRF3 you need to upload these two zip files as is one at a time to the /sys folder using DWC.
https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet2and3Firmware-3.1.1.zip
DOWNLOAD , BUT DON'T UNZIP.
Go to the system tab and click update system file , find and select Det2and3Firmware-3.0.zip .
If it says your our running 3.0 with m122 repeat with the 3.1 file. -
m122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later -
This post is deleted! -
think im getting somewhere.
homing works and reports as
x0
y535
z5
z moves dow 5 after homing , all good hereafter homing, when i jog X+ it goes away from the end-stop and moves to the right,
and when i give Y+ its travel is reversed, it should be moving towards the sensors , to the back of the machine, y- moves it towards the sensors and the back of the machine.
what needs to be changed to correct y motion travel? -
X homing to the left and Zero ... correct !!
Y homing to the back and 535mm ... correct !!!
Z 5mm correct if it is 5mm off the glass , you may need the set the offset -
@tracar said in hbot homes correctly but prints mirrored ,:
after homing, when i jog X+ it goes away from the end-stop and moves to the right, this is correct!
and when i give Y+ its travel is reversed, it should be moving towards the sensors , to the back of the machine, y- moves it towards the sensors and the back of the machine.
what needs to be changed to correct y motion travel? -
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Tue Aug 25 2020 08:01:23 GMT-0600 (Mountain Daylight Time); General preferences
G31 X0 Y0 Z0 P25
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Duet2" ; set printer name
M669 K1 ; select CoreXY mode; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P5 S1 T5 R1 ; physical drive x goes forwards
M569 P6 S1 T5 R1 ; physical drive y goes forwards
M569 P7 S1 T5 R1 ; physical drive z goes forwards
M569 P8 S1 T5 R1 ; physical drive z2 goes forwards
M569 P3 S1 ; physical drive extruder goes forwards
M584 X5 Y6 Z7:8 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X200.00 Y200.00 Z200.00 E138.23 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X25000.00 Y25000.00 Z2500.00 E2400.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
M906 X300 Y300 Z300 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 X440 Y535 Z900 S0 ; set axis maxima; Endstops
M574 X1 S1 P"!xstop" ; configure active-low endstop for high end on X via pin xstop
M574 Y2 S1 P"!ystop" ; configure active-low endstop for high end on Y via pin ystop
M574 Z1 S1 P"!zstop" ; configure active-low endstop for low end on Z via pin zstop; Z-Probe
M950 S0 C"exp.heater7" ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H5 F120 T24000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X0 Y0 Z0.445 ; set Z probe trigger value, offset and trigger height
M557 X50:400 Y50:500 S50 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on; Tools
M563 P0 D0 H1 F0 ; 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; Custom settings are not defined
; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss -
M569 P0 S0 changes the direction ? S0 or S1
BUT HAVE YOU CHANGED THIS
; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 27 2020 12:25:17 GMT-0600 (Mountain Daylight Time) M280 P7 S90 G91 ; relative positioning G1 H2 Z5 F800 ; lift Z relative to current position G1 H1 Y-540 F1800 ; move quickly to Y axis endstop and stop there (first pass) G1 Y5 F800 ; go back a few mm G1 H1 Y-540 F360 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-5 F800 ; lower Z again G90 ; absolute positioning
The Y should be a positive number not minus.
-
getting closer !!!!
-
the homing works as it should,
the only issue now is when i manually move it in the x and y coordinates , the x works as it should.. but the y is reversedmoving x+ moves it to the right and away from the endstop
moving y+ does not move and y- moves it away from the endstop towards the front of the printer.
y machine movement needs to be reversed.
-
You need to change Y homing to a positive and change the direction of the motor .. You must do both !!!!!!
You are back to my first post what's wrong .
end stops are correct. -
change y homing in the homeall or the homey
; homeall.g
; called to home all axesM280 P7 S90
G91 ; relative positioning
G1 H2 Z5 F800 ; lift Z relative to current position
G1 H1 X-445 Y-540 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-445 ; home X axis
G1 H1 Y-540 ; home Y axis
G1 X5 Y5 F800 ; go back a few mm
G1 H1 X-445 F200 ; move slowly to X axis endstop (second pass)
G1 H1 Y-540 F200 ; move slowly to Y axis endstop (second pass)
G1 H1 Z-905 F400 ; home Z axis
G1 Z5 F200 F800 ; go back a few mm
G1 H1 Z-905 F100 ; move slowly to Z axis endstop (second pass)G90 ; absolute positioning
G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
G91 ; relative positioning
G1 Z5 F800 ; lift Z relative to current position
G90 ; absolute positioning
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 27 2020 12:25:17 GMT-0600 (Mountain Daylight Time)
M280 P7 S90
G91 ; relative positioning
G1 H2 Z5 F800 ; lift Z relative to current position
G1 H1 Y-540 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y5 F800 ; go back a few mm
G1 H1 Y-540 F360 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-5 F800 ; lower Z again
G90 ; absolute positioning -
BOTH , Remove ALL the minus sign for Y
eg G1 H1 Y-540 F1800 to just G1 H1 Y540 F1800
I missed a bit , Change all the positive Y to a minus
G1 Y5 F800 to G1 Y-5 F800
So really invert anything use the Y axis , ONLY THE Ys NOT THE X or Zs
-
changes made. yaxis moves away from the endstops now when homed, all else works as it should
this is a coreXY hbot setup.
i can change the direction of the steppers if needed by a switch on the driver, as they are external.
-
So we did it in the end ? .