Programming the Digital Port
Bi-Directional Digital I/O
Digital Input only
Fault Output
Inhibit Input
Digital Control Port
A Digital Control Port consisting of seven I/O pins is provided to access various control functions. Each
pin is user-configurable. The following control functions are available for the I/O pins. See the Digital
Subsystem for details on the SCPI commands to program the Digital Port.
The following table describes the possible pin configuration for the digital port functions. For a
complete description of the electrical characteristics of the digital control port, refer to the
Specifications section.
Function Description
DIO General-purpose ground-referenced digital input/output function. The output can be set with [SOURce:]DIGit-
al:OUTPut:DATA.
DINPut Digital input-only mode. The digital output data of the pin is ignored.
FAULt Applies only to pin 1. Pin 1 functions as an isolated fault output. The fault signal is true when any output is in a
protected state. Pin 2 serves as the isolated common for pin 1. When pin 1 is set to the FAULt function, the
instrument ignores any commands to program pin 2. Queries of pin 2 will return FAULt. If pin 1 is changed from
FAULt to another function, pin 2 is set to DINPut.
INHibit Applies only to pin 3. When pin 3 is configured as an inhibit input; a true signal at the pin will disable the output.
Common Applies only to pin 8. Connected to ground.
In addition to the configurable pin functions, the signal polarity (Positive or Negative) for each pin is
also configurable. For level signals, POSitive indicates a voltage high at the pin. NEGative indicates a
voltage low at the pin. For edge signals, POSitive means a rising edge and NEGative means a falling
edge.
Bi-Directional Digital I/O
Each of the seven pins can be configured as general purpose bi-directional digital inputs and outputs.
The polarity of the pins can also be configured. Pin 8 is the signal common for the digital I/O pins. Data
is programmed according to the following bit assignments:
Pin 7 6 5 4 3 2 1
Bit Weight 6 (MSB) 5 4 3 2 1 0 (LSB)
Keysight MP4300 Series Operating and Service Guide 89
4 Using the Modular Power System