npn 5v fly rrf e3
-
my z probe isn't being activated in the reprap firmwire i.e. the z probe value isn't changing from 1000-0/0-1000 despite me putting a metalic object to the 5v npn probe.
The probe is connected to the ztop jst connector, and the ender 5 pro is powered by the fly rrf e3 mainboard.
m119 is showing the status as triggered,please help
; Configuration file for Fly-E3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.1-LPC+11 on Tue May 18 2021 11:34:22 GMT+0100 (British Summer Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Aquila" ; set printer name ; 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 backwards using default driver timings M569 P1 S0 ; physical drive 1 goes backwards using default driver timings M569 P2 S0 ; physical drive 2 goes backwards using default driver timings M569 P3 S1 ; physical drive 3 goes forwards using default driver timings 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 E400.00 ; set steps per mm M566 X1200.00 Y1200.00 Z60.00 E360.00 ; set maximum instantaneous speed changes (mm/min) M203 X540000.00 Y540000.00 Z60000.00 E360000.00 ; set maximum speeds (mm/min) M201 X1400.00 Y1400.00 Z60.00 E5000.00 ; set accelerations (mm/s^2) M906 X750 Y750 Z850 E750 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 X235 Y235 Z260 S0 ; set axis maxima ; Endstops M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M558 P5 C"!^zstop" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 X0 Y0 Z2.5 ; 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 B4092 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bed" T0 ; create bed heater output on bed and map it to sensor 0 M307 H0 B0 S1.00 ; disable 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 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"e0temp" Y"thermistor" T100000 B4092 ; 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 M143 H1 S300 ; set temperature limit for heater 1 to 300C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 C"Part Cooling Fan" S0 H1 T45 ; set fan 0 name and value. Thermostatic control is turned on M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 C"Hotend Fan" S0.01 H-1 ; set fan 1 name and value. Thermostatic control is turned off ; 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
-
@npm1 got any more info on the probe?
-
@jay_s_uk its a npn 12mm BX probe at 5v
-
@npm1 said in npn 5v fly rrf e3:
npn 12mm BX probe
and whats one of those? part number? data sheet? how are you powering it?
-
@jay_s_uk im using 5v from the bltouch connector and the original zstop connector...its from china brought through aliexpress M12 4mm DC 5V NPN NO LJ12A3-4-Z/BX-5V Inductive Proximity Sensor.
It is a widely used component in the automatic control industry for non-contact detection, control and switching.
When the proximity switch is close to a target object, it sends out a control signal.
As it is a capacitive type proximity switch, its sensing object target is not limited to conductor, but also liquid and even powdery objects, like plastic, water, glass , oil, etc.
It is widely used in machine, papermaking, light industry for limiting station, orientation considering, acceleration test ect.Specifications:
3-wire polarity: NPN sensing
Voltage: DC 5V
Sensing distance: 4mm
Output status: normally open
Output current: 300mA
Sensing objects: Conductor
Part number: LJ12A3-4-Z/BX
Screw length: 61mm
Quantity: 1 Pc
Note:
Please allow 1-3mm error due to manual measurement. Please make sure you don't mind before you bid
Due to the difference between different monitors, the picture may not reflect the actual color of the item. Thank you!Package Content:
1pc x Inductive Switch -
@npm1 what wires do you have going to where?
-
@jay_s_uk I have the + wire going to the 5v connection for the bltouch, the negative going to the left of the zstop connection and the signal going to the right of the zstop connection
-
@jay_s_uk the sensor lights up correctly when i put metal prong against it
-
@npm1 Please try the following...
- Run M98 P"config.g" and post any output.
- Run M119 and G31 in the console both with and without the probe being triggered.
3 Comment out the line: M574 Z1 S2 and then repeat the two tests run above. - Power off the board, remove the Z driver module, power the board on again and re-run the tests in step 2.
- Post the output from all 6 of the tests.
-
@gloomyandy
With M574
M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Endstops - X: not stopped, Y: at min stop, Z: not stopped, Z probe: not stopped
G31
Z probe 0: current reading 0, threshold 500, trigger height 2.500, offsets X0.0 Y0.0 -
@gloomyandy Without M574
M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Endstops - X: not stopped, Y: at min stop, Z: no endstop, Z probe: not stopped
Z probe 0: current reading 0, threshold 500, trigger height 2.500, offsets X0.0 Y0.0 -
@npm1 Are those results with or without the probe being in a triggered state?
-
@gloomyandy the first response is with m574 and the second response is without m574
-
@npm1 Yes but I asked you to run M119 and G31 twice for each test once without having the probe in a triggered state and then again with the probe in a triggered state (by placing something metal near it so the LED comes on). Have you run the test with the Z driver removed?
-
@gloomyandy
without m574 and with metal touching the probeg31
Z probe 0: current reading 0, threshold 500, trigger height 2.500, offsets X0.0 Y0.0
2/25/2022, 8:46:38 PM g31
2/25/2022, 8:46:16 PM M119
Endstops - X: not stopped, Y: at min stop, Z: no endstop, Z probe: not stopped
2/25/2022, 8:45:56 PM M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled -
@gloomyandy with 574 and metal touching probe
g31
Z probe 0: current reading 0, threshold 500, trigger height 2.500, offsets X0.0 Y0.0
2/25/2022, 8:50:23 PM g31
2/25/2022, 8:50:05 PM m119
Endstops - X: not stopped, Y: at min stop, Z: not stopped, Z probe: not stopped -
@npm1 and the results with the Z driver removed from the socket?
-
removed z driver with m574
g31
Z probe 0: current reading 0, threshold 500, trigger height 2.500, offsets X0.0 Y0.0
2/25/2022, 8:59:47 PM M119
Endstops - X: not stopped, Y: at min stop, Z: not stopped, Z probe: not stopped
2/25/2022, 8:59:44 PM M119
2/25/2022, 8:59:33 PM M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled -
@gloomyandy removed z driver with m574 metal touching
g31
Z probe 0: current reading 0, threshold 500, trigger height 2.500, offsets X0.0 Y0.0
2/25/2022, 9:01:46 PM g31
2/25/2022, 9:01:24 PM M119
Endstops - X: not stopped, Y: at min stop, Z: not stopped, Z probe: not stopped -
@gloomyandy removed z driver without m574
g31
Z probe 0: current reading 0, threshold 500, trigger height 2.500, offsets X0.0 Y0.0
2/25/2022, 9:04:04 PM g31
2/25/2022, 9:03:53 PM M119
Endstops - X: not stopped, Y: at min stop, Z: no endstop, Z probe: not stopped