G32 problem after upgrading to RRF 3
-
Hi Group, I have a problem after upgrading from RRF 2 to RRF 3. I´m using the following:
Board: Duet 2 WiFi (2WiFi)
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.3 (2021-06-15)
Duet WiFi Server Version: 1.26
My Printer is a Railcore2 300zl
After the first tests, I can Home X/Y/Z individually and „home all“ without any issues. Trigerring the system to move the axis does give the right feedback in the right direction.
Performing G32 is giving me a headache. The X-achsis is trying to move negative (outside the printer to the left), whereas Y achsis seems to work properly. Here is my bed.g:
M561 ; clear any existing bed transform
G1 Z5 ; RRF3 remove S2
G30 P0 X15 Y45 Z-99999
G30 P1 X15 Y275 Z-99999
G30 P2 X275 Y275 Z-99999
G30 P3 X275 Y45 Z-99999 S3
G1 X0 Y0 Z5 F5000 ; move the head to the corner (optional)Here is my config.g:
M555 P2 ; Set output to look like Marlin
M575 P1 B57600 S1 ; Comms parameters for PanelDueG21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Axis and motor configuration
M669 K1 ; RRF3 change M667 to M669 ; set CoreXY modeM584 X0 Y1 Z5:6:7 E3:4:8:9 ; Map Z to drivers 5, 6, 7. Define unused drivers 3,4,8 and 9 as extruders
M569 P0 S1 ; Drive 0 goes forwards (change to S0 to reverse it) X stepper (Rear)
M569 P1 S0 ; Drive 1 goes backwards Y Stepper (Front)
M569 P2 S1 ; Drive 2 goes forwards Unused
M569 P3 S1 ; Drive 3 goes forwards Extruder
M569 P4 S1 ; Drive 4 goes forwards Extruder (unused)
M569 P5 S1 ; Drive 5 goes backwards Front Left Z
M569 P6 S1 ; Drive 6 goes backwards Rear Left Z
M569 P7 S1 ; Drive 7 goes backwards Right Z;Leadscrew locations
M671 X-10:-10:333 Y22.5:277.5:150 S7.5 ;Front left, Rear Left, Right S7.5 is the max correction - measure your own offsets, to the bolt for the yoke of each leadscrewM350 X16 Y16 Z16 E16 I1 ; set 16x microstepping for axes& extruder, with interpolation
;RRF3 comment out: M574 X1 Y1 Z0 S1
M574 X1 S1 P"xstop" ; RRF3 set X endstop to xstop port active high
M574 Y1 S1 P"ystop" ; RRF3 set Y endstop to ystop port active high
M906 X1400 Y1400 Z1000 E900 I60 ; Set motor currents (mA)
M201 X3000 Y3000 Z100 E1500 ; Accelerations (mm/s^2)
M203 X24000 Y24000 Z900 E3600 ; Maximum speeds (mm/min)
M566 X1000 Y1000 Z100 E1500 ; Maximum jerk speeds mm/minute
M208 X300 Y280 Z330 ; set axis maxima and high homing switch positions (adjust to suit your machine)
M208 X-3 Y0 Z-0.5 S1 ; set axis minima and low homing switch positions (adjust to make X=0 and Y=0 the edges of the bed)
M92 X198.5 Y201.10 Z1595 E395 ; steps/mm; Thermistors
;RRF3 comment out: M305 P0 T100000 B3950 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
M308 S0 P"bedtemp" Y"thermistor" A"bed_heat" T100000 B3950 R4700 H0 L0 ;RRF3 Bed thermistor, connected to bedtemp on Duet2;If you have a Slice Engineering thermistor, comment out the next line
;RRF3 comment out: M305 P1 T100000 B4725 R4700 H0 L0 C7.06e-8 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
M308 S1 P"e0temp" Y"thermistor" A"e0_heat" T100000 B4725 R4700 C7.06e-8 H0 L0 ;RRF3 duet3 e3d;If you have a Slice Engineering thermistor, uncomment the next lines. KITS DO NOT SHIP WITH A SLICE THERMISTOR - ONLY UNCOMMENT IF YOU ORDERED ONE
;M308 S1 P"e0temp" Y"thermistor" A"e0_heat" T500000 B4723 R4700 C1.196220e-7 ;RRF3 slice thermistorM308 S3 Y"mcu-temp" A"MCUTemp" ; configure sensor 3 as MCU Temperature
M950 H0 C"bedheat" T0 ;RRF3 define Bed heater is on bedheat
M140 H0 ;RRF3 define bed heater (Required in 3.1 or later)
M950 H1 C"e0heat" T1 ;RRF3 define Hotend heater is on e0heatM307 H0 A488.9 C916.3 D10.4 S1.00 V24.1 B0 ; Bed Heaters
M307 H1 A493.1 C166.6 D7.1 S1.00 V24.1 B0 ;Heater 1 model
M570 S360 ; Hot end may be a little slow to heat up so allow it 180 seconds
M143 S285; Fans
M950 F0 C"duex.fan4" ;RRF3 define "Part cooling Fan"
M950 F1 C"fan1" ;RRF3 define "Heatsink Fan"
M950 F3 C"duex.fan3" ;RRF3 define "Electronic Fan"M106 P0 H-1 ; disable thermostatic mode for fan 0
M106 P1 T50 H1 ; enables thermostatic mode for fan 1M106 P3 T32 H3 C"MCU-FAN" ; enables thermostatic mode for fan 3
; Tool definitions
M563 P0 D0 H1 F0 ; 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 X0 Y17 ; Set tool 1 operating and standby temperatures; Z probe and compensation definition
;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
; IR PRobe - uncomment the following 2 lines if you have a and IR Probe, and comment out the BLTouch section below
;RRF3 IR Probe only comment out: M558 P1 X0 Y0 Z1 ; Z probe is an IR probe and is not used for homing any axes
;M558 P1 C"^zprobe.in" H5 F120 T6000 A5 S0.02 ; RRF3 IR Probe connected to Z probe IN pin
;G31 X0 Y30 Z2.00 P500 ; Set the zprobe height and threshold (put your own values here);BLTouch - comment out the following 3 lines if using a IR Probe
;RRF3 comment out: M307 H3 A-1 C-1 D-1
;RRF3 comment out: M558 P9 X0 Y0 Z1 H5 F50 T6000 A5 S0.02
M558 P9 C"^zprobe.in" H5 R1 F400:100 T6000 A5 S0.02 ; RRF3 BLTouch connected to Z probe IN pin
M950 S0 C"duex.pwm1" ; RRF3 Define BLTouch Servo (S0) on duet pwm1
G31 X45 Y-40 Z2.78 P25 ; Customize your offsets appropriately - do a paper test, and put the probed value in the Z value hereM912 P0 S-6.4 ; MCU Temp correction
M208 S1 Z-0.2 ; set minimum Z
T0 ; select first hot end
; Heater model parameters
M307 H0 A488.9 C916.3 D10.4 S1.00 V24.1 B0
M307 H1 A537.9 C253.5 D4.4 S1.00 V24.1 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 B0Any help would be highly appreciated. I can´t find the problem myself.
-
Hi,
Regards bed.g:
Keep in mind that the X and Y values in the G30 commands are where the Z probe will try to go.
So trying to move the probe to X = 15 is going to result in the nozzle trying to move to X = (15 - 45) or X = -30
Moving the probe to Y = 45 works because the nozzle moves to Y = (45 - - 40) or Y = 95
Frederick
-
@fcwilt Thank you very much, this did the trick!
I was thinking too complicated. Sometimes the answer can be that easy. -
-
-