VXI VM4016 user manual Single Channel Operation, Commands Description

Page 35

www.vxitech.com

SINGLE CHANNEL OPERATION

This example is for controlling a device that can tolerate a maximum input voltage level at +35 VDC for a maximum time of 250 ms before damage will occur. The input power to this device is provided from a remote source that can be disabled. A low signal applied to the power source remote inhibit will disable its output. The controller will then be notified that an out-of- tolerance condition has occurred and the device was shut down.

The following code is for monitoring a single input for voltage level that exceeds +35VDC for longer than 250 ms. A low latched output is required to be generated upon detection of the interrupt that is used to inhibit the remote power source.

COMMANDS

DESCRIPTION

INP:RANG 100,(@1)

Selects ±100 volts as the input range for Channel 1.

INP:DEB 0.25

Sets the debounce time limit to 250 ms.

INP:MASK 1,(@1)

Enables Channel 1 to generate an interrupt.

INP:MASK 0,(@2:16)

Disables Channels 2 through 16 from generating an

 

interrupt.

INP:POL NORM,(@1)

Selects Channel 1 to generate an interrupt when

 

Channel 1 is greater than the offset voltage.

INP:OFFS +3.5,(@1)

Selects +35.0 volts as the offset (reference) voltage.

OUTP:POL:EXT:LATC INV

Sets the external latched output to be active low.

Figure 3-1and the explanation that follows illustrates what is occurring during this example.

VM4016 Programming

35

Image 35
Contents VM4016 Page Table of Contents VXI Technology, Inc Restricted Rights Legend WarrantyLimitation of Warranty CertificationEMC C L a R a T I O N O F C O N F O R M I T YTerms and Symbols General Safety InstructionsThis product. Product should be inspected or serviced Support Resources VXI Technology, Inc VM4016 Preface Introduction IntroductionFront Panel Layout DescriptionVM4016 Block Diagram IRQ Output VM4016 General SpecificationsPreparation for USE InstallationCalculating System Power and Cooling Requirements Front Panel Interface Wiring Setting the Chassis Backplane JumpersSetting the Logical Address Analog Comparator PIN Outs Signal PIN Number1631 Programming Examples of Scpi Commands FETCHCONDITIONED?FETCHLATCHED? FETCHRAW? Inhousepseudo Inhouseregint InhouseregintInhouseregenable Inhouseclearlatch Examples InputdebounceINPMASK? InputmaskInputmaskinterrupt INPutMASKINTerrupt boolean Where boolean is 0 OFF 1 onINPOFFS? InputoffsetINPutPOLarity NORM,@35 InputpolarityInputrange Outputpolarityexternalinterrupt Outputpolarityexternallatched Example Application ExamplesSingle Channel Operation Commands DescriptionControl Page Sets the external interrupt output to be active high Bracketing a VoltageBracketing AN Input Voltage Page Register MAP Register Access ExamplesFor example Pseudo Register Access VXIPLUG&PLAY Driver Examples VM4016 Programming VXI Technology, Inc Alphabetical Command Listing Command DictionaryIeee 488.2 Common Commands Normal Instrument Specific Scpi CommandsScpi Required Commands Query Parameters Command DictionaryCLS Common Scpi CommandsResponse Description ESEESR? IDN? Query Parameters Query Response Description OPCRST SRE STB? TRG TST? OPC WAIFETChCONDitioned? Instrument Specific Scpi CommandsFETChLATChed? FETChRAW? Inhouseclearlatch Inhousepseudo Inhouseregint Inhouseregenable INPutDEBounce INPutMASK INPutMASKINTerrupt INPutOFFSet INPutPOLarity INPutRANGe OUTPutPOLarityEXTernalINTerrupt OUTPutPOLarityEXTernalLATChed STATusOPERationCONDition? Required Scpi CommandsSTATusOPERationENABle STATusOPERationEVENt? STATusPRESet STATusQUEStionableCONDition? STATusQUEStionableENABle STATusQUEStionableEVENt SYSTemERRor? SYSTemVERSion? Theory of Operation Input Range Control Relay Signal Comparison Interrupt Generation Interrupt Generation OUTPutPOLarityEXTernalLATChed Index