
Appendix E: Status model
2606B System SourceMeter® Instrument Reference Manual
E-22
2606B-901-01 Rev. B / May 2018
Register programming example
The command sequence below programs the instrument to generate a service request (SRQ) and set
the system summary bit in all TSP-Link nodes when the current limit on channel A is exceeded.
-- Clear all registers.
status.reset()
-- Enable current limit bit in current limit register.
status.measurement.current_limit.enable = status.measurement.current_limit.SMUA
-- Enable status measure current limit bit.
status.measurement.enable = status.measurement.ILMT
-- Set system summary; enable MSB.
status.node_enable = status.MSB
-- Enable status SRQ MSB.
status.request_enable = status.MSB
TSP-Link system status
The TSP-Link
®
expansion interface allows instruments to communicate with each other. The test
system can be expanded to include up to 32 TSP-enabled instruments. In a TSP-Link system, one
node (instrument) is the master and the other nodes are the subordinates. The master can control the
other nodes (subordinates) in the system. See
TSP-Link system expansion interface
(on page 6-46)
for details about the TSP-Link system.
The system summary registers, shown in the
Status byte and service request enable register
System summary and standard event registers
(on page E-6), are shared by all
nodes in the TSP-Link system. A status event that occurs at a subordinate node can generate an
SRQ (service request) in the master node. After detecting the service request, your program can then
branch to an appropriate subroutine that will service the request. See
Status byte and service request
(on page E-13) for details.
Status model configuration example
In this example, a current limit (compliance) event in SMU A or B of node 15 will set the RQS bit of
the Status Byte of the master node. The commands to configure the status model for this example
are provided in
Status configuration (enable) commands
(on page E-23).
When a current limit (compliance) condition occurs in SMU A or B of Node 15, the following sequence
of events will occur:
•
Node 15: Bit B1 or B2 of the Measurement Event Current Limit Summary Register sets when the
current limit (compliance) event occurs.
•
Node 15: Bit B1 (ILMT) of the Measurement Event Register sets.
•
Node 15: Bit B0 (MSB) of the Status Byte sets.
•
System Summary Registers: Bit B1 (Node 15) of the System Summary Register 2 sets.