-

CheckProjectCRC input

State-controlled input for activating the validation of the project checksum.

Data type: SAFEBOOL

The comparison of the project CRC helps ensuring that the recipe file to be read has been written out of exactly the same application project (version).

The project checksum has been calculated in PLCnext Engineer when building the project and was then written into the project file.
The SF_RecipeWrite FB reads this checksum from the project file and writes it into the header of the recipe file.
If the CheckProjectCRC input is set to SAFETRUE, the SF_RecipeRead FB reads the ProjectCRC from the recipe file header and compares it with the ProjectCRC of the current project.

Connection: Connect this input to a variable or constant

If the function block is activated (input Activate = TRUE), the possible values at this input lead to the following function block behavior:

ValueDescription
SAFETRUE Request to verify the project CRC. Data is only considered as valid, if the checksum validation is successful.
SAFEFALSEData read from the recipe file is considered as valid without verifying the CRC.

Observe the hazard message below this table.

WARNING
Non-conformance to safety function requirements
  • Make certain that appropriate procedures and measures (according to applicable sector standards) have been established to verify that the read recipe data set has not been modified or belongs to another safety application in case that the CRC validations are deactivated (SAFEFALSE value at the input(s) CheckDataSetCRC, CheckFileCRC, or CheckProjectCRC).
  • Include in your risk analysis the impact of reading wrong recipe data from a modified or wrong recipe file while the CRC validations are deactivated.
  • Validate the overall safety-related function with regard to possible impact of reading data from a modified or wrong recipe file while the CRC validations are deactivated.