![]() |
Sub-Program dialog |
Check this dialog to enable the expansions on sub-programs.
When DNC-Max encounters a line that matches the 'Sub-program call trigger', it uses the 'Sub-program name trigger' to get the name of the sub-program.
It the scans the entire file for this sub-program and replace the sub-program call with the contents of the sub-program.
Use this field to specify the 'Sub-program call trigger'.
DNC-Max will only look for sub-program calls in lines that matches this trigger.
Use this field to specify the 'Sub-program name trigger'.
DNC-Max uses this trigger to get the name of the sub-program that should be expanded.
Use this field to specify the sub-program start trigger.
Line containing the start trigger is not included in the inserted program data.
When using a string trigger, the sub-program name much follow right after the trigger.
When using and advanced trigger, the trigger must extract the program name using <>.
Adv. trigger example: Extract name after O at the beginning of the line = ^P<[0-9A-Z]*>.
Use this field to specify the sub-program start trigger.
Line containing the end trigger is not included in the inserted program data.
Use this field to specify the repeat trigger.
DNC-Max will use the numerical value following the specified triggers, as the sub-program repeat count.
Example: If the repeat triggers is 'L', and the sub-program call line is 'N1010 M98 1234 L17', the sub-program 1234 is repeated 17 times.
Use this field to test the specified sub-program call.
Use this field to test the sub-program trigger.