Combinatorial Coolants
Combinatorial Coolants
Combinatorial coolants is a new feature in GibbsCAM v14 that allows for multiple coolants to be active on a single operation, extended options for coolants such as multiple pressures, and a new set of post commands.
Implementation
MDD Changes
The MDD has additional options for coolants as follows:


- Coolant Type - Select the coolant type from the list, which is based upon the legacy coolant types.
- Display Name - Check this box if you wish to enter a custom name for this coolant.
- Scope - This dropdown allows you to limit this coolant to specific Toolgroups or Part Stations, or allow this coolant for the whole Machine.
- Pressure Options - If this coolant has pressure options, select either Numeric to allow a number to be entered for the pressure, or select List to enter specific pressure options into the text box. Each line of the text box will be a separate option in the Process dialog.
- Activate / Deactivate Location - Allows you to specify whether this coolant should be activated and deactivated Off Part (Far) or On Part (Near).
Post Changes
Compost14 is required in order to create a post that supports Combinatorial Coolants. Compost4 does not support this feature.
Each post will need to go through a one-time upgrade process in order to be compatible with the Combinatorial Coolants feature. If a post has not been upgraded, the post can still be used with a new MDD as long as only one coolant per process is selected. If more than one coolant is selected in a process, a non-upgraded post will throw an Exception.
Form Changes

Clicking the "Upgrade to Combinatorial Coolants" button will often bring up a "Coolant TG/PS out of scope" dialog. Clicking Yes in this dialog is intended to keep the coolants that are in the currently bound MDD, while clicking "No" is intended to keep the coolants that are in the ToolGroup and Part Station dialog of the current post.

- Code Prefix - Enter the M code related to this coolant.
- Parameter Prefix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)
- Parameter - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)
- Parameter Suffix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)
- On - Check this box if the M-code on this row will turn the coolant on. Uncheck this box if the M-code on this row will turn the coolant off. This means that, in most cases, every coolant will need two entries in the table, an On entry and an Off entry.
- Priority - If multiple coolants are turned on at the same time, they will be output in the Priority order entered here. Priority 1 will be output before priority 2, and so on.
- TG - Select which toolgroups are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.
- PS - Select which part stations are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.
- Coolants - Select which coolants from the currently bound MDD this row's M-code applies to.
- Spindle Effect - If the M-code on this row effects both a spindle and a coolant, you can select the appropriate option here, otherwise None should be selected.
- Trash Can icon - Delete this row.
Prog Changes
In a simple upgrade scenario, you should be able to simply replace the existing doCoolOn and doCoolOff with updated versions of these subs that uses the new while loop and the InitCoolantLoop command as follows:
doCoolOn:
InitCoolantLoop('AllOn')
while(IterateCoolantLoop?)
SeqLabC ThisCoolantCode EOL
END
RETURN
doCoolOff:
InitCoolantLoop('AllOff')
while(IterateCoolantLoop?)
SeqLabC ThisCoolantCode EOL
END
RETURN
If you wish to make use of the Near/Far options in the MDD, you will need to create near on and far on versions of doCoolOn (using the NearOn and FarOn arguments for InitCoolantLoop) and doCoolOff (using NearOff and FarOff), and then calling those subs at the appropriate points in your Approach and Retract loops.
doCoolOnFar:
InitCoolantLoop('FarOn')
while(IterateCoolantLoop?)
SeqLabC ThisCoolantCode EOL
END
RETURN
doCoolOnNear:
InitCoolantLoop('NearOn')
while(IterateCoolantLoop?)
SeqLabC ThisCoolantCode EOL
END
RETURN
doCoolOffFar:
InitCoolantLoop('FarOff')
while(IterateCoolantLoop?)
SeqLabC ThisCoolantCode EOL
END
RETURN
doCoolOffNear:
InitCoolantLoop('NearOff')
while(IterateCoolantLoop?)
SeqLabC ThisCoolantCode EOL
END
RETURN
Pressure Options
Adding "Pressure Options", or parameters, to a coolant...
Start in the MDD...either add or modify the coolant option that will take the parameter. Here, you can see "Hi Pressure" uses "List" style pressure options, while the "Pulse" coolant uses a "Numeric" style option choice.

After these coolants have been added or modified in the MDD, it will be necessary to rebind the MDD to the post that requires these coolant options. This makes the post "aware" of the coolant types and settings available in the MDD. After the post has been bound to the correct MDD, add those coolants to the coolant list in the “Form > Tools, Parts, and Coolants > Coolants tab”.

After the required coolant choices have been added to the post, right-click on the “None” value in the Parameter column, then click the "Update Parameter Type" selection in the context menu…

The coolant table will update its view to show the correct parameter type for the selected coolant (off codes will not accept a parameter)…

Due to a bug in the Compost GUI (Defect#: 55266), the "Parameter Prefix/Suffix" boxes may be unavailable. Close, then reopen the dialog. This will force it to refresh and enable the ability to set the parameter labels.
Associated Commands
- CoolantCode
- CoolantIsActive?
- CoolantOff?
- CoolantOn?
- CoolantParameter?
- CoolantParameter#
- ForceCoolantOff
- SetCoolantOff
- SetCoolantOn
- InitCoolantLoop
- IterateCoolantLoop?
- ThisCoolantCode
- ThisCoolant?
- ThisCoolantOn?
- ThisCoolantOff?
- ThisCoolantNear?
- ThisCoolantFar?
- ThisCoolantParameter?
- ThisCoolantParameter#
- TrackThisCool