2600S-901-01 Rev. C / January 2008
Return to
D-9
Series 2600 System SourceMeter® Instruments Reference Manual
Appendix D: Status Model
Commands to reset the status registers and the Error Queue are listed in
these commands, any programmable register can be reset by sending the 0 parameter value with
the individual command to program the register.
Table D-2
Commands to reset registers and clear queues
Commands
Description
To Reset Registers:
*CLS
Clears the output queue
Reset bits of status registers to 0.
status.reset()
Reset bits of status registers to 0.
To Clear Error Queue:
errorqueue.clear()
Clear all messages from Error Queue.
The instrument automatically clears the ouput queue when the instrument transitions from the
local control state to the remote control state.
Programming and reading registers
Programming enable and transition registers
The only registers that can be programmed by the user are the enable and paragraphs transition
registers. All other registers in the status structure are read-only registers. The following explain
how to determine the parameter values for the various commands used to program enable
registers. The actual commands are summarized in
.
A command to program an event enable or transition register is sent with a parameter value that
determines the desired state (0 or 1) of each bit in the appropriate register. The bit positions of the
register (
) indicate the binary parameter value and decimal equivalent. To program one
of the registers, send the decimal value for the bit(s) to be set. The registers are discussed further
in
"Enable and transition registers"
in this appendix, while specific command parameters to
program these registers are outlined later in this appendix.
Figure D-6
16-bit status register
(2
7
)
(2
6
)
(2
5
)
(2
4
)
(2
3
)
(2
2
)
(2
1
)
(2
0
)
(2
15
) (2
14
) (2
13
) (2
12
) (2
11
) (2
10
)
(2
9
)
(2
8
)
32768 16384
Bit Position
Binary Value
Decimal
Weights
B7
B6
B5
B4
B3
B2
B1
B0
0/1
0/10/1
0/10/1
0/1
0/1
0/1
128
64
32
16
8
4
2
1
B15
B14
B13 B12
B11
B10
B9
B8
8192 4096 2048 1024 512
256
0/1
0/10/1
0/10/1
0/1
0/1
0/1
Bit Position
Binary Value
Decimal
Weights
B. Bits 8 through 15
A. Bits 0 through 7