Output DescriptionΒΆ

DONE   BOOL \    (done)

Output DONE indicates that the read operation is completed. This output has always to be considered together with the output ERR.

The following applies:

DONE = TRUE and ERR = FALSE:

The read operation is completed. Its contents are indicated at the outputs KEY and VALUE.

DONE = TRUE and ERR = TRUE:

An error occurred while reading/searching. Output ERNO signalizes the error number.

ERR   BOOL \    (error)

Output ERR indicates whether an error occurred during the read operation. This output always has to be considered together with output DONE. If the configuration data could not be read, the following applies: DONE = TRUE and ERR = TRUE. Output ERNO signalizes the error number.

ERNO   WORD \    (error \ number)

Output ERNO provides an error identifier if an invalid value was applied to an input or if an error occurred during job processing. ERNO always has to be considered together with the outputs DONE and ERR. The value output at ERNO is only valid if DONE is TRUE and ERR is TRUE. The Error Messages Error Messages of the Function Block Libraries encoding at output ERNO is explained at the beginning of the Function Block description.

The functions CPU_CONFIG_READ, CPU_CONFIG_WRITE and CPU_PROD_ENTRY_READ are executed in the background by the operating system. This procedures can take quite a long time, since the PLC user program is processed with priority. During this phase ERR=FALSE and DONE=FALSE.

EOS   BOOL \    (end \ of \ section)

Output EOS indicates whether the end of the section was reached while searching sequentially. This output only must be evaluated if a search is carried out with INDEX=0 and KEY_SEARCH=0.

KEY   STRING(20) \    (key)

Output KEY indicates the found key.

VALUE   STRING(80) \    (value)

Output VALUE indicates the value of the found key.