Instrument Status Register (Isr); Instrument Status Change Registers; Instrument Status Change Enable Registers; Bit Assignments For The Isr, Iscr, And Isce - Fluke 522A/6 Operator's Manual

Multi-product calibrator
Table of Contents

Advertisement

5522A
Operators Manual
By setting the bits in the ESE, you can mask (disable) the associated bits in the ESR. For
example, to prevent the occurrence of a command error from causing bit 5 (ESB) in the
serial poll status byte to go to 1, you can reset (to 0) bit 5 in the ESE register. The
following sample program accomplishes this by checking the status of the CME bit, then
toggling it if it is 1.

Instrument Status Register (ISR)

The Instrument Status Register (ISR) gives the controller access to the state of the
Calibrator, including some of the information presented to the operator on the Control
Display and the display annunciators during local operation.

Instrument Status Change Registers

There are two registers dedicated to monitoring changes in the ISR. These are the ISCR0
(Instrument Status 1-0 Change Register) and the ISCR1 (Instrument Status 0-1 Change
Register). Each status change register has an associated mask register. Each ISCR is
cleared (set to 0) when the Calibrator is turned on, every time it is read, and at each *CLS
(Clear Status) command.

Instrument Status Change Enable Registers

The Instrument Status Change Enable registers (ISCE0 and ISCE1) are mask registers for
the ISCR0 and ISCR1 registers. If a bit in the ISCE is enabled (set to 1) and the
corresponding bit in the ISCR makes the appropriate transition, the ISCB bit in the Status
Byte is set to 1. If all bits in the ISCE are disabled (set to 0), the ISCB bit in the Status
Byte never goes to 1. The contents of the ISCE registers are set to 0 at power-up.

Bit Assignments for the ISR, ISCR, and ISCE

The bits in the Instrument Status, Instrument Status Change, and Instrument Status
Change Enable registers are assigned as shown in Figure 5-11.
5-40
10
! THIS PROGRAM RESETS BIT 5 (CME) IN THE ESE
20
PRINT @6,"*ESE 33"
30
GOSUB 100
40
IF (A% AND 32%) THEN A% = A% - 32% ! CLEAR CME (BIT 5)
50
PRINT @6, "*ESE ";A%
60
GOSUB 100
70
END
100 PRINT @6, "*ESE?"
110 INPUT @6, A%
120 PRINT "ESE = ";A%
130 RETURN
! INITIAL ESE IS CME + OPC
! GET AND PRINT INITIAL ESE
! LOAD ESE WITH NEW VALUE
! GET AND PRINT NEW ESE
! ASK FOR ESE CONTENTS
! RETRIEVE REGISTER CONTENTS

Advertisement

Table of Contents
loading

This manual is also suitable for:

5522a5522a-pq5522a-pq/1g5522a/1ghz5522a-pq/6

Table of Contents