SysDirGetCurrent (FUN)

FUNCTION SysDirGetCurrent : RTS_IEC_RESULT

Get current working directory for IEC file access

InOut:

Scope

Name

Type

Comment

Return

SysDirGetCurrent

RTS_IEC_RESULT

Returns the runtime system error code (see CmpErrors_Itf.library)

Inout

szDir

STRING

OUT_PARAMETER: Name of current directory

Input

diMaxDirLen

DINT

Max lenght of directory buffer