MEM.CRC16_Standard (FUN)

This function of the CAA_Memory.library  calculates the default CRC16 check sum.

Input:

pMemoryBlock

DWORD

Address of memory area

uiLength

UINT

Size of area in bytes

Output:

MEM.CRC16_Standard

WORD

Check sum

Example:

sTest : STRING(10) := '123456789' ;

 ->

MEM.CRC16_standard(ADR(sTest), 9) = 16#BB3D