Pepperl Fuchs NPN inductive proximity switch

More
21 Dec 2018 13:42 #122694 by Ewok2
Hello
I have the same kind of question.
I want to add home sensor NPN on a mesa card (the 7i96)
I was wondering if this kind of wirring will fit ? (Cf picture included)

If yes what do you recommand to add the control to linuxcnc ?
restart the conf with the GUI (but I had to select the 7i76 card and to change by hand after the name inside the hal file...)
Or just add some lines in the hal file ?

Thanks
Attachments:

Please Log in or Create an account to join the conversation.

More
21 Dec 2018 14:00 #122698 by andypugh
Replied by andypugh on topic Pepperl Fuchs NPN inductive proximity switch
www.mesanet.com/pdf/parallel/7i96man.pdf
Page 14

If you connect 24V to input common then you are configured for sourcing inputs and you don't need the resistor. A NPN prox functions as a switch-to-ground and that is what is needed to drive the inputs in the configuration that you have illustrated.
The following user(s) said Thank You: Ewok2

Please Log in or Create an account to join the conversation.

  • Todd Zuercher
  • Todd Zuercher's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
21 Dec 2018 14:10 #122700 by Todd Zuercher
Replied by Todd Zuercher on topic Pepperl Fuchs NPN inductive proximity switch
To further clarify, if you were to connect the ground to the common instead to configure the input as a sinking input. That is when you would need to use a pull up resistor like you have in your drawing.

Please Log in or Create an account to join the conversation.

  • Todd Zuercher
  • Todd Zuercher's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
21 Dec 2018 14:27 #122701 by Todd Zuercher
Replied by Todd Zuercher on topic Pepperl Fuchs NPN inductive proximity switch
If you use the development branch of Linuxcnc. It has support for using the 7i96 (the right drivers...).
forum.linuxcnc.org/27-driver-boards/3504...uration-tool?start=0

Please Log in or Create an account to join the conversation.

More
21 Dec 2018 14:38 #122703 by Ewok2
Thanks for reply
So I will do the wirring without the resistor.
For the driver did you recommand to use the developpement branch of linuxCnc ?
Is it enough stable, I am not an expert :-)

If not is there another way to configure the homming ?

Please Log in or Create an account to join the conversation.

  • Todd Zuercher
  • Todd Zuercher's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
21 Dec 2018 15:13 #122704 by Todd Zuercher
Replied by Todd Zuercher on topic Pepperl Fuchs NPN inductive proximity switch
It is generally quite stable and usable. You just have to remember, new features may not be fully documented and new updates always run the risk of introducing an unexpected bug. A lot of people have been using it for running real machinery for years, and I have been given the impression that there may be a new release in the near future (less than a year)

Personally, I don't have any production machines currently running Master. But that is because I don't have any that require the new features there. I have used it on production machines in the past though when there was something I needed in it Until the features I needed were added to the stable release, then I switched.

If there was something I needed or wanted to use in Master, I would not hesitate to use it again though.
The following user(s) said Thank You: Ewok2

Please Log in or Create an account to join the conversation.

More
22 Dec 2018 17:33 #122750 by Ewok2
When you say the development branch you mean any 2.8 version or a specific one ?
Because I had forgottent but I am currently with the 2.8.0-pre1-3900-g3b733e8b9 :-)

Please Log in or Create an account to join the conversation.

  • Todd Zuercher
  • Todd Zuercher's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
22 Dec 2018 19:48 #122755 by Todd Zuercher
Replied by Todd Zuercher on topic Pepperl Fuchs NPN inductive proximity switch
I'm not sure exactly when support for the 7i96 was added to Master (2.8-pre) but it was fairly recently. I'd suggest updating to the latest version (4081...)

Please Log in or Create an account to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum