-

Done output

Output for signaling "function block processing completed".

Data type: SAFEBOOL

Connection: If required, the signal can be connected to a variable of the SAFEBOOL data type or to other safety-related functions/function blocks.

ValueDescription
SAFETRUE
  • Function block is activated (Activate = TRUE) and
  • the function block has completed its operation successfully. This means that the FB has read the data successfully from the target, wrote the values into the specified file and data set.
  • The modified data set/file are sealed successfully and the calculated checksums are present at the appropriate CRC outputs of the function block.
The DiagCode = 8000 is shown.

Note
  • The write operation may last several Safety PLC cycles. Therefore, Done may only be set to SAFETRUE after a few cycles after switching the CommandWrite input to SAFETRUE.
  • After a successful write operation, output Done remains SAFETRUE until the next operation, even if the CommandWrite input is switched back to SAFEFALSE. With a new SAFETRUE signal at CommandWrite, Done is always switched to SAFEFALSE.

SAFEFALSE
  • Function block is either not activated (Activate = FALSE, DiagCode = 0000), or
  • an error occurred due to an invalid value applying at a function block input (e.g., IDRecipeFile out of valid range indicated by an error DiagCode = Cxxx), or
  • the remanent memory (e.g., SD card) in the standard controller recipe file is not accessible (error DiagCode = Cxxx), or
  • the function block waits for a SAFETRUE signal at the CommandWrite input (DiagCode = 8006).
  • the function block processing is still in progress and the recipe file is not yet created/modified or verified (DiagCodes 8008 or 8005 or 800C).
Observe the hazard message below this table.

Refer to...
  • ... the help topic "Fault avoidance" where the handling of various potential error scenarios is explained.
  • ... the diagnostic code value present at the DiagCode output for details.

WARNING
Non-conformance to safety function requirements
  • Make sure that the write operation of the SF_RecipeWrite FB is completed successfully prior to reading data from the corresponding recipe file using the SF_RecipeRead FB. For that purpose evaluate the Done output of the SF_RecipeWrite FB and only read values if this output shows the value SAFETRUE.
  • Be sure that your risk analysis includes an evaluation for the event of using the recipe values although the SF_RecipeWrite FB has not yet indicated its successful completion by setting its Done output to SAFETRUE.