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)

Input

szDir

REFERENCE TO STRING

OUT_PARAMETER: Name of current directory

diMaxDirLen

DINT

Max lenght of directory buffer