26 | ESP302-GPIB-ADPT
A1387A0-EDH0429En1010 11/21
USER's MANUAL
6.2 ERR LED Error codes
In Command mode, if the ERR LED turns on, the *ESR query returns a number representing the sum
of the different bits set in the Event Status Register. For example, if the response is 160, it means
events of bit 7 (weight: 128) and bit 4 (weight: 32) have occurred.
Table 4: ESR Bit definitions
Bit
Weight
Event
Description
7
128
PON
The Power-on event occurs at power turn-on and can
be used to signal a power off-on occurrence.
6
64
SRQ
GPIB SRQ line asserted.
5
32
Cmd
Command Error. Command not executed due to bad or
invalid command, spelling or syntax.
4
16
Exc
Execution Error. Values out of range etc. Command not
executed.
3
8
Memory
Setup variable data corrupted.
2
4
Query
Query error, data not read or read attempted with no
data present.
1
2
Timeout
GPIB Bus timeout.
0
1
OPC
Operation Complete. Operation Complete has no
meaning in the Adaptor
and is always 0.