. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hi Dave

    I do have a modbus board,but it's still in its box! Not used it yet, I am just about to finish the upgrade to my machine (mechanical build wise) then hopefully build a control box with PC and Modbus PLC all in one, so yes you are right once I get it sorted the I/O should not be a problem, but it will be a steep learning curve!

    Andy

  2. #2
    OK, just been reading through the Mach3 online instructions and found this -

    "Repeatability is very important for a switch used for the Home function. Each axis could therefore need three switches (i.e. two Limit switches at the two ends of travel and a Home switch). Even a basic mill would require nine parallel port inputs for them. This is not practical, as a parallel port has only five inputs! The problem of insufficient inputs can be solved in three ways:

    1. Connect the limit switches to external logic (perhaps in the drive electronics), and use this logic to switch off the drives when a limit is reached rather than interfacing them to Mach3. Separate refer-ence switches would still be connected inputs to Mach3.

    2. Use one pin to share all the inputs for an axis, and make Mach3 responsible for controlling both limits and detecting Home. For example, if Mach3 was instructed to "move to Home" on a milling machine, it could move the X axis to the left (table to the right) until a switch was triggered. In context, that would be interpreted as "Home." If that same switch was triggered while machining, however, it would be interpreted as "exceeded Limit."

    3. Interface the switches by a keyboard emulator.

    The first method is best and mandatory for a very large, expensive, or fast machine where you cannot trust software and its configuration to prevent mechanical damage. Switches connected to the drive electronics can be intelligent and only allow motion away from a switch when the limit is hit. This is safer than disabling the limits so a user can jog the machine off the limits, but it does rely on having a sophisticated drive. The second method is suitable for smaller machines with direct operator control. With this setup, it is possible to use only three inputs to Mach3 for a three-axis mill (four for a gantry type machine - see Slaving). Since you (or the operator) are present and can take appropriate action based on the situation, only two switches are required per axis. Both Limit switches can be tied together, and the Home posi-tion can share functionality with one of the Limit switches. All the two switches need to do is signal Stop! The operator can then figure out what to do for recovery."


    I'm going for option 2!



Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Limit switch issues?!?
    By jonbabbz in forum General Electronics
    Replies: 10
    Last Post: 06-02-2014, 07:37 PM
  2. Limit and Home Switch Choice
    By Wobblycogs in forum General Electronics
    Replies: 25
    Last Post: 02-12-2013, 06:16 PM
  3. One limit switch per axis
    By EddyCurrent in forum General Electronics
    Replies: 17
    Last Post: 30-09-2013, 11:38 AM
  4. Limit switch Cable ...
    By Wobblybootie in forum General Electronics
    Replies: 3
    Last Post: 17-01-2011, 04:37 PM
  5. limit switch connector options?
    By routercnc in forum General Electronics
    Replies: 5
    Last Post: 04-09-2010, 02:11 PM

Tags for this Thread

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
  •