. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by paulus.v View Post
    You have mentioned that you will be using the CSMIO IP-M controller. This controller is using the industry standard 24V inputs and you can use either PNP or NPN sensors, the 10-30V type.



    If you put the sensor on the moving part and have two metal triggers on each end of the axis you will actually need only 3 sensors, one for each axis. And yes, the sensors can be used as both home and limits.
    For security reasons it is advisable to also have limit switches that will cut power to the machine before reaching the end of axis travel.
    Yes, i got the IP-M controller.
    Are you saying that i can use one sensor /axis that doubles as limit switch and homing switch or do i need one homing sensor + one limit switch /axis?
    Btw im using a driver by the name 2HSS86H.

  2. #2
    Quote Originally Posted by JW1977 View Post
    Yes, i got the IP-M controller.
    Are you saying that i can use one sensor /axis that doubles as limit switch and homing switch or do i need one homing sensor + one limit switch /axis?
    Btw im using a driver by the name 2HSS86H.
    You can use one sensor on the moving part and two targets, one at each end. In normal operation, this acts as the limit switch but during homing, Mach3 and the IP-M know that it is being used for homing and it does not act as a limit switch. As soon as the homing operation is complete, the switch becomes a limit switch again.

    I use Mach3 and IP-M. I use a proximity switch at each end (so two swtiches on X, two on Y, and one on Z as it is difficult to use a limit switch for the bottom of Z travel). It is easy to wire the switches on one axis in series so that upper and lower limit switches are connected to one IP-M input. This means that you can home X and Y at the same time. My machine is configured to home Z first (to get the spindle to the highest point to clear anything on the machine), then X and Y together. This saves a little bit of time on a bigger machine and works well.

    If you just use one sensor per axis with a target at each end, then you can still wire each sensor to a separate IP-M input channel, obviously, and get the advantage of homing two axes at the same time.

    I had one small problem with my Z axis homing. As I said, my machine first homes Z, then the other two axes. However, these proximity switches sometimes have their on and off trigger points very close together. What this meant was that when my Z axis was homed, the switch was so close to the target that a tiny amount of vibration could cause the switch to trigger accidentally and this often happened while X and Y were moving. The answer is to configure Mach3 so that the home position is very slightly offset from the actual switching position - I use about 1mm. This avoids accidental triggering.
    Last edited by Neale; 03-09-2019 at 11:39 AM.

  3. The Following User Says Thank You to Neale For This Useful Post:


  4. #3
    Ok i see, thanks... It would be interesting to see how you put the switch on Z, do you have any pics that you would like to share?
    To use one sensor and two targets... Arent the sensor pointing towards one of them, how can you make it work in two directions?
    Would you recommend using one or two per axis? Obviously you choose two, but why?

  5. #4
    Quote Originally Posted by JW1977 View Post
    To use one sensor and two targets... Arent the sensor pointing towards one of them, how can you make it work in two directions?
    Imagine the sensor is mounted to the gantry and pointing down. It moves sideways over the target, not directly towards it. At some point when it is directly overhead it will trigger and stop the axis. If there is a fault it will just glide on past without damage until the gantry hits the hard stop further along.
    When it is moving the other way, again it is looking down and will eventually glide over the target at the other end which will trigger the axis to stop. So one sensor, two targets.

    It has been shown to be just as effective using a parallel approach as a direct approach. As long the target gets within 4mm (or whatever the rating is) it will trigger no matter how it got there.
    Last edited by routercnc; 03-09-2019 at 08:21 PM.
    Building a CNC machine to make a better one since 2010 . . .
    MK1 (1st photo), MK2, MK3, MK4

  6. #5
    As you are using CSMIO, as Paulus mentioned, this will take the prox sensor 24V directly. It has taken me a while to find my original drawing but for anyone with a cheap 5V BoB this is what I had to do to get it work. Without the diodes it was very unreliable at triggering. With the diodes it is 100%. Maybe these should be fast acting types, but mine were regular types and the homing is very repeatable. Sorry for the side track on the OP.

    Click image for larger version. 

Name:	prox_24V_to_5V_using 10K pullup and diode.png 
Views:	3501 
Size:	27.3 KB 
ID:	26395
    Building a CNC machine to make a better one since 2010 . . .
    MK1 (1st photo), MK2, MK3, MK4

  7. #6
    Quote Originally Posted by routercnc View Post
    Imagine the sensor is mounted to the gantry and pointing down. It moves sideways over the target, not directly towards it. At some point when it is directly overhead it will trigger and stop the axis. If there is a fault it will just glide on past without damage until the gantry hits the hard stop further along.
    When it is moving the other way, again it is looking down and will eventually glide over the target at the other end which will trigger the axis to stop. So one sensor, two targets.

    It has been shown to be just as effective using a parallel approach as a direct approach. As long the target gets within 4mm (or whatever the rating is) it will trigger no matter how it got there.
    Offcourse, thats how its done, thanks!
    Well then i have a pretty good idea how to do this for X and for Y.
    Im not really sure about Z yet. How do you put the "down" limit for the Z axis?
    Last edited by JW1977; 04-09-2019 at 09:01 AM.

  8. #7
    Quote Originally Posted by JW1977 View Post
    Offcourse, thats how its done, thanks!
    Well then i have a pretty good idea how to do this for X and for Y.
    Im not really sure about Z yet. How do you put the "down" limit for the Z axis?
    Lots of people don’t have one since the height of the workpiece and stick out of the tool are variable so there is no obvious place to put it unless you set it up in a variable position to suit each job
    Last edited by routercnc; 04-09-2019 at 12:43 PM.
    Building a CNC machine to make a better one since 2010 . . .
    MK1 (1st photo), MK2, MK3, MK4

  9. #8
    Quote Originally Posted by routercnc View Post
    Lots of people don’t have one since the height of the workpiece and stick out of the tool are variable so there is no obvious place to put it unless you set it up in a variable position to suit each job
    I'm planning on putting mine so that the ballnut doesn't impact the BK/BF mount, and so that the carriages don't fall off the linear rails.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. G540, homing switches and mach3
    By marbles in forum Artsoft Mach (3 & 4)
    Replies: 11
    Last Post: 02-06-2018, 02:55 PM
  2. Problem with homing
    By Andyman in forum Gantry/Router Machines & Building
    Replies: 4
    Last Post: 22-03-2016, 07:56 PM
  3. Homing switches & 'methods of working' (Mach3)
    By HankMcSpank in forum Artsoft Mach (3 & 4)
    Replies: 15
    Last Post: 19-10-2012, 12:54 AM
  4. Homing Switches
    By m_c in forum General Electronics
    Replies: 3
    Last Post: 04-11-2010, 11:21 PM
  5. A simple query about homing switches & milling practise
    By HankMcSpank in forum General Discussion
    Replies: 5
    Last Post: 13-06-2009, 11:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •