Chapter 5: Programming 5-31
Bar Code Length
TheBarCodeLengthparameterselectsthemethodfordeterminingifanInterleaved2
of5barcodeisavalidlength.TheRangeCheckmethodidentifiesalengthrangeby
specifyingtheminimumandmaximumnumberofcharacters.TheSpecificCheck
methodidentifiestwospecificbarcodelengthsbyspecifying
thenumberof
charactersineach.Withthisoption,thenumberofcharactersinallInterleaved2of5
barcodesmustbeoneofthetwonumbers.ScantheHex0tagtousetheRangeCheck
method,scantheHex1tagtousetheSpecificCheckmethod.
ItisbestnottouseITFifmorethanonelengthofbarcodeisused.Thesymbologyhas
aninherentweaknesswhereanyscannercanseepartofthebarcodeandthinkitis
complete.Theoptionsbelowprovideprotectionagainstthis.Fromstrongest
protectiontoweakestprotection
theyare:
•
Specificlength,samevalueas“Value1”and“Value2”
•
Specificcheck,differentvaluesasValues1and2
•
RangeCheck
Value 1 and 2
TheValue1andValue2parametersspecifythevalidInterleaved2of5barcode
lengths.UsetheseoptionswiththeBarCodeLengthparameteroptiondescribedin
BarCodeLength.IftheRangeCheckmethodisselected,Value1specifiesthe
minimumnumberofcharactersinavalidInterleaved
2of5barcodeandValue2
specifiesthemaximumnumberofcharacters.IftheSpecificCheckmethodisselected,
Value1containsonespecificnumberofcharactersandValue2containsanother.
AcceptedvaluesforValue1andValue2are04to58readablecharacters.Thenumber
ofreadablecharactersmustbeanevennumber;ifanoddnumberisspecified,it
returnsaProgramTagError.EachvalueisinputusingtwoHextags.Thefirstcanbe
Hex0throughHex5andthesecondcanbeHex0throughHex9.
Check Digit Present
TheCheckDigitPresentparameterdeterminesifthebarcodemustcontainacorrect
checkdigittobeidentifiedasvalid.Ifthisfunctionisenabled,thebarcodeisignored
ifacheckdigitisnotpresent.ScantheHex0tagtodisablethisoption,ortheHex1
tagtoenableit.
Transmit Check Digit
TheTransmitCheckDigitparameterselectswhethertosendthecheckdigittothe
hostterminal.ScantheHex0tagtodisablethisoption,ortheHex1tagtoenableit.