Agilent Technologies 66312A, 6634B Using the Inhibit/Fault Port as a Digital I/O, Pin, Out In/Out

Page 37

Programming the DC Source - 3

Using the Inhibit/Fault Port as a Digital I/O

You can configure the inhibit/fault port to provide a digital input/output to be used with custom digital interface circuits or relay circuits. As shipped from the factory, the port is shipped for inhibit/fault operation. You can change the configuration of the port to operate as a general purpose digital input output port with the following command:

[SOURce:]DIGital:FUNCtion RIDFi DIGio

The following table shows the bin assignments of the mating plug when used in RI/DFImode as well as Digital I/O mode. Refer to Table 1-2 for the electrical characteristics of the port.

Pin

FAULT/INHIBIT

1FLT Output

2FLT Output

3

INH Input

4

INH Common

To program the digital I/O port use:

[SOURce:]DIGital:DATA <data>

DIGITAL I/O

OUT 0

OUT 1

IN/OUT 2

Common

Bit Weight

0

1

2

not programmable

where the data is an integer from 0 to 7 that sets pins 1 to 3 according to their binary weight. Refer to the DIGital:DATA command for more information.

DFI Programming Example

The following program illustrates how to program the DFI port so that it goes low when an OCP condition turns off the output of the unit. To clear an overcurrent condition, the cause of the condition must first be removed and then an OUTput:PROTection:CLEar command must be sent. Note that the status event register will not clear the DFI port until the register is read.

10

!Rev A.00.00

 

20

ASSIGN @Ps TO 705

 

30

OUTPUT @Ps;"*RST"

! Sets supply to default values

40

OUTPUT @Ps;"OUTP ON"

! Turn on power supply output

50OUTPUT @Ps;"VOLT 10;CURR .1" ! Program power supply voltage and current

60!

70

OUTPUT @Ld;"CURR:PROT:STAT ON"

! Turn on overcurrent protection

80

OUTPUT @Ld;"OUTP:DFI:STAT

ON"

! Turn on DFI port

90

OUTPUT @Ld;"OUTP:DFI:SOUR

QUES"

! Select DFI bit from Questionable status register

100OUTPUT @Ld;"STAT:QUES:ENAB 2;PTR 2" ! Unmask bit 2 (OCP) on positive transition

110!

120

OUTPUT @Ld;"OUTP:PROT:CLE"

! Clears

the protection circuit

130

OUTPUT @Ld;"STAT:QUES:EVENT?"

! Clears

the Event register and DFI

140

ENTER @Ld;EVENT

! Reads the event and clears the buffer

190

!

 

 

37

Image 37
Contents Programming Guide Printing History Safety GuidelinesTable of Contents Internally Triggered Measurements Language DictionaryOutput Commands Scpi Conformance Information Error MessagesCompatibility Language Example ProgramsDocumentation Summary About this GuideGpib References External ReferencesScpi References Downloading and Installing the Driver VXIplug&play Power Products Instrument DriversSupported Applications System RequirementsGpib Capabilities of the DC Source Accessing Online HelpRS-232 Capabilities of the DC Source Gpib AddressRS-232 Programming Example RS-232 Flow ControlBaud Rate Introduction to Scpi RS-232 TroubleshootingConventions Used in This Guide Boldface fontMultiple Commands in a Message Types of Scpi CommandsUsing Queries Including Common CommandsTypes of Scpi Messages Moving Among SubsystemsMessage Unit Query IndicatorHeaders Message Unit SeparatorNumerical Data Formats Scpi Data FormatsSuffixes and Multipliers Response Data TypesUsing Device Clear Scpi Command CompletionPage Introduction Power-on InitializationProgramming the Output Enabling the OutputOutput Current Output VoltageMaximum Voltage Maximum CurrentTriggering Output Changes Setting the Voltage or Current Trigger LevelsScpi Triggering Nomenclature Output Trigger System ModelGenerating Triggers Initiating the Output Trigger SystemVoltage and Current Measurements Making MeasurementsDC Measurements Current Ranges RMS Measurements Agilent 66312A, 66332A OnlyMeasurement Trigger System Model Internally Triggered MeasurementsSequence Form Alias SEQuence2 ACQuire BUS Generating Measurement Triggers Agilent 66312A, 66332A OnlyTrigger Commands Used to Measure Output Pulses Current Detector Measuring Output Pulses Agilent 66312A, 66332A OnlyPulse Measurement Queries Varying the Voltage or Current Sampling Rate Controlling Measurement SamplesMultiple Measurements Agilent 66312A, 66332A Only Pre-event and Post-event Triggering Pulse Measurement Example Agilent 66312A, 66332A onlyOption Base Programming the Status Registers Power-On ConditionsOperation Status Group Standard Event Status Group Questionable Status GroupStatus Byte Register Servicing Operation Status and Questionable Status Events Determining the Cause of a Service InterruptMSS Bit RQS BitMonitoring Both Phases of a Status Transition Inhibit/Fault IndicatorDiscrete Fault Indicator DFI Remote Inhibit RIBit Weight Using the Inhibit/Fault Port as a Digital I/ODFI Programming Example PinPage Language Dictionary Subsystem CommandsSubsystem Commands Syntax ALC DFISubsystem Commands Syntax Common Commands Syntax Common CommandsProgramming Parameters Output Programming ParametersCALibrateCURRent Calibration CommandsCALibrateCURRentNEGative CALibrateCURRentMEASureLOWRangeCommand Syntax CALibrateSAVE Parameters None Examples CALibratePASSwordCALibrateDATA CALibrateLEVelCALibrateVOLTage CALibrateSTATeCALibrateVOLTagePROTection Query Syntax CALibrateSTATe?MEASureARRayCURRent? FETChARRayCURRent? Measurement CommandsMEASureARRayVOLTage? FETChARRayVOLTage? Query SyntaxMEASureCURRentACDC? FETChCURRentACDC? MEASureCURRent? FETChCURRent?MEASureCURRentHIGH? FETChCURRentHIGH? FETChCURRent? applies to Agilent 66312A, 66332A OnlyMEASureCURRentMAXimum? FETChCURRent MAXimum? MEASureCURRentLOW? FETChCURRentLOW?MEASureCURRentMINimum? FETChCURRentMINimum? MEASureVOLTageACDC? FETChVOLTageACDC? MEASureVOLTage? FETChVOLTage?MEASureVOLTageHIGH? FETChVOLTageHIGH? FETChVOLTage? applies to Agilent 66312A, 66332A OnlyMEASureVOLTageMAXimum? FETChVOLTageMAXimum? MEASureVOLTageLOW? FETChVOLTageLOW?MEASureVOLTageMINimum? FETChVOLTageMINimum? SENSeCURRentDETector SENSeCURRentRANGeUnit a amperes *RST Value MAX high range Returned Parameters NR3SENSeSWEepOFFSetPOINts SENSeFUNCtionSENSeSWEepPOINts SENSeSWEepTINTervalHANNing SENSeWINDowRECTangular Returned Parameters CRDOUTPut Output CommandsOUTPutDFI OUTPutDFISOURceOUTPutPONSTATe OUTPutPROTectionDELayOUTPutPROTectionCLEar OUTPutRELayPOLarity OUTPutRELayOUTPutRIMODE Query Syntax OUTPputRELayPOLarity?SOURceCURRent Default SuffixSOURceCURRentTRIGger SOURceCURRentPROTectionSTATeSOURceDIGitalFUNCtion SOURceDIGitalDATASOURceVOLTage Query Syntax SOURceDIGitalDATA?SOURceVOLTageTRIGger SOURceVOLTageALCBANDwidth? SOURceVOLTageALCBWIDth?SOURceVOLTagePROTection Agilent 66332A, 6631B, 6632B, 6633B and 6634B OnlySTATusPRESet Status CommandsSTATusOPERation? STATusOPERationCONDition?Query Syntax STATusOPERationENABle? STATusOPERationENABleParameters Preset Value STATusOPERationNTR STATusOPERationPTRSTATusQUEStionable? STATusQUEStionableENABleSTATusQUEStionableCONDition? STATusQUEStionableNTR STATusQUEStionablePTR Command Syntax *CLS Parameters NoneCLS STATQUESNTR?STATQUESPTR?ESE Bit Configuration of Standard Event Status Enable RegisterESR? OPCSRE PSCPSC on ExampleSTB? Bit Configuration of Status Byte RegisterWAI NR1 register binary valueDISPlay System CommandsDISPlayMODE DISPlayTEXTSYSTemLANGuage SYSTemERRor?SYSTemVERSion? Parameters none Returned Parameters NR2SYSTemREMote SYSTemLOCalSYSTemRWLock IDN?OPT? Command Syntax RCL NRf Parameters ExampleRCL RSTCommand Syntax SAV NRf Parameters Example RST SettingsSAV TST?ABORt Trigger CommandsINITiateSEQuence INITiateNAME INITiateCONTinuousSEQuence1 INITiateCONTinuousNAMETRIGgerSOURce TRIGgerTRIGgerSEQuence2 TRIGgerACQuire Abor Currtrig Init *TRG VolttrigTRIGgerSEQuence2COUNtVOLTage TRIGgerACQuireCOUNtVOLTage TRIGgerSEQuence2COUNtCURRent TRIGgerACQuireCOUNtCURRentParameters RST Value Examples TRIGSEQ2COUNCURR 5 TrigacqcouncurrTRIGSEQ2HYSTCURR TRIGSEQ2LEVVOLT TRIGSEQ2HYSTVOLT TRIGSEQ2LEVCURRTRIGgerSEQuence2LEVelVOLTage TRIGgerACQuireLEVelVOLTage TRIGgerSEQuence2LEVelCURRent TRIGgerACQuireLEVelCURRentTRIGSEQ2LEVVOLT TRIGSEQ2HYSTCURR TRIGSEQ2LEVCURR TRIGSEQ2HYSTVOLTTRIGgerSEQuence2SLOPeVOLTage TRIGgerACQuireSLOPeVOLTage TRIGgerSEQuence2SLOPeCURRent TRIGgerACQuireSLOPeCURRentTRIGSEQ2SLOPVOLT TRIGgerSEQuence2SOURce TRIGgerACQuireSOURce Parameters None Related CommandsTRIGgerSEQuence1DEFine TRIGgerSEQuence2DEFine TRGPage Non-SCPI Commands Scpi Confirmed CommandsScpi Version Page Command Setting Table B-1. COMPatibility Power-on Settings CommandERR? FAULT? ID? IOUT? Table B-2. COMPatibility Commands CompatibilitySimilar Scpi Command ASTS? CLRTable B-2. COMPatibility Commands Description Similar Scpi Compatibility CommandCompatibility Description Command Table B-2. COMPatibility CommandsThese commands determine the conditions that will set bits ErrorRQS ERR RDY Norm Fast INH ERR UNR +CCFAU Page Bit Set Error Number Error Code Error Type Error Number ListTable C-1. Error Numbers Error Number Page Types of DOS Drivers Assigning the Gpib Address in ProgramsAgilent 82335A Driver National Instruments Gpib DriverBasic Controllers Error HandlingExample Programs D Call IBCLRPS% Example 2. IBM Controller Using National InterfaceCODES$=*CLS Option Base Example 3. Controller Using BasicIndex 100 IndexScpi 101102 Manual Updates
Related manuals
Manual 82 pages 25.5 Kb Manual 83 pages 60.43 Kb

6613C, 66312A, 6631B, 6611C, 6614C specifications

Agilent Technologies, a leader in electronic test and measurement solutions, offers a range of power supplies designed to meet various application needs. Notable models include the 6632B, 6634B, 66332A, 6633B, and 6612C. Each of these units provides unique features and technologies that cater to researchers, engineers, and technicians in the industry.

The Agilent 6632B is a single-output DC power supply that delivers up to 30V and 3A. It is known for its excellent load regulation and low noise, making it ideal for sensitive electronic testing. The model includes built-in voltage and current measurement capabilities, allowing users to monitor output conditions in real time. The 6632B is commonly used in laboratory environments, educational institutions, and manufacturing lines.

Moving to the 6634B, this model offers dual-output capabilities with a maximum output of 30V and 6A. This versatility enables simultaneous powering of two different devices or circuit sections. It also features parallel and series operation options, allowing users to create a custom power supply configuration for specific applications. With a programmable interface, the 6634B simplifies test automation, ensuring efficiency in extensive testing scenarios.

The Agilent 66332A stands out with its precision and high performance. This power supply provides three outputs—two programmable and one fixed—yielding flexible power configurations. Its intuitive user interface allows easy adjustment of voltage and current settings. The device is equipped with extensive protection features to safeguard both the power supply and the connected load against faults. It is an excellent choice for complex testing setups that require reliable power.

The 6633B model offers a high-performance power supply with dual outputs, similar to the 6634B but with enhanced specifications. It can provide up to 40V and 2A per channel, delivering precision for demanding applications. This model is particularly suited for industries focused on high-reliability applications, such as telecommunications and aerospace.

Lastly, the Agilent 6612C is a compact and lightweight power supply providing single-output up to 60V and 2A. This model is designed for simplicity and ease of use, making it an excellent choice for portable applications. The 6612C’s unique characteristics include a compact design and user-friendly controls, which facilitate operation in field settings.

In summary, Agilent Technologies’ power supply models—6632B, 6634B, 66332A, 6633B, and 6612C—offer an array of features that cater to a wide range of testing and research needs, ensuring reliable power delivery in various contexts.