This function block evaluates the result of the previously performed GetServerDirectory (FILE-SYSTEM) service.

One call of this function block delivers one file information from the list of files acquired by IEC61850_FTDIR.

One entry of the list represents the file information and has the format: 'Name;Size[Bytes};Date Time' ; e.g.: '\COMTRADE\disturbance01.dat;110592;2009-01-13 14:04:41'.

In order to receive all entries you have to call this function with incremental index of entry until the function returns FALSE.

Hint: Before the first use of this function block use the function block IEC61850_FTDIR and the result of the function block IEC61850_FTQRES must be OK.

Inputs

Input

Data type

Description

SERVERID

DINT

Identification of the server via its Server ID.

ENTRY

DINT

Index of entry in the file list. The first file has index 0.

@FILEDESC

STRING

String where the file information starting by the index from the input ENTRY should be returned.

Hint: @FILEDESC can be an Array of strings.

Outputs

Output

Data type

Description

Q

BOOL

TRUE if the list of file information contains an entry with the quoted index.

@FILEDESC

STRING

See Inputs.


Created with the Personal Edition of HelpNDoc: Elevate your documentation to new heights with HelpNDoc's built-in SEO