Status Byte And Service Request Commands - Keithley 2302 Instruction Manual

Battery/charger simulator
Hide thumbs Also See for 2302:
Table of Contents

Advertisement

Status byte and service request commands

The commands to program and read the status byte register and service request enable regis-
ter are listed in
Table
enable registers"
NOTE
To reset the bits of the service request enable register to 0, use 0 as the parameter
value for the *SRE command (i.e. *SRE 0).
Table 8-2
Command commands — status byte and service request enable registers
Command
*STB?
*SRE <NRf>
*SRE?
Note: *CLS and STATus:PRESet have no effect on the service request enable register.
Programming example — read status byte
The following command sequence enables EAV (error available), sends an invalid command,
and then reads the status byte register:
*CLS
*SRE 4
BAD:COMMand
*STB?
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com
8-2. For details on programming and reading registers,
and
"Reading registers" on page
Description
Read status byte register
Program the service request enable register: 0 to 255
Read the service request enable register
' Clear Status Byte Register.
' Enable EAV.
' Send an invalid command to generate an error.
' Read status byte. The value 68 will be returned to indicate
that bits B2 (EAV) and B6 (MSS) of the Status Byte Register
are set.
Status Structure 8-9
see "Programming
8-5.
Default
(Note)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

2302-pj23062306-vs2306-pj

Table of Contents