FILE.SetRoot (FB; Prefix filsrt)

This function block can be used to determine the root directory for all function blocks of the CAA_File.library in case of relative path specification.

Input:

xExecute

BOOL

see: “CAA 指南”

sFileName

CAA.FILENAME

Name of root directory:

no special characters,

separator for sub-directories “/”,

absolute or relative path specification

No empty spaces

Use capital letters 

Output:

xDone

BOOL

see: “CAA 指南”

xBusy

BOOL

see: “CAA 指南”

xError

BOOL

see: “CAA 指南”

eError

FILE.ERROR

Error ID