Duet Laser Filament Monitor
-
I am trying to calibrate my duet laser filament the LED is pulsing but when I send M591 D0 shows this
Duet3D laser filament monitor v1 on input 10, disabled, allow 35% to 180%, check every 5.0mm, no data receivedand when I Enable S1 too little movement reported .
and print pauses.Software Information
Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
Firmware Electronics: Duet WiFi 1.02 or later + DueX2
Firmware Version: 2.03beta2 (2019-02-16b1)
WiFi Server Version: 1.22
Web Interface Version: 1.22.6; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Tue Aug 21 2018 21:22:04 GMT+0400 (Arabian Standard Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 PYOUNES ; Set machine name
M551 Pteignprop ; Set password
M552 S1 ; Enable network
M587 S"TEIGNBRIDGE" P"peacock1" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S0 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes forwards
M569 P4 S0 ; Drive 4 goes forwards
M569 P5 S0 ; Drive 5 goes forwards
M569 P6 S0 ; Drive 6 goes forwardsM584 X0 Y1 Z2:3:4:5 U3 V4 W5 E6 ; Apply custom drive mapping
M671 X-284.5:-284.5:1455.5:1455.4 Y-222.8:1318.4:1318.4:-222.8 S20 ; Bed levelling using multiple independent Z motors , CW Z1(close to homming front right) Z2(rear right) Z3(rear left) Z4(front left)maximum correction 20 mmM350 X16 Y16 Z16:16:16:16 U16 V16 W16 E16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z640:640:640:640 U640 V640 W640 E442 ; Set steps per mm
M566 X900 Y900 Z12:12:12:12 U12 V12 W12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z180:180:180:180 U180 V180 W180 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y20 Z250:250:250:250 U250 V250 W250 E250 ; Set accelerations (mm/s^2)
M906 X1450 Y1450 Z1850:1850:1850:1850 U1850 V1850 W1850 E600 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S120 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X1200 Y1200 Z1200 S0 ; Set axis maxima; Endstops
M574 X1 Y1 S1 ; Set active high endstops (NC)
M591 D0 P5 C10 S1 R35:180 E5.0 ; Duet3D laser sensor for extruder drive 0 is connected to endstop input 10-11 (CONN_LCD), tolerance 35 to 180%, 5mm comparison length
M591 D0 ; display filament sensor parameters for extruder drive 0; Z-Probe
M307 H3 A-1 C-1 D-1
M574 Z1 S2 ; Set endstops controlled by probe
M558 P5 X0 Y0 Z1 T4000 F300 H10 I1 ; Set Z probe type to switch and the dive height + speeds(Analog Z probe, also used for homing the Z axis), I for polarity with NPN
G31 X0 Y0 Z0 P500 ; Set Z probe trigger value, offset and trigger height
M557 X15:1150 Y15:1150 S100 ; Define mesh grid; Heaters
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S100 ; Set temperature limit for heater 0 to 100C
M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C
M303 H1 S240 ; auto tune heater 1, default PWM, 240C target or maximum temperature
M303 ; report the auto-tune status or last result
M570 S120 ;After a heater has been switched on, wait 120 seconds for it to get close to the set temperature. If it takes
longer than this, raise a heater fault.
M307 H1 A413.5 C245.5 D5.5 B0
M307 H0 A75.4 C170.1 D0.5 B0 ; Auto tuning for Bed heaters; Fans
M106 P0 S0 H-1 C"Part Cooling" ; Set fan 0 (Part cooling blower) G-code controlled. Thermostatic control is turned off
M106 P1 S1 H1 T45 C"Hotend Fan" ; Set fan 1 (Hotend fan) Thermostatic control. Turns on when hotend reaches 45c
M106 P2 F100 L0.2 B0.5 T30:40 H100:101:102 C"Duet Fans" ; Set fan 2 Duet case fan. Tied to CPU and driver temps.; 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
M501 ; Read stored parameters
; Miscellaneous
T0 ; Select first tool -
You need to do a print to calibrate the sensor (with the sensor disabled i.e. S0 in the M590 command) then M590 D0 will display the accumulated calibration data too. But the "no data received" message suggests a wiring or configuration error.
-
Thanks, I will do a print and check
-
the Issue is with the Data out from the laser filament sensor to CONN_LCD to pin 10)Stp 11(LCD_DB4) no Data receiving!
when I connect the sensor out to E0 STOP works flawlessly.
is my configuration C10 is correct ?
M591 D0 P5 C10 S1 R35:180 E5.0Thanks,
Ibrahim -
If you connected it to STP11 then you need C11 in that command, not C10.
-
@dc42 Solved!
it looks like I was using wrong Pin for data , it works now with CONN_LCD
4) STOP 11 (ENC_A)
M591 D0 P5 C311 S1 R30:130 E5.0