@phaedrux
Thanks so much.
Your suggestions of course!, worked well.
Thanks Once again.
Graham Solomon
@phaedrux
Thanks so much.
Your suggestions of course!, worked well.
Thanks Once again.
Graham Solomon
@gsolomon
Another thing that I found out by trial and error.
In the BeTrue3D's article on how to set up the Bl-Touch to the Duet 2 board in the files that they tell you to create, Namely:
Alarm Release + Pin Up
Pin Down
Pin Up
Self-Test
They use the command:
M280 P7 Snn I1
On my Ender 6 where the BL-Touch worked fine, I initially could not get the probe to work until I tried changing the P7 to P0. I assume that the document was written for firmware versions prior to V3.
I had copied the M950 command in config.g direct from your GCode Dictionary which used P0 and thus was the reason that I found that the P0 command worked.
On the Ender 6 where the BL-Touch is not working, if I typed in the "M280 P0 Snn" from the console line, the BL Touch responds correctly. It is just that when I send a G28 or G30 command from the Console, that the BL-Touch fails to respond.
Thanks once again for responding to my query.
Graham
@gsolomon
Hi! Thanks for responding to my query.
As per your request I have attached the following files
Plus have included a jpg file of the Duet 2 board showing the 5 wires from the BL-Touch connecting to the Duet 2 board PIO.
The yellow wire is connected to the 10th pin of the PIO counting down from the top which according to my diagram of the Duet 2 Connections, is "Heater 7".
Duet 2 with BL-Touch wires connected.jpg
M122.txt
M98 P config.g.txt
HomeAll.g.txt
Hi,
I have two Ender 6's which I am converting to Duet 2 3d controller boards.
Only difference between the machines is that one will be using wifi and the other ethernet.
Both Duet 2 boards are using firmware V3.3
I followed the instruction by BeTrue3D their URL is:
https://betrue3d.dk/bltouch-on-duet-wifi-configuratio-and-usage
I have completed the wifi one and it works perfectly.
I then copied the SD card and placed the copy into the second Ender 6 which now has Duet 2 Etherenet board in it.
From the console I can issue a deployprobe.g command:
M280 P0 S10 and the probe drops downs
From the console I can issue a RetractProbe.g command:
M280 P0 S90 and the probe retracts
But when I issue a HomeAll G28 or G30 the probe will not drop down.
I have created Deployprobe.g, Retractprobe.g, Alarm Release + Pin Up.g, Pin Down.g,
Pin Up.g and Self test.g files in the Sys folder and have also created equivalent macros.
Could yet tell me what I am doing wrong?
Thanks,
Graham
My Config.g is listed below :
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; For Ender 6 running Duet 2 Ethernet Card
; General preferences
G21 ; set Units to Millimetres
G90 ; send absolute coordinates...
M83 ; but relative extruder moves
M550 P"Ender 6" ; set printer name
M669 K1 ; select CoreXY mode -- Ender 6 is CoreXY printer
; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP -- Required for Web Control from Browser
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet
; Drives
M569 P0 S0 ; physical drive 0 goes backwards X
M569 P1 S1 ; physical drive 1 goes backwards Y
M569 P2 S0 ; physical drive 2 goes forwards Z
M569 P3 S1 ; physical drive 3 goes forwards
M584 Y0 X1 Z2 E3 ; set drive mapping -- sets which drive port is connected to which motor
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
;This section is where you set how many step pulses to each X,Y & Z motors in order to move the hotend x mm
;and how many step pulses to the Extruder motor in order to extrude x mm of filament
M92 X81.00 Y81.00 Z405.00 E525.00 ; set steps per mm
M556 X900.00 Y900.00 Z300.00 E1200.00 ; set allowable instantaneous speed change
M566 X900.00 Y900.00 Z180.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z900.00 E6000.00 ; set maximum speeds (mm/min)
M201 X1000.00 Y1000.00 Z500.00 E250.00 ; set accelerations (mm/s^2) -- Max Jerk -- making these values too high will cause printer to shake to bits
M906 X1200 Y1200 Z1200 E720 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout -- if printer is left on with no activity - motors and heaters will be put into idle state
; Axis Limits
M208 X0 Y0 Z-2 S1 ; set axis minima -- Z is set to -2 because the BLTouch probe is about 2mm higher than the nozzle
M208 X250 Y250 Z400 S0 ; set axis maxima -- these values are determined by the size of the printer build size
; Endstops
M574 X1 S1 P"xstop" ; configure active-High endstop for low end on X via pin xstop
M574 Y1 S1 P"ystop" ; configure active-High endstop for low end on Y via pin ystop
M574 Z1 S0 P"nil" ; configure Z to use BLTouch probe and not Z stop switch
M574 Z1 S2 ; configure active-Low endstop for Low end BL-Touch
; Z-Probe
M558 P9 C"^zprobe.in" H5 F500 T4000 ; Set BL-Touch to Probe type/mode 9 -- The ^ symbol tells the Duet3D to insert a pull-up Resistor
M950 S0 C"exp.heater7" ; Set BL-Touch Tigger to be activated from Heater 7 pin
;
; Notes on the following G31 command
; ------------------------------------
; The Z value is the Zoffset between the Probe and the Nozzle
; The larger the positive value, the closer the Bed is to the bottom of the Nozzle
; The X Value is the X distance from the Probe to the bottom of the Nozzle
; Postive values of X means the Probe is to the left of the Nozzle
; The Y Value is the Y distance from Probe to the bottom of the Nozzle
; Negative Values of Y means that the Probe is in front of the the Nozzle
;
G31 P25 X34 Y-5 Z1.50 ; Set Z Probe Trigger Value Offset for Bl-Touch Probe with 1.5mm
M557 X50:250 Y0:240 S20 ; 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 R0.217 C827.5 D0.5 S1.00 V23.7 ; 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 100C
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 R1.917 C143.1 D6.41 S1.00 V23.9 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 260C
M307 H7 A-1 C-1 D-1 ; Disable the 7th Heater so that it can be used for BLTouch Probe trigger
; 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
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
M501 ; Read Stored Parameters
T0 ; select tool 0
M119 ; Check EndStops
Hi,
Yup thanks for that info. The jumpers on the seond Z socket were not in place. I was only doing XY so didn't realise that the Z motor was unable to move.
May I suggest especially with Core XY printers, that if a person is unable to get the XY gantry to move in the correct direction using the settings in Config.g, that they swap the X and Y plugs on the board and try again. It worked for me.
But thanks for your fantatsic support. Definitely worth paying the extra dollars for a fantastic control board in comparison to that Chinese crap.
Graham
Hi,
I have an Ender 6 Core XY Printer and have just replaced the Creality Board with a Duet 2 wifi board. Took me ages before I realised that I had to swap the X and Y motors on the board to get it to Home Properly. But when I do issue a G28 I get the following messages:
G28 XY
Warning: motor phase A may be disconnected reported by driver(s) 2
Warning: motor phase B may be disconnected reported by driver(s) 2
Also get a message "Response too slow"
M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.2.2 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-02-11
M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.2.2 running on Duet WiFi 1.02 or later
Board ID: 0JD0M-9P6M2-NW4SD-6JKDL-3SJ6J-19QVK
Used output buffers: 3 of 24 (16 max)
=== RTOS ===
Static ram: 23460
Dynamic ram: 73100 of which 60 recycled
Never used RAM 15460, free system stack 107 words
Tasks: NETWORK(ready,186) HEAT(blocked,294) MAIN(running,449) IDLE(ready,20)
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:15:41 ago, cause: software
Last software reset details not available
Error status: 0x00
Aux0 errors 0,0,0
MCU temperature: min 33.2, current 34.3, max 34.9
Supply voltage: min 23.8, current 23.9, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: position 0, standstill, SG min/max 0/471
Driver 1: position 0, standstill, SG min/max 0/528
Driver 2: position 0, standstill, SG min/max not available
Driver 3: position 0, standstill, SG min/max not available
Driver 4: position 0, standstill, SG min/max not available
Driver 5: position 0
Driver 6: position 0
Driver 7: position 0
Driver 8: position 0
Driver 9: position 0
Driver 10: position 0
Driver 11: position 0
Date/time: 2021-05-26 09:36:04
Cache data hit count 1142496485
Slowest loop: 12.69ms; fastest: 0.17ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 1.0ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, maxWait 31309ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 10, completed moves 10, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 24.96ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
HTTP sessions: 1 of 8
My Config.g file is:
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun May 23 2021 14:06:20 GMT+1000 (Australian Eastern Standard Time)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Ender 6 Experimental" ; 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 P0 S0 ; physical drive 0 goes forwards
M569 P1 S0 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes backwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E415.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
M201 X5000.00 Y5000.00 Z100.00 E8000.00 ; set accelerations (mm/s^2)
M906 X1200 Y1200 Z1200 E720 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 X250 Y250 Z400 S0 ; set axis maxima
; Endstops
M574 X1 S1 P"xstop" ; configure active-High endstop for low end on X via pin xstop
M574 Y1 S1 P"ystop" ; configure active-High endstop for low end on Y via pin ystop
M574 Z1 S1 P"zstop" ; configure active-High endstop for low end on Z via pin zstop
; Z-Probe
;M558 P5 C"^zprobe.in" H5 F0 T6000 ; set Z probe type to switch and the dive height + speeds
;G31 P0 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height
;M557 X15:215 Y15:195 S20 ; 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.219 C726.4 D0.46 S1.00 V23.7 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S100 ; set temperature limit for heater 0 to 100C
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 R1.917 C143.1 D6.41 S1.00 V23.9 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S260 ; set temperature limit for heater 1 to 260C
; 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
Haver tried increasing max current to 1200ma as the creality stepper motors 42-28 are large steppers. Unable to find any specifications on these motors.
Any clues?
Thanks,
Graham