Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-100
077114601 / March 2019
Digital subsystem
The commands in the DIGital subsystem control the digital I/O lines.
:DIGital:LINE<n>:FUNCtion
This command sets the digital I/O pin to be a digital line and sets the pin to be input or output.
Type
Affected by
Where saved
Default value
Command and query
Recall settings
Instrument reset
Power cycle
Save settings
Line 1: AUTO
Line 2: AUTO
Line 3: AUTO
Line 4: MINP
Line 5: MINP
Line 6: MINP
Usage
:DIGital:LINE<n>:FUNCtion <function>
:DIGital:LINE<n>:FUNCtion?
[n]
The digital I/O line: 1 to 6.
<function>
The pin state; see
Details
for values.
Details
Set
<function>
to one of the values shown in the following table.
Value
Description
AUTO
Automatically specify the pin state. This function only applies to line 1 to 3.
Line 1: Trigger in. Detects falling-edge, rising-edge, or both edge triggers
as input.
Line 2: Meter complete output pulse. Outputs a 10 µs TTL-compatible pulse
after the settling time of each measurement.
Line 3: Protection output pulse. Outputs a 10 µs TTL-compatible pulse
when OXP (OVP/OCP/OTP) or sense leads are reversed.
MOUTH
Outputs a high TTL-compatible pulse to the specified line
MOUTL
Outputs a low TTL-compatible pulse to the specified line
MINPut
Configures the specified line as an input
Example
:DIG:LINE1:FUNC MINPut
Set digital I/O line 1 as a digital input pin.
Also see
(on page 3-22)