Check Digit Calculation Method - IDEC WB1F Series User Manual

Fix linear ccd scanner
Hide thumbs Also See for WB1F Series:
Table of Contents

Advertisement

1. Overview
2. Installation & wiring
5. 6

Check digit calculation method

A check digit can be added to the output data for readout data and configuration commands.
The check digit is expressed as an 2 digit hexadecimal ASCII code in text.
Calculation range and position where added
The calculation range of the check digit and the position where it is added are as follows.
For output data
z
Global
Local
prefix
prefix
For configuration commands
z
Prefix
Mnemonic
Calculation range
Calculation method
All of the ASCII code values for the calculation range are added up, that value is inverted, and 1 is added to it.
^s1234x118b CR
Example:
5eH + 73H + 31H + 32H + 33H + 34H + 78H + 31H + 31H = 275H
275H NOT = d8aH
d8aH + 1 = d8bH
d8bH & 0ffH = 08bH
Checksum = 8bH
3. Functions
Readout
data
Calculation range
Address
LF
4. Support tool
Local
Check
suffix
digit
Check
Suffix
digit
Add
Appendix
Check digit calculation method
RS-232 Type
USB Type
Global
suffix
Add
5-10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wb1f-100s1bWb1f-100s1s

Table of Contents