
Appendix E: Status model
Model 2657A High Power System SourceMeter® Instrument Reference Manual
E-20
2657A-901-01 Rev. B/December 2012
For example, either of the following commands will set the EXT enable bit:
status.system.enable = status.system.EXT
status.system.enable = 1
When reading a register, a numeric value is returned. The binary equivalent of this value indicates
which bits in the register are set. For details, see
(on page E-15). For example, the
following command will read the System Enable Register:
print(status.system.enable)
The used bits of the system event registers are described as follows:
•
Bit B0, Extension Bit (EXT):
Set bit indicates that an extension bit from another system status
register is set.
•
Bits B1-B14* NODEn:
Indicates a bit on TSP-Link node
n
has been set (
n
= 1 to 64).
*
status.system5
does not use bits B9 through B15.
Standard Event Register
The bits used in the Standard Event Register are described as follows:
•
Bit B0, Operation Complete (OPC):
Set bit indicates that all pending selected device operations
are completed and the Model 2657A instrument is ready to accept new commands. The bit is set
in response to an *OPC command. The
opc()
function can be used in place of the *OPC
command. See
(on page D-1) for details on the *OPC command.
•
Bit B1:
Not used.
•
Bit B2, Query Error (QYE):
Set bit indicates that you attempted to read data from an empty
output queue.
•
Bit B3, Device-Dependent Error (DDE):
Set bit indicates that an instrument operation did not
execute properly due to some internal condition.
•
Bit B4, Execution Error (EXE):
Set bit indicates that the Model 2657A instrument detected an
error while trying to execute a command.
•
Bit B5, Command Error (CME):
Set bit indicates that a command error has occurred. Command
errors include:
•
IEEE Std 488.2 syntax error: The Model 2657A instrument received a message that does not follow the
defined syntax of IEEE Std 488.2.
•
Semantic error: Model 2657A instrument received a command that was misspelled or received an
optional IEEE Std 488.2 command that is not implemented.
•
The instrument received a Group Execute Trigger (GET) inside a program message.
•
Bit B6, User Request (URQ):
Set bit indicates that the LOCAL key on the Model 2657A
instrument front panel was pressed.
•
Bit B7, Power ON (PON):
Set bit indicates that the Model 2657A instrument has been turned off
and turned back on since the last time this register was read.
Содержание 2657A
Страница 3: ......