Check_CrcSum2Comp

Description:

This method calculates the CRC by summing the data bytes and taking the 2's complement of the sum.

Parameters:

[Required]

Int

"First byte to include (0=first byte in layer)"


[Required]

Int

"Seed"


[Optional]

List

"Swap Result"

(Default value: NoSwap)

List values:

NoSwap

Swap

Example:

FIELD crc (Fixed 2) (Hex) "CRC" VERIFY (Check_CrcSum2comp 0)