On Fri, 26 Aug 2022, gene heskett wrote:

Date: Fri, 26 Aug 2022 15:37:28 -0400
From: gene heskett <ghesk...@shentel.net>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Z probe on 3d printer, marlin driver.

On 8/26/22 14:51, Chris Albertson wrote:
Yes, compile from source.  That is the only way to chance Marlin' config.
There is not config file that it reads.

NO and NC are the wrong way to think about these sensors.  They are NPN or
PNP transistors, not switches.  The output signal is determined by if the
signal is pulled up or pulled down by a resistor.  They make both npn and
pnp versions.  Think of then as transistors and it will make sense and read
the state at the junction of the resister and transistor.

You must recompile anyway to enable bed leveling with the sensor.  The
firmware will measure the z-height of the bed in a grid pattern and then
will know if the build plate is flat or leaning and will compensate.   You
can't turn this feature on and off unless it is enabled at compile time.
   You also need enough memory on the controller.  Every feature you enable
makes the firmware larger.
It is already configured to use a bltouch, I just need to invert the logic.
I  think.  Then I read that the bltouch is a pulse output, and these things
are dc. Maybe I need an rc circuit to make a short pulse?

Which polarity then is the Leading Edge? Rising or Falling?

Rated for 6 to 36 volts, under test at lowered voltage, they still work
down to around 4 volts but that is not enough to light the tally led,
but the output still switches.

Thanks Chris

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



NC/NO and PNP/NPN are orthogonal so you can have

NC PNP
NC NPN
NO PNP
NO NPN

NC means the switch (or transistor) is closed (on) when not actuated
NO means the switch (or transistor) is closed (on) when actuated

PNP means a sourcing output (common is +V)
NPN means a sinking output  (common is GND)




_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to