EasyManua.ls Logo

Allen-Bradley Series B

Allen-Bradley Series B
132 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 5
Programming Via Escape Sequences
5–13
Selecting the Number of Code 11 Check Characters
Check character verification of Code 11 is mandatory. The number of check
characters is configurable and may be one or two. If the length of the data is
less than or equal to ten, one check character is normally used. If more than
ten data characters are present, two check characters are used.
Check Character Syntax
Esc – y <n> G
Binary Value
Function
0*
1
2
8
16
Disabled
Code 39 Check Character
Verification
Interleaved 2 of 5 Check Character
Verification
Check Character
Transmission
for Code 39 &
Interleaved 2 of 5
Code 11, Use 2 Check Characters
Values of n: 0 –3, 8–11, 16–19, 24–27
*Default
The default value of <n> is 0. Check characters will not be verified and
Code 11 is configured to have only one check character.
Check Character Example
To enable Code 39 check character verification and Code 11 with 2 check
characters, <n> =17
Code 39 check character verification 1
Code 11, 2 check characters 16
Total 17 <n> = 17
The escape sequence to be sent to the decoder is Esc – y 17 G
Note: The binary value for Interleaved 2 of 5 check character verification
and transmission was not included in the calculation of <n>, these features
will be disabled.
The length of a decoded bar code may be checked to see if it matches a set of
predefined (configurable) limits. If the length of the bar code is within these
limits, it is accepted as valid. If it’s outside the limits, a no–read condition
exists.
The length to be checked includes any check characters but does not include
start and stop characters. If you want to check for a specific length, the
minimum and the maximum should be set to the same number. Setting the
maximum less than the minimum (or the minimum greater than the
maximum) will cause a syntax error.
Minimum and Maximum Length
Esc – y <n>, <i>, <j> U

Table of Contents

Other manuals for Allen-Bradley Series B

Related product manuals