Skip to main content

MachPro Configuration

MachPro is used for multiple machine types. Some of this documentation will be useful for all machine types, and some is only for certain machine types. Much of the software is already configured with values that that work well for most people. There are some portions of the software that will be most useful if you have additional details.

Modify the tool table

Open the Tool Table

    • Go to the menu and click View → Tool Tables.

    • The tool table window will open.

image.png

Open the Tool Table Editor

  • In the tool table window, click Edit → Table Fields.

image.png

Add the X and Y Offset Fields

  • Click the Optional Field tab.

  • Find the field name XOffset, select it, and click Move Pri.

  • Do the same for YOffset.

  • Click OK to save.

  • You should now see X and Y offset columns in your tool table.

Set the Master Tool

  • Choose one tool to be your master tool.

Measure and Enter Offsets

  • For each other tool, measure the distance from the master tool in both X and Y directions.
  • Enter those distances into the XOffset and YOffset fields for each tool.

Tool Spindle Rotation Options

Open the Tool Table

  • Click View → Tool Tables.

Open the Tool Table Editor

  • Click Edit → Table Fields.

image.png

Add a User Field for Spindle Options

  • Click the User Field tab.

  • Click Add.

  • Set up the new field exactly as shown in the example image.

  • Click OK when done.

image.png

View and Use the User Field

  • Click View → User Fields.

  • The new user field will now appear for each tool.

image.png

Set Rotation for Each Tool

  • For every tool, choose the correct spindle rotation option.

  • Example: For a probe tool, select No Rotation.

  • When you select a tool with “No Rotation,” you cannot turn on the spindle.

  • If you try, you will see an alarm message instead.

image.png

Tool Setters and Offsets

Open the Calibrate Tool Setters window. Found on the Tools tab.

image.png

Creating a Manual Tool Setter

Mapping the input to a software signal

Pull down Configure -> Control and select the Input Signals tab.

Some signals are pre-configured when MachPro is installed. 

Tool Setter Limit (Over Travel) maybe be mapped to Input #6

Tool Setter Input may be mapped to Probe1. 

image.png

image.png

shutterstock_1831799962a-e1753176951246.jpg.webp

image.png

GoTo Position

  • If the tool setter is permanently mounted, then define a GoTo Position so the spindle can safely move to the tool setter before touch-off.

  • This ensures a consistent and safe approach, reducing the risk of collisions.

1. Add or Edit a tool setter

  • In the Tool Setter tab, click Add New to create a new tool setter.

  • Enter a unique name for the tool setter.

  • Select the new tool setter from the list to display its settings on the right side.

2. Setter Type

  • Under Setter Type, select Manual.

3. Tool Setter Height

  • This is used with randomly placed tool setters to determine the Z fixture offset. If you have a fixed position tool setter, leave this value at 0.0
  • Measure the physical height of the tool setter.

  • Enter the measured value in the Tool Setter Height field.

4. Z Position

  • For a fixed positionsetter:

    • Use the Z Position Wizard to determine the machine coordinate for the top surface of the setter.

    • Once set correctly, this value should not be changed.

  • If the setter is mounted outside the soft limits, enable Disable Softlimits.

  • Once the Z position and height are calibrated, the system will automatically use these values for all tool length offset calculations.

Randomly placed tool setter

  1. Set Initial Parameters

    • Set the Z Position to 0.0.

    • Leave all GoTo fields blank.

    • This indicates that the setter position may change between uses.

  2. Prepare the Spindle

    • Remove all tools from the spindle.

    • If the spindle uses tool holders or collets, insert an empty holder while setting the Z position.

  3. Position the Tool Setter

    • Place the manual tool setter or gauge blocks on the table at the desired location.

  4. Set the Z Position

    • Carefully jog the spindle down until the tool tip touches the surface of the setter.

    • Click Set Position.

    • This records the Z position using the current spindle location and the entered Tool Setter Height value.

  5. Measure Tools

    • Insert each tool required for the job.

    • Perform a tool measurement cycle for each tool to record its length offset.

image.png

Creating an Auto Tool Setter

Click on the Tools tab at the bottom of the MachPro screen, then on the Tool Setters button in the middle of the left side of the screen. 

If you are setting up a RapidChangeATC changer and setter, also refer to RapidChangeATB Tool Changer and Tool Setter

image.png

image.png

image.png

 

  1. Define GoTo Positions for the tool setter.
      • Selecting a GoTo position allows the spindle to move automatically to the setter before touching off.

      • This is recommended for permanently mounted setters.

      • If the setter is located outside the soft limits, enable Disable Softlimits.

  2. Click Add New to create a new tool setter.

    • Enter an appropriate name for the tool setter.

  3. Set the Setter Type to Auto.

  4. Select the Probe Input that the tool setter is wired to. The 4 input signals available are:

    • Probe  (G31)
    • Probe1  (G31.1)
    • Probe2  (G31.2)
    • Probe3  (G31.3)
  5. If the correct input probe signal has been selected, then indicator bar below the input selector will turn green when the tool setter is triggered. Manually trigger the setter (or have a helper do so) to confirm the correct input is selected.

  6. If the tool setter height is known, enter the value in the Tool Setter Height field.

    • If the height is unknown, click Launch Height Wizard and follow the on-screen instructions to measure it.

    • The tool setter must be wired to the control for this process.

  7. Set the Z Position to the machine coordinate of the surface where the tool setter rests.

    • If the position is unknown, use the Z Position Wizard to determine it.

    • For a randomly placed setter, set the Z Position to 0.0. This value will be defined each time before measuring tools.

    • See also: Using a Randomly Placed Tool Setter.

  8. For randomly placed setters, leave all GoTo Position fields blank.

    • Manually jog the spindle to the setter or place the setter beneath the spindle as needed.

    • The machine will not perform automatic jogging during this process.

Align Tool Edge to Center of Tool Setter

This feature positions the edge of the tool precisely at the center of the tool setter, ensuring accurate alignment and consistent measurement results.

Pull down Configure -> Control and select the Settings Tab. Scroll down to the Measurements and Offsets section.

image.png

  1. Set Tool Setter Align Tool Edge To Setter to Yes.

  2. Configure the Tool Setter Align Tool Edge Offset parameter.

    • Choose between Tool Radius or Tool Setter Offset as the source for the offset used to align the tool edge to the center of the setter.

  3. Select whether to Align (X or Y) Axis to Setter to define which way the tool moves when aligning the edge to the center of the setter.

  4. Close the Settings menu
  5. If you selected Tool Setter Offset, then open the Tool Table and click the Edit option
  6. Select the User Fields tab
  7. Select the Tool Setter Offset field, and use the movement buttons to place the field where you want within the User Fields
  8. Close the Tool Table Editor
  9. Select View and select User Fields 

image.png

image.png

Additional Settings

The measuring and offsets settings in MachPro Control may provide helpful access to these settings. Pull down Configure -> Control and select the Settings Tab and scroll down to the Measuring and Offsets portion.

image.png

Tool Changer Setup

Winerack Style Tool Changer Overview

The MachMotion plugin supports a wine-rack tool changing system.
It combines user-defined rack positions with a pre-programmed tool-change sequence to run a reliable tool-change routine.
The plugin includes common safety checks.

Wine-rack tool changer: a fixed array of tool holders arranged in a rack.
Tool-change sequence: predefined machine motions that pick up or return a tool.

Configure the Correct Orientation

The tool rack must be parallel to either the X-axis or the Y-axis.
The plugin works with both orientations.

image.png

  1. Determine which axis the rack is parallel to (X or Y).

  2. Open: C:\Mach\Profiles\Router\ToolTables.

  3. Keep the file that matches your rack orientation.

  4. Create an archive folder and move the other tool changer files to the archive folder. (this is not necessary but does keep things cleaner)

image.png

Select the remaining tool changer config file. it should open in libre office,

If you get this error, macros are not enabled. Follow the procedure below:

Enable Macros

image-1596136391716.png

In LibreOffice pull down Tools->Options->LibreOffice->Security

image-1596136446747.png

Press the Macro Security button. Set security to Medium

image-1596136504542.png

Restart LibreOffice. When it opens up press Enable Macros

image-1596136615778.png

To confirm macros are working, when you save the file you should see this dialog and "ToolChangerData.csv" should appear or update in C:\Mach\Profiles\[PROFILE]\ToolTables.

image-1596136647970.png



Example: Wine-Rack Tool Changer Parallel to X

When the rack is parallel to the X-axis, use the Tool Changer X Parallel to Rack.ods file.

  1. Open C:\Mach\Profiles\Router\ToolTables.

  2. Keep Tool Changer X Parallel to Rack.ods.

  3. Move the other tool changer files to an Archive folder.

  4. Archiving is optional. It keeps the folder clean.

image-1595882537766.png

Edit the file with LibreOffice. In the file, there is a graphic detailing the sequence and positions. 

image-1595883178219.png

Keep in mind, all positions are absolute and must be machine coordinate(G53) values, not work offsets. the DRO will be orange when displaying machine coordinates.

Configure the values in the Description section before editing any other parameters. The default settings are placeholders only.
Using them without adjustment can cause incorrect movements or machine crashes.

image-1595883420510.png

Setting Tool Pocket Positions

  1. Carefully position the tool in each pocket holder.

  2. Record the machine coordinate (G53) position for that pocket.

  3. Enter each recorded value into the corresponding tool pocket field.

⚠️ Important: Set each pocket position individually.
Do not copy values between pockets.
Even small physical differences can cause broken tool forks.

Pro Tip: don't set these up with a tool in the spindle, it is more accurate to put a tool into the tool fork, open the drawbar, and then jog the spindle onto the tool very carefully while watching the gap between the tool taper and the spindle taper and adjusting as needed.

  • Setting a pocket position to “Nil”  will disable that pocket.

  • The number of active pocket positions must not exceed the number of physical pockets in the rack.

image.png

"Z Pocket (Step 3)"  is the tool drop off and pick up height. this should have the tool grooves centered in the forks. If you have ISO tooling then it should work fine. 

If you have HSK tooling  you will probably find that the tool is picked up more easily if you set the clamp position to be a little lower than the pocket position, you'll want the spindle to be pushing down on the tool slightly. this makes your tool changes more reliable by cutting done on drawbar faults mid tool change. but this creates a problem for drop offs since it will come in little low on the forks. we can solve this by going to "ToolChangerData" tab of the spreadsheet.

image.png

This shows you all the raw tool changer positions, these get auto filled from the "configuration" page, 

image.png

"ZPocketClamp" is the pickup height

"ZPocket" is the drop off height

Adjust the "ZPocketClamp" to be 0.020" or so lower than the drop off. you want some slight down pressure to fully seat the tool into the spindle nose.

After entering any positions you must save the document and the CSV conversion macro must run. You will see this dialog if it is successful in updating the settings:

image-1596136647970.png

All positions are exported to a .CSV file at that point. If the macro does not run when you save the file, the changed positions will not have any effect. 

MachPro Settings configuration for winerack tool changers

To operate the tool changer it must be enabled in the MachPro settings. 

Pull down Configure -> Control and select the Settings tab

Click the Predefined Filters button for Tool Change

image.png

The first group of settings should match this. The number of pockets will vary from machine to machine. 

image.png

Next you must decide if you want the tool changer to be outside softlimits in the active axis, if yes set "Disable softlimits" to Yes.

image.png

This means that the Y softlimits should stop the machine before the spindle reaches the winerack, this protects against crashes if an improper program is loaded. it can cause a little more headache if you get an error mid toolchange. it also means that the Y end position in the spreadsheet should be set to end the tool change back within the softlimit envelope. the yellow line below shows about where the Y softlimit should be in this case.

image.png


The next step is the signal mapping for Drawbar, airpurge, etc. there are available settings for 4 spindles. we are going to just use spindle 1 and tool changer 1 for standard single spindle machines.

the general idea is to map what you have and leave everything else blank, use Mach input and output signals, not direct I/O points. this forces everything through mach's logging which improves future troubleshooting

image.png

On a winerack tool changer you will probably only have I/O for the drawbar and maybe a dust shroud.

Here are the drawbar settings as an example.

image.png

Drawbar clamp output should be mapped to the solenoid that closes the drawbar (most machines rely on a spring stack to lock the tool, this is rarely used)

Drawbar clamped input should be mapped to the input that senses when the drawbar is retracted, usually this is "closed without tool" 

Drawbar input settle time is really handy for timing, settle times are used to delay the next action in the tool change sequence, usually the output fires, then we wait for the associated input to come high, then we advance to the next thing. either the next output or a motion command. if no input is mapped the sequence will advance immediately after firing the output. 

it goes like this. Output1->Input1->settle timer->Motion->Output2->input2->settle timer   and so on.

Settle timers are nice if you want to wait a bit after the input goes high before advancing, or if you have no input available you can use it to wait long enough for the pneumatic action to take place before doing the next thing.

Drawbar unclamp Output should be mapped to the solenoid that opens the drawbar to release the tool virtually every machine will have this.

drawbar unclamp input should be mapped to the input that tells us that the drawbar is open and the tool can drop free. 

Most winerack machines will be using these sections.

image.png

image.png

The tool release input should be mapped to a tool release button if you have one this will allow you open the drawbar manually to take tools in and out without using the tool changer. if you don't have a button then usually the F1 key on the pendant is a good option.

Pro Tip: all tool changes happen at Rapid so before testing your first tool change lower your rapid override so you have more reaction time in case something is configured incorrectly. 


The MachMotion control has built-in support for Carousel Tool Changers. It works by taking user defined positions and a pre-programmed tool changing sequence and combining them into a tool change routine. Common place safety checks are built in. 

The tool changer will work with the tool changer parallel to X or Y. 

The user should determine which axis the carousel is parallel to and then delete the non-applicable files located in: C:\Mach4\Profiles\Router\ToolTables

Tool Changer X Parallel to Rotary Carousel.ods
Tool Changer Y Parallel to 2 Carousels 1 Spindle.ods
Tool Changer Y Parallel to Rotary Carousel.ods

Enable Macros

If you get this error, macros are not enabled. Follow the procedure below:

image-1596136391716.png

In LibreOffice pull down Tools->Options->LibreOffice->Security

image-1596136446747.png

Press the Macro Security button. Set security to Medium

image-1596136504542.png

Restart LibreOffice. When it opens up press Enable Macros

image-1596136615778.png

To confirm macros are working, when you save the file you should see this dialog and "ToolChangerData.csv" should appear or update in C:\Mach\Profiles\[PROFILE]\ToolTables.

image-1596136647970.png

Tool Changer Setup

image.png

Edit the file with LibreOffice. In the file, there is a graphic detailing the sequence and positions. 

Carousel X.PNG

Keep in mind, all positions are absolute and must be machine coordinate(G53) values, not work offsets.

Configure the values in the Description section before editing any other parameters. The default settings are placeholders only.
Using them without adjustment can cause incorrect movements or machine crashes.

X Carousel Common Positions.PNG

Set Tool Pocket Positions

  1. Carefully position the tool in each pocket holder.

  2. Record the machine coordinate (G53) position for that pocket.

  3. Enter each recorded value into the corresponding tool pocket field.

⚠️ Important: Set each pocket position individually.
Do not copy values between pockets.
Even small physical differences can cause large alignment errors.

Pro Tip: don't set these up with a tool in the spindle, it is more accurate to put a tool into the tool fork, open the drawbar, and then jog the spindle onto the tool very carefully while watching the gap between the tool taper and the spindle taper and adjusting as needed.

  • Setting a pocket position to “Nil” will disable that pocket.

  • The number of active pocket positions must not exceed the number of physical pockets in the carousel.

"Z Pocket (Step 3)"  is the tool drop off height. this should have the tool grooves centered in the forks. If you have ISO tooling then it should work fine. 

"Z Pocket Clamp (Step 6)" Is the tool pick up height. If you have HSK style tooling you will probably find that the tool is picked up more easily if you set the clamp position to be a little lower than the pocket position, you'll want the spindle to be pushing down on the tool slightly (about 0.02" or so) as the drawbar clamps, this makes your tool changes more reliable by cutting done on drawbar faults mid tool change.

image-1652274511289.png

All these entries will autofill the configuration tab which in turn get exported upon save to a CSV which the tool change program uses.

image.png

This shows you all the raw tool changer positions, this is where you can modify data for custom applications before saving.

After entering any positions, you must save the document, and the CSV conversion macro must run. You will see this dialog if it is successful in updating the settings:

image-1596136647970.png

All positions are exported to a . CSV file at that point. If the macro does not run when you save the file, the changed positions will not have any effect. 


MachPro Settings configuration for winerack tool changers

To operate the tool changer it must be enabled in the MachPro settings. 

Pull down Configure -> Control and select the Settings tab

Click the Predefined Filters button for Tool Change


image.png

The first group of settings should match this. The number of pockets will vary from machine to machine. 

image.png

Next you must decide if you want the tool changer to be outside softlimits in the active axis, if yes set "Disable softlimits" to Yes.

image.png

This means that the X softlimits should stop the machine before the spindle reaches the carousel, this protects against crashes if an improper program is loaded. it can cause a little more headache if you get an error mid toolchange. it also means that the X end position in the spreadsheet should be set to end the tool change back within the softlimit envelope. the yellow line below shows about where the X softlimit should be in this case.

image.png

The next step is the signal mapping for Drawbar, airpurge, etc. there are available settings for 4 spindles. we are going to just use spindle 1 and tool changer 1 for standard single spindle machines.

the general idea is to map what you have and leave everything else blank, use Mach input and output signals, not direct I/O points. this forces everything through mach's logging which improves future troubleshooting

image.png

Here are the drawbar settings as an example.

image.png

Drawbar clamp output should be mapped to the solenoid that closes the drawbar (most machines rely on a spring stack to lock the tool, this is rarely used)

Drawbar clamped input should be mapped to the input that senses when the drawbar is retracted, usually this is "closed without tool" 

Drawbar input settle time is really handy for timing, settle times are used to delay the next action in the tool change sequence, usually the output fires, then we wait for the associated input to come high, then we advance to the next thing. either the next output or a motion command. if no input is mapped the sequence will advance immediately after firing the output. 

it goes like this. Output1->Input1->settle timer->Motion->Output2->input2->settle timer   and so on.

Settle timers are nice if you want to wait a bit after the input goes high before advancing, or if you have no input available you can use it to wait long enough for the pneumatic action to take place before doing the next thing.

Drawbar unclamp Output should be mapped to the solenoid that opens the drawbar to release the tool virtually every machine will have this.

drawbar unclamp input should be mapped to the input that tells us that the drawbar is open and the tool can drop free. 

image.png

image.png

If you have a carousel that moves on an air cylinder then use the section below, in yellow are the commonly used settings.

image.png

The tool release input should be mapped to a tool release button if you have one this will allow you open the drawbar manually to take tools in and out without using the tool changer. if you don't have a button then usually the F1 key on the pendant is a good option.

Pro Tip: all tool changes happen at Rapid so before testing your first tool change lower your rapid override so you have more reaction time in case something is configured incorrectly. 

Global Monitoring System (GMS)

Configure the Global Monitoring System

Global Monitoring is used to setup user alerts or messages as well as to control I/O functionality based on certain conditions. The system allows the machine to watch for specified conditions, and take action when those conditions are met.

To set up the Global Monitoring System go to Configuration -> Plugins -> Global Monitoring System.

global_messaging_config.png

Working with configured monitors

The monitoring system provides five main functions for managing monitors:
Create, Delete, Duplicate, Import, and Export.


1. Create a Monitor

  • Press the green plus (+) button.

  • A new, unnamed alarm monitor is added to the list.

  • The new monitor is automatically selected for editing.


2. Delete a Monitor

  • Select the monitor you want to remove.

  • Press the red X button.

  • The selected monitor is deleted from the list.

  • The system automatically selects the next monitor in the list.


3. Duplicate a Monitor

  • Select the monitor to be duplicated.

  • Press the two-paper icon button.

  • A new monitor is created with all settings copied from the selected one.

  • The duplicate appears in the list, ready for editing.


4. Import Monitors

  • Press the downward arrow button.

  • Select the INI file containing the monitors to import.

  • Imported monitors are added to the list.

  • If a monitor with the same name already exists, the system asks whether to overwrite it.


5. Export Monitors

  • Press the upward arrow button.

  • Choose which monitors to export.

  • Specify a file location to save them.

  • The selected monitors are saved to an INI file for backup or transfer.


Active Monitor

The monitor selected in the leftmost list is the one currently active for editing.
All changes apply to the monitor highlighted in this list.



image.png

Configure Monitor Class

The monitoring system can initiate four classes of actions: Alarm, Warning, Notice, and Process.
Each class defines how the system responds to detected conditions.

image.png

1. Alarm

  • Used for emergency conditions.

  • Can take immediate safety actions, such as:

    • Disabling the machine.

    • Stopping all motion.

  • Requires operator intervention before restarting.

2. Warning

  • Used for non-critical issues that still require attention.

  • Can perform various automated actions.

  • Prevents Cycle Start while active.

  • Alerts the operator through a visible or audible signal.

3. Notice

  • Used for informational messages only.

  • Takes no automatic actions.

  • Displays a message to the operator for awareness.

4. Process

  • Used for background control actions.

  • Has the same potential actions as a Warning,
    but does not alert the operator and does not block Cycle Start.

Tip: Use Alarm for safety-critical faults, Warning for operational issues, Notice for information, and Process for silent automation tasks.

global_messaging_warning_actions.pngConfigure Monitor Actions

After selecting the Action Class, you can define the specific action the monitor performs when it becomes active.

Primary and Secondary Actions

  • Each monitor has one primary action.

  • Some actions allow a secondary action.

    • Example:

      • A Warning with Action: Escalate to Alarm can trigger a chosen Alarm action after a delay.

Action Timing

  • The Action Timing field defines the delay (in milliseconds) between the first and second actions.

    Example:
    If Action Timing = 5000, the secondary action runs 5 seconds after the primary action.

    If Action Timing = 1, the secondary action runs 1/1000 of a second after the primary action - and that is very short

    Set longer rather than shorter timings. It is possible to overwhelm your computer with timings that are too short. For actions that need a quick response, start with 500 and only decrease if you need to. 

    Repeating Actions

    • You can configure the monitor to repeat actions while it remains active.

    • When enabled:

      1. The monitor executes the first action.

      2. Waits for the defined Action Timing period.

      3. Executes the second action (if configured).

      4. Repeats this cycle until the monitor condition is no longer active.

    Tip: Use repeating actions for persistent conditions that require continuous alerts or repeated control signals.


    global_messaging_action.png

    Custom Monitor Actions

    If the standard actions do not meet your needs, you can create custom actions for the Warning and Process classes.


    Enabling Custom Actions

    1. In the Action List, select Custom.

    2. Click the Customize button next to the action field.

      • This button is only active when Custom is selected.

    3. A Custom Action Editor window will open.


    Building a Custom Action List

    In the Custom Action Editor, you can define a sequence of actions that occur when the monitor activates.

    Steps:

    1. Select an Action Type – Choose what kind of task the monitor will perform.

    2. Fill in Action Details – Provide required parameters or settings.

    3. Press Add Action – Adds the defined action to the custom action list.


    Managing the Action List

    • Reorder actions:
      Select an item and use the up or down arrow buttons to change its order.

    • Remove an action:
      Select it and press the red X button.

    The monitor will execute the actions in the listed order each time it is activated.

    image.png

    image.png

    global_messaging_custom_action_types.png

    An item can be double-clicked on to be edited, and then you should press Update Action to save your changes.

    Items will be resolved sequentially in the order they appear in the list, with no pauses in between items.


    Monitor Details

    Most monitors display an alert when their conditions are triggered.
    All alert information and related settings are managed in the Details section of the monitor configuration.


    Alert Information

    • The Details section controls what information appears in the alert message when the monitor activates.

    • You can edit titles, messages, and other displayed text from this section.


    Password Protection

    • You can password-protect a monitor from the Details section.

    • When enabled:

      • The password is required to edit the monitor.

      • The password is also required to clear the monitor after activation.


    Register Output

    • The monitor can write its current status to a register.

    • The register includes:

      • Enabled/Disabled state.

      • Idle/Active state.

    • Use this to track monitor states through external systems or scripts.


    Script Execution

    • If the selected action is Execute Script, configure the script in this section.

    • Specify the script file name with the .mcs extension.

      • Example: MonitorAlert.mcs


    Disabling a Monitor

    • You can disable the entire monitor without deleting it.

    • A disabled monitor will:

      • Not check its conditions.

      • Not perform any actions.

    • Re-enable it later to restore normal operation.

    image.png

     

     

     

     

    image.png

     

     

     

     

     

     

     

    Set Monitor Conditions

    A monitor will do its configured action based on the conditions that are set for it. To edit these conditions, you will need to select the Edit Conditions button. The following window will be displayed.

    global_messaging_conditions.png

    Monitor conditions define when a monitor becomes active.
    They are organized into sets and items, which together form the logical rules that trigger a monitor.


    Structure Overview

    • Sets: Groups that define the logical relationship between their items or subsets.

    • Items: Individual conditions within a set.

    • Subsets: Nested sets that allow complex logical combinations.


    Set Types

    Each set can be one of three logic types:

    Set Type Logic Description
    AND True only if all contained items and subsets are true.
    OR True if at least one item or subset is true.
    NOT True only if all contained items and subsets are false.

    Tip: Most monitors only require a single AND set.


    Adding Sets

    1. Select the parent set where the new set should belong.

    2. Choose the set type (AND, OR, or NOT) from the list.

    3. Press Add Set.

    This creates a new logic group inside the parent set.


    Adding Items (Conditions) global_messaging_condition_types.png

    1. Select an item type from the dropdown menu.

    2. Fill in the condition details.

    3. Press Add Condition to include it in the selected set.

    Example: Machine Enabled Condition

    To add a condition that requires the machine to be enabled:

    1. Choose Condition Type: Signal.

    2. Select Output Signals.

    3. Choose Machine Enabled.

    4. Press Add Condition.


    Editing Sets and Conditions

    • Edit a set:
      Double-click the set in the left-hand list, change the set type, then press Update.

    • Edit a condition:
      Double-click the condition, modify the details, then press Update.


    Saving Changes

    • Press OK to save all modifications.

    • Press Cancel to discard any unsaved changes.

    global_messaging_condition_enabled.png

    Save All Changes

    Pressing Save will save changes to all monitors and exit config. Pressing Cancel will discard all changes and exit config.

    global_messaging_saveandclose.png

    Common GMS Templates

    See the attached ini files to download and import standard GMS functions. 

    SpindleWarmupBackup.ini 

    If you run a file when the spindle is not warmed up, it will warm up the spindle and then go ahead and run the file. As a safety feature, you can prevent a file from starting until spindle warmup is completed to avoid this issue. 

    Diagnostics Window

    The Global Monitoring System icon is on most screens, and will indicate if there is currently an alarm or warning active. If there are no alarms or warnings active, then the icon will be a green checkmark. If there is an alarm or warning active, it will flash a red and yellow error triangle. Clicking on the icon will open the diagnostics window.

    gms_good.jpg      gms_bad.jpg

    The diagnostics window will show all configured monitors and their data. The condition tree will show the state of each condition by highlighting true conditions in green. A red condition means that the condition is incorrectly configured and cannot be checked.

    Alarms and warnings must be cleared to operate the machine. Pressing Reset on the operator panel will clear alarms. They can also be cleared in the diagnostics be clicking Clear All. Resetting a monitor will transition the monitor back to the idle state and reset the timers on all conditions. If the conditions on a monitor are still true, then the monitor will activate again immediately.

    A monitor can be temporarily disabled here. The monitor will continue to check it's conditions and change states, but will not take any actions when it transitions out of the idle state. The monitor will re-enable itself when it transitions back to idle state or when the operator enables it again.

    gms_diagnostics.jpg

WaterJet Setup

Configure the number of jets you need and your default delays. Pull down Configure -> Control - Settings.

image.png

We set the Jet Abrasive Purge Line Delay at 1250 ms which allows the abrasive to stop flowing just before the water turns off. The Jet Off Delay is set to 250 ms which gives us a slight pause after the water turns off and before it starts moving to the next cut. You may adjust these values to appropriate values for you machine. 

IO Setup

Virtually every waterjet will need some of following signals. Map each of the ones you need to the correct output. That is done in the Control screen. Configure -> Control - Output Signals. This example is using the simulator. In operation, the device will be the M31, and the Output Names will be EtherCat device names. (1DO.01.0n). Here we have mapped 3 output signals to specific electrical outputs. From this point forward in the configuration, we will use the signals.

image.png

Note that MachPro has a set of pre-defined outputs for your convenience. During configuration of the system, these pre-defined signals  need to be mapped to the electrical outputs.

This jet abrasive output is now mapped to a software signal (Output #8). As a software signal, it is now fully accessible to the MachPro software. 

image.png

Name Function Configuration
Jet Abrasive Output(s) Turns on and off abrasive for the corresponding jet. Map it to the correct output signal in Mach.
Jet High Pressure Output(s) Turns on and off high pressure for the corresponding jet. Also called things like UHP On/On valve.  Map it to the correct output signal in Mach.
Jet Pressure Output(s) Turns on and off the actual jet. Often called Water On or Jet On.  Map it to the correct output signal in Mach.
Jet Pump Output This turns on the actual intensifier pump. If using a PLC this should trigger the PLC to start the intensifier. Often called Intensifier.  Map it to the correct output signal in Mach.

For example, Jet Pressure Output #1 here is set to Jet On/Off Solenoid. 

image.png

A HYDRAULIC OIL OVERTEMP WARNING GMS would be setup as follows:

image.png

Some waterjets have a servo controlled Abrasive. For that use these settings:

image.png

Cut Recovery

You can configure the axes to move. 

image.png

image.png


http://www.mach-labs.com MachLabs Documentation support@mach-labs.com

MachLabs Terms and Conditions

The MachLabs Team
14518 County Road 7240, Newburg, MO 65550
support@mach-labs.com