Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-76
077114601 / March 2019
:BATTery[n]:OUTPut[:STATe]
This command sets the state of the instrument output.
Type
Affected by
Where saved
Default value
Command and query
Recall settings
Instrument reset
Power cycle
Save settings
0 (OFF)
Usage
:BATTery[n]:OUTPut[:STATe] <state>
:BATTery[n]:OUTPut[:STATe]?
[n]
Channel number: For single-channel instruments, the value is 1
<state>
Turn source off: OFF or 0
Turn source on: ON or 1
Disable source: DISable or 2
Example
:BATT:OUTP ON
Turn the battery output on.
Also see
None
:BATTery[n]:STATus?
This command queries the present status of charging or discharging of the instrument.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:BATTery[n]:STATus?
[n]
Channel number: For single-channel instruments, the value is 1
Details
There are two types of responses after you execute this command, including:
CHARGE : source current
DISCHARGE: sink current
Example
:BATT:STAT?
One of the two status will be returned.
Also see
None