Page tree
Skip to end of metadata
Go to start of metadata


Reading of values from the archive of the substation.
GETOLDVAL statIdent, fromTimeIdent_TmA, endTimeIdent_TmA, retIdent_Int, archIdent [MASK mask_txt]

GETOLDVAL statIdent, fromTimeIdent_TmA, endTimeIdent_TmA, retIdent_Int NOWAIT [MASK mask_txt]

statIdent in Reference to a Station type type object.
fromTimeIdent_TmA in Identifier of AbsTime type - begin time for reading from the archive.
endTimeIdent_TmA in Identifier of AbsTime type - end time for reading from the archive.
retIdent_Int out Return code identifier of Int type.
archIdent in Reference to a Process type object (archive).
NOWAIT in Key word. If it is not entered, the action waits synchronously for the termination of data reading.
MASK in Key word.
mask_txt in Identifier of Text type - text string that consists of a mask formed from the names of I/O tags for which the values are to be read.

The action will start the backward reading of values from the archive of a station. Time interval is given by the identifiers fromTimeIdent_TmA and endTimeIdent_TmA. Return code (retIdent_Int) gains one of the following values:

In case of the first declaration, the action waits for the termination of the reading and archiving of values, if these are archived. In this case it is necessary to archive all I/O tags in one archive. An archive is represented by the identifier archIdent. The second declaration only starts the backward reading of values and doesn't wait for its termination. Return values is to be always _ERR_NO_ERROR.

If the key word MASK and identifier mask_txt are defined, the action reads values only for those I/O tags that match the definition, which is  entered in the identifier mask_txt. For example mask_txt := "M.RIADENIE*".

If backward reading of communication station values is being performed, the flag A is set for the communication station value.

Related pages:

Write a comment…