Download Docklight V2.1 User Manual 08/2015
Transcript
58 Reference sequence size of 1024 characters gets truncated. NOTE: The keyboard console is not a full-featured terminal and does not support specific terminal standards, such as VT 100. The Enter key is transmitted as <CR> (ASCII 13) plus <LF> (ASCII 10), as per the Windows standard text file format. Use control character shortcuts to send other ASCII control characters. 8.14 Checksum Specification Checksum specifications are used in Edit Send Sequence and Edit Receive Sequence dialogs . See Calculating and Validating Checksums for a general overview. checksumSpec Format Text MOD256 XOR CRC-7 CRC-8 CRC-DOW CRC-CCITT CRC-16 CRC-MODBUS CRC-32 CRC:width, polynomial, init, finalXOR, reflectedInput, reflectedOutput Docklight V2.1 User Manual 08/2015 Description Calculates an 8 bit checksum: Sum on all bytes, modulo 256. Calculates an 8 bit checksum: XOR on all bytes Calculates an 7 bit with CRC used for example in MMC/SD card applications. This is equal to using the following check sumSpec text: CRC:7,09,00,00,No,No See the "CRC:..." syntax described in the last row for details. Calculates an 8 bit width CRC, e.g. for ATM Head Error Correction. Equals to: CRC:8,07,00,00,No,No Calculates an 8 bit width CRC known as DOW CRC or CCITT-8 CRC. Can be found in Dallas iButton(TM) applications. Equals to: CRC:8,31,00,00,Yes,Yes Calculates a 16 bit width CRC as designated by CCITT. Equals to: CRC:16,1021,FFFF,0000,No,No Calculates a 16 bit width CRC as used in IBM Bisynch, ARC. Equal to: CRC:16,8005,0000,0000,Yes,Yes Calculates a 16 bit width CRC as used in MODBUS. It is actually a CRC-16, but with an init value of FFFF: CRC:16,8005,FFFF,0000,Yes,Yes Calculates a 32 bit CRC as used in PKZip, AUTODIN II, Ethernet, FDDI. Equal to: CRC:32,04C11DB7,FFFFFFFF,FFFFFFFF,Yes,Yes Generic CRC computer where all CRC parameters can be set individually: width : The CRC width from 1..32. polynomial : HEX value. The truncated CRC polynomial. init : HEX value. The initial remainder to start off the calculation. finalXor : HEX value. Apply an XOR operation on the resulting remainder before returning it to the user. reflectedInput : Yes = Reflect the data bytes (MSB becomes LSB), before feeding them into the algorithm. reflectedOutput : Yes = Reflect the result after completing Copyright 2015 Flachmann und Heggelbacher GbR