External Sub-programs

Use this dialog to configure sub-program substitution.

External Sub-Programs dialog

param

Insert sub programs

Check this field to scan transmitted program for sub-program calls. When this option is selected, all sub-program calls are replaced with the contents of the sub-program file.

param

Specify using advanced trigger

Check this field if you want to specify the trigger using the advanced format. Please refer to the on-line documentation for additional information on triggers.

param

Look for sub-program calls

Check this field to look for regular sub-program calls like M98.

param

Sub-program start tag

Use this field to specify the start trigger. The server will look for the start trigger in the file, and when found, check that a valid sub-program name is specified following the trigger.

param

Accept digits (0-9)

Check this field to allow digits in the program/path name.

param

Accept letters (a-z and A-Z)

Check this field to allow letters (a-z and A-Z) in the program/path name.

param

Ignore white spaces

Check this field to ignore white spaces between the start trigger and the program/path name.

param

Accept other characters

Use this field to allow additional characters to be included in the program/path name.

param

Look for filenames

Check this field if DNC-Max should look for filenames in the transmitted program, and replace them with the actual file.

A filename is either a drive letter followed by ':', followed by a filename (ex. C:\MOULD.NC), a UNC path followed by a filename (ex. \SERVER\NCPROG\MOULD.NC), or a partial path followed by a filename. A partial path it a sequence that contains a slash (NCPRG\MOULD.NC).

Partial path are only accepted if the filename specified contains an extension.

param

Allowed sub-program extensions

Use this field to specify allowed sub-program extensions. To specify multiple extensions, separate them with comma.

Example: nc,iso

If the filename specified does not have one of the specified extensions, the call is ignored.

To allow files without extensions, specify a comma at the beginning.

param

Accept complete paths only

Check this field if only full paths should be accepted.

A full path is a filename including a path with a drive letter or UNC name.

Example: C:\PROGRAMS\MOULD.NC

When this option is selected the 'Directories' setup sheet is disabled.

param

Accept spaces in filename

Check this field to accept spaces in the filename.

param

Must be at start of line

Check this field if the start trigger must be at the start of the line.

param

Must be at end of line

Check this field if the program/path name must be at the end of the line.

param

Advanced trigger

Use this field to specify the trigger using the advanced format. Please refer to the on-line documentation for additional information on triggers.

param

Test sub-program call

Use this field to test the specified sub-program call.

param

Sub-program

This field shows the program and path extracted from the test data entered above.

param

Repeat

This field shows how many time the sub-program is repeated.