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:\Mach4\Profiles\Router\Macros\Scripts to the control
    1. Copy these to C:\Mach4\Plugins
      1. DataCollector.sig
      2. DataCollector.m4pw

Datalogging-plugin.png

    3.

  1. Enable the plugin “DataCollector – MachMotion”
  2. MachMotion"

  3. 4. Restart Mach4

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

    1. Select Add
    2. Setup the configuration as follows

 Data-configuration.png

    6.

  1. Press Save
  2. 7. Copy the files from C:\Mach4\Profiles\Router\Macros\Scripts 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
  3. 8.

Create a GMS message as follows

Notes2017-11-20_1232.png

    9.

  1. CurrentlySet itthe isconditions hardup codedas follows

    2017-11-20_1233.png

    10. Setup Aux 1 button to waitsay for"Reset\nGrease\nWarning" 100and hours

  2. set
the output to any unused output as shown below:

2017-11-20_1240.png