Combinatorial Coolants: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
=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. | 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. | ||
| Line 15: | Line 15: | ||
==Post Changes== | ==Post Changes== | ||
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. | 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=== | |||
[[Image:CoolantDialogUpgrade.png|none]] | [[Image:CoolantDialogUpgrade.png|none]] | ||
| Line 21: | Line 23: | ||
[[Image:CoolantDialog.png|none]] | [[Image:CoolantDialog.png|none]] | ||
* Code Prefix - Enter the M code related to this coolant. | |||
* Parameter Prefix - This will be available if this coolant has an associated parameter. | |||
* Parameter - This will be available if this coolant has an associated parameter. | |||
* Parameter Suffix - This will be available if this coolant has an associated parameter. | |||
* 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. Therefore, 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: | |||
<nowiki> | |||
doCoolOn: | |||
InitCoolantLoop('AllOn') | |||
while(IterateCoolantLoop?) | |||
SeqLabC ThisCoolantCode EOL | |||
END | |||
RETURN | |||
doCoolOff: | |||
LASTOperation InitCoolantLoop('AllOff') | |||
while(IterateCoolantLoop?) | |||
SeqLabC ThisCoolantCode EOL | |||
END | |||
RETURN | |||
</nowiki> | |||
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. | |||
[[Category:Articles]] | [[Category:Articles]] | ||
[[Category:GibbsCAM v14]] | [[Category:GibbsCAM v14]] | ||
Revision as of 20:59, 15 May 2020
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.
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
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.
- Parameter - This will be available if this coolant has an associated parameter.
- Parameter Suffix - This will be available if this coolant has an associated parameter.
- 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. Therefore, 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:
LASTOperation 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.