-

FileCRC output

Output for the file checksum the function block has calculated over the file after deleting the data set (i.e., overwriting its contents with 0-values) and sealing the modified recipe file.
The checksum is inserted at the penultimate position in the recipe file (see topic "Recipe Files: Background Information and File Structure").

Further Info
Further information are provided in the topic "Recipe Files: Background Information and File Structure".

Data type: SAFEDWORD
Initial value: 0

Connection: If required, the output can be connected to a safety-related variable of the SAFEDWORD data type, for example, to further process the checksum in the safety application or to display it in an HMI application.

Write down this checksum in the project documentation. You can use it follows:

To ensure that the correct file/data set is read, the SF_RecipeRead function block can perform a configurable checksum validation before reading data from the recipe file. For that purpose, apply each checksum value to the appropriate CRC input of the SF_RecipeRead function block FB and activate the verification.
Refer to the help chapter "SF_RecipeRead function block" for details.