-

DataSetCRC and FileCRC inputs

State controlled inputs for specifying the CRC over the data set (file section) and file.

Data type: SAFEDWORD
Initial value: 0

Connection: Apply the checksum values to be expected to the respective input. For that purpose, you can connect these inputs to safety-related variables, constants or literals of the data type SAFEDWORD.

The checksums DataSetCRC and FileCRC have been output by the SF_RecipeWrite function block, after this FB has completed its write operation successfully.

If the corresponding input CheckDataSetCRC and CheckFileCRC (validation requested) are set to SAFETRUE, the FB compares the values applied here with the CRCs stored in the recipe file/data set.

Otherwise, if the validation is deactivated, the CRC values are not relevant.

Note
Independently of these configurable validations, the FB always checks the file/data set consistency by recalculating and comparing the file/data set CRC.