![Fluke 522A/6 Operator'S Manual Download Page 182](http://html1.mh-extra.com/html/fluke/522a-6/522a-6_operators-manual_2310337182.webp)
5522A
Operators Manual
5-40
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.
10 ! THIS PROGRAM RESETS BIT 5 (CME) IN THE ESE
20 PRINT @6,”*ESE 33” ! INITIAL ESE IS CME + OPC
30 GOSUB 100 ! GET AND PRINT INITIAL ESE
40 IF (A% AND 32%) THEN A% = A% - 32% ! CLEAR CME (BIT 5)
50 PRINT @6, “*ESE “;A% ! LOAD ESE WITH NEW VALUE
60 GOSUB 100 ! GET AND PRINT NEW ESE
70 END
100 PRINT @6, “*ESE?” ! ASK FOR ESE CONTENTS
110 INPUT @6, A% ! RETRIEVE REGISTER CONTENTS
120 PRINT “ESE = “;A%
130 RETURN
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.
Summary of Contents for 522A/6
Page 4: ......
Page 14: ...5522A Operators Manual x...
Page 18: ...5522A Operators Manual xiv...
Page 22: ...5522A Operators Manual 1 2...
Page 46: ...5522A Operators Manual 1 26...
Page 48: ...5522A Operators Manual 2 2...
Page 54: ...5522A Operators Manual 2 8...
Page 56: ...5522A Operators Manual 3 2...
Page 190: ...5522A Operators Manual 6 2...
Page 240: ...5522A Operators Manual 7 2...
Page 260: ...5522A Operators Manual 8 2...
Page 314: ...5522A Operators Manual 9 52...
Page 370: ...5522A Operators Manual 10 56...
Page 413: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes...
Page 414: ...5522A Operators Manual B 2...
Page 416: ...5522A Operators Manual B 4...