crc16

Calculates CRC16 hash from parameter array.

Calculated hash is appended to array. Array size is increased by 2.

This hash is MODBUS compatible.

Syntax

(crc16,param)

Parameters

param Parameter number of array.

Examples

(arrclr,3000,16)
(arrchr,3000,PlanetCNC Rocks!)
(crc16,3000)

See also

array, arrchr, crc32