32
MaxiScan 3100 - Installation Guide
6 Slave mode
4. Send the setup commands from the host terminal to the MaxiScan 3100.
Note: the values displayed in display data string mode are hexadecimal values,
make sure that the values you send from the host system correspond to these
values. In our example, the MaxiScan 3100 must receive the hexadecimal value
41 or its equivalent (ASCII character A for example), not the decimal value 41.
To restart the MaxiScan 3100 after changing the interface configuration, send the
"restart" command 0x68 0x4C 0x41 0x60 0x53 0x6A (this is equivalent to deconnecting
and reconnecting the MaxiScan 3100).
Calculating the checksum
If you do not use "display data string mode", you will have to calculate the checksum
yourself :
1. Use the EasySet "View - Data String" command to obtain the data strings for the
setup commands you want to send to the MaxiScan 3100.
Example: command Code 39 active = \41\4C\60
2. Calculate the weighted sum of the data string values (weight increases by 1 for
each successive value) and include startB with weight 1 at the beginning:
:
g
n
i
r
t
s
a
t
a
d
B
t
r
a
t
s
1
4
x
0
C
4
x
0
0
6
x
0
:
t
h
g
i
e
w
1
1
2
3
:
e
u
l
a
v
*
t
h
g
i
e
w
)
8
6
x
0
*
1
(
+
)
1
4
x
0
*
1
(
+
)
C
4
x
0
*
2
(
+
)
0
6
x
0
*
3
(
=
1
6
2
x
0
3. Calculate the modulo 103 value (modulo 67 hex) of the sum:
0x261 modulo 0x67 = 0x5E (= checksum)
(0x261 / 0x67 = 0x5 with remainder 0x5E)
4. Add the checksum to the data string
Example: "Code 39 - active" = \41\4C\60\5E
Summary of Contents for MaxiScan 3100
Page 1: ...P N 3 510049 01 MaxiScan3100 FixedStationScanner Installation Guide...
Page 4: ...4 MaxiScan 3100 Installation Guide...
Page 12: ...12 MaxiScan 3100 Installation Guide 1 Before you start...
Page 13: ...MaxiScan 3100 Installation Guide 13 2 Installation Mounting...
Page 16: ...16 MaxiScan 3100 Installation Guide 2 Installation...
Page 20: ...20 MaxiScan 3100 Installation Guide 3 Connections...
Page 24: ...24 MaxiScan 3100 Installation Guide 4 Input output synchronization...
Page 30: ...30 MaxiScan 3100 Installation Guide 5 Setup...
Page 34: ...34 MaxiScan 3100 Installation Guide 6 Slave mode...
Page 50: ...50 MaxiScan 3100 Installation Guide 9 Technical characteristics...