CRC Calculation CRCCalc GetRuntimeCRC

This MotoHawk block obtains the last calculated CRC and the current Status for the named resource defined by CRCCalc Definition block. Status will remain in '0 = Never Calculated' until triggered by the CRCCalc StartTrigger.

Block ID

CRCCalc GetRuntimeCRC

Library

MotoHawk_lib/System Debug Blocks

Description

Block Parameters

Parameter Field Values Comments/Description
Name Alpha-numeric text, quote enclosed Name references definition in CRCCalc Definition block. 


Block Outputs

Parameter Field Values Comments/Description
Status enum Status of calculation, possible values are:
  • 0 = Never Calculated
  • 1 = Calculating
  • 2 = CRC Available
  • 3 = Last CRC Available and Calculating
  • 0x80 = SystemError
  • CRC32 32Bit integer Most recently calculated CRC. If not yet calculated CRC32 = 0.