FUNCTION CRC16_CCITT : WORD
Function calculates the checksum CRC16-CCITT.
Example:
sTest : STRING(10) := '123456789' ;
->
MEM.CRC16_CCITT(ADR(sTest), 9) = 16#29B1
InOut:
|
Scope
|
Name
|
Type
|
Comment
|
Return
|
CRC16_CCITT
|
WORD
|
function returns the CRC16-CCITT checksum of "MemoryBlock"
|
Input
|
pMemoryBlock
|
POINTER TO BYTE
|
address of memory Block
|
uiLength
|
UINT
|
length of MemoryBlock in byte
|
|