. .
Page 2 of 4 FirstFirst 1234 LastLast
  1. #11
    Hi JW,

    Let me try to clarify what the homing on index function on a servo motor is.

    The incremental encoder on a servo motor generates pulses when the motor moves. The motor driver is capable of counting the pulses and store them on power off but if, for example, you move the motor with the power off or by a power failure where the axis moves from inertia, that axis position is lost. So the absolute position of a cnc machine cannot be determined reliable from the servo incremental encoders data and homing sensors are needed.

    Most incremental encoders have an additional "index" signal that provides a reference position of the rotor. It is output at each motor revolution. This signal can be used to increase the accuracy of the homing to an almost perfect and repeatable position. The homing on index routine moves the axis until the home sensor is triggered then rotates the motor to the index position. In this case the sensors accuracy need only to be grater than the axis movement of half a motor revolution. And the sensor be mounted so that when triggers the motor shaft is at about 180 degrees from the index position. Depending on the actual setup, the amount of axis movement per motor revolution, switches could have enough accuracy for homing on index.

    Why is homing important?

    First of all because if you have homing and set each axis maximum movement, the machine knows its limits! And will never hit a limit switch. If you load a g-code that exceeds the machine working area you get a warning. Otherwise you will only find out that you made a mistake when the axis hits the limit and ruins your work because...

    Secondly, if something bad happens and you have to cut power to the machine you loose the workpiece position. If you have accurate homing, the workpiece zero position is referenced to the machine zero (home). If those numbers are stored you can easily resume the work after a power failure or if you want to pause and continue the next morning... just home the machine and go to the stored workpiece coordinates. And continue cutting where you left off.

    Paul.

  2. The Following User Says Thank You to paulus.v For This Useful Post:


  3. #12
    Paulus.v Explanation of Homing on an index is spot on, however, I think you'll find that most Closed-loop Hybrid servo encoders don't provide an index Pulse so can't use that feature.

    Regards Homing and Zeroing etc then you need to get into the habit of thinking in terms of Machine coordinates and Work coordinates. Home switches define the Absolute ZERO machine coordinate position. This positon NEVER changes and is used to reference WORK coordinate ZERO.
    So when you send the machine to HOME your sending it Machine ZERO. From this position, you can also define machine limits.

    WORK zero can be anywhere inside the work envelope of the machine. You'll often see reference to WORK offsets, these are just areas inside of the machine work area which can have separate WORK zero positions.
    This means you can assign each area to a Fixture G-code ie: G54 G55 G56 etc and use these codes in your cutting G-code file so it moves to the next fixture and starts cutting from new Zero point.
    This is useful for instance when have several different parts or materials setups on the bed. For instance could have G54 reference to point on the Bed while G55 references to corner of a Vice and so on.
    Each would have there own Zero WORK coordinate and all are referenced from the MACHINE Zero.(HOME). From MACHINE ZERO any location inside any Fixture Offset can be located accurately.

  4. The Following User Says Thank You to JAZZCNC For This Useful Post:


  5. #13
    Picking up on question E) in post one - you could use a Hall effect sensor but they need a magnet 🧲 on the moving part and are likely to attract steel chips and filings and become unreliable. Proximity sensors detect steel or aluminium so are a better option. Your other options include cheap small micro switches or chunky industrial ones.
    Ideally have the detected object on the axis run past parallel to the face not up to it so a fault means the axis crashes into the hard end stop not the sensor.
    Oh and welcome back Jazz 🍻!
    Building a CNC machine to make a better one since 2010 . . .
    MK1 (1st photo), MK2, MK3, MK4

  6. The Following 2 Users Say Thank You to routercnc For This Useful Post:


  7. #14
    Thanks!

    Proximity sensors seem like the option i will choose.
    Is there anything special i need to now about using them?
    As i understand i will use 6 of them and one of each axis will double as home switch right?

  8. #15
    If you are cutting steel do not use one requiring a magnet.

    The detector detects a passing object so it cannot be crushed if it fails.

  9. The Following User Says Thank You to Robin Hewitt For This Useful Post:


  10. #16
    In terms of proximity sensors :
    I would go for the 4mm distance sensing type

    Prox sensors are more sensitive on steel targets compared to aluminium

    They run on something like 12V -30V, typically 24V. When triggered they output this same level so they can’t go straight into a 5V BoB ( is my experience) without doing something to the signal. If your BoB can take this higher voltage then no problem.
    Building a CNC machine to make a better one since 2010 . . .
    MK1 (1st photo), MK2, MK3, MK4

  11. The Following User Says Thank You to routercnc For This Useful Post:


  12. #17
    Have a look at this thread

    http://www.mycncuk.com/threads/10262...oes-nt-it-work


    You can regard the LJ12A3-4-Z/BX as a normally open relay, where the output is switched to GND when activated. The fact that you supply 12-36V to the electronics of the induction sensor is a red herring. The unswitched output virtually floats and usually pull-up resistors in the BOB strap it to 5v. Meter your BOB input and you should find 5v. If you don't, then you have either buggered the BOB with mis-wiring or the BOB needs a 5v external pull-up resistor. I'll just clarify that last phrase - a resistor to pull the BOB input to 5v, I use a 10K if necessary.
    Last edited by cropwell; 02-09-2019 at 10:38 PM.

  13. The Following User Says Thank You to cropwell For This Useful Post:


  14. #18
    Quote Originally Posted by JW1977 View Post
    Thanks!

    Proximity sensors seem like the option i will choose.
    Is there anything special i need to now about using them?
    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.

    Quote Originally Posted by JW1977 View Post
    As i understand i will use 6 of them and one of each axis will double as home switch right?
    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.

  15. The Following User Says Thank You to paulus.v For This Useful Post:


  16. #19
    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.

  17. #20
    Quote Originally Posted by JAZZCNC View Post
    Paulus.v Explanation of Homing on an index is spot on, however, I think you'll find that most Closed-loop Hybrid servo encoders don't provide an index Pulse so can't use that feature.

    Regards Homing and Zeroing etc then you need to get into the habit of thinking in terms of Machine coordinates and Work coordinates. Home switches define the Absolute ZERO machine coordinate position. This positon NEVER changes and is used to reference WORK coordinate ZERO.
    So when you send the machine to HOME your sending it Machine ZERO. From this position, you can also define machine limits.


    WORK zero can be anywhere inside the work envelope of the machine. You'll often see reference to WORK offsets, these are just areas inside of the machine work area which can have separate WORK zero positions.
    This means you can assign each area to a Fixture G-code ie: G54 G55 G56 etc and use these codes in your cutting G-code file so it moves to the next fixture and starts cutting from new Zero point.
    This is useful for instance when have several different parts or materials setups on the bed. For instance could have G54 reference to point on the Bed while G55 references to corner of a Vice and so on.
    Each would have there own Zero WORK coordinate and all are referenced from the MACHINE Zero.(HOME). From MACHINE ZERO any location inside any Fixture Offset can be located accurately.
    Good explanation, thanks!
    Last edited by JW1977; 03-09-2019 at 09:43 AM.

Page 2 of 4 FirstFirst 1234 LastLast

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
  •