Duet 0.8.5 NPN or PNP Prox Sensor? November 17, 2015 05:00AM |
Registered: 8 years ago Posts: 71 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? December 13, 2015 05:13PM |
Registered: 10 years ago Posts: 15 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? December 13, 2015 07:11PM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? December 14, 2015 07:03PM |
Registered: 10 years ago Posts: 15 |
Quote
dc42
I think the best way would be to wire the ground and output connections of an NPN sensor to the E0 endstop connector, and the 12V input to +12V. Select probe type 4 in the M558 command and use the M574 E0 S0 command to invert the polarity.
Re: Duet 0.8.5 NPN or PNP Prox Sensor? December 15, 2015 04:11AM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? December 22, 2015 10:11AM |
Registered: 9 years ago Posts: 68 |
; Z probe and compensation definition ;*** If you have an IR zprobe instead of a switch, change P4 to P1 in the following M558 command M558 P4 X0 Y0 Z0 ; Z probe is a switch and is not used for homing any axes G31 X0 Y0 Z0.74 P500 ; Set the zprobe height and threshold (put your own values here)
Re: Duet 0.8.5 NPN or PNP Prox Sensor? December 22, 2015 04:00PM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? December 23, 2015 04:00AM |
Registered: 9 years ago Posts: 68 |
Quote
dc42
I think the problem is that the endstop inputs each drive an LED and your voltage divider has too high a resistance to pull the voltage on the endstop input down far enough.
Quote
My advice is to connect the output from the voltage divider to the analog Z probe input instead (pin AD12 on the dedicated Z probe connector of the Duet 0.8.5) and select probe type 1 in the M558 command instead of type 4.
Re: Duet 0.8.5 NPN or PNP Prox Sensor? December 23, 2015 10:18AM |
Registered: 9 years ago Posts: 68 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? January 27, 2016 10:46PM |
Registered: 9 years ago Posts: 517 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? February 11, 2016 06:48AM |
Registered: 8 years ago Posts: 10 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? February 11, 2016 08:57AM |
Registered: 9 years ago Posts: 68 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? February 12, 2016 04:29AM |
Registered: 8 years ago Posts: 10 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? March 25, 2016 10:01PM |
Registered: 8 years ago Posts: 10 |
M574 X2 Y1 Z2 S1 ; set endstop configuration (X microswitch at high end (active high), Y microswitch low end (active low), Z microswitch high end (active high) M574 E0 S0 ; set bed levelling endstop at low end (active low). LJ12A3-4-Z/BX M558 P1 X0 Y0 Z0 ; Output from voltage divider (3.5V) connected to AD12 G31 Z1 P500 ; Set the probe height and threshold
Re: Duet 0.8.5 NPN or PNP Prox Sensor? March 26, 2016 11:21AM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? March 26, 2016 07:57PM |
Registered: 8 years ago Posts: 10 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? July 08, 2016 05:49PM |
Registered: 7 years ago Posts: 40 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? July 08, 2016 07:09PM |
Registered: 7 years ago Posts: 3 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? July 09, 2016 06:42AM |
Registered: 10 years ago Posts: 14,672 |
Quote
phcella
Hi,
Im usinng a NPN sensor with 24V.
Do I need a voltage divider?
I tried to connect on z-probe connector and E0 endstop, with M558 P1 and P4. None worked
Thanks
Re: Duet 0.8.5 NPN or PNP Prox Sensor? July 09, 2016 10:52AM |
Registered: 7 years ago Posts: 3 |
Re: Duet 0.8.5 NPN or PNP Prox Sensor? July 09, 2016 01:32PM |
Registered: 10 years ago Posts: 14,672 |