585,949 active members*
4,274 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1

    One for the Mach 4 scripting wizards

    Hey guys. So I’ve been using mach 4 for about a year now, and it’s been doing fine. But one thing I want to fix is not having an accurate way to determine rpm. I installed a Hall effect sensor back when I started using Mach, but could never get a “True RPM” DRO displayed on the screen.

    What are the steps one would have to do to achieve this ? Any help would be awesome. Thanks

  2. #2
    Join Date
    Mar 2017
    Posts
    411

    Re: One for the Mach 4 scripting wizards

    Show us a screen capture of your M4 system. Both the mill and lathe screens have a RPM DRO right there. Are you not seeing the indicator or is it showing incorrect data?

  3. #3
    Join Date
    Nov 2013
    Posts
    4371

    Re: One for the Mach 4 scripting wizards

    Hi,
    what motion control are you using?.

    It all starts there. This is how the ESS works: it resets a counter when it detects a index pulse, and then starts counting at 4Mhz, until another index pulse is detected. It latches the count into a register, resets the counter and
    starts counting again. Thus the register contains the number of counts between two index pulses. The ESS reports to Mach about every 25ms (default) including the current value of the register.

    Mach does the calculation to get the rpm from that value and uses that to populate the Spindle Speed DRO..

    There are several things that can go wrong. For instance if the motion controller 'cannot see the index pulse' , say something like heavy low pass filtering on the breakout board inputs or insufficient index pulse width.


    There is another possibility: Mach can only display the acutal current rpm if its being fed with data. What happens if its not? Most installations don't have an index pulse generator so the motion controller will
    NEVER feed Mach with the required data. In that case Mach will populate the DRO with the commanded speed, it is after all the best estimate its got...so it uses it.

    May I suggest check the setting within Mach such that it shows the actual spindle speed. If its not getting data it will probably display zero, but at least it will be displaying the result of its calculation.
    The second thing is to ensure that your motion board is set up to count index pulse, this is after all how it works.

    Craig

Similar Threads

  1. Changing order of the wizards table in Mach
    By Phishaholic in forum Tormach Personal CNC Mill
    Replies: 6
    Last Post: 08-23-2009, 05:04 PM
  2. Mach 3 Wizards Z Start Setting
    By Mr.Chips in forum Mach Software (ArtSoft software)
    Replies: 3
    Last Post: 09-04-2008, 11:35 PM
  3. re jog tab in mach 3 when in wizards
    By woffler in forum Mach Wizards, Macros, & Addons
    Replies: 3
    Last Post: 02-08-2008, 03:14 AM
  4. Mach 3 Wizards- Metric mm possible ?
    By ASlater in forum Uncategorised MetalWorking Machines
    Replies: 1
    Last Post: 12-12-2006, 02:25 PM
  5. are wizards included in license ver of mach
    By Gads in forum Mach Software (ArtSoft software)
    Replies: 2
    Last Post: 03-28-2006, 01:08 AM

Tags for this Thread

Posting Permissions

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