Interactive Programming Mode
4-15
4
lSum = lSum + nWeight * Val("&H" & sByte & "&")
nWeight = nWeight - 1
Next i
sCksum = Hex(lSum)
If Len(sCksum) > 4 Then
sCksum = Mid(sCksum, 1, 4)
End If
If Len(sCksum) < 4 Then
If Len(sCksum) = 3 Then sCksum = "0" & sCksum
If Len(sCksum) = 2 Then sCksum = "00" & sCksum
End If
ChecksumCalc = sCksum
‘the correct checksum for the IMC On command is: CheckSumVal =
”0039”
cmd = “0A00010102” & CheckSumVal
'check for special DLE characters in command string
TmpStr = ""
tmpCMDStr = ""
For x = 1 To Len(cmd) Step 2
TmpStr = Mid(cmd, x, 2)
If TmpStr = "7F" Then tmpCMDStr = tmpCMDStr & "EE80"
If TmpStr = "EE" Then tmpCMDStr = tmpCMDStr & "EEEF"
If TmpStr <> "7F" Or TmpStr <> "EE" Then tmpCMDStr =
tmpCMDStr & TmpStr
Next x
cmd = ""
cmd = tmpCMDStr
cmd = "7F" & cmd & "7F"
‘the complete command with checksum and the start and end
characters added is as follows:
‘cmd = “7F0A0001010200397F”}
Note:
Specification AFNOR Z63.300/EN 799/USS describes the checksum
calculation method for Code 128.
Summary of Contents for Sabre 1555
Page 1: ...Sabre1555RFID P N 072414 Programmer s Reference Manual BarCodeReader ...
Page 2: ......
Page 5: ...Contents ...
Page 6: ......
Page 14: ...Sabre 1555 RFID Bar Code Reader Programmer s Reference Manual xii ...
Page 15: ...1 Before You Begin ...
Page 16: ......
Page 20: ...Sabre 1555 RFID Bar Code Reader Programmer s Reference Manual 1 6 ...
Page 21: ...2 Getting Started ...
Page 22: ......
Page 29: ...3 Operational Modes ...
Page 30: ......
Page 41: ...4 Interactive Programming Mode ...
Page 42: ......
Page 124: ...Sabre 1555 RFID Bar Code Reader Programmer s Reference Manual 4 84 ...
Page 125: ...A Acronyms and Glossary ...
Page 126: ......
Page 135: ...B Command Value to Base 32 Conversion Table b6 1 ...
Page 136: ......
Page 148: ...Sabre 1555 RFID Bar Code Reader Programmer s Reference Manual B 14 ...
Page 149: ...C Data Value to Base 64 Conversion Table ...
Page 150: ......
Page 161: ...D Code 128 ASCII Character to Parameter Conversion Table ...
Page 162: ......
Page 168: ...Sabre 1555 RFID Bar Code Reader Programmer s Reference Manual D 8 ...
Page 169: ...E System Specifications ...
Page 170: ......
Page 178: ...Sabre 1555 RFID Bar Code Reader Programmer s Reference Manual E 10 ...