Output DescriptionΒΆ

DONE   BOOL \    (done)

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

The following applies:

DONE = TRUE and ERR = FALSE:

The write operation is completed.

DONE = TRUE and ERR = TRUE:

An error occurred while writing. Output ERNO signalizes the error number.

ERR   BOOL \    (error)

Output ERR indicates whether an error occurred during the write operation. This output always has to be considered together with output DONE. 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.