EasyManua.ls Logo

Fluke Calibration 5560A - Bit Assignments for the ESR and ESE; Program the ESR and ESE

Default Icon
120 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Calibrator
Check Product Status
33
Bit Assignments for the ESR and ESE
The bits in the Event Status Register (ESR) and Event Status Enable register (ESE) are assigned as
shown in Table 18.
Program the ESR and ESE
To read the contents of the ESR, send the remote command, *ESR?. The ESR is cleared (set to 0)
every time it is read. To read the contents of the ESE, send the remote command, *ESE?. The ESE is
not cleared when it is read. When you read either register, the Calibrator sends a decimal number that
when converted to binary represents bits 0 through 15. The sample BASIC program below retrieves the
contents of both registers:
10 ! THIS PROGRAM READS THE ESR AND THE ESE REGISTERS
20 PRINT @4, “*ESR?” ! ASK FOR THE ESR CONTENTS
30 INPUT @4, A% ! RETRIEVE THE REGISTER CONTENTS
40 PRINT @4, “*ESE?” ! ASK FOR THE ESE CONTENTS
50 INPUT @4, B% ! RETRIEVE THE REGISTER CONTENTS
60 PRINT “ESR = “;A% ! DISPLAY THE ESR REGISTER CONTENTS VALUE
70 PRINT “ESE = “;B% ! DISPLAY THE ESE REGISTER CONTENTS VALUE
80 END
Table 18. Event Status Register (ESR) and Event Status Enable (ESE)
15 14 13 12 11 10 9 8
00000000
76543210
PON 0 CME EXE DDE QYE 0 OPC
PON Power on. This bit is set to 1 if line power has been turned off and on since the last time the
ESR was read.
CME Command error. The Calibrator encountered an incorrectly formed command. (The
command ERR? fetches the earliest error code in the error queue, which contains error
codes for the first 15 errors that have occurred.).
EXE Execution error. An error occurred while the Calibrator tried to execute the last command.
For example, when a parameter is out of range. (The command
ERR? fetches the earliest error in the error queue, which contains error codes for the first
15 errors that have occurred.).
DDE Device-dependent error. An error related to a device-dependent command has occurred.
QYE Query error. The Calibrator was addressed to talk when no response data was available or
appropriate, or when the controller failed to retrieve data on the output queue.
OPC Operation complete. All commands previous to reception of a *OPC command have been
executed, and the interface is ready to accept another message.

Table of Contents

Related product manuals