Scanner Status Requests - Microscan MS-890 User Manual

Industrial automation scanner
Table of Contents

Advertisement

Scanner Status Requests

Scanner Status Requests
<?>
Status Byte
The scanner responds to a status request
<?/22>. To determine the status:
1. Look up the binary conversion in the hex-to-binary table.
For example, the first 2 in binary would be 0 0 1 0 as read from binary digits 3 through
0; the second 2 the binary digits 7 through 4 which is also 0 0 1 0.
2. Next, enter your binary values in the "Scanner Status" table,
in the "Binary" column next to the appropriate bit.
Bit
Binary
0
0
1
1
2
0
3
0
4
0
5
1
6
0
7
0
3. Under "Binary," interpret 1s as true and the 0s as not true.
For example, bit 1 has a 1 in the "Binary" column, indicating
"Command Received." Bit 5 is also a 1 indicating that the
"Scanner is in a read cycle."
<?1 >
Extended Status
The scanner responds to an extended status request
several fields, for example: <?1/20><35-558002-10,35-558001-
12,F6D4,20C5,02D3,02D3>.
These represent, in order: the status byte discussed above, the boot part number (35-558002-10),
the application part number (35-558001-12), boot checksum (5F6D4), app checksum
(02D3), RAM parameter checksum (02D3), and flash parameter checksum (02D3).
<K?>
All Commands Status
This is the fastest way to learn the scanner's current configuration. Sending this request
will return the current settings of all commands, starting with the lowest K command value
and ending with the highest K command value.
<Knnn?>
Single Command Status
This request will return the value of the variables associated with the requested K command.
The request of a single entry of a database command cannot exceed the number of database
slots for the specific command.
12-20
Scanner Status
Command error detected
Command received
Communication error detected
Flash sector unprotect failure
Host/Aux port buffer overflow
Scanner is in a read cycle
Software Watchdog reset
Hardware Watchdog reset
<?>
with a two character hex value, for example
<?1>
with
MS-890 Industrial Automation Scanner User Manual
Binary
Bit Digits
Hex
Value
7
6
5
4
3
2
1
0
0
0
0
0
0
1
0
0
0
1
2
0
0
1
0
3
0
0
1
1
4
0
1
0
0
5
0
1
0
1
6
0
1
1
0
7
0
1
1
1
8
1
0
0
0
9
1
0
0
1
A
1
0
1
0
B
1
0
1
1
C
1
1
0
0
D
1
1
0
1
E
1
1
1
0
F
1
1
1
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MS-890 and is the answer not in the manual?

Questions and answers

Table of Contents