Transmission of Scanner Commands
MP150
Protocol
11
3.4
Error Handling
If the scanner, upon a command or a parameter request, answers ETB instead of ACK/NAK, an error in
the scanner has occurred.
After the acknowledgment signal
ETB
from the scanner, indicating an error, the scanner only accepts
the error status parameter request:
GES
which it will respond as described in section
ES
<error
code>.
The meaning of the <error code> is given in table Table 1.
If other commands or parameter requests are transmitted, the scanner will continue to respond with
ETB; with the exceptions:
•
GES
to get the error,
•
CC
to switch to the calibration mode. In the Calibration mode this ETB-behaviour is switched
off.
The command itself will still be executed, even if it answers with
ETB
only.
In case of recoverable errors, the reset of the error message is possible, and continued operation may be
achieved by issuing the command
ES
.
The following errors are defined and can be asked for using the
GES
command. Bit positions of multiple
errors are or-ed up in the answer as described below the table.
error
bit
hexadecimal
representation
Description
What is to do?
reflected in
the ETB-
answer
0
1hex
checksum error in the user parameter section
PS
yes
1
2hex
checksum error in the calibration parameter section
%PS
yes
2
4hex
checksum error in the temperature table section
%TTS
yes
3
8hex
device in warm-up
wait some
minutes
no
4
10hex
bias voltage out of range
service
yes
5
20hex
checksum error in the service parameter section
service / may be
ignored
no
6
40hex
detector cooler voltage out of range
device may be
too warm; if not -
service
yes
7
80hex
internal temperature over range
cooling
no
30
40000000hex
no zero-pulse is arriving from the encoder
–
probably the
motor is not rotating
service
yes
31
80000000hex
motor is rotating but no data is arriving at the ad-converters service
yes
Table 1
Example 1: active error bits 0, 1, 30 result in the answer 40000003 (1hex + 2hex + 40000000hex)
Example 2: active error bits 0, 1, 3 result in the answer:
Result / answer: 1hex + 2hex + 8hex = Bhex
Содержание LineScanner MP150
Страница 1: ...MP150 Linescanner Protocol Manual Rev B4 Aug 2019 51101...
Страница 2: ......