Skip to main content

Data Collector

Overview

The data collector plugin allows you to track the state of a signal between multiple runs of Mach4. For example, you can fault out after 1000 hours of the spindle running. 

To reset from a fault, press the user button on the screen. That will make it start counting from zero again. 

 

 

Follow these steps to set it up:
  1. Update Mach4 to 8640 or greater
  2. Copy the files from C:"SVN Codebase"\Mach4\Profiles\Router\Macros\ScriptsDataTracking\DataCollector\ to the control
    1. Copy these to C:\Mach4\Plugins
      1. DataCollector.sig
      2. DataCollector.m4pw

Datalogging-plugin.png

3. Enable the plugin “DataCollector – MachMotion"

4. Restart Mach4

5. Go to Configure -> Plugins -> Data Collector

  1. Select Add
  2. Setup the configuration as follows

 Data-configuration.png

6. Press Save

7. Copy the files from C:"SVN Codebase"\Mach4\Profiles\Router\Macros\ScriptsDataTracking\ to the control

  1. Copy this to “C:\Mach4\Profiles\Router\Macros\Scripts”
    1. UserGUIModule.mcs
    2. Note: if you do it earlier you will get errors while loading the screen

8. Create a GMS message as follows

2017-11-20_1232.png

9. Set the conditions up as follows

2017-11-20_1233.png

10. Setup Aux 1 button to say "Reset\nGrease\nWarning" and set the output to any unused output as shown below:

2017-11-20_1240.png