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 specifica­tion.

Input:

xExecute

BOOL

see: CAA Guidelines

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 Guidelines

xBusy

BOOL

see: CAA Guidelines

xError

BOOL

see: CAA Guidelines

eError

FILE.ERROR

Error ID