SMC_NCLookupFile (FB)

FUNCTION_BLOCK FINAL SMC_NCLookupFile IMPLEMENTS SMC_INCLookup

InOut:

Scope

Name

Type

Comment

Input

aSubProgramDirs

ARRAY [0..4] OF STRING(174)

An array of up to 5 directories where subprograms are searched. For a subprogram with name “SUB”, the file “sub.cnc” (lower-case) is searched in each of the given directories, starting with directory aSubProgramDirs[0], in ascending order. The first match is used. The first empty directory name ends the search.

Methods:

LookUp

Structure: