Home

Notes - Artisan Technology Group

image

Contents

1. cales MTE ITTA Salvi CH5 CH2 Vies E eel CHE CH3 Wiles ee vi CH7 CH4 es eel CHB CHO les ee vi CHI3 cho les eel cH14 CH11 Yile e eel CHIS CHI2 es Sevi CHIE xc e QUES OUTPUT MODE IS Program Selectable Jumper Selectable Programmable ee P J se P J Jumper selected to volts Jumper Storage le_ v i ele_ v i Non programmable Programmable ele P J P JJumper selected to current V I Jumper has no effect ee v i eel y Non programmable Figure 1 13 P J and V I Jumpers P J Jumper The P J jumper sets the channel output mode to be either Program Selectable or Jumper Selectable When the jumper is in the program selectable position the channel output mode can be set via programming commands In the jumper selectable position the channel output mode is set via the V I jumper V I Jumper The V I jumper sets the channel output mode to either voltage or current when the P J jumper is set to the Jumper Selectable position When the P J jumper is set to Program Selectable this jumper has no effect Notes With no jumpers installed the module will be in the Program Selectable output mode When the P J Jumper is set to the Jumper Selectable position the output mode cannot be changed with SCPI commands The output mode following a RST common command will be the mode set by the V I jumper Chapter 1 Module Setup and Install
2. Reg ister the A16 address space It also provides access to the non volatile memory Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Address Base 1Eig READ Unused VPPEN A24 Window WRITE VPPEN Writing a one 1 to this field enables the non volatile memory to be altered Writing a zero 0 disables updates or erasures of the non volatile memory Non volatile memory is located at base 10016 to base 20016 Note The VPPEN field enables or disables the programming voltage needed to change the contents of the non volatile memory A physical jumper on the main printed circuit board must also be moved to the CAL position before the contents of the non volatile memory can be altered A24 Window Writing a value to this field sets which 16 register wide portion of A24 registers can be accessed via A16 registers 2016 to 3E16 The registers mapped for each value are shown below and in Figure B 3 on page 116 A24 Window Value A24 Registers Mapped O16 A16 0016 through 1E16 116 A16 2016 through 3E16 216 Main_DAC Immediate Registers 316 Main_DAC Triggered Registers 416 Offset_DAC Registers 516 Gain_DAC Registers 616 Undefined 716 Undefined 816 Voltage Offset Cal Memory non volatile 916 Voltage Gain Cal Memory non volatile A16 Current Offset Cal Memory non volatile Bie Current Gain Cal Memory non volatile C16 Cal and Configuration Registers
3. READ WRITE Undefined Configuration Undefined Notes Calibration Checksum Register Configuration When the module was configured as an 8 channel DAC during the last calibration all bits in this field are set to one 1 When the module was configured as a 16 channel DAC at the last calibration all bits in this field are set to zero 0 This register is not set or used by the hardware The HP E1418A SCPI driver if used to calibrate the module automatically sets the bits in this register If you use register programming to calibrate this module you may wish to use this register to record the calibration status The Voltage Calibration Status Register the Current Calibration Status Register the Calibration Isolation Status Register and the Calibration Card Configuration Register are used together to maintain the overall calibration status of the module Changes in the values of the configuration field indicate a change in the module configuration and may indicate the need to recalibrate the module This register is non volatile and the field can be compared to the volatile Configuration Register to determine if the module configuration has changed Changes in the terminal module do not affect the contents of this register The Calibration Checksum Register provides a non volatile record of the checksum computed from all non volatile calibration memory locations The
4. Ch XX Iso Cal Stat This field is set to a one 1 when the last calibration of the channel was performed with the channel configured as non isolated This field is set to a zero 0 when the channel was last calibrated in the isolated configuration Notes This register is not set or used by the hardware The HP E1418A SCPI driver if used to calibrate the module automatically sets the bits in this register If you use register programming to calibrate this module you may wish to use this register to record the calibration status The Voltage Calibration Status Register the Current Calibration Status Register the Calibration Isolation Status Register and the Calibration Card Configuration Register are used together to maintain the overall calibration status of the module Changes in the values of these fields indicate a change in the module configuration and may indicate the need to recalibrate the module 146 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Calibration Card Configuration Register The Calibration Card Configuration Register provides a non volatile record of the module configuration as either an 8 channel device or a 16 channel device when the module was last calibrated Address Base 18A16 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
5. o o MIRTA TTT HOT TT SSoSooooooocodJ mo ooo ooo 592255000004 S25090300000000 i O Oo OD OD O O O O O O O O l pocoDoooopoo j MM m e 520000000000 DooOooooooooo gs j BPODODODODOoa S HI LO LS gt FLLS SLLO DMM NHI SLHS Figure D 4 Resistance Calibration Connections CAL Current output adjustment uses two of the CALibration subsystem queries Current adjustment requires voltage measurements CALibrationn CONFigure CURRent CALibrationn VALue CURRent lt value gt Once the calibration resistance value is set as described earlier the general procedure for each channel current output adjustment is 1 Make the connections shown in Figure D 5 or D 6 2 Send the CALn CONF CURR query to the module and read the response until a 1 is returned typically the first query response 3 Read the voltage output on the DMM 4 Send the DMM value read with the CALn VAL CURR lt value gt query 5 Enter the query response 6 Repeat steps 3 4 and 5 until the CALn VAL CURR lt value gt query returns a 0 7 Repeat steps 1 through 6 for each channel The first query CALn CONF CURR sets the channel to the calibration mode and returns a 1 when the channel is
6. SS22000000000 COCOGOOOOCHGAOG SOOCDOS5SCODOaODoo POODODODODOoo IM 20200 SO0OC0O0O0OoO DODODODODOoool SEA DEA O C moomoo ooo OoOo Zo 5 DODODOOODOODO Figure D 6 Current Calibration Connections CHAN HS HI LO LS y p External Resistor C C EBEaaccaccaacara Sjojoejejoejejejoejejoejeje LS LO HI HS DMM 161 Voltage Current Output Adjustment Appendix D Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Sto ring the Once all adjustments have been made using the procedures outlined Adjustme nts previously you can store the new calibration constants in non volatile memory by sending the following command Store the new constants CALibration STORe This command will generate an error if the Cal Store Enable Jumper is not set to the CAL position see page 156 Note The HP E1418A will be busy storing the new calibration constants following the CAL STORe command You should not perform any bus resets or module resets until the store is complete You can use the OPC query as described on page 56 if needed Return the Ifyou have changed the position of the Cal Store Enable Jumper as Module to Use described on page 156 and you
7. o o e Page 84 e STATUS Subsystem o o e Page 95 e SYSTem Subsystem o o e Page 100 e TEST Subsystem o o e e Page 101 e TRIGger Subsystem o o e e Page 104 e EEE 488 2 Common Command Quick Reference Page 106 e HP El418A Command Quick Reference Page 107 Commands are separated into two types IEEE 488 2 Common Commands and SCPI Commands The IEEE 488 2 standard defines the common commands that perform functions like reset self test status byte query etc Common commands are four or five characters in length always begin with the asterisk character and may include one or more parameters The command keyword is separated from the first parameter by a space character Common commands are not documented except in a general manner in this manual Some examples of common commands are RST ESR 32 STB Chapter 3 Artisan Technology Group HP E1418A SCPI Command Reference 59 Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Command Format Command Separator Abbreviated and Short Commands SCPI commands perform functions like setting outputs querying instrument states or retrieving data The command structure is a hierarchical structure that usually consists of a top level or root command one or more lower level commands and their parameters The following e
8. char buf 1024 0 viStatusDesc dac err buf printf VTL ERROR sin buf return End of VTL error handler 48 Programming Examples Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI Error check m void sys_err ViSession resource char buf 1024 0 int err_no err viPrintf resource SYST ERRAn query error queue if err lt VI_SUCCESS err_handler resource err err viScanf resource d t amp err_no amp buf get error number and string if err lt VI_SUCCESS err_handler resource err while err_no 0 printf nCommand Error d sin err_no buf err viPrintf resource SYST ERRAn query error queue 7 if err lt VI_SUCCESS err_handler resource err err viScanf resource d t amp err_no amp buf get error number and string if err lt VI_SUCCESS err_handler resource err return End of SCPI error check Chapter 2 Programming Examples 49 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce Output Setting an output on a channel is a three step process Set the channel mode voltage or current Set the channel output value volts or amps Enable the output close the channel output relay As described previously a single APPLyn command performs al
9. Chapter 3 Guaranteed 888 88 SOURCE www artisantg com HP E1418A Command Quick Reference Command Description STATus OPERation CONDition Returns the contents of the Operation Status Condition Register Reading the register does not affect its contents OPERation ENABle lt mask gt Specifies which bits of the associated Event Register are included in bit 7 of the Status Byte Register The Summary bit is the bit for bit logical AND of the Event Register and the unmasked bit s OPERation ENABle Returns the value of the mask set for the Operation Status Register OPERation EVEN1 Returns the value of the contents of the Operation Status Event Register Reading the register clears all bits in the register PRESet Presets all Enable Registers to 0 The command has no effect on Condition or Event Registers QUEStionable CONDition Returns the value of the Questionable Status Condition Register Reading the register does not affect its contents QUEStionable ENABle lt mask gt Specifies which bits of the associated Event Register are included in bit 3 of the Status Byte Register The Summary bit is the bit for bit logical AND of the Event Register and the unmasked bits QUEStionable ENABle Returns the mask set for the Questionable Status Enable Register QUEStionable EVENt Returns the value of the Questionable Status Event Register Reading the register clears all bits in the r
10. TRIGgered AMPLitude lt value MIN MAX DEF gt AMPLitude 84 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce SOURcen CURRent LEVel IMMediate AMPLitude SOURcen CURRent LEVel IMMediate AMPLitude lt value MIN MAX DEF gt immediately outputs the current set in value at channel n when the output relay is closed Parameters Comments Parameter Parameter Range of Default Name Type Values SOURcen keyword 1to8or1to16 1 lt value gt numeric float 32 or 0 02 Amps to 0 02 Amps or 0 discrete MIN MAX DEF In the keyword SOURcen the valid range of n is lto8for E1418A E1418A Option 002 1 to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error The lt value gt parameter is a floating point 32 bit number in the range of 0 02 A to 0 02 A MIN sets 0 02 Amps MAX sets 0 02 Amps DEF sets 0 Amps This command immediately programs the specified current on channel n The output state of the channel must be enabled for the current to appear at the output terminals If the channel is in the voltage mode when this command is received an error is generated Related Commands SOURcen CURRenit LEVel IMMediate AMPLitude SOURcen FUNCtion MODE CURRent OUTPutn STATe Chapter 3 HP E1418A SCPI
11. if err lt VI_SUCCESS err_handler dac err err viScanf dac d amp result Enter integer returned returns a 1 when ready to calibrate if err lt VI_SUCCESS err_handler dac err result 1 while result 0 meas_volt get_voltage Get the voltage measurement err viPrintf dac CAL d VAL VOLT f n i meas_ volt Send the measurement if err lt VI_SUCCESS err_handler dac err err viScant dac d result Enter integer returned returns a O when calibration complete if err lt VI_SUCCESS err_handler dac err if result 5 Calibration for this channel aborted printf Calibration for channel d aborted n i result 0 yore CURRENT OUTPUT ADJUSTMENT mee set the calibration resistor value ze result 0 while result lt 1 err viPrintf dac CAL CONF RESAn Configure for resistance calibration if err lt VI_ SUCCESS err_handler dac err err viScanf dac d amp result Enter integer returned returns a 1 when ready to calibrate if err lt VI_SUCCESS err_handler dac err meas_res get_resistance err viPrintf dac CAL VAL RES f n meas_res Send the resistance value if err lt VI_SUCCESS err_handler dac err channel current output adjustment for i 1 ienum_chan 1 i result 0 while result lt 1 err viPrintf dac CAL d CONF CURR n
12. 000000 eee eee 39 Using This Chapi snc 2 645 RRS RRR AKA SHEE YAGER SHER RES AH GE A 39 Program ERADIP OS 6 4 4 266k a8 Oh ee ER SEEDER EES COREG OOS 39 Querying Module Identification and Configuration 0 40 HP E1418A 8 16 Ch D A Converter User Manual Contents 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Bd ed ee os RR a ee ed 42 SLY CU oe kee Oe hee eRe oR ES Gee Boh ded ess 45 Emo CCCI ir recer KERR REE ARK ERE RR a eee 47 LO Error Checking lt 4 420 6644 reside EHR E HE ORR EES 47 SEPIA OR mS 47 SOURCE OUP arrire antites kiin ig ena nakte RE SS 50 Setting the Oumput Mode s oa ne AO Ree ia RAR EO a A 32 Controlling emp Relay 2 4 ceeds bobbed ES SES EH a EEO 33 TUPESTDE do amp de ed ee AAA Boe pee hh eh de cet dec 54 Usne OPCE okt eed eke he ES a e GES 56 Combining Output Channels acosa rra BN RARER AD SORES SS 37 Chapter 3 HP E1418A SCPI Command Reference 59 Using Ths C Mopti si kook Se eS KK REE SHEE WAGER REE A A 39 Command Types sir rra AAA AAA aH 59 Common Command Format ee 39 SCP Command Forinat see eeaeee netaa aa ee a 60 Linking Commands 224 i ce 046K 4 kibi iiion ihia aida 62 SCPICommand Referee iba a RA E EES SE ES 62 APOR E e acs menena a ee E a E ee Ge ae 63 PUN dad E E E E ad nad E E E E E 64 APPLE CURR ot he cached he eS ORR A RA Ree R ES AER EO 64 PP VOLT A ok Ee od SE GORE EEL LE SESS WER EG 65 CALD
13. Appendix E Configuration and Disassembly 166 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 1st Value Returned Indicates an 8 channel or 16 channel configuration Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Use Not Used Channels 2nd Value Returned 3rd Value Returned Channels can have one of two values all 1 s decimal 7 for an 8 channel configuration and all 0 s decimal 0 for a 16 channel configuration Indicates the type of Terminal Module if any installed See page 77 for additional information Indicates isolated or non isolated plug on modules for each channel Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Use Chi6 Chi5 Cch14 Ch13 Cch12 Ch11 Chi0 Ch9 Ch8 Ch7 Ch6 Ch5 Ch4 Ch3 Ch2 Chi 4th Value Returned 5th Value Returned 6th Value Returned When a bit is set to a O an isolated plug on is present A bit set to a 1 indicates a non isolated plug on For 8 channel devices channels 9 through 16 bits are set to 1 Indicates the state of the V I jumper on the terminal module as either current or voltage when the P J jumper is in the jumper selectable position See page 77 for additional information Indicates the state of the channel output relay See page 77 for additional inf
14. Guaranteed 888 88 SOURCE www artisantg com SOURcen CURRent LEVel IMMediate AMPLitude 85 SOURcen CURRent LEVel IMMediate AMPLitude 86 SOURcen CURRent LEVel TRIGgered AMPLitude 87 SOURcen CURRent LEVel TRIGgered AMPLitude 88 SOURcen FUNCtiion MODE ooo ee Re RE REET HH HR EHH 89 SUR FUNCHOMMODE ok ek ok a aa Rk oe RE a 90 SOURcen VOLTage LEVel IMMediate AMPLitude 91 SOURcen VOLTage LEVel IMMediate AMPLitude 92 SOURcen VOLTage LEVel TRIGgered AMPLitude 93 SOURcen VOLTage LEVel TRIGgered AMPLitude 94 A acc fected BO ate Re tae a ee dee AR coh Gh ace Ros Bae ak Tad 95 STATus OPERation CONDition 0 0 0 0 ee 96 STATS OPEROM ENABle sro 444644506 a E EMO unia 96 STA Tos OPER MON PNAC sir Re ee R E e i eo 97 STATus OPERation EVENt ee ee 97 STATS PRESEI 445 4426 69s PERG EOE DED CEO EE Oe eae 97 STATus QUEStionable CONDition ee 98 STATUus QUEStionable ENABle 98 STATus QUEStionable ENABIE cg kb ke Rw Ree RRR RO eS 99 STATus QUEStionable EVENt 0 0 0 ee 99 SLOTS idad own bh HORE OS bere oS 100 SI LEMERRAS a A eee OARS RRR a 100 SYo lem VERSION 44 44 4 64h SS SRY LR EERE EDS HR EPS EOES 100 A kee Book ee ge te hha ee ee a ee 101 TESTINUMBE sesionar ade EERE SRE HERRERO RRS 101 TEST ESTIRESOESI S 442
15. Parameters Comments TEST TST performs all internal self tests on the module and returns a 16 bit integer indicating the results of the self test All circuits on the module are tested up to the output relay None Following the completion of this query all outputs are disabled and set to either 0 A or 0 V If the module is in the wait for trigger state when this query is received an error is generated The returned value indicates the first failure found Complete test results all failures found are reported by the query TEST TST RESults A successful self test returns 0 A failure of a self test returns a non zero 16 bit integer The integer returned has a binary coding of the form 12 11 10 9 8 7 6 5 4 3 2 1 0 Meaning Test Number A24 Test Info Test number is the internal self test number of the first failure found The Test Info and A24 fields contain information related to the failure in Test Number Test Number Tested Area 1 25 Register Read and Writes 26 41 Trigger Control for each Channel test 26 corresponds to channel 1 test 41 corresponds to channel 16 42 43 VXlbus Interrupt Control 44 59 Channel Voltage Output test 44 corresponds to channel 1 test 59 corresponds to channel 16 60 75 Channel Current Output test 60 corresponds to channel 1 test 75 corresponds to channel 16 Complete descriptions o
16. A bit set to 1 indicates a non isolated channel or no plug on module installed DO NOT operate the module without a plug on module Bits 0 15 correspond to channels 1 16 respectively 4th Channel Mode A bit set to 0 indicates a current output channel A bit set to 1 indicates a voltage output channel Bits 0 15 correspond to channels 1 16 respectively 5th Channel Output State A bit set to 0 indicates the channel output relay is closed A bit set to 1 indicates the channel output relay is open Bits 0 15 correspond to channels 1 16 respectively 6th Channel Mode Programmable State P J Jumper A bit set to O indicates a channel is not programmable A bit set to 1 indicates a channel is programmable Bits 0 15 correspond to channels 1 16 respectively For 8 channel configurations the upper 8 bits of integers 3 4 5 and 6 are set to 1 s Chapter 3 HP E1418A SCPI Command Reference 77 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com DIAGnostic DIAGnostic OUTPut ALL STATe DIAGnostic OUTPut ALL STATe lt state gt opens or closes all channel output relays at once Parameters Parameter Parameter Range of Default Name Type Values lt state gt boolean OFF ON 0 1 0 Comments This command performs the same function as the OUTPutn STATe command but enables or disables all outputs simultaneously e Related
17. A rtisan Artisan Technology Group is your source for quality Technology Group new and certified used pre owned equipment FAST SHIPPING AND SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT DELIVERY Experienced engineers and technicians on staff Sell your excess underutilized and idle used equipment TENS OF THOUSANDS OF at our full service in house repair center We also offer credit for buy backs and trade ins IN STOCK ITEMS www artisantg com WeBuyEquipment 7 EQUIPMENT DEMOS HUNDREDS OF InstraV ea REMOTE INSPECTION LOOKING FOR MORE INFORMATION MANUFACTURERS Remotely inspect equipment before purchasing with Visit us on the web at www artisantg com 7 for more our interactive website at www instraview com information on price quotations drivers technical LEASING MONTHLY specifications manuals and documentation RENTALS ITAR CERTIFIED CEP BAD tia Contact us 888 88 SOURCE sales artisantg com www artisantg com Contents HP E1418A 8 16 Ch D A Converter User Manual WINES AA he ee BS OK KD ROME 4 E WARNER AAA 8 Saleh SVM ae AREA 8 Declaro al ESO dr ee A ae ale Boke ed Be OR 9 Reader Comment SIE 244446440 ee ook KEG Ro ES eee eK ERE OE OR 11 Chapter 1 Module Setup and Installation o 13 Tisids Tins CRE od oe bw eh eRe eee ee Mad eh Pe eds 13 Module Descriphon e oc re hha RR mka KERR EE OPER ROH E ROR EES 13 Cirene OPUGIS si dae deeb eee ber ee hee BS EARLE R SE a 15 ERAS ao oe a
18. DEF Comments In the keyword SOURcen the valid range of n is lto8for E1418A E1418A Option 002 lto16for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error The lt value gt parameter is a floating point 32 bit number in the range of 16 Volts to 16 Volts MIN sets 16 Volts MAX sets 16 Volts DEF sets 0 Volts This command immediately programs the specified voltage on channel n The output relay for that channel must be closed for the voltage to appear at the output terminals This command generates an error if channel n is in the current output mode Related Commands SOURcen FUNCtion MODE VOLTage SOURcen VOLTage LEVel MMediate AMPLitude OUTPuta STATEe Chapter 3 HP E1418A SCPI Command Reference 91 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce SOURcen VOLTage LEVel IMMediate AMPLitude Parameters Comments SOURcen VOL Tage LEVel IMMediate AMPLitude lt MIN MAX DEF gt queries the last output value written by SOURcen VOLTage LEVel MMediate AMPLitude Parameter Parameter Range of Default Name Type Values SOURcen keyword 1to8or1to16 1 lt MIN MAX DEF gt discrete optional MIN MAX DEF none Returns 32 bit floating point number float 32 e In the keyword SOURcen the valid range of n is lto8for E1418A E1418A
19. Guaranteed 888 88 SOURCE www artisantg com Appendix E Configuration and Disassembly Using This Appendix This appendix contains information about the mechanical and electrical layout of the module Use this appendix to Disassemble and reconfigure the module Perform assembly level troubleshooting CAUTION Procedures in this appendix should be performed by qualified service personnel at approved static safe workstations Configuration The HP E1418A can be configured as either an 8 channel output device or a 16 channel output device Each output channel can be configured as either an isolated output or a non isolated output The following sub sections describe how to check or change this configuration Checking Use the following SCPI command to check the configuration of a module Co nfigu ration Yov can also use this command to verify changes you make to the configuration Additional programming information is given Chapter 2 and Chapter 3 An example of checking the configuration is shown on page 40 Check the configuration by sending this query DIAG CONF Enter the returned values the query returns six integers The query above returns six 16 bit integers The first and third integer contain configuration information The second fourth fifth and sixth integers contain information about the terminal module jumper settings and output relays The configuration information is shown on the next page
20. O00E0 5 Undefined Undefined 000805 0006046 0002046 Channel Gain DAC Registers Channel Offset DAC Registers Main_DAC Triggered Registers Main_DAC Immediate Registers A24 Window Registers 0000045 CARD CONTROL Registers Figure B 2 Register Locations in A24 Address Space NOT USED Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com HP E1418A Register Based Programming 115 A16 A24 Windows By using window addressing you can control the A24 space registers by mapping them onto the upper 16 of the A16 registers This allows full control of the HP E1418A using only A16 addressing Figure B 3 shows the A24 mapping into A16 space In practice four bits A24_Window Value in the A16 Card Control Register base 1E16 control which A24 registers map to the A16 space For example if the A24_ Window Value is set to 0010 the 16 Main_DAC Write Immediate Registers are mapped to the A16 space The Card Control Register is described in more detail on page 137 A24 A24 Registers Window Selected Value OO1FE 46 3 UNDEFINED 001E046 16 Registers 1111 001DE 4 6 E UNDEFINED 001C046 16 Registers 1110 001BE16 E UNDEFINED
21. 1 23000E 01 Special cases include MIN MAX and DEF Boolean Represents a single binary condition that is either true or false ON OFF 1 0 Discrete Selects from a finite number of values These parameters use mnemonics to represent each valid setting An example is the SOURcen FUNCtion MODE lt mode gt command where the lt mode gt parameter can be either CURRent or VOLTage Optional Parameters Parameters shown within square brackets are optional parameters Note that the brackets are not part of the command and are not sent to the instrument If you do not specify a value for an optional parameter the instrument chooses a default value Chapter 3 HP E1418A SCPI Command Reference 61 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Linking Linking IEEE 488 2 Common Commands with SCPI Commands Use a Commands _ semicolon between the commands For example RST APPLy2 VOLT 10 or INIT IMM IDN Linking Multiple SCPI Commands Use both a semicolon and a colon between the commands For example SOURce2 FUNCtion MODE VOLT SOURce2 VOLTage 10 SCPI Command Reference The following sections describe the Standard Commands for Programmable Instruments SCPI commands for the HP E1418A D A Converter Module Commands are listed alphabetically by subsystem and within each subsystem A command guide is printed in the top margin of each pag
22. Appendix E Configuration and Disassembly 170 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Installing Isolated Non Isolated Plug on Modules CAUTION Tools Needed Procedure Use this procedure to install the isolated plug on kit HP E1523A or to change the channel isolation configuration Almost all electrical components can be damaged by electrostatic discharge ESD during handling Component damage can occur at electrostatic discharge voltages as low as 50 volts Disassemble and reconfigure only in a static free work area Minimize handling of assemblies and components Keep all assemblies and replacement parts in the original static free packaging These procedures should be performed by qualified service personnel at approved static safe workstations T10 Torx Driver one is provided with the kit Static Safe Workstation Static Wrist Strap Refer to Figures E 1 and E 2 during these procedures 1 Remove the top cover 2 Remove the screw holding the sheet metal spacer Figure E 1 or expansion board Figure E 2 Remove the spacer or expansion board 3 Refer to Figure E 3 for the locations of the isolated non isolated plug on modules Each channel must have a plug on module Remove the screw securing the plug on module s 4 Use Figure E 4 to identify isolated or non isolated plug on modules Install the new plug on module as shown in Figure E 4 Not
23. CAL CONDition 67 CAL CONFigure RESistance 68 159 CAL RESet 68 CAL STORe 69 162 CAL TEST 69 CAL VALue RESistance 70 159 CALn CONFigure CURRent 71 160 CALn CONFigure VOLTage 72 157 CALn VALue CURRent 73 74 160 161 CALn VALue VOLTage 74 75 157 Card configuration register 130 control register 137 Certification 7 CHAN current calibration connections 161 voltage calibration connections 158 Changing channel output modes 46 configuration 167 output mode 51 78 output value 51 trigger state 80 Channel calibration path querying 77 calibration path setting 76 calibration process 73 75 calibration readiness 71 72 See also Channels current gain calibration registers 143 current mode calibration 71 73 74 current offset calibration registers 142 current output connections 33 current output connections combining 34 current output connections querying 86 88 current output connections specifying 64 85 87 current output mode 13 45 89 136 gain value 139 isolated output 14 15 isolated plug on module 15 17 mode change 46 mode register 119 136 non isolated output 14 15 non isolated plug on module 17 output lines 33 output mode changing 46 51 78 output mode configuring 89 output mode querying 90 output mode setting 45 output relay 53 78 82 83 output setting 50 program jumper register 119 134 relay control register 119 136 trigger register 119 135 tr
24. DEF returns 0 Amps e This command generates an error if channel n is in the voltage output mode e Related Commands SOURcen CURRent LEVel TRIGgered AMPLitude SOURcen FUNCtion MODE CURRent 88 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce SOURcen FUNCtion MODE SOURcen FUNCtion MODE lt mode gt configures channel n for either current or voltage output Parameters Parameter Parameter Range of Default Name Type Values SOURcen keyword 1to8or1 to 16 1 lt mode gt discrete CURRent or VOLTage none Comments In the keyword SOURcen the valid range of n is lto8for E1418A E1418A Option 002 l to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error e Following this command the output is disabled and set to either 0 A or 0 V e If the module is in the wait for trigger state when this command is received an error is generated e This command is affected by the state of the P J jumper for this channel on the terminal module If the P J jumper is not set to program selectable this command will return an error This jumper is described on page 31 e RST Condition If the P J jumper is set to program selectable output mode is set to voltage O volts output output relay open If the P J jumper is set to jumper selectable output mode i
25. Error Checking To develop programs you will need to create one or more error checking routines For example you will need routines to check for errors in the following operations I O operations to the VXIbus and SCPI commands to the module I O Error Checking T O error checking is specific to the type of I O library you are using to communicate with the VXIbus In this manual and on the CD the HP VISA Transition Library is used Function calls to the HP VISA Transition Library VTL typically begin with a lower case vi For example viPrintf is a VTL output function call The HP VTL 1 O function calls return a variable that can be tested for errors against the VTL variable VI_SUCCESS In the examples the variable err is used to trap the VTL errors and is declared as a global variable of the ViStatus type defined in visa h T O error checking is illustrated in the following program example The VTL error checking function is named error_handler Errors found are reported to the standard output device SCPI Error You must also check for errors reported by the SCPI driver The SCPI P y Checking driver reports errors in response to the SYSTem ERRor query Repeat SYST ERR until no errors found The query returns two values an integer error code and an error description string The integer value returns 0 and the string returns No Error if no errors are found SCPI errors are reported in
26. Every VXI module is allocated 64 bytes for register addresses 4016 The address of a module is determined by its logical address set by the address switches on the module or by a write to the logical address register times 64 4016 In the case of the HP E1418A the factory setting is 72 or 4816 so the addresses start at 1FD20016 E1418A I FFFFFig A16 REGISTER MAP 1FFFFF 46 A16 REGISTER 16 BIT a OFFSET WORDS REGISTER E O ands ADDRESS i i SPACE E 4 y ___A24 Window Registers 2016 A24 Window gt 1FC000 g E46 CARD CONTROL Register A16 49 152 Ca Relay Control Register 6 y g pear 1418A_base A16 Channel Mode Register 8 Channel Trigger Register 6 99 g Program Jumper Register 1F0000 6 1416 Isolation Status Register 246 Interrupt Status Register O16 Interrupt Control Register _ Card Control OE 16 Trigger Control Register Registers 0C16 Software Trigger Register OA 16 Card Configuration Register 0816 Calibration Control Register 0646 VXI Offset Register 0446 Status Control Register 0246 Device Type Register 0046 ID Register Logical Address Register J E1418A_base 1FCOO00 Logical Address 40 6 OR 2 080 768 Logical Address 64 4 E1418A FIG APPB1 Register Address El
27. LS HI LO LS a L n nno not gt EY O oo0o00000000000000000000000000000 gt 58 E ooo0o0000000000000000000000000000 opoo00000000000000000000000000000 oo00o0000000000000000000000000000 oo0o0o0000000000000000000000000000 ooo00000000000200000000000000000 OODOODOOOOODODOOOQOOOOOOOOOOOOOOOOOO OO0OO0OOOO0OOCOOOOOOOOOOOOOOOOOOOOOO0 OOOOOOOOOOCOOOOOOOOOOOOOOOOOO0OO0000 OO0OOOOOOOOOOOOOOOOOOOOOO0OOOOO0OO0O00 OQOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO QOOO0OOOOOOOOOOOOOOOO0OOO0OO0OOO000000000 AAA AAA AO ADA 30 Module Setup and Installation Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Configuring the Terminal Module The screw type terminal module contains jumpers that control how the HP E1418A operates The jumpers are shipped in a separate bag with the terminal module The HP E1418A will operate without any jumpers installed You can however store the jumpers on the terminal module for later reconfiguration Figure 1 13 shows the jumper locations and example settings There are two jumpers for each channel a P J jumper and a V I jumper The two jumpers work together
28. Not Used Not Used 10 1024 Not Used Not Used 11 2048 12 4096 Not Used Not Used 13 8192 Not Used Not Used 14 16384 Not Used Not Used 15 52768 Not Used Not Used A Not Used Not Used 7 OR Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used 15 Not Used 15 Not Used STAT OPER COND STAT OPER EVEN STAT OPER ENAB lt mask gt STAT OPER ENAB Chapter 3 HP E1418A SCPI Command Reference 95 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STATus STATus OPERation CONDition STATus OPERation CONDition returns the contents of the Operation Status Condition Register Reading the register does not affect its contents Parameters Returns 16 bit signed integer int16 Comments Bit 0 of this register decimal 1 is the Calibrating bit This bit is set when the CALibration CONFigure RESistance CALibrationn CONFigure VOLTage or CALibrationn CONFigure CURRent command has been received and measurements with the corresponding CALibration VALue RESistance CALibrationn VALue VOLTage or CALibrationn VALue CURRent commands are not complete e RST Condition clears all conditions e CLS and STATus PRESet do not affect bits in the Status Operation Condition Register STATus OPERation ENABle STATus OPERation ENABle lt mask gt specifies which bits of the Operational Status Event Register are OR d tog
29. SCPI Commands 61 Pinout front panel connectors 18 terminal module connectors 30 Plug On Module channel locations 172 configuration report 133 installing 171 172 isolated 15 17 non isolated 17 PMC 106 Power Requirements 112 Preset Enable Registers 97 Problem Isolation 173 Program channels gain value 139 selectable jumper 31 synchronizing with module 56 Programming Examples 39 58 combining output channels 57 direct register access 148 149 driver list 37 full calibration 162 164 module configuration query 40 44 module ID 38 module ID query 40 44 outputting currents 45 46 outputting voltages 45 46 SCPI error checking 47 49 set calibrated voltage output 148 149 setting channel output 50 51 setting output mode 52 setting trigger 54 55 using OPC 56 Programming register based 113 149 Q Query calibration status 67 channel calibration readiness 71 72 channel output mode 90 channels calibration 69 condition register contents 96 98 configuration 40 44 current calibration process 73 74 current module settings 77 current trigger status 79 device identification 40 44 error queue 47 event register contents 97 99 operation status register 97 output relay state 83 questionable status register 99 self test results 102 trigger source 105 TTLTRG line state 82 voltage calibration path 77 voltage calibration process 74 75 Questionable Data Bit 98 Questionable Status condi
30. TTLTRIG5 1 0 1 TTLTRIG6 1 1 0 TTLTRIG7 1 1 1 Trigger Mode This field selects the operating mode for trigger enabled channels i Bits Trigger Mode 05 04 SYNC 0 0 OUTPUT 1 1 Appendix B HP E1418A Register Based Programming 131 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Trigger Source This field selects the trigger source for trigger enabled channels i Bits Trigger Source Selected 03 02 01 00 TTLTRIGO 0 0 0510 TTLTRIG1 0 0 0 1 TTLTRIG2 0101 1 0 TTLTRIG3 0 0 1 1 TTLTRIG4 0o 1 0 0 TTLTRIG5 0 1 0 1 TTLTRIG6 0 11 110 TTLTRIG7 0 11 1 1 SOFTWARE TRIGGER 110 00 EXTERNAL TRIGGER 110 01 Using the Trigger To set up the Trigger Control Register for the VXIbus trigger types Control Register SYNC mode This mode allows the card to receive a trigger from one of the VXI backplane TTL trigger lines To set the VXIbus SYNC trigger mode the Trigger Mode field is set to SYNC 00 and the Trigger Source field is set to one of the TTLTRIG lines The Trigger Out field is not used OUTPUT mode This mode allows the card to receive a trigger from one TTL trigger line and also source a trigger on another TTL trigger line The output mode is not a VXIbus defined trigger mode The output mode is used to synchronize additional modules The Trigger Mode field is set to OUTPUT 11 the Trigger Source f
31. called the P J Jumper to enable or disable V XIbus programming of the channel mode either voltage or current and one called the V I Jumper to set the channel mode when the P J Jumper is in the Jumper position Chapter 1 Module Setup and Installation 17 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Front Panel Connectors Figure 1 3 shows the connections at the front panel connectors of the main module oe CH 1 Prgm Jmpr C CH 2 Prgm Jmpr Cc CH 3 Prgm Jmpr C lt J a CH 4 Prgm Jmpr Cc CH 9 Prgm Jmpr Cc ABC CH 10 Prgm Jmpr C _ a CH 11 Prgm Jmpr Cc aS AO CH 12 Prgm Jmpr Cc a ooo CH 1 Mode Jmpr Cc 2 Be CH 2 Mode Jmpr Cc ood CH 3 Mode Jmpr C L o aa CH 4 Mode Jmpr Cc A D00 CH 9 Mode Jmpr a cs oo 0 CH 10 Mode Jmpr C A Sas CH 11 Mode Jmpr Cc o0o005 CH 12 Mode Jmpr Cc io oad GND c o o a Z E a a a Z EN GND C 000 GND CH 10 L OB 10 GND CH 10 cs 000 GND CH 10 A Ed 9 GND CH 10 oo 0 8 GND CH 11 lt Z 7 EXT TRIGn CH 11 5 0 E 6 GND CH 11 5 CAL HS CH 11 4 CAL HI CH 12 3 CAL LO CH 12 2 CAL LS CH 12 1 GND CH 12 gt ABC oo N 32 o aoa o a B ES ooo A Evo e Terminal ID 1 CH 13 HS 0o00 Terminal ID 2 CH 13 HI A a eg Terminal ID 3 CH 13 LO os ft oo GND CH 13LS og a o n GND CH 14 HS Z ames GND CH
32. field only has effect when the Cal Mux En field is set to one 1 A D Scale This bit changes the A D scaling When set to 0 normal A D scaling is used When set to 1 A D scaling is divided by 13 7 This bit is used by self test to test gain and offset DACs The Card Configuration Register returns information about the module Reg ister configuration and terminal module in use Address Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base 06 T READ Undefined Configuration Terminal Configuration When the module is configured as an 8 channel DAC all bits in this field are set to one 1 When the module is configured as a 16 channel DAC all bits in this field are set to zero 0 Terminal This field returns information about the terminal module Bits Terminal Installed 02 01 00 Screw Type Terminal 0o10 0 No Terminal Installed 1 1 1 Note The Terminal bits reflect the state of the of the TERMINAL ID 1 TERMINAL ID 2 and TERMINAL ID 3 lines in the output connector If you are not using the screw type terminal module these bits may be set to any value desired by shorting the line to ground Refer to the diagram on page 30 for the line locations 130 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisan
33. non volatile Die Undefined Cal Memory non volatile E16 Undefined Cal Memory non volatile Fi6 Undefined Cal Memory non volatile Appendix B HP E1418A Register Based Programming 137 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Notes Each incremental value of the A24 Window offsets the window by 32 bytes Up to 512 bytes of A24 space can be pointed to A24 Window values 816 through F16 point to Calibration Registers Calibration Registers 0010016 through 001BE16 are located in non volatile FLASH memory Writing to this memory requires a complicated sequence of register accesses not documented here It is recommended that calibration be performed using the SCPI driver for the module not register access Main DAC The Main _DAC Immediate Registers are used to program the next output g prog p Immediate value ona channel There are 16 registers one for each output channel The Reaisters register at base 4016 programs channel 1 base 4216 programs channel 2 g up to base 5E16 to program channel 16 Values loaded in these registers are applied to the output immediately no trigger condition is required Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Address Base 4016 WRITE through Output Value Base 5E16 Output Value Writing a 16 bit value to this field outputs t
34. on page 62 For example Set channel 1 voltage mode SOURce1 FUNCtion MODE VOLTage OPC enter the response 56 Programming Examples Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Combining Output Channels CAUTION As described on page 34 multiple outputs may be combined to obtain higher voltage or current outputs A triggered output is recommended for combined channels The general sequence used to control combined channels is 1 Set the trigger source 2 Close the output relays 3 Set the desired output on all combined channels 4 Trigger the output For example when three current channels are combined in parallel as shown on page 34 the following commands can be used Set the trigger source for external trigger TRIGger SOURce EXT Close the output relays OUTPut9 ON OUTPut10 ON OUTPut11 ON Set channels 9 10 and 11 for triggered output SOURce9 CURRent TRIGgered MAX SOURce10 CURRent TRIGgered MAX SOURce11 CURRent TRIGgered 0100 Put the trigger system in the wait for trigger state INITiate Wait for the trigger event When the trigger occurs output 50 mA When combining channels in parallel for increased current output channels may be configured with either isolated or non isolated plug on modules When combining channels in series for increased voltage output all combine
35. with isolated plug on modules installed e Up to 3 channels may be combined but the output voltage MUST NOT exceed 42 Vdc 42 Vpeak Channels in Parallel e Channels may be either Isolated or Non Isolated e Up to 16 channels may be combined Figure 1 15 shows how to combine voltage channels in series and current channels in parallel CAUTIONS All SERIES CONNECTED output channels MUST be configured as ISOLATED OUTPUTS When combining output voltage channels be sure not to exceed the maximum module isolation rating of 42 Vdc or 42 Vpeak o O O O INTO TTT PTT TTT TTT TTT TTT TTT VPP ta fa a 10 11 As HI LO LS HS HI LO LS HS HI LO HS HI LO LS HS HI LO LS HS HI LO LS Voltage Output up to 42V Current Output up to 60mA Figure 1 15 Combined Channels Output Connections 34 Module Setup and Installation Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Connecting an An external trigger input is provided on the terminal module Use the external trigger to externally synchronize multiple outputs or multiple External Trigger instruments The External Trigger uses TTL levels The tr
36. 001A0 16 16 Registers 1101 0019E 46 3 CAL amp CONFIG REGISTERS 0018046 16 Registers 1100 0017E 46 3 CHANNEL CURRENT GAIN CAL REGISTERS 0016046 16 Registers 1011 0015E 46 3 CHANNEL CURRENT OFFSET_CAL REGISTERS 0014036 16 Registers 1010 E1418A 0013E 46 A16 REGISTER MAP 3 CHANNEL VOLTAGE GAIN_CAL REGISTERS 0012046 16 Registers 1001 REGISTER 16 BIT OFFSET WORDS 0011E46 E CHANNEL VOLTAGE OFFSET_CAL REGISTERS 3E10 A24_Window 0010016 16 Registers 1000 3C16 A24_Window 000FE e 3A16 A24_Window 3 UNDEFINED 0111 3846 A24_ Window 000E046 16 Registers 3646 A24_Window OOODE 6 3 UNDEFINED 3416 A24_Window 0006016 16 Registers 0110 3246 A24_ Window 0006F 3016 A24_Window 3 CHANNEL GAIN_DAC REGISTERS ie 2E 16 A24_Window O000A0 16 16 Registers 2016 A24_Window O009E 16 3 CHANNEL OFFSET_DAC REGISTERS 2Ai6 A24_Window 00080 i 16 Registers 0100 2816 A24_Window 000710 2615 A24_Window 3 MAIN_DAC TRIGGERED REGISTERS m 2446 A24_Window 0006046 16 Registers 00 2246 A24_ Window 0005E 46 3 MAIN_DAC IMMEDIATE REGISTERS 2016 A24_Window 0004046 16 Registers 0010 1E 46 CARD CONTROL 0010 TEF 3 A24 WINDOW REGISTERS H 4 00020 16 Registers 0001 6 0001E 4 001 CARDS CONTROL 3 CARD CONTROL REGISTERS 00000 16 Registers 0000 E1418A FIG APPB3 16 A24 Window Value 4 bits Figure B 3 A24 Windowing into the A16 Registers 116 HP E1418A Register Based Programming Appendix B Artisan Technology Gro
37. 16 Module Setup and Installation Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com As shown there are four major assemblies that make up an HP E1418A Channels 1 through 8 main board and VXIbus backplane circuitry Channels 9 through 16 expansion board Isolated or Non isolated plug on modules Terminal Module Channels 1 8 main board and VXIbus backplane circuitry This assembly contains all the VXIbus interface and decoding circuitry Isolated and Non Isolated plug on modules for channels 1 8 connect to this assembly The panel connectors for the terminal module are also mounted on this assembly The optional Channels 9 16 expansion board is electrically connected and mechanically mounted to the main board Isolated and Non Isolated plug on modules for channels 9 16 connect to this assembly Isolated or Non isolated plug on modules are required for every channel Eight plug on modules mount to the main board and 8 plug on modules mount to the expansion board Any combination of isolated or non isolated plug on modules may be used but every channel must have a plug on module installed The Terminal Module shown in Figure 1 2 is the standard screw type terminal module This module provides screw connections for each channel output the calibration connections and the external trigger in connections This module also contains two jumpers for each channel one
38. APPLyn subsystem command performs several actions with a single command Each APPLyn command affects a single channel and Sets the channel output mode voltage or current Sets the output value volts or amps Enables the outputs closes the output relay The output channel remains enabled and outputs the last programmed voltage or current value unless you take explicit action to turn off the output For example if you send two APPLyn commands to the same channel the first command sets an output value and closes the output relay The second command changes only the output value since the relay is already closed Set channel 1 for 5 0 Volt output APPLy1 VOLTage 5 000 Channel 1 is set to voltage output and 5 000 V applied Now set channel 1 for 6 0 Volt output APPLy1 VOLTage 6 000 Channel 1 is set to voltage output and 6 000 V applied The commands above will set a 5 000 Volt output on Channel 1 and then set a 6 000 Volt output on channel 1 The output relay is not affected by the second command Chapter 2 Programming Examples 45 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com The output can also be disabled before changing the mode or output value Use the OUTPutn commands to disable the output Set channel 1 for 5 0 Volt output APPLy1 VOLTage 5 000 Disable the output OUTPuti OFF Channel 1 output relay is opened Now
39. Assembly Exchange The following assemblies are available for exchange Part Number Assembly E1418 69201 Main board and all sheet metal Does NOT include plug on assemblies or expansion board E1418 69502 Expansion board Does NOT include plug on assemblies E1418 66503 Isolated plug on module replacement not an exchange Notes When exchanging either the main board or expansion board you must disassemble the module and remove all plug on assemblies before sending the exchange part Keep all parts removed in a safe place If you are exchanging a main board from a module configured as a 16 channel device you must remove the expansion board before sending the exchange part CAUTION Almost all electrical components can be damaged by electrostatic discharge ESD during handling Component damage can occur at electrostatic discharge voltages as low as 50 volts Disassemble and reconfigure only in a Static free work area Minimize handling of assemblies and components Keep all assemblies and replacement parts in the original static free packaging These procedures should be performed by qualified service personnel at approved static safe workstations To Exchange an Assembly 1 Contact the nearest Hewlett Packard Sales and Service Office for instructions on packaging and shipping 2 Disassemble the module using the procedures given earlier in this appendix until just the exchange part is o
40. Ch 06 Gain_ DAC Base ACi 6 Ch 07 Gain_DAC Base AE16 Ch 08 Gain_DAC Base B016 Ch 09 Gain_DAC Base B216 Ch 10 Gain_DAC Base B416 Ch 11 Gain_DAC Base B616 Ch 12 Gain_DAC Base B816 Ch 13 Gain_DAC Base BA16 Ch 14 Gain_ DAC Base BCi Ch 15 Gain_DAC Base BE16 Ch 16 Gain_ DAC Base C016 through Undefined Not Used Base FEi6 122 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Address Read Registers Write Registers Type Base 10016 Ch 01 Voltage Offset_Cal Base 10216 Ch 02 Voltage Offset_Cal Base 10416 Ch 03 Voltage Offset_Cal Base 10616 Ch 04 Voltage Offset_Cal Base 10816 Ch 05 Voltage Offset_Cal Base 10A16 Ch 06 Voltage Offset_Cal Base 10C16 Ch 07 Voltage Offset_Cal Base 10E16 Ch 08 Voltage Offset_Cal Base 11016 Ch 09 Voltage Offset_Cal Base 11216 Ch 10 Voltage Offset_Cal Base 11416 Ch 11 Voltage Offset_Cal Base 11616 Ch 12 Voltage Offset_Cal Base 11816 Ch 13 Voltage Offset_Cal Channel Voltage Offset Cal Storage Registers non volatile Base 11A16 Ch 14 Voltage Offset_Cal Base 11C16 Ch 15 Voltage Offset_Cal Base 11E16 Ch 16 Voltage Offset_Cal Base 12016 Ch 01 Voltage Gain_Cal Channel Voltage Gain Base 12216 Ch 02 Voltag
41. DIAGnostic CALibration OUTPut MODE Sets the voltage calibration path for the module to either the lt CALBus CHANnel gt CAL output terminals or each output channel CALibration OUTPut MODE Queries the voltage calibration path for the module CON Figure Returns six 16 bit words indicating the present settings of the module OUTPut ALL STATe lt OFF ON gt Opens or closes all channel output relays at once SOURcen FUNCtion MODE Changes the output mode of the channel without disabling lt CURRent VOLTage gt the channel output TRIGgered Returns a 16 bit word indicating the present trigger status of the module Chapter 3 HP E1418A SCPI Command Reference 107 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com HP E1418A Command Quick Reference lt value MIN MAX DEF gt CURRen LEVell IMMediate AMPLitude lt MIN MAX DEF gt CURRent LEVel TRIGgered AMPLitude lt value MIN MAX DEF gt CURRent LEVel TRIGgered AMPLitude lt MIN MAX DEF gt FUNCtion MODE lt CURRent VOLTage gt FUNCtion MODE VOL Tage LEVel I MMediate AMPLitude lt value MIN MAX DEF gt VOL Tagelr E IMMediate AMPLitude lt MIN MAX F gt VOLTage LEVel TRIGgered AMPLitude lt value MIN MAX DEF gt VOL Tagel Level TRIGgered AMPLitude lt MIN MAX DEF gt Comm
42. DIAGnostic OUTPut ALL STATe 82 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com OUTPut OUTPutr STATe Parameters Comments OUTPutn STATe queries the state of the specified channel output relay and returns a O or 1 Parameter Parameter Range of Default Name Type Values OUTPutn keyword 1to8or1to16 none Returns unsigned 16 bit integer uint16 e In the keyword OUTPutn the valid range of n is lto8for E1418A E1418A Option 002 1 to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error e The query returns a O if the specified channel output relay is open The query returns a 1 if the specified channel output relay is closed e Related Commands OUTPutn STATe Chapter 3 HP E1418A SCPI Command Reference 83 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce SOURce The SOURce subsystem provides commands used to output a voltage or current at each channel Subsystem Syntax SOURcen CURRent LEVel IMMediate AMPLitude lt value MIN MAX DEF gt AMPLitude TRIGgered AMPLitude lt value MIN MAX DEF gt AMPLitude FUNCtion MODE lt mode gt MODE VOLTage LEVel IMMediate AMPLitude lt value MIN MAX DEF gt AMPLitude
43. LO LS HS HI LO LS 1 2 3 9 10 1 Figure 1 6 Screw Type Terminal Module Layout 22 Module Setup and Installation Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Wiring the Terminal Module Figure 1 7 shows how to open and wire the HP E1418A terminal module 1 Remove the clear cover A Release screws B Press tab forward and release 2 Remove and retain wiring exit panel Remove 1 of the 3 wire exit panels 3 Make connections Screw Type ammability Rating Insert wire into terminal Tighten screw 64 Conductor 0 05 Center 4 Route wiring and install strain relief Tighten wraps to SI secure wires Y Ribbon cable clamp Figure 1 7 Wiring the HP E1418A Terminal Module continued on next page Chapter 1 Module Setup and Installation Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 23 5 Replace wiring exit panel Keep the wiring exit panel Cut required hole as small as possible holes in panels for wire exit a a a 6 Replace clear cover A Hook in the top cover tabs B Press down and tighten screws onto the fixture Me Figure 1 7 Wiring the HP E1418A Terminal Module continued from previous page Chapter
44. Name Type Values CALibrationn keyword 1to8or1to16 1 lt value gt numeric float 32 0 to 19 2 V none Returns unsigned 16 bit integer uint16 Comments In the keyword CALibrationn the valid range of n is lto8for E1418A E1418A Option 002 1 to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error This command is used together with the CALibrationn CONFigure VOLTage query to perform voltage mode calibration Following the CALn CONF VOLT query this command is used repetitively until the return value indicates that the calibration is complete The lt value gt parameter is the measured output voltage A minimum of 9 measurements must be taken to calibrate a voltage output channel a maximum of 50 measurements may be required 74 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com CALibration This query returns one of the following values Return Value Meaning 0 Calibration is complete New constants are in RAM 1 More measurements are needed 5 Calibration aborted A return value of 5 calibration aborted is given if either a The command is received when the module is in current calibration or resistance calibration mode or b The calibration in process has entered more than 50 values without a successful calibration When the channel voltage calibratio
45. Returns a decimal value in the form YY Y Y R where YY YY is the year and R is the revision number within that year Return value can be input as a string 100 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com TEST TEST The TEST subsystem provides commands used to run individual self tests and to query the results of previous self tests To run the complete set of self tests use the TST common command Subsystem Syntax TEST NUMBer lt number gt TST RESults TST TEST NUMBer TEST NUMBer lt number gt performs a single internal self test on the module and returns a 16 bit integer indicating the results of the self test Parameters Parameter Parameter Range of Default Name Type Values lt number gt numeric 1 to 75 none Comments Following the completion of this command all outputs are disabled and set to either 0 A or 0 V e Ifthe module is in the wait for trigger state when this command is received an error is generated e Complete descriptions of each test and specific codes returned in the Test Info field are contained in the HP El418A Service Manual e A successful self test returns 0 e A failure of a self test returns a non zero 16 bit integer The integer returned has a binary coding of the form BIT 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Meaning Test Number A24 T
46. SOURce TTLTn OUTPut TTLTn STATe Chapter 3 HP E1418A SCPI Command Reference 81 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com OUTPut OUTPut TTLTrgn STATe OUTPut TTLTrgn STATe queries if the specified VXIbus TTLTRG line is set to be a source of trigger from the module Parameters Parameter Parameter Range of Default Name Type Values TTLTrgn keyword 0to7 none Returns unsigned 16 bit integer uint16 Comments This query returns a 1 if the specified VXIbus TTLTRG line is enabled as a trigger source This query returns a O if the specified VXIbus TTLTRG line is disabled as a trigger source e Related Commands OUTPut TTLTn STATe OUTPutn STATe OUTPutn STATe lt state gt opens or closes the specified channel output relay Parameters Parameter Parameter Range of Default Name Type Values OUTPutn keyword 1to8or1to16 none lt state gt boolean OFF ON 0 1 none Comments In the keyword OUTPutn the valid range of n is lto8for E1418A E1418A Option 002 1 to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error e This command sets the output state of individual channel output relays Use the DIAGnostic OUTPut ALL STATe command to set all channels with a single command e RST Condition All output relays open e Related Commands OUTPutn STATe
47. Scale is set to 0 the actual voltage represented by the reading value is given as 33 6 V Voltage 16 8 V 255 steps AD Reading Value When A D Scale is set to 1 the actual voltage represented by the reading value is given as 33 6 V_ AD Reading Value Voltage 16 8 V k 255 steps 13 7 Cal Bus En Writing a one 1 in this field connects the cal bus Writing a zero 0 in this field disconnects the cal bus A D Trg Writing a one 1 in this field begins an A D reading Writing a zero 0 in this field during a reading in progress will corrupt the reading Do not combine this bit setting with other bits in this register write only this bit Appendix B HP E1418A Register Based Programming 129 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Card Configuration Cal Mode Sel Writing a one 1 in this field sets the calibration system to calibrate voltage Writing a zero 0 in this field sets the calibration system to calibrate current This bit controls a relay that requires approximately 5 mS to change states Cal Mux En Writing a one 1 in this field enables the Cal Mux Writing a zero 0 in this field disables the Cal Mux Cal Mux Chan Address The address of the channel selected is written to this field The channel address expressed in hexadecimal has values from 016 through F16 corresponding to channels 1 through 16 respectively This
48. channels to voltage mode 0 volts output and open all output relays RST will not change the output mode if the P J jumper is set to Jumper Selectable e Send the DIAGnostic OUTPut ALL OFF command to open all output relays without changing the programmed mode or output value The output relay will also be opened and then closed by a change of output mode using the APPLy commands e An APPLyn VOLTage lt value gt followed by an APPLyn CURRent lt value gt command or vice versa will open and then close the output relay All output relays will be opened and left open by the following commands e The SOURcen FUNCtion MODE VOLTage or SOURcen FUNCtion MODE CURRent commands set output mode for a single channel and opens the output relay for that channel Other channels are not affected e The RST command performs a reset and leaves the output relays open on all channels the command also programs all channels to voltage mode 0 volts output unless the P J jumper is set to Jumper Selectable e The TST command performs a self test and leaves the output relays open on all channels Programmed output modes are restored following the self test Chapter 2 Programming Examples 53 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Triggering To synchronize outputs to external events backplane events or software events use the TRIGger subsystem commands Triggering an outpu
49. enable the output OUTPuti ON Channel 1 is set to voltage output and 5 000 V applied Disable the output OUTPut OFF Now set channel 1 for 20 mA current output APPLy1 CURRent 0200 Channel 1 is set to current output and 20 mA applied The OUTPut subsystem commands only affect the output relay The programmed mode and output value for a given channel is not changed Once the mode is set and the desired output value programmed the output can be turned on or off as needed with the OUTPutn STATe command It is also possible with the APPLyn commands to change the channel output mode from voltage to current Set channel 1 for 5 0 Volt output APPLy1 VOLTage 5 000 Channel 1 is set to voltage output and 5 000 V applied Now set channel 1 for 20 mA current output APPLy1 CURRent 0200 Channel 1 is set to current output and 20 mA applied During the change from voltage to current or current to voltage the channel output relay is opened Sending a command sequence similar to the one above performs the following actions Programs channel 1 to the voltage mode and 5 000 Volts output Closes the channel 1 output relay Opens the channel 1 output relay Programs channel 1 to current mode and 20 mA output Closes the channel 1 output relay 46 Programming Examples Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com
50. equipment For Safety Class 1 equipment equipment having a protective earth terminal an uninterruptible safety earth ground must be provided from the mains power source to the product input wiring terminals or supplied power cable DO NOT operate the product in an explosive atmosphere or in the presence of flammable gases or fumes For continued protection against fire replace the line fuse s only with fuse s of the same voltage and current rating and type DO NOT use repaired fuses or short circuited fuse holders Keep away from live circuits Operating personnel must not remove equipment covers or shields Procedures involving the removal of covers or shields are for use by service trained personnel only Under certain conditions dangerous voltages may exist even with the equipment switched off To avoid dangerous electrical shock DO NOT perform procedures involving cover or shield removal unless you are qualified to do so DO NOT operate damaged equipment Whenever it is possible that the safety protection features built into this product have been im paired either through physical damage excessive moisture or any other reason REMOVE POWER and do not use the product until safe operation can be verified by service trained personnel If necessary return the product to a Hewlett Packard Sales and Service Of fice for service and repair to ensure that safety features are maintained DO NOT service or adjust alone Do not attempt internal s
51. from the HP E1418A D A Module 8820 HP E1418A I D A Module Figure 1 9 Removing the HP E1418A Terminal Module 26 Module Setup and Installation Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Terminal Module Options Besides the standard screw type terminal module the HP E1418A can be ordered with the following two options One option A3E provides crimp and insert connectors and terminal housing The other option A3H provides a ribbon cable connector and terminal housing Option A3E HP E1418A Option A3E can be ordered if a crimp and insert terminal module is desired This allows you to crimp connectors onto wires which are then inserted directly into the HP E1418A faceplate connector Refer to the pin out diagram on page 30 to make the connections The crimp and insert connector is shown in Figure 1 10 Note The pin numbering on the crimp and insert connector may not agree with the pin numbering on the HP E1418 s faceplate connector Use the pin numbering on the faceplate connector to wire the crimp and insert connector Figure 1 10 Option A3E Crimp and Insert Connector Chapter 1 Module Setup and Installation 27 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Crimp and Insert The following accessories are nec
52. i Configure for calibration if err lt VI_SUCCESS err_handler dac err 163 Voltage Current Output Adjustment Appendix D Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com err viScant dac d amp result Enter integer returned returns a 1 when ready to calibrate if err lt VI_SUCCESS err_handler dac err result 1 while result 0 amp amp result 2 meas_volt get_voltage Get the voltage measurement err viPrintf dac CAL d VAL CURR f n i meas_ volt if err lt VI_SUCCESS err_handler dac err err viScanf dac d amp result Enter integer returned returns a O when calibration complete if err lt VI_SUCCESS err_handler dac err if result 5 Calibration aborted printf Calibration for channel d aborted n n i result 0 STORE THE NEW CALIBRATION CONSTANTS wee err viPrintf dac CAL STOR OPC n Store the new cal constants if err lt VI_SUCCESS err_handler dac err err viScanf dac d amp resullt if err lt VI_SUCCESS err_handler dac err sys_err dac Appendix D Voltage Current Output Adjustment 164 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Notes 165 Voltage Current Output Adjustment Appendix D Artisan Technology Group Quality Instrumentation
53. memory The new constants will be used following power up If you are calibrating the module more frequently daily for example write the new calibration constants into RAM but do not write to non volatile memory The adjustment procedures shown in this appendix demonstrate both methods of writing calibration constants Equipment Required The following equipment is recommended for calibration and adjustment Key specifications are listed to allow for equipment substitutions Model Requirements Digital Multimeter DMM Voltage measurements to 16 8 V 51 or 61 digit Four wire Resistance measurements from 50 Q to 500 Q Making Connections All adjustment can be performed using the CAL output terminals The CAL output terminals provide one set of connections for both voltage and current adjustment Optionally you can also perform the adjustment at each channel output to include the output relay contacts in the path Before beginning adjustment procedures you must send the DIAGnostic CALibration OUTPut CHANnel command to set the adjustment point at the channels instead of the CAL output terminals Adjustment at each channel output will require individual connections You must make a four wire connections for the adjustment procedures 155 Voltage Current Output Adjustment Appendix D Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Adjustment Procedure Ad
54. register clears all bits in the register Parameters Returns 16 bit signed integer int16 Comments Bit 8 of this register decimal 256 is set when either A channel is set to an output mode that has not been calibrated or A channel fails the CALibration TEST query e Bit 9 of this register decimal 512 is set when a trigger ignored event occurs e RST Condition no effect e CLS clears the contents of the Questionable Status Register e STATus PRESet does not affect the contents of the Questionable Status Register but does disable reporting the Summary bit to the Status Byte Register Chapter 3 HP E1418A SCPI Command Reference 99 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SYSTem SYSTem The SYSTem subsystem returns information about the module Subsystem Syntax SYSTem ERRor VERSion SYSTem ERRor SYSTem ERRor returns an error number and message from the instrument s error queue Parameters Returns 16 bit signed integer int16 and a string Comments Each query returns an error number and error string from the queue When no errors are in the error buffer the query returns 0 No error e CLS clears the error queue e RST has no effect on the error queue SYSTem VERSion SYSTem VERSion returns the SCPI version the driver complies with not the driver version Parameters Returns string or float32 Comments
55. registers 1002 Off_con FNRead_a16 Reg_offset 18 Get the channel 3 voltage offset cal 1003 Write_a16 Reg_offset 15 4 Map A 24 channel offset registers 1004 Write_a16 Reg_offset 18 Off_con Put in the offset constant 1005 Write_a16 Reg_offset 15 9 Map A 24 voltage gain cal registers 1006 Gain_con FNRead_a16 Reg_offset 18 Get the channel 3 voltage gain cal 1007 Write_a16 Reg_offset 15 5 Map A 24 channel gain registers 1008 Write_a16 Reg_offset 18 Gain_con Put in the gain constant 1009 Write_a16 Reg_offset 15 2 Map A 24 channel Main_DAC registers 1010 Write_a16 Reg_offset 18 Out_val Program the output value 1011 Write_at 6 Reg_offset 14 0 Close all output relays 2200 Write_a16 SUB Write_a16 INTEGER Register INTEGER Value 2201 2202 2203 Laddr 09 2204 OUTPUT 70900 VXI WRITE Laddr 8 SVAL Register j8 S VAL Value 2205 SUBEND 3200 Read_a16 DEF FNRead_a16 INTEGER Register 3202 3203 Laddr 09 3204 OUTPUT 70900 VXI READ 8Laddr 8 82VAL Register 3205 ENTER 70900 Reading 3206 RETURN Reading 3207 Read_al 6_end FN END Notes Appendix B HP E1418A Register Based Programming 149 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix C HP E1418A Error Messages Error Types Table C 2 lists the error messages generated by the HP E1418A 8 16 Channel D A Converter Module firmware
56. reliability of its software on equipment that is not furnished by HP U S Government Restricted Rights The Software and Documentation have been developed entirely at private expense They are delivered and licensed as commercial computer software as defined in DFARS 252 227 7013 October 1988 DFARS 252 211 7015 May 1991 or DFARS 252 227 7014 June 1995 as a commercial item as defined in FAR 2 101 a or as Restricted computer software as defined in FAR 52 227 19 June 1987 or any equivalent agency regulation or contract clause whichever is applicable You have only those rights provided for such Software and Documentation by the applicable FAR or DFARS clause or the HP standard software agreement for the product involved E HEWLETT WE PACKARD HP E1418A User s Manual Edition 2 Copyright 1996 Hewlett Packard Company All Rights Reserved HP E1418A User s Manual 7 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Documentation History All Editions and Updates of this manual and their creation date are listed below The first Edition of the manual is Edition 1 The Edi tion number increments by whenever the manual is revised Updates which are issued between Editions contain replacement pages to correct or add additional information to the current Edition of the manual Whenever a new Edition is created it will contain all of the Update information for the
57. value volts After calibration and at a temperature within 5 C of calibration temperature 90 day 0 05 3 0 mV Output Current Compliance Current gt 20 mA 0 to 12 Volts derate linearly to 5 mA at 16 Volts Short Circuit Current lt 60 mA Differential Ripple and Noise lt 2 mV rms 20 Hz to 250 kHz into 10 kQ load Range 0 02 Amps to 0 02 Amps Resolution 16 bits 610 nA steps Monotonic to 2 5 HA Accuracy of value amps After calibration and at a temperature within 5 C of calibration temperature 90 day 0 09 5 0 WA Output Voltage Compliance Voltage 12 V Maximum Open Circuit Voltage lt 18 V Differential Ripple and Noise lt 2 uA rms 20 Hz to 250 kHz into a 250 Q load Appendix A HP E1418A Specifications 111 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com General Settling Time Characteristics 300 US full scale to full scale step single channel to accuracy listed previously Isolation for isolated channels 42 Vdc 42 V peak channel to chassis or channel to channel Synchronization Software commands External TTL trigger or VXIbus TTL Trigger lines Single channel or multiple channel VXI Specification Device Type A16 or A24 D16 slave only register based Power Requirements Current Required A
58. wish to prevent writing calibration constants to non volatile memory set the jumper to the SECURE position Example Prog ram The following program written in ANSI C illustrates a full calibration of all channels for both voltage and resistance The internal calibration resistor is used The SCPI drivers disk contains a calibration example file This example uses function calls to the HP VISA Transition Library for I O operations Page 39 provides more details about this library FUNCTION PROTOTYPES void main void void err_handler ViSession vi ViStatus x VTL error routine void sys_err ViSession resource Checks for SCPI programming errors void pause Waits for a keystroke to continue program execution int config_check Checks and reports the module configuration returns the number of channels in module float get_voltage Obtains the measured voltage float get_resistance Obtains the measured resistance e Oo void main void char cal_point 5 int_ext 4 int num_chan result compare i condition 4 float meas_volt meas_res Oo Appendix D Voltage Current Output Adjustment 162 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com pa VOLTAGE OUTPUT ADJUSTMENT rA for i 1 i lt num_chan 1 i result 0 while result lt 1 err viPrintf dac CAL d CONF VOLT n i Configure for calibration
59. within the returned string Chapter 1 Module Setup and Installation 37 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Module This example can be used to verify that the logical address has been Identification correctly set that the module is correctly installed and that the module is communicating with the command module The terminal module does not need to be installed for this example to work This example queries the module for the identification string 10 DIM A 256 20 OUTPUT 70909 IDN2 30 ENTER 70909 A 40 PRINT A 50 END The response should be similar to one of the following HEWLETT PACKARD E1418A_8CH xxxxAxxxx A 01 00 Or HEWLETT PACKARD E1418A_16CH xxxxAxxxx A 01 00 The xxxxAxxxx portion of the response string is the module serial number 38 Module Setup and Installation Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Chapter 2 Programming Examples Using This Chapter Program Examples Note This chapter provides examples and descriptions of the most common operations using the HP E1418A Use this chapter to gain an overview of how to program the module and to obtain programming hints The examples shown in this chapter are in ANSI C and use SCPI commands to control the module The SCPI commands are described in detail in Ch
60. 0 READ Cal Bus En A D Bsy Cal Mode Cal Mux Cal Mux Chan A D Reading Value En Address WRITE Cal Bus En A D Trg Cal Mode Cal Mux Cal Mux Chan A D Unused Sel En Address Scale READ WRITE Cal Bus En A one 1 in this field indicates the cal bus is connected A zero 0 in this field indicates the cal bus is not connected This bit reflects the state of the last write to Cal Bus En field A D Bsy A one 1 in this field indicates the A D is taking a reading A zero 0 in this field indicates a new reading is available Cal Mode A one 1 in this field indicates the calibration system is set to calibrate voltage A zero 0 in this field indicates the calibration system is set to calibrate current This bit reflects the state of the last write to Cal Mode Sel field Cal Mux En A one 1 in this field indicates the Cal Mux is enabled A zero 0 in this field indicates the Cal Mux is disabled high impedance This bit reflects the state of the last write to Cal Mux En field Cal Mux Chan Address This field returns the channel selected for calibration This bit reflects the state of the last write to Cal Mux Chan Address field The channel address expressed in hexadecimal has values from 016 through F16 corresponding to channels 1 through 16 respectively A D Reading Value This field returns the latest reading taken by the A D When A D
61. 1 24 Module Setup and Installation Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Attaching the Terminal Module Figure 1 8 shows how to attach the HP E1418A terminal module Use a small screwdriver to release the two extraction levers 1 Extend the extraction levers on the terminal module Extraction Lever i i fh ill A Y al A wooo zd y y HP E1418A i D A Module Extraction Lever 2 Align the terminal module connectors to the HP E1418A module connectors 3 Apply gentle pressure to attach the terminal module to the HP E1418A D A Module 4 Push in the extraction levers to lock the terminal module onto the HP E1418A D A Module Extraction X Levers js Figure 1 8 Attaching the HP E1418A Terminal Module Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Module Setup and Installation 25 Removing the Terminal Module Figure 1 9 shows how to remove the HP E1418A terminal module Release the two extraction levers and push both levers out simultaneously Extraction Lever Use a small screwdriver to release the two j extraction levers y Free and remove the terminal module
62. 1 E1418A Option 003 Values of n outside these ranges will generate an error The lt value gt parameter is a floating point 32 bit number in the range of 16 Volts to 16 Volts MIN sets 16 Volts MAX sets 16 Volts DEF sets 0 Volts This command sets channel n to output the voltage specified following a valid trigger condition Following this command the trigger system must be enabled using an INITiate command See the TRIGger subsystem discussion page 54 for additional information The channel output relay must be closed for the voltage to appear at the output terminals If the module is in a wait for trigger state INIT has been received when this command is received an error is generated If the channel is in the current mode when this command is received an error 1s generated Related Commands SOURcen VOLTage LEVel TRIGgered AMPLitude SOURcen FUNCtion MODE VOLTage Chapter 3 HP E1418A SCPI Command Reference 93 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce SOURcen VOLTage LEVel TRIGgered AMPLitude SOURcen VOL Tage LEVel TRiGgered AMPLitude lt MIN MAX DEF gt queries the latest value written by either SOURcen VOLTage LEVel TRIGgered AMPLitude or SOURCcen VOLTage LEVell IMMediate AMPLitude Parameters Parameter Parameter Range of Default Name Type Values SOURcen keyword 1to8or1 to 16 1 lt M
63. 128 VXI status control register 127 128 Removing modules from mainframe 21 terminal module 26 Reset output relay 53 registers 119 states 119 Resistor internal calibration 68 70 144 159 Ribbon Cable Connector option A3H 29 RMC 106 RST 53 106 119 S Safety Warnings 8 Schematic simplified 16 SCPI driver 13 37 47 100 error checking 47 49 error messages 150 errors 47 49 parameters 61 SCPI Commands abbreviated 60 ABORt subsystem 63 APPLy subsystem 45 46 64 65 CALibration subsystem 66 75 command separator 60 DIAGnostic subsystem 76 79 format 60 61 implied 61 INITiate subsystem 80 linking 62 OUTPut subsystem 46 81 83 parameters 61 quick reference 107 110 reference 59 110 short 60 SOURce subsystem 50 52 84 94 STATus subsystem 95 99 SYSTem subsystem 100 TEST subsystem 101 103 TRIGger subsystem 104 105 Self Test 53 173 internal 103 query results 102 183 HP E1418A User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com single internal 101 Sense Leads 33 Serial Number 40 148 Series Connections 34 Setting CAL Store Enable Jumper 20 calibrated voltage output 148 149 calibration conditions 129 channel output 50 channel output mode 45 logical address register 126 logical address switch 19 output mode 52 output value 45 trigger 54 55 trigger source 105 voltage calibration path 7
64. 14 HI oo a GND CH 14 LO Ss Bees GND CH 14 LS La aog GND CH 15 HS 5 E GND CH 15 HI a GND CH 15 LO a aoa GND CH 15LS L nee GND CH 16 HS a oo a GND CH 16 HI A D00 GND CH 16 LO o oo GND CH 16 LS ood CH 5 Prgm Jmpr CH5HS ER H AS CH 6 Prgm Jmpr CH5HI CH 7 Prgm Jmpr CH5 LO CH 8 Prgm Jmpr CH5LS CH 13 Prgm Jmpr CH6 HS CH 14 Prgm Jmpr CH6HI CH 15 Prgm Jmpr CH6LO 9 CH 16 Prgm Jmpr CH6LS 8 CH 5 Mode Jmpr CH7HS 7 CH 6 Mode Jmpr CH 7 HI 6 CH 7 Mode Jmpr CH7 LO 5 CH 8 Mode Jmpr CH7LS 4 CH 13 Mode Jmpr CH8HS 3 CH 14 Mode Jmpr 2 CH 15 Mode Jmpr 1 CH 16 Mode Jmpr Figure 1 3 HP E1418A Front Panel Connector Pinout 18 Module Setup and Installation Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Setting the Logical Address Switch Note Switch position is Figure 1 4 shows the logical address switch location and setting The logical address switch factory setting is 72 Valid addresses range from 1 to 255 When used with an HP Command Module the factory set address of decimal 72 results in a module address of 9 72 divided by 8 The module address is used as a secondary address when using HP IB and a Command Module For example the module address may be 7 09 09 where 7 is the HP IB interface address 09 is the command module address and 09 is the HP E1418A address The HP E1418A supports dynamic address configuration When you set the logical address to 255 th
65. 16 nominal gain FFF16 maximum gain Notes Registers 0010016 through 001BE1 6 are located in non volatile FLASH memory Writing to this memory requires a complicated sequence of register accesses not documented here It is recommended that calibration be performed using the SCPI driver for the module not register access Non volatile memory has finite life based upon the number of writes Use care when writing to this memory The contents of this register are loaded into volatile memory at power on and not used on an on going basis Appendix B HP E1418A Register Based Programming 143 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Calibration The Calibration Resistor Value Registers store the value of the resistor used Resistor Value to calibrate current output The Calibration resistor value is a 32 bit value and requires two 16 bit registers These registers are non volatile Registers Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 A a ae veer READ 2nd Least Significant Byte Least Significant Byte WRITE Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base tate READ Most Significant Byte 2nd Most Significant Byte WRITE Value The 32 bit resistor value in ohms is wri
66. 2 11 10 09 08 07 06 05 04 03 02 01 00 Address A Base 0016 Setting 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 READ Device Address Manufacturer s ID Code Class Mode Device Class The HP E1418A is a register based device Address Mode The HP E1418A uses the A16 A24 address mode Manufacturer ID Code Identifies Hewlett Packard as the device manufacturer Log ical Address The module supports Dynamic Configuration The module s logical Reg ister address is set in bits 0 through 7 of the Logical Address Register Bit Position 5 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 A od 6 Setting Undefined 0016 FFi6 WRITE Undefined Logical Address Setting Logical Address Setting Bits 0 through 7 of this register is set by either the logical address switch settings following power up or system reset or by awrite to this register during Dynamic Configuration When bits 0 7 are set to a value of 255 FF 6 the device is available for selection via Dynamic Configuration and when MODID is asserted the module will respond Typically this is only done once at power up or system reset and the desired logical address is written into the register bits 0 through 7 With any other Logical Address Register setting the module will not be accessible via MODID The content of this register is compared with address lin
67. 418A_base Register Offset Figure B 1 Register Locations in A16 Address Space 114 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Note Writing an address to the Logical Address Register is typically performed by the resource manager as a part of dynamic addressing If the address is changed by a write to the Logical Address Register later accesses must use the new address A24 Registers The HP E1418A requires 256 kbytes of A24 address space The resource manager determines the location in A24 space of the 256 kbytes assigned to the HP E1418A and writes the most significant address lines into the A16 VXI_Offset Register base 0616 TFFFFF 4g E1418A_BASE 3FFFF 76 E1418A_BASE 00000 6 A24 ADDRESS SPACE 000000 46 E1418A_BASE is assigned by the Resource Manager E1418A FIG APPB2 E1418A SFFFFig A24 REGISTER MAP REGISTER 16 BIT E1418A A24 OFFSET WORDS ADDRESS 3FFFF 16 NOT USED SPACE o 256 KBYTES e e 0000046 0020015 NOT USED 001E045 Undefined Undefined Undefined 2016 Calibration amp Configuration Registers Channel Current Gain_Cal Registers Channel Current Offset_Cal Registers Channel Voltage Gain_Cal Registers 0010015 Channel Voltage Offset_Cal Registers
68. 442 4404 bo4d2 240586888 FR4 RS ES 102 A A IN O AN 103 TRIES oee Cee h eo de bk a ee a ee we ao 104 TRIGSO IVETE a 1 00 REE ARR Ra Oe OS 104 TRICE SOURCE ies Oe RRO RAS EES Se BA RRS ER 105 TRIGSCE URGE y 2 oe ER ORE REE oR TR AAA 105 TEEE 488 2 Common Command Quick Reference o o 106 HF E1418A Command Ouick Reference ys os 4 cee eee eR RAK ER ORR HS 107 Appendix A HP E1418A Specifications o o e 111 DE VOR cee sk ELA a a ERE E da 111 DE Cumont 4 vais e REIR A AAA 111 General Charactenistics s seca Be RRS He EE RARE OR a 112 Power Requirements rica dera 112 Cooling Requitemen s 6 444 4 aer A GSES EGE 112 Appendix B HP E1418A Register Based Programming 113 Addressinp the Registers caca DEERE RE SE RES 114 PG ROC a dr oe Ok ee Ee Oe SS SSS SHES ES 114 APS ROWE Cn oh Pe hee Oe SHED bE HEED ES DERE RE EE GES 115 Tio Bate AUTRE o gk hoe Reh Ok ORO Ee EE OK ORGS ORO 117 Berries ak eee ee oe ee ee OR ee eS Oe oS SHES e A 118 HP E1418A 8 16 Ch D A Converter User Manual Contents 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Ree and REQ i e 04 E A ee ee ee ee Oe i a 119 Reeser Mape phased eke se SR eR a a PRS ERS 120 AGATA REGISTERS 2 gv ad tat Eeee ARANA DAA A OS REE ES 120 ACO REGISTERS 64445644 AA COS SEUSS SE ESOS ESS 121 Resister DESCODOSIE e ook eae E oe dee kok oh Bink ea eae wee 126 Manutactiwer ID REGED
69. 5th 1 All channel outputs are disabled all output relays are open 6th 1 All channels are output mode programmable Chapter 2 Programming Examples 41 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Co nfigu ration The following program segment demonstrates how to read the module Example identification string and the configuration The configuration integers are bit manipulated using the C operator for bit shifting result result lt lt 1 a one bit shift to the left FUNCTION PROTOTYPES void main void void err_handler ViSession vi ViStatus x VTL error routine void sys_err ViSession resource Checks for SCPI programming errors GLOBAL ViStatus err ViSession defaultRM cmd dac Oo Oo Oo void main void int isnum_chan result 0 config 6 0 char buf 256 0 Check the module identification Sl err viPrintf dac IDN An request id from the module err viScanf dac t amp buf enter string returned Al printf Module is identified as a s n buf print the result Get the module configuration bi err viPrintf dac DIAG CONFAn request module configuration err viScanf dac 6d amp config returns six integers Decode the first integer result config 0 Expansion board if result lt 7 printf Module is a 16 channel dev
70. 6 The Isolation Status Register base 1416 reflects the isolated non isolated configuration of each channel The Calibration Control Register base 08 16 is set to calibrate voltage with the cal mux disabled 200016 Channel Trigger Register base 1816 is set to 000016 if the module is a 16 channel configuration or FF0016 if an 8 channel configuration The upper 8 bits of all channel related registers are set to 1 s FF 16 for 8 channel configurations Appendix B HP E1418A Register Based Programming 119 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Register Maps A16 A24 REGISTERS Address Read Registers Write Registers Type Base 0016 ID Register Logical Address Register VXI Required Base 0216 Device Type Register Registers Base 0416 VXI Status Register VXI Control Register Base 0616 VXI Offset Register Base 0816 Calibration Control Register Card l Control Base 0A16 Card Configuration Register Registers Base 0Ci6 Software Trigger Register Base 0E1416 Trigger Control Register Base 1016 Interrupt Control Register Not Supported Base 1216 Interrupt Status Register Not Supported Base 1416 Isolation Status Register Base 1616 Chan Prog_Jumper Register Channel Control Base 1816 Chan_Trigger Register Registers Base 1
71. 6 Settling Time 112 reducing 78 Short SCPI Commands 60 Single Internal Self Test 101 Software trigger 54 trigger register 131 SOURce Subsystem 50 52 84 94 SOURn CURR LEV IMM AMPL 50 85 SOURn CURR LEV IMM AMPL 86 SOURn CURR LEV TRIG AMPL 50 54 87 SOURn CURR LEV TRIG AMPL 88 SOURn FUNCtion MODE 52 53 89 SOURn FUNCtion MODE 90 SOURn VOLT LEV IMM AMPL 50 91 SOURn VOLT LEV IMM AMPL 92 SOURn VOLT LEV TRIG AMPL 50 54 93 SOURn VOLT LEV TRIG AMPL 94 Specifications 111 112 SRE 98 106 SRE 106 SRQ Interrupt 98 Standard Event Register 95 Status Byte 96 register 98 summary register 98 STATus Subsystem 95 99 STAT OPER CONDition 96 STAT OPER ENABle 96 STAT OPER ENABle 97 STAT OPER EVENt 97 STAT PRESet 97 STAT QUES CONDition 98 STAT QUES ENABle 98 STAT QUES ENABle 99 STAT QUES EVENt 99 STB 106 Subsystems SCPI Commands ABORt 63 APPLy 45 46 64 65 CALibration 66 75 DIAGnostic 76 79 INITiate 80 OUTPut 46 81 83 SOURce 50 52 84 94 STATus 95 99 SYSTem 100 TEST 101 103 TRIGger 104 105 Summary Register 96 98 Switches logical address 19 Synchronizing outputs 54 outputs multiple channel 87 93 program and module 56 SYSFAIL Line 127 128 SYSTem Subsystem 100 SYSTem ERRor 47 100 SYSTem VERSion 100 T Terminal Module 17 22 attaching 25 CAL output terminals 36 71 72 76 155 combining chan
72. A16 Chan_Mode Register Base 1C16 Chan Relay Control Register Base 1E16 Card Control Register A24 Access Register Base 2016 Remapped A24 Registers A24 through Window Base 3E16 Registers 120 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com A24 REGISTERS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Address Read Registers Write Registers Type Base 4016 Ch 01 Main _DAC Immediate Channel Main DAC Base 4216 Ch 02 Main_DAC Immediate ediate Registers Base 4416 Ch 03 Main_DAC Immediate New output values Base 4616 Ch 04 Main DAC Immediate Hb output rolay le closed Base 4816 Ch 05 Main_DAC Immediate Base 4A16 Ch 06 Main_DAC Immediate Base 4C16 Ch 07 Main_DAC Immediate Base 4E16 Ch 08 Main_DAC Immediate Base 5016 Ch 09 Main_DAC Immediate Base 5216 Ch 10 Main_DAC Immediate Base 5416 Ch 11 Main_DAC Immediate Base 5616 Ch 12 Main_DAC Immediate Base 5816 Ch 13 Main_DAC Immediate Base 5A16 Ch 14 Main_DAC Immediate Base 5C16 Ch 15 Main_DAC Immediate Base 5E16 Ch 16 Main _DAC Immediate Base 6016 Ch 01 Main_DAC Triggered Channel Main DAC Base 6216 Ch 02 Main DAC Triggered 99ered Registers Base 6416 Ch 03 Main_DAC
73. Channel 2 DAC and CAL 697 Reg_offset 18 36 A_24 Window Register Channel 3 DAC and CAL 698 Reg_offset 19 38 A_24 Window Register Channel 4 DAC and CAL 148 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 699 Reg_ offset 700 Reg_ offset 701 Reg_ offset 702 Reg_ offset 703 Reg_ offset 704 Reg_ offset 2 A_24 Window Register 2 2 2 2 2 705 Reg_ offset 2 2 2 2 3 3 A_24 Window Register A_24 Window Register A_24 Window Register A_24 Window Register A_24 Window Register A_24 Window Register 0 Channel 5 DAC and CAL 2 4 6 8 50 52 54 A_24 Window Register 56 58 60 62 Channel 6 DAC and CAL Channel 7 DAC and CAL Channel 8 DAC and CAL Channel 9 DAC and CAL Channel 10 DAC and CAL Channel 11 DAC and CAL Channel 12 DAC and CAL Channel 13 DAC and CAL 4 4 4 4 4 706 Reg_ offset 707 Reg_ offset 708 Reg_ offset 709 Reg_ offset 710 Reg_ offset A_24 Window Register A_24 Window Register A_24 Window Register A_24 Window Register Channel 14 DAC and CAL Channel 15 DAC and CAL 0 1 2 3 4 5 6 7 8 9 0 1 Channel 16 DAC and CAL AS ams pla E Gils glia A 999 Output a calibrated voltage on channel 3 1000 1001 Write_a16 Reg_offset 15 8 Map A 24 voltage offset cal
74. Command Reference 85 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce SOURcen CURRent LEVel IMMediate AMPLitude SOURcen CURRent LEVel IMMediate AMPLitude lt MIN MAX DEF gt queries the last output value written by SOURcen CURRent LEVell IMMediate AMPLitude Parameters Parameter Parameter Range of Default Name Type Values SOURcen keyword 1 to 8or1 to 16 1 lt MIN MAX DEF gt discrete optional MIN MAX DEF none Returns 32 bit floating point number float 32 Comments In the keyword SOURcen the valid range of n is lto8for E1418A E1418A Option 002 1 to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error e If no parameter is given this query returns the source current set on channel n by the last SOURcen CURRent LEVel IMMediate AMPLitude command The value returned is the value last programmed on that channel not an actual measurement of the hardware output value e Ifa parameter is given MIN returns 0 02 Amps MAX returns 0 02 Amps DEF returns 0 Amps e This command generates an error if channel n is in the voltage output mode e Related Commands SOURcen CURRent LEVel IMMediate AMP Litude SOURcen FUNCtion MODE CURRent 86 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guara
75. Commands OUTPutn STATe DIAGnostic SOURcen FUNCtion MODE DIAGnostic SOURcen FUNCtion MODE lt mode gt changes the output mode of the channel without disabling the channel output Parameters Parameter Parameter Range of Default Name Type Values SOURcen keyword 1to8or1to16 1 lt mode gt discrete CURRent or VOLTage none Comments In the keyword SOURcen the valid range of n is lto8for El418A E1418A Option 002 l to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error e Use this command with caution The output voltage or current is not predictable during the mode change and transients will occur e This command performs the same function as the SOURcen FUNCtion MODE command but does not disable the output during the mode change This command can reduce the settling time required to disable and enable the outputs e Following a mode change with this command the appropriate calibration constants are used the channel mode is changed and the output is set to either 0 V or 0 A e This command will generate an error if the trigger system is waiting for a trigger event when this command is received e This command is affected by the state of the P J jumper on the terminal module If the P J jumper is not set to Program Selectable this command will generate an error This jumper is described on page 31 e Related Commands SOURcen FUNCtion MODE 78 HP
76. E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com DIAGnostic DIAGnostic TRIGgered DIAGnostic TRIGgered returns a 16 bit word indicating the current trigger status of the module Parameters Returns unsigned 16 bit integer uint16 Comments This query returns a 16 bit word indicating the trigger status of each channel A bit is set to 0 to indicate the channel is not waiting for a trigger A bit is set to 1 to indicate the channel is in the wait for trigger state Bits 0 15 correspond to channels 1 16 respectively e Related Commands TRIGger SOURce Chapter 3 HP E1418A SCPI Command Reference 79 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com INITiate INITiate The INITiate subsystem changes the trigger state from idle to wait for trigger Subsystem Syntax INITiate IMMediate INiTiate MMediate Changes the trigger system from the idle state to the wait for trigger state Parameters None Comments If this command is received and the trigger system is not idle an error is generated e If this command is received and no channels are waiting for a trigger event an error is generated e Triggering is described in more detail on page 54 e Related Commands TRIGger SOURce SOURcen VOLTage TRIGgered SOURcen CURRent TRIGgered ABORt 80 HP
77. E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com OUTPut OUTPut The OUTPut subsystem provides commands to open or close the output relay on each channel and to enable the module to output the selected trigger source on one of the VXIbus TTL trigger lines Subsystem Syntax OUTPut TTLTrgn STATe lt state gt STATe OUTPutn STATe lt state gt STATe OUTPut TTLTrgn STATe OUTPut TTLTrgn STATe lt state gt specifies which VXIbus TTLTRG line is enabled to source a V XIbus trigger when the module is triggered Parameters Parameter Parameter Range of Default Name Type Values TTLTrgn keyword 0to7 none lt state gt boolean OFF ON 0 1 0 Comments VXIbus TTLTRG lines are numbered from 0 to 7 Only one line can be enabled at a time e Ifa different line is already enabled when this command is received a settings conflict error is reported e This command sources a trigger from the module The TRIGger SOURce TTLTn command programs the module to accept triggers from the VXIbus TTLTRG lines The module can be programmed to both accept and source triggers on the VXIbus TTLTRG lines but the source TTLTRG line and the accepted TTLTRG line must be different e This command should be sent before the TRIGger SOURce TTLTn command e RST Condition All lines disabled e Related Commands TRIGger
78. EO g La aaa Bak OR Gwe AAA a eth Geek aes Ec od 66 CALibrationCONDition 44545 bee RR RRR HA ERS EER SEES 67 CALibration CONFigure RESistance o 68 OE RESSE e da a Rd a e e A ee di RO 68 CALibroOESTORS scsi nia A e EER 69 AS EUA Oe ERS SORE R SE SEES SES 69 CALibration V ALue RESistance ge a ee RR RR RR OH SR 70 CALibrationn CONFigure CURRent o o o ooo ero 71 CALibrationn CONFigure VOLTage ooo o eee 72 CALibrationn VALue CURRent 0 0 0 0 000002 eee ee ee ee de CALibrationn VALue VOL Tage o o ee 74 PUNO 2006204 a A 76 DIAGnostic CALibration OUTPut MODE 76 DIAGnostic CALibration OUTPut MODE TI DiAGnostic CONFIGWE acris eK RRR EKER RES RRR ER HESS TI DIAGnostie QUTPW ALLESTATe 6 466 ose wed ERR RARER OES 78 DIAGnostic SOURcen FUNCtion MODE 78 DIAGnostic TRiGesed reoeo ta e a EE a EES 79 INTA ceda o A td RADA AA AS dE dee GOES 80 INTHAt LIM tE nc ck ee oe eR ERR A a RR ee 80 OPPIE id id Oe ee cara 81 OUTPUGY IL Men STARE 226 ackee ds dk EES Sew ESE BEES 81 GUTPurCt TL MAA STAI pe sae eeu ou bk SOG ae HS Owe eRe EEO 82 OUTPUT ATE feb ce et cece ects E bk im Roe OR Oe hd 82 OUTPUT STATI sario dk EA RAG REBAR EDGE KEES 83 A okt ees SERA Re DEAD ES OR MOSS SSeS HERES Ee 84 2 HP E1418A 8 16 Ch D A Converter User Manual Contents Artisan Technology Group Quality Instrumentation
79. EStionable CONDition ENABle lt mask gt ENABle EVEN1 Questionable Data Condition Register Lvent Register Enable Register 0 Not Used 0 Not Used Not Used Not Used Output Buffer Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used Not Used i g Calibration 8 Calibration 7 OR 9 Trig Ignored 9 Trig Ignored Not Used Not Used Not Used Not Used Status Byte Not Used Not Used Summary Register Enable Register Not Used Not Used O Not Used Not Used Not Used Not Used 15 Not Used 15 Not Used Not Used STAT QUES COND STAT QUES EVEN STAT QUES ENAB lt mask gt 1 3 Questionable Data STAT QUES ENAB ___ Message Available Dor gt Standard Event Standard Event j E Request Service Lyent Register noble Register 7 Operational Status OjOperatiori Complete Serial Poll SPOLL SRE_ lt mosk gt Not Used STB sSRE 2 Query Error 3 Device Error r 4 Execution Error Dor 5 Command Error Binary Not Used Weights 7 Power On 0 1 ESR ESE lt mask gt 1 2 ESE 2 4 3 8 Operational Status 5 Condon Register Event Register noble Register 6 64 0 Calibrating 0 Calibrating 7 128 Not Used Not Used A a
80. IN MAX DEF gt discrete optional MIN MAX DEF none Returns 32 bit floating point number float 32 Comments In the keyword SOURcen the valid range of n is lto8for E1418A E1418A Option 002 l to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error e If no parameter is given this query returns the last value set on channel n by the SOURcen VOLTage LEVel MMediate AMPLitude or SOURcen VOLTage LEVel TRIGgered AMPLitude command The value returned is the value last programmed on that channel not an actual measurement of the hardware output value e Ifa parameter is given MIN returns 16 000 MAX returns 16 000 DEF returns 0 000 e This command generates an error if channel n is in the current output mode e Related Commands SOURcen VOLTage LEVel TRIGgered AMPLitude SOURcen FUNCtion MODE VOLTage 94 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STATus STATus The STATus subsystem controls the SCPI defined Operation and Questionable Status Registers and the Standard Event Register Each is comprised of a Condition Register an Event Register and an Enable mask The SCPI Status System is shown in the figure below Subsystem Syntax STATus OPERation CONDition ENABle lt mask gt ENABle EVEN1 PRESet QU
81. InstraV ea REMOTE INSPECTION LOOKING FOR MORE INFORMATION MANUFACTURERS Remotely inspect equipment before purchasing with Visit us on the web at www artisantg com 7 for more our interactive website at www instraview com information on price quotations drivers technical LEASING MONTHLY specifications manuals and documentation RENTALS ITAR CERTIFIED CEP BAD tia Contact us 888 88 SOURCE sales artisantg com www artisantg com
82. Modules 2 0 0 cece eee ee eee Page 22 e Wiring the Terminal Module 04 Page 23 e Attaching the Terminal Module Page 25 e Removing the Terminal Module Page 26 e Terminal Module Options 0 005 Page 27 e Terminal Module Connectors 0 0000 Page 30 e Configuring the Terminal Module Page 31 e Terminal Module Connections 0 5 Page 33 e Initial Operation 0 00 eee cee eee Page 37 Module Description The HP E1418A is an 8 or 16 channel digital to analog converter module for use in a VXIbus C size mainframe The module is a register based device The module can be programmed via direct register access or with the appropriate driver by high level commands This manual describes programming the module using SCPI Standard Commands for Programmable Instruments and the SCPI driver Each HP E1418A module is a unique instrument having its own output buffer and error queue Multiple modules cannot be combined into a single instrument Each channel can be configured to either voltage or current output mode When configured for voltage output voltages in the range of 16 0 to 16 0 Volts can be set When configured for current output current in the range of 0 02 to 0 02 Amps can be set The channel output mode can be programmatically set or can be forced to either voltage or current by me
83. OURCE www artisantg com CALibration CALibrationn VALue CURRent CALibrationn VALue CURRent lt value gt enters a measured calibration value and returns a value indicating the present state of the current calibration process Parameters Parameter Parameter Range of Default Name Type Values CALibrationn keyword 1 to8or1 to 16 1 lt value gt numeric float 32 0 0 to 6 0 V none Returns unsigned 16 bit integer uint16 Comments In the keyword CALibrationn the valid range of n is lto8for E1418A E1418A Option 002 1 to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error e This command is used together with the CALibrationn CONFigure CURRent query to perform voltage mode calibration Following the CALn CONF CURR query this command is used repetitively until the return value indicates that the calibration is complete e The lt value gt parameter is the measured output voltage A minimum of 9 measurements must be taken to calibrate a channel for current mode output a maximum of 50 measurements may be required e This query returns one of the following values Return i Value Meaning 0 Calibration is complete New constants are in RAM Resistance is calibrated 1 More measurements are needed Resistance is calibrated 2 Calibration is complete New constants are in RAM Resistance is not calibrated 3 More Measurements are
84. Option 002 1 to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error If no parameter is given this query returns the last value set on channel n with the last SOURcen VOLTage LEVel IMMediate AMPLitude command The value returned is the value last programmed on that channel not an actual measurement of the hardware output value If a parameter is given MIN returns 16 000 MAX returns 16 000 DEF returns 0 0000 This command generates an error if channel n is in the current output mode Related Commands SOURcen VOLTage LEVel MMediate AMPLitude SOURcen FUNCtion MODE VOLTage 92 HPE1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce SOURcen VOLTage LEVel TRIGgered AMPLitude SOURcen VOLTage LEVel TRIGgered AMPLitude lt value MIN MAX DEF gt outputs the voltage set in value at channel n when the trigger conditions are satisfied and the channel output relay is closed Use this command to synchronize multiple channel outputs Parameters Parameter Parameter Range of Default Name Type Values SOURcen keyword 1to8or1to16 1 lt value gt numeric float 32 or 16 V to 16 V or 0 discrete MIN MAX DEF Comments In the keyword SOURcen the valid range of nis lto8for E1418A E1418A Option 002 1 to 16 for E1418A Option 00
85. T TTT S2222 0000000 o MOORE Tn ISSO Soocoooooa Bboconosafooo jj jj jj j l l DBOOCOCOO0O0COO OD HOODIA jojojo jojojo je SOS OOOO oOOoOo CAL DMM Figure D 2 Voltage Calibration Connections CAL Zo D 0 PTT TTT TTT TTT TTT TTT TT TTTTTTT PTT TTT TTT TTT TTT SS220S00000000 PODODODODODOoool S22S292S000000 DODODODODoool OOOO SDOoOCoco ae ee SOSDALDCAO oa moomoo ooo O Doo oooooooog h SEOaccacacacara SOSOSooooyx gt 0000000000 HS HI LO LS E LS L0 DMM gt HI Figure D 3 Voltage Calibration Connections CHAN Appendix D Voltage Current Output Adjustment 158 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Current Adjustme nt Current output uses an internal resistance value to calibrate all channels This resistance value is approximately 244 Q Note You may also use an external resistance value on each channel for current output calibration If you wish to
86. Triggered New output values Base 6616 Ch 04 Main DAC Triggered jabber dant when the Base 6816 Ch 05 Main_DAC Triggered Output relay is closed Base 6A16 Ch 06 Main_DAC Triggered Base 6C16 Ch 07 Main_DAC Triggered Base 6E16 Ch 08 Main_DAC Triggered Base 7016 Ch 09 Main_DAC Triggered Base 7216 Ch 10 Main_DAC Triggered Base 7416 Ch 11 Main_DAC Triggered Base 7616 Ch 12 Main_DAC Triggered Base 7816 Ch 13 Main_DAC Triggered Base 7Ai6 Ch 14 Main_DAC Triggered Base 7C16 Ch 15 Main_DAC Triggered Base 7E16 Ch 16 Main_DAC Triggered Appendix B HP E1418A Register Based Programming 121 Address Read Registers Write Registers Type Base 8016 Ch 01 Offset_DAC Channel Offset DAC Base 8216 Ch 02 Offset_DAC HERE Base 8416 Ch 03 Offset_DAC Base 8616 Ch 04 Offset_DAC Base 8816 Ch 05 Offset_DAC Base 8A16 Ch 06 Offset_DAC Base 8C16 Ch 07 Offset_DAC Base 8E16 Ch 08 Offset_DAC Base 9016 Ch 09 Offset_DAC Base 9216 Ch 10 Offset_DAC Base 9416 Ch 11 Offset_DAC Base 9616 Ch 12 Offset_DAC Base 9816 Ch 13 Offset_DAC Base 9A16 Ch 14 Offset_DAC Base 9C16 Ch 15 Offset_DAC Base 9E16 Ch 16 Offset_DAC Base A016 Ch 01 Gain_ DAC Channel Gain DAC Base A216 Ch 02 Gain_DAC Pegisters Base A416 Ch 03 Gain_DAC Base A616 Ch 04 Gain_DAC Base A816 Ch 05 Gain_DAC Base AA16
87. able 15 field kits 15 identification 38 identification query 40 44 installation 20 Artisan Technology Group Quality Instrumentation HP E1418A User s Manual 180 Guaranteed 888 88 SOURCE www artisantg com installing in mainframe 20 isolation rating maximum 34 57 112 options available 15 programming examples 39 58 query current settings 77 query current status 79 register based programming 113 149 removing from mainframe 21 serial number 38 40 serial number registers 148 setup and installation 13 38 specifications 111 112 synchronizing with program 56 terminal 17 22 terminal module wiring 23 24 N Non Isolated channel output 14 15 channel plug on module 17 Non Volatile FLASH Memory 140 143 calibration constants 68 69 141 143 155 162 storing calibration results 20 Non Volatile Memory 155 Numeric Command Parameters 61 O Offset_DAC Registers 139 OPC 106 OPC 56 106 162 Opening output relay 51 78 82 Operation Register query contents 96 97 99 Operation Status condition register 96 event register 96 97 99 register 95 97 Option 135 29 Option A3E 27 28 Option A3H 29 Optional Command Parameters 61 Options option 001 15 option 002 15 option 003 15 option 135 15 29 option A3E 15 27 28 option A3H 15 29 ordering 15 terminal module 15 Output accuracy 111 112 CAL terminals 36 71 72 76 155 changing value 51 channel cu
88. ables trigger with source IMM SRE lt mask gt Service request enable Sets the Service Request Enable bits and corresponding Serial Poll Status Byte Register bits to generate a service request SRE Service request enable query Queries the Service Request Enable Register STB Read status byte query Queries the Status Byte Register TST Self test query Performs the internal self test Disables all outputs Sets all outputs to 0 Returns the first error found in a 16 bit integer See page 103 WAI Wait to continue Waits until all relays are settled and the idle trigger state is reached TRG Trigger Causes an immediate trigger DMC Define macro Defines a macro GMC Menu query Gets the results of a menu query PMC Purge macros Purges all macros from memory LMC List macros Lists macros by name EMC lt n gt Enable macro Enables execution of macro n EMC lt n gt Enable macro query Queries execution state of macro n RMC Remove macros Removes all macros 106 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com HP E1418A Command Quick Reference HP E1418A Command Quick Reference The following table summarizes commands for the HP E1418A Command Description APPLyn CURRent lt value MIN MAX DEF gt Closes the output relay and outputs a current on t
89. alibration checksum Calibration Registers non volatile Base 18E16 Base 19016 Base 19216 Base 19416 Base 19616 SERIAL NUMBER Module Serial Number Registers 10 byte serial number non volatile Base 19816 Base 19A 6 Base 19C16 Base 19E16 Base 1A016 Base 14216 Base 14436 Base 1A616 Base 14816 Base 1AAi6 Base 1AC16 Base 1AEi6 Base 1B016 Base 1B216 Base 1B416 Base 1B616 Base 1B816 Base 1BAi 6 Base 1BC16 Base 1BEi6 Undefined calibration memory Undefined Calibration Storage Registers non volatile Note Calibration Registers 0010016 through 001BE 6 are located in non volatile FLASH memory Writing to this memory requires a complicated sequence of register accesses not documented here It is recommended that calibration be performed using the SCPI driver for the module not register access Appendix B HP E1418A Register Based Programming 125 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Register Descriptions Manufacturer ID The Manufacturer ID Register is a VXIbus required register A read of this Reg ister register returns CFFF16 12289 decimal Bit Position 15 14 13 1
90. also on the terminal module see page 31 For example if on the terminal module channel 1 P J jumper is set to Jumper Selectable and the V I jumper is set to current mode the following command will each generate an error SOURce1 FUNCtion MODE VOLT The error returned is 3012 Channel cannot be programmed to this mode check jumpers Appendix C starting on page 150 contains a full list of the errors that may be generated by the SCPI commands for the HP E1418A 52 Programming Examples Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Controlling the Output Relay There are three programming methods to enable the output of a channel close the output relay e The APPLyn VOLTage lt value gt or APPLyn CURRent lt value gt command both program an output value and close the output relay on a single channel e The OUTPutn STATe ON command closes the output relay for a single channel The last programmed mode and output value remains in effect e The DIAGnostic OUTPut ALL STATe ON command closes all output relays The order of relay closure is not guaranteed There are three programming methods to disable the output of a channel open the output relay e Send the OUTPutn STATe OFF command to open a single channel output relay without changing the programmed mode or output value for that channel or affecting any other channels e Send RST to program all
91. an Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Terminal Module Connectors OMNOARWN OMANOORWNH CH 1 Prgm Jmpr CH 2 Prgm Jmpr CH 3 Prgm Jmpr CH 4 Prgm Jmpr CH 9 Prgm Jmpr CH 10 Prgm Jmpr CH 11 Prgm Jmpr CH 12 Prgm Jmpr CH 1 Mode Jmpr CH 2 Mode Jmpr CH 3 Mode Jmpr CH 4 Mode Jmpr CH 9 Mode Jmpr CH 10 Mode Jmpr CH 11 Mode Jmpr CH 12 Mode Jmpr GND GND GND GND GND GND GND GND GND EXT TRIGn GND CAL HS CAL HI CAL LO CALLS GND Terminal ID 1 Terminal ID 2 Terminal ID 3 GND GND GND GND GND GND GND GND GND GND GND GND GND CH 5 Prgm Jmpr CH 6 Prgm Jmpr CH 7 Prgm Jmpr CH 8 Prgm Jmpr CH 13 Prgm Jmpr CH 14 Prgm Jmpr CH 15 Prgm Jmpr CH 16 Prgm Jmpr CH 5 Mode Jmpr CH 6 Mode Jmpr CH 7 Mode Jmpr CH 8 Mode Jmpr CH 13 Mode Jmpr CH 14 Mode Jmpr CH 15 Mode Jmpr CH 16 Mode Jmpr Figure 1 12 shows the connections at the terminal module connectors CH 10 CH 10 CH 10 CH 10 CH 11 CH 11 CH 11 CH 11 CH 12 CH 12 CH 12 CH 12 Cc Cc Cc Cc Cc C Cc Cc Cc Cc Cc 03 CH Cc Cc Cc Cc Cc Cc Cc Cc Cc Cc C Cc Cc Cc Cc CH C CH Cc Figure 1 12 HP E1418A Terminal Module Connector Pinout COM 10 Y Y Y Y O O 0 0 01 O1 O rr HNHO HHO CH1HS CH1HI CH1LO CH1LS CH2HS CH 2 HI CH2LO CH2LS CH3HS CH3HI CH3LO CH3LS CH4HS CH4HI CH4LO CH4LS CH9HS CHS HI CH 9 LO CH 9 LS HS HI LO LS HS HI LO
92. an error queue The error queue is a first in first out queue Each response to the SYSTem ERRor query removes one error from the queue Multiple SCPI errors may be generated by a single incorrect command and the error queue should be read until it reports 0 No Error Chapter 2 Programming Examples 47 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SCPI error checking is illustrated in the following program example The SCPI error routine is named sys_error Errors found are reported to the standard output device FUNCTION PROTOTYPES void main void void err_handler ViSession vi ViStatus x VTL error routine void sys_err ViSession resource SCPI error routine sf Oo Oo Oo GLOBAL ViStatus err ViSession defaultRM cmd dac Oo Oo Oo void main void Open the resource manager command module and dac sessions viOpenDefaultRM amp defaultRM viOpen defaultRM CMD_ADDRESS VI_NULL VI_NULL amp cmd viOpen defaultRM DAC_ADDRESS VI_NULL VI_NULL amp dac Set the timeout for the dac viSetAttribute dac VI_ATTR_TMO_VALUE 10000 10 second timeout err viPrintf dac RST n resetthe dac if err lt VI_SUCCESS err_handler dac err VTL error check sys_err dac SCPI error check e e e VTL Error handling function void err_handler ViSession dac ViStatus err
93. and Description OUTPut TTLTrgn STATe lt OFF ON gt Specifies which VXlbus TTLTRG line is enabled to source a VXIbus trigger when the module is triggered TTLTrgn STATe Queries the state of the specified VXlous TTLTRG line for use as a trigger output line OUTPutn STATe lt OFF ON gt Opens or closes the specified channel output relay STATe Queries the state of the specified channel output relay and returns a 0 or 1 SOURcen CURReni LEVel IMMediate AMPLitude Outputs the current set in value at channel n when the output relay is closed Queries the last output value written by SOURcen CURRent lt value gt Outputs the current set in value at channel n when the trigger conditions are satisfied and the output relay is closed Queries the last value written by either SOURn CURR TRIG or SOURn CURR IMM Configures channel n for either current or voltage output Queries channel n for current or voltage output mode The query returns a string Outputs the voltage set in value at channel n when the output relay is closed Queries the last output value written by SOURn VOLT IMM lt value gt Outputs the voltage set in value at channel n when the trigger conditions are satisfied and the channel output relay is closed Queries the latest value written by either SOURn VOLT TRIG or SOURn VOLT IMM 108 HP E1418A SCPI Command Reference Artisan Technology Group Quality Instrumentation
94. andards Organization members Warranty This Hewlett Packard product is warranted against defects in materials and workmanship for a period of three years from date of ship ment Duration and conditions of warranty for this product may be superseded when the product is integrated into becomes a part of other HP products During the warranty period Hewlett Packard Company will at its option either repair or replace products which prove to be defective For warranty service or repair this product must be returned to a service facility designated by Hewlett Packard HP Buyer shall pre pay shipping charges to HP and HP shall pay shipping charges to return the product to Buyer However Buyer shall pay all shipping charges duties and taxes for products returned to HP from another country HP warrants that its software and firmware designated by HP for use with a product will execute its programming instructions when properly installed on that product HP does not warrant that the operation of the product or software or firmware will be uninterrupted or error free Limitation Of Warranty The foregoing warranty shall not apply to defects resulting from improper or inadequate maintenance by Buyer Buyer supplied prod ucts or interfacing unauthorized modification or misuse operation outside of the environmental specifications for the product or im proper site preparation or maintenance The design and implementation of any circuit on th
95. apter 3 of this manual SCPI usage conventions and syntax rules are described beginning on page 60 This chapter is divided into the following sections Querying Module Identification and Configuration Page 40 APPLY Output erasoei pa Page 45 Error Checkin Serre tasapisi aia ao aaa ed lea Page 47 SOURce Output 0 0 0 eee eee Page 50 Setting the Output Mode 00 00 0000 a ee Page 52 Controlling the Output Relay 000 Page 53 A we eet dak bt wd onde ew a dee 4 Page 54 Using OPC oc oie sate o asa Odden es we Page 56 Combining Output Channels 00 Page 57 Example programs in ANSI C format are included on the driver CD supplied with the HP E1418A Most examples in this chapter are included The examples are ASCII files with the c extension The int data type is system dependent These examples were developed on a system where int is a 16 bit integer Other systems may define int to be a different width In the examples the HP VISA Transition Library is used for I O operations with the VXIbus An HP command module HP E1405 E1406 is used and controlled via HP IB To use the HP VISA Transition Library abbreviated as VTL include the visa h header file include visa h Chapter 2 Programming Examples 39 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Hewlett Packard VTL function calls and data types typ
96. aration 9 Connections Artisan Technology Group Quality Instrumentation HP E1418A User s Manual 178 Guaranteed 888 88 SOURCE www artisantg com CAL terminals 36 155 current calibration CAL 161 current calibration CHAN 161 current output 33 current output combining 34 external trigger 35 resistance calibration CAL 160 sense leads 33 terminal module 33 voltage calibration CAL 158 voltage calibration CHAN 158 voltage output 33 voltage output combining 34 Connectors crimp and insert 27 29 front panel 18 front panel pinout 18 terminal module 30 terminal module pinout 30 Controlling Output Relay 53 Cooling Requirements 112 Crimp and Insert accessories 28 contacts 28 option A3E 27 28 option A3E accessories 28 tools 28 Current adjustment 159 161 calibration connections CAL 161 calibration connections CHAN 161 calibration status register 145 channel output connections 33 channel output connections combining 34 channel output connections querying 86 88 channel output connections specifying 64 85 87 channel output mode 13 45 89 DC specifications 111 gain calibration constant 143 mode calibration 71 73 74 offset calibration constant 142 output adjustment D DC Current Specifications 111 DC Voltage Specifications 111 Declaration of Conformity 9 Description 13 functional 16 registers 126 148 Device driver 37 ID register 119 type re
97. ate the module automatically sets the bits in this register If you use register programming to calibrate this module you may wish to use this register to record the calibration status The Voltage Calibration Status Register the Current Calibration Status Register the Calibration Isolation Status Register and the Calibration Card Configuration Register are used together to store the overall calibration status of the module Appendix B HP E1418A Register Based Programming 145 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com i i e Calibration Isolation Status Register provides a non volatile record o Calibration The Calib Isolation Status Register provid latil d of Isolation Status _ the isolation status of each channel at the last calibration This register is Reg ister non volatile Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 READ Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 WRITE Iso Iso Iso Iso Iso Iso Iso Iso Iso Iso Iso Iso Iso Iso Iso Iso Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Address Base 18816
98. ation 31 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Options A3E and A3H The P J jumper connection for each channel is named CH X PRGM JMPR Terminals in the connection diagram on page 30 With no connection to this pin the module will operate in the Program Selectable mode Shorting this pin to GND will set the Jumper Selectable mode for channel X When CH X PRGM JMPR is shorted to GND the CH X MODE JMPR pin corresponding to the V I Jumper sets the output mode for channel X If the pin is open voltage output mode is selected If the pin is shorted to GND current output mode is selected for channel X 32 Module Setup and Installation Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Terminal Module Connections Each channel has four output lines HI LO HS Hi Sense and LS Low Sense When using a channel in the voltage output mode you can use the sense lines to increase accuracy or to compensate for long lead lengths The sense leads are not used in the current output mode Voltage and Figure 1 14 shows connections for three types of output Channel 1 is Current Output connected in the 2 wire voltage output mode the sense leads are not used Connections and the sense connections need not be made Channel 2 is connected in the 4 wire voltage output mode Use this connection for the highest voltage accura
99. btained Remove the plug on modules and expansion board if any 3 Keep all removed parts in a static safe place Do not send plug on modules with the exchange assembly 4 Package the assembly in static safe packaging material 5 Include a description of the problem encountered as well as your phone number and return address Appendix E Configuration and Disassembly 174 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Notes 175 Configuration and Disassembly Appendix E Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com CLS 96 100 106 DMC 106 EMC 106 EMC 106 ESE 106 ESE 106 ESR 106 GMC 106 IDN 40 106 LMC 106 OPC 106 OPC 56 106 162 PMC 106 RMC 106 RST 53 106 119 SRE 98 106 SRE 106 STB 106 TRG 106 TST 53 103 106 173 WAL 106 A A16 address space 117 registers 114 A16 A24 register map 120 windows 116 A24 access from A16 137 memory access state 127 memory required 127 register map 121 125 registers 115 windows 116 137 Abbreviated SCPI Commands 60 ABORt Subsystem 63 Accuracy 111 112 Adding 8 Channels 168 170 Address A16 address space 114 A24 address space 115 base address 117 dynamic configuration 19 Index HP E1418A User s Manual logical 19 114 registers 114 118 space defined 114 117 space in
100. cen commands does not open the output relay Set channel 1 voltage mode SOURce1 FUNCtion MODE VOLTage Set channel 1 voltage output SOURce1 VOLTage 5 000 Turn on the output OUTPuti ON Channel 1 output is enabled Send a new output voltage SOURce1 VOLTage 15 000 Changing the output mode with the SOURcen commands opens the output relay Set channel 1 voltage mode SOURce1 FUNCtion MODE VOLTage Set channel 1 voltage output SOURce1 VOLTage 5 000 Turn on the output OUTPuti ON Channel 1 output is enabled and 5 volts applied Send a new output mode SOURce1 FUNCtion MODE CURRent Channel 1 output is disabled Set channel 1 output current SOURce1 CURRent 01 Channel 1 is programmed for 10 mA Turn on the output OUTPuti ON Channel 1 output is enabled and 10 mA applied Chapter 2 Programming Examples 51 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Setting the Output Mode The output mode can be set using commands in the SOURce subsystem SOURcen FUNCtion MODE VOLTage SOURcen FUNCtion MODE CURRent The mode can also be set on the terminal module with the P J jumpers and V I jumpers see page 31 If the mode is set to Jumper selectable with the P J jumper on the terminal module the mode cannot be changed with the SCPI commands and the output mode is set by the V I jumper
101. chanical jumpers on the terminal module Chapter 1 Module Setup and Installation 13 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Each output channel is individually configurable to be either an isolated output or a non isolated output Channel configuration to isolated or non isolated is made by individual plug on modules for each channel Figure 1 1 shows the module LS EF fas AI fe Figure 1 1 The HP E1418A 8 16 Channel D A Converter with Terminal Module 14 Module Setup and Installation Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Orderi ng Options The HP E1418A may be ordered from Hewlett Packard in a variety of configurations As ordered the module has the following options Description HP E1418A 8 Channel D A Converter with Non lsolated Outputs HP E1418A Option 001 16 Channel D A Converter with Non Isolated Outputs HP E1418A Option 002 8 Channel D A Converter with Isolated Outputs HP E1418A Option 003 16 Channel D A Converter with Isolated Outputs Field Kits The module can also be user configured as described beginning on page 166 of this manual The following field expansion and configuration kits are available Descri
102. channel voltage gain calibration registers 141 channel voltage offset calibration registers 140 current calibration status register 145 Gain_DAC registers 139 interrupt status register 133 logical address register 126 Main_DAC immediate registers 138 Main_DAC triggered registers 138 non volatile FLASH memory 140 143 155 185 HP E1418A User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Offset_DAC registers 139 software trigger register 131 trigger control register 131 132 voltage calibration status register 144 VXI offset register 128 VXI status control register 128 HP E1418A User s Manual 186 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Notes 187 HP E1418A User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com A rtisan Artisan Technology Group is your source for quality Technology Group new and certified used pre owned equipment FAST SHIPPING AND SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT DELIVERY Experienced engineers and technicians on staff Sell your excess underutilized and idle used equipment TENS OF THOUSANDS OF at our full service in house repair center We also offer credit for buy backs and trade ins IN STOCK ITEMS www artisantg com WeBuyEquipment 7 EQUIPMENT DEMOS HUNDREDS OF
103. checksum computed is a 32 bit value but only the least significant 16 bits are available Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 o READ 2nd Least Significant Byte Least Significant Byte WRITE Value The 16 least significant bits of the Checksum Register Appendix B HP E1418A Register Based Programming 147 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Module Serial Number Registers The Module Serial Number Registers provides a 10 byte module serial number stored in non volatile memory Address Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base 18E16 er Seek READ 2nd Least Significant Byte Least Significant Byte Address Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base 19016 eee Seg READ 4th Least Significant Byte 3 rd Least Significant Byte Address Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base 19216 es on READ 6th Least Significant Byte 5th Least Significant Byte Addr
104. configuration 147 calibration checksum register 147 calibration control register 119 129 calibration isolation status 146 calibration resistor value 144 card configuration register 130 card control register 137 channel current gain calibration 143 channel current offset calibration 142 channel mode register 119 136 channel program jumper register 119 134 channel relay control register 119 136 channel trigger register 119 135 channel voltage gain calibration 141 channel voltage offset calibration 140 clearing bits from 97 99 condition register 95 96 98 current calibration status 145 descriptions 126 148 device ID register 119 device type register 127 enable register 97 99 event register 95 99 example program 148 149 Gain_DAC registers 139 interrupt status register 133 isolation status register 119 133 logical address register 126 Main_DAC immediate registers 138 Main_DAC triggered registers 138 manufacturer ID 119 manufacturer ID register 126 map 116 maps A16 A24 120 maps A24 121 125 module serial number registers 148 offset 118 Offset_DAC registers 139 operation status register 95 97 questionable status register 95 99 reset states 119 software trigger register 131 standard event register 95 status byte register 98 summary register 96 98 trigger control register 131 132 undefined registers 140 voltage calibration status 144 VXI offset register
105. crimping contacts onto a conductor The pin extractor tool part number HP 91519A is required for removing contacts from the crimp and insert connector These products are not included with Option A3E or with the terminal option accessories listed earlier 28 Module Setup and Installation Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Extra Crimp and Insert The crimp and insert connector is normally supplied with Option A3E Connectors Contact Hewlett Packard if additional connectors are needed Order HP 91484B Option A3H The Ribbon Cable Connector Terminal Option provides a terminal housing and ribbon cable connectors The connectors are designed to be used with 64 pin 0 05 inch center ribbon cables not provided Use Figure 1 12 to make the connections Note In Figure 1 12 the center row of each connector is not used in the ribbon cable The center row of both connectors is module ground GND Option A3H Ribbon cable direct A to terminal module connector j De 2 o User Supplied Ribbon Cable Figure 1 11 Option A3H Ribbon Cable Connector Option 135 The Terminal Module Housing Option provides a terminal housing with no connectors of any type 11 6mm The user supplied connector must be a DIN 41612 type C female 11 6 mm dimension as shown above L Chapter 1 Module Setup and Installation 29 Artis
106. cy and to compensate for long lead lengths Channel 3 is connected for current output mode sense is not used for current output Note The sense leads are internally disconnected for current output External wiring may be left connected to the sense outputs on the terminal module with no effect A O e MOTO HITO TT 2522000000000 L 222500000000 jojojo jj jes Je PODIDO S295500000000 S220500000000 jojojo jejejej je jojojo jojojo e 2223520300009 000 Channel 1 Channel 2 Channel 3 HS HI LO LS HS HI LO LS HS HI LO g CO CGC D ESE SOSoSoSoSoooooo Voltage Output Voltage Current wire Output Output 2 wire Figure 1 14 Typical Output Connections Options A3E and A3H HI HS LO and LS connections are shown on the diagram on page 30 Terminals Chapter 1 Module Setup and Installation 33 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Combining You can combine channels in series to obtain higher output voltages or in Channels parallel to obtain higher output currents Channels in Series e All channels connected in series MUST be configured as isolated channels
107. d channels MUST be configured with isolated plug on modules When combining output voltage channels series connections you must ensure that the output does not exceed the maximum isolation rating of 42 Vdc 42 Vpeak Up to three channels may be combined but the controlling program must ensure that all three channels together are NEVER set beyond 42 Vdc Chapter 2 Programming Examples 57 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Notes 58 Programming Examples Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Chapter 3 HP E1418A SCPI Command Reference Using This Chapter This chapter describes Standard Commands for Programmable Instrumentation SCPI and summarizes IEEE 488 2 Common Commands applicable to the HP E1418A D A Converter Module This chapter contains the following sections Command Types Common Command Format e Command Types oo e Page 59 e SCPI Command Reference o o o Page 62 e ABORt Subsystem o o e 000 Page 63 e APPLy Subsystem o o e 000 Page 64 e CALibration Subsystem o e Page 66 e DIAGnostic Subsystem o o 008 Page 76 e INITiate Subsystem o o o e Page 80 e OUTPut Subsystem o o e 008 Page 81 e SOURce Subsystem
108. de using the DIAGnostic CALibration OUTPut MODE command When the DIAG CAL OUTP MODE CALBus command also the reset state 1s used the output relay routes the calibration voltage to the CAL output terminals and opens all channel output terminals When the command DIAG CAL OUTP MODE CHANnel is used the output relay routes the calibration voltage to the channel terminals the CAL terminals are not connected The DIAGnostic CALibration OUTPut MODE command must be sent to the module before the CALibrationn CONFigure VOL Tage query e This query will generate an error if the trigger system is waiting for a trigger event when this command is received e This query returns a O to indicate that the channel is not ready for calibration and a 1 to indicate the channel is ready for calibration e This command is affected by the state of the program jumper for this channel on the terminal module To use this command the P J jumper must be set to program selectable or if set to jumper selectable the V I jumper must be set to the voltage mode The jumpers are described on page 31 e Refer to Appendix D Voltage Current Output Adjustment starting on page 154 for additional information about this command e Related Commands CALibrationn VALue VOLTage DIAGnostic CALibration OUTPut MODE 72 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 S
109. e RESet STORe TEST VALue RESistance lt value gt CALibrationn CONFigure CURRent VOL Tage VALue CURRent lt value gt VOLTage lt value gt 66 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com CALibration CALibration CONDition CALibration CONDition queries the module type and calibration status The query returns four 16 bit unsigned integers Parameters Returns four unsigned 16 bit integers uint16 Comments The integers returned indicate the module configuration and status at the last calibration not the current configuration of the module The first and second integers returned from this query can be compared to the first and third integers returned from the DIAGnostic CONFigure query to determine if the module configuration has changed since the last calibration Integer Returned Meaning 1 Expansion Board ID in the form 0 present 7 none expansion board contains channels 9 16 2 2nd 16 bit value indicates how the channels are configured isolated or non isolated A bit set to 0 indicates an isolated channel a bit set to 1 indicates a non isolated channel Bits 0 15 correspond to channels 1 16 respectively 3 3rd 16 bit value indicates the current calibration status for each channel A bit set to 0 indicates the channel is not calibrated for current a bit set to 1 i
110. e The guide indicates the current subsystem on that page 62 HPE1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ABORt ABORt The ABORt subsystem disables the trigger system and places the trigger system in the trigger idle state Subsystem Syntax ABORt Parameters None Comments Following this command the trigger system is in the idle state Sending an INITiate command after ABORt returns the trigger system to the wait for trigger state e Triggering is described in more detail on page 54 e Related Commands INITiate IMMediate Chapter 3 HP E1418A SCPI Command Reference 63 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com APPLy APPLy The APPLy subsystem enables and outputs a current or voltage on the specified channel Subsystem Syntax APPLyn CURRent lt value MIN MAX DEF gt VOLTage lt value MIN MAX DEF gt APPLyn CURRent APPLyn CURRent lt value MIN MAX DEF gt outputs a current on the specified channel n Parameters Parameter Parameter Range of Default Name Type Values APPLyn keyword 1 to8or1 to 16 1 lt value gt numeric float 32 or 0 02 Amps to 0 02 Amps or 0 discrete MIN MAX DEF Comments In the keyword APPLyn the valid range of n is lto8for E1418A E1418A Option 002 1 to 16 for E1418A O
111. e Gain_Cal Cal Storage Registers Base 12416 Ch 03 Voltage Gain_Cal non volatile Base 12616 Ch 04 Voltage Gain_Cal Base 12816 Ch 05 Voltage Gain_Cal Base 12A16 Ch 06 Voltage Gain_Cal Base 12C16 Ch 07 Voltage Gain_Cal Base 12E16 Ch 08 Voltage Gain_Cal Base 13016 Ch 09 Voltage Gain_Cal Base 13216 Ch 10 Voltage Gain_Cal Base 13416 Ch 11 Voltage Gain_Cal Base 13616 Ch 12 Voltage Gain_Cal Base 13816 Ch 13 Voltage Gain_Cal Base 13A16 Ch 14 Voltage Gain_Cal Base 13C16 Ch 15 Voltage Gain_Cal Base 13E16 Ch 16 Voltage Gain_Cal Appendix B HP E1418A Register Based Programming 123 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Address Read Registers Write Registers Type Base 14016 Ch 01 Current Offset_Cal Base 14216 Ch 02 Current Offset_Cal Base 14416 Ch 03 Current Offset_Cal Base 14616 Ch 04 Current Offset_Cal Base 14816 Ch 05 Current Offset_Cal Base 14A36 Ch 06 Current Offset_Cal Base 14C16 Ch 07 Current Offset_Cal Base 14E36 Ch 08 Current Offset_Cal Base 15016 Ch 09 Current Offset_Cal Base 15216 Ch 10 Current Offset_Cal Base 15416 Ch 11 Current Offset_Cal Base 15616 Ch 12 Current Offset_Cal Base 15816 Ch 13 Current Offset_Cal Base 15Ai6 Ch 14 Current Offset_Cal Base 15C16 Ch 15 Curr
112. e resource manager sets the logical address programmatically When using an HP C size mainframe with the HP E1405 E1406 Command Modules the logical address setting must be a multiple of 8 LADDR 0000000 O Address shown is 72 ADDR 72 shown in black 0 234567 CAL Store Enable Jumper Secured 9 x Y hy A CAL o Figure 1 4 Setting the Logical Address Chapter 1 Module Setup and Installation 19 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Module Installation To install the module 1 Verify the position of the CAL Store Enable Jumper for your application The Jumper as shipped is in the CAL position In this position a calibration may be performed and the results stored in non volatile memory In the Secured position a calibration may be performed but may NOT be stored in non volatile memory This jumper is described in more detail on page 156 2 Verify or set the logical address switch as shown in Figure 1 4 3 Install the module i
113. e the locator pin on the main board or expansion board that ensures correct orientation Replace the screw in the plug on module 5 Repeat steps 3 and 4 for each channel 6 Reinstall the sheet metal spacer or expansion board a complete procedure for the expansion board is given earlier in this chapter 7 Replace the top cover 8 Perform the adjustment procedures on the module See Appendix D beginning on page 154 171 Configuration and Disassembly Appendix E Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com y Expansion Board 0 L S 9 Y 2 is 1 S as gt 3 OR Ot E i S QA rs Figure E 3 Plug on Channel Locations Locator Hole Locator Hole Figure E 4 Installing Plug on Modules Appendix E Configuration and Disassembly 172 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Troubleshooting Isolating an Assembly Self Test These procedures will help you isolate a failure to a particular assembly The major assemblies of the HP E1418A are available on an exchange basis Use the following SCPI Common Command qu
114. ed plug on is installed or that no plug on module is installed DO NOT operate the module without a plug on module installed on every channel For 8 Channel configurations the upper 8 bits channels 09 through 16 are set to 1 s FE 6 Appendix B HP E1418A Register Based Programming 133 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Channel Prog ram The Channel Program Jumper Register returns the state of the P J jumper on Ju mper Reg ister each channel Additional information about these jumpers is given on page 31 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 READ Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 Jmpr Jmpr Jmpr Jmpr Jmpr Jmpr Jmpr Jmpr Jmpr Jmpr Jmpr Jmpr Jmpr Jmpr Jmpr Jmpr Address Base 1616 Ch XX Jmpr A one 1 in a field indicates that the P J jumper is in the program selectable position A zero 0 indicates the P J jumper is set to the jumper selectable position When the P J jumper is in the program selectable position 1 the channel can be programmed to either the voltage or current mode from the VXIbus backplane When the P J jumper is in the jumper selectable position 0 the voltage or current output mode is set via the V I jumper o
115. egister SYSTem ERRor Returns an error number and message from the instrument s error queue VERSion Returns the SCPI version with which the driver complies TEST NUMBer lt number gt Performs a single internal self test on the module and returns a 16 bit integer indicating the results of the self test TST RESults Returns an array showing the result of all self tests performed by the TST query TST Performs all internal self tests on the module and returns a 16 bit integer indicating the results of the self test TRiGger IMMediate Triggers any channels waiting for trigger when the trigger source is set to either BUS or HOLD SOURce lt source gt Sets the trigger source for the module SOURce Queries the trigger source for the module ABORt Disables the trigger system and places the module in the idle state INITiate IMMediate Changes the trigger system from the idle state to the wait for trigger state Chapter 3 HP E1418A SCPI Command Reference 109 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com HP E1418A Command Quick Reference Notes 110 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix A HP E1418A Specifications DC Voltage DC Current Range 16 V Resolution 16 bits 488 uV steps Monotonic to 2 0 mV Accuracy of
116. eh aR canes Whee ad da Rie hc x eet eh ded 15 Terminal Modules 24 i604 i424 nor einki OE ee ER Re ORS 15 Punchonal Description srs Se SSS GK KRSM AAA 16 Front Panel Connectors corri See ee eS Oe OE 18 petting the Lopical Address SUD os ee RE OSG bee eee 19 Pintle e AI 20 Tostallation ima Mainiame escara AAA a di Oe 20 Terminal Modules ii er A A S 22 Screw Type Terminal Module Standard 22 Wiring the Terminal Module 2445 606440444460 0283 bo Ue eS See SO 23 Attaching the Terminal Module 0 4 24264628 242445 BREE EERE HE 25 Removing the Terminal Module rise S46 RRP OLE 26 Terminal Module BOBS ok organ a poe eee RA a A 27 OMAE 22k ke b4 oh ee de eee k A A 27 OMA O A E ER a eR 29 EO TIN eop ie a aa th ee ea oh a ok e de a ae do 29 Terminal Module Comectors cesos sais ieri a ateik HOES 30 Configuring the Terminal Module 4 44044 4 ke a ee ER kE Lp 31 A IIA 31 VANE air A Re RA a AA A ROS 31 Terminal Module Connections 4244 5442 Rowe RHR ERE HE AREER 33 Voltage and Current Output Connections o o e a3 combina Cela he dy ah ep te pd ke he eae ok a a he ee a ed 34 Connecting an External Trigger Source o ooo o ero 33 Using the CAL Output Terminals o cec 6406 2 0458 eae OR ee eS 36 POU AICS icon hs kota ho me Ge SE BOR Se ek ae ee Ee Sh ee eS 37 DATE rra hb eee Se ee es dR OH eS 37 Module Identiticatiom s araa 64 2 eek AAA A 38 Chapter 2 Programming Examples
117. ent Offset_Cal Base 15E16 Ch 16 Current Offset_Cal Channel Current Offset Cal Storage Registers non volatile Base 16016 Ch 01 Current Gain_Cal Base 16216 Ch 02 Current Gain_Cal Base 16416 Ch 03 Current Gain_Cal Base 16616 Ch 04 Current Gain_Cal Base 16816 Ch 05 Current Gain_Cal Base 16Ai6 Ch 06 Current Gain_Cal Base 16C16 Ch 07 Current Gain_Cal Base 16E16 Ch 08 Current Gain_Cal Base 17016 Ch 09 Current Gain_Cal Base 17216 Ch 10 Current Gain_Cal Base 17416 Ch 11 Current Gain_Cal Base 17616 Ch 12 Current Gain_Cal Base 17816 Ch 13 Current Gain_Cal Base 17A36 Ch 14 Current Gain_Cal Base 17C16 Ch 15 Current Gain_Cal Base 17E16 Ch 16 Current Gain_Cal Channel Current Gain Cal Storage Registers non volatile 124 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Address Read Registers Write Registers Type Base 18016 Calibration resistor value Base 18216 Calibration resistor value Base 18416 Voltage calibration status Base 18616 Current calibration status Base 18816 Calibration isolation status Base 18Ai6 Calibration card configuration Base 18C16 C
118. er Chapter 3 HP E1418A SCPI Command Reference 105 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com IEEE 488 2 Common Command Quick Reference IEEE 488 2 Common Command Quick Reference The following table lists the IEEE 488 2 Common Commands that can be executed by the HP E1418A D A module For more information about Common Commands consult ANSITEEE Standard 488 2 1987 Note These commands apply to many instruments and are not documented in detail here Command Title Description CLS Clear status registers Clears the event registers and request for OPC flag ESE lt mask gt Event status enable Sets bits in the Event Status Enable Register ESE Event status enable query Queries the Event Status Enable Register ESR Event status register query Queries and clears the contents of the Standard Event Status Register IDN Identification query Returns the identification string of the module OPC Operation complete Sets the Request for OPC flag when all pending operations have been completed Also sets the OPC bit in the Standard Event Register OPC Operation complete query Returns a 1 to the output queue when all pending operations are complete RST Reset Disables all outputs Rewrites calibration data from FLASH to RAM Sets all outputs to 0 Sets if not jumpered all outputs to voltage mode En
119. ered Register The trigger status for that channel will be changed to triggered Channels 09 through 16 will return ones 1 if the module is configured as an 8 channel device Appendix B HP E1418A Register Based Programming 135 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Channel Mode Register The Channel Mode Register reports or programs the voltage or current operating mode for each channel Address Base 1Ai6 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 READ WRITE Ch 16 Ch 15 Mode Mode Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch 14 13 12 11 10 09 08 07 06 05 04 03 02 01 Mode Mode Mode Mode Mode Mode Mode Mode Mode Mode Mode Mode Mode Mode Note Channel Relay Control Register Ch XX Mode Writing a one 1 to this field selects the voltage output mode for that channel Writing a zero 0 to this field selects the current output mode for that channel The mode program jumpers on the terminal module override values written to this register When the P J jumper for a channel is set to jumper selectable writing to this register has no effect Reading this register returns the channel mode The channel mode is reported in this register for both VXIbus backplane programming and jumper program
120. ervice or adjustment unless another person capable of rendering first aid and resuscitation is present DO NOT substitute parts or modify equipment Because of the danger of introducing additional hazards do not install substitute parts or perform any unauthorized modification to the product Return the product to a Hewlett Packard Sales and Service Office for service and repair to ensure that safety features are maintained 8 HP E1418A User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Declaration of Conformity according to ISO IEC Guide 22 and EN 45014 Manufacturer s Name Hewlett Packard Company Loveland Manufacturing Center Manufacturer s Address 815 14th Street S W Loveland Colorado 80537 declares that the product Product Name 8 16 Channel D A Converter Module Model Number HP El418A Product Options All conforms to the following Product Specifications Safety IEC 1010 1 1990 Incl Amend 1 1992 EN61010 1 1993 CSA C22 2 1010 1 1992 UL 3111 EMC CISPR 11 1990 EN55011 1991 Group 1 Class A IEC 801 2 1991 EN50082 1 1992 4 kVCD 8 kVAD IEC 801 3 1984 EN50082 1 1992 3 V m IEC 801 4 1988 EN50082 1 1992 1 kV Power Line 5 kV Signal Lines Supplementary Information The product herewith complies with the requirements of the Low Voltage Directive 73 23 EEC and the EMC Directive 89 336 EEC inclusive 93 68 EEC and carrie
121. ery to initiate a module self test Start the Self test TST Enter the 16 bit integer returned The query will return a 0 if no errors are encountered The return value looks like Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Use Test Number Test Information Note The Test Information bits are not described in this manual The test number is the number of the first test to fail This number can be used to isolate a failing assembly The possible test numbers and probable failing assembly are shown below Test Number Failing Assembly Indicated Notes 0 None All Self tests passed 1 Main Board 2 through 9 Main Board or Plug On Test 2 channel 1 Modules Test 3 channel 2 etc 10 through 17 Expansion Board or Plug on Test 10 channel 9 Modules Test 11 channel 10 etc 18 through 25 Main Board 26 through 33 Main board 34 through 41 Expansion Board 42 through 43 Main Board 44 through 51 Main Board 52 through 59 Expansion Board 60 through 67 Main Board 68 through 75 Expansion Board Since the query returns only the first failure test number additional failures are possible but not reported by this command 173 Configuration and Disassembly Appendix E Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com
122. es 6 through 13 from the backplane to determine module accesses in Al6 space Note Writes to this register can be made at any time and will change the logical address of the module for later accesses 126 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Device Type The Device Type Register is a VXIbus required register This register Reg ister indicates the module s configuration as either an 8 channel DAC or a 16 channel DAC A read of this register returns 523016 21040 decimal if the module is configured as a 16 channel DAC or 523716 21047 decimal if the module is configured as an 8 channel DAC Bit Position 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Address i Base 0216 Setting 516 23016 or 23716 READ Required Memory Model Codes VXI Status Control Required Memory The HP E1418A requires 256 kbytes of A24 address space Model Codes The model codes for the HP E1418A are shown in the table below Configuration Model Code Register Read V Value alue 16 channel DAC 23016 523016 8 channel DAC 23716 523716 The VXI Status Control Register is a VXIbus required register As a READ Reg ister register t
123. ess Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base 19416 ee a READ 8th Least Significant Byte 7th Least Significant Byte Address Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base 19616 er nips READ Most Significant Byte 9th Least Significant Byte Register Example This example demonstrates using direct register access to set a calibrated voltage output The example is in HP BASIC and uses a command module controlled via HP IB 679 Reg_offset 0 0 ID Logical Address Register 680 Reg_offset 1 2 Device Type Register 681 Reg_offset 2 4 Status Control Register 682 Reg_offset 3 6 VXI Offset Register 683 Reg_offset 4 8 Calibration Control Register 684 Reg_offset 5 10 Card Configuration Register 685 Reg_offset 6 12 Software Trigger Register 686 Reg_offset 7 14 Trigger Control Register 687 Reg_offset 8 16 Interrupt Control Register 688 Reg_offset 9 18 Interrupt Status Register 689 Reg_offset 10 20 Isolation Status Register 690 Reg_offset 11 22 Program Jumper Register 691 Reg_offset 12 24 Channel Trigger Register 692 Reg_offset 13 26 Channel Mode Register 693 Reg_offset 14 28 Relay Control Register 694 Reg_offset 15 30 Card Control A24 Window Register 695 Reg_offset 16 32 A_24 Window Register Channel 1 DAC and CAL 696 Reg_offset 17 34 A_24 Window Register
124. essary for use with crimp and insert Terminal Module Option A3E Accessories Single Conductor and A crimp and insert contact is crimped onto one end of a wire The other Contact end is not terminated Order HP 91510A Length 2 meters Wire Gauge 24 AWG SS Quantity 50 each NE SES oy Insultation Rating 105 C maximum See Voltage 300 V Shielded Twisted Pair and A crimp and insert contact is crimped onto each conductor at one end of a Contacts shielded twisted pair cable The other end is not terminated Order HP 91511A Length 2 meters Wire Gauge 24 AWG Quantity 20 each Outside Diameter 0 1 inch Insultation Rating 250 C maximum Voltage 600 V Jumper Wire and Contacts A crimp and insert contact is crimped onto each end of a single conductor jumper wire This jumper is typically used to tie two pins together in a single crimp and insert connector Order HP 91512A Length 10 cm Wire Gauge 24 AWG Quantity 10 each Insultation Rating 105 C maximum Voltage 300 V Crimp and Insert Contacts These contacts may be crimped onto a conductor and then inserted into a crimp and insert connector The crimp tool kit is required to crimp the contacts onto a conductor and remove the contact from the connector Order HP 91515A Wire Gauge Range 20 26 AWG Sy Quantity 250 each Plating Gold Plated Contact Maximum Current 2A at 70 C Crimp and Insert Tools The hand crimp tool part number HP 91518A is used for
125. est Info e The description of TST provides a brief listing of the test numbers Chapter 3 HP E1418A SCPI Command Reference 101 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com TEST TEST TST RESults TEST TST RESults returns an array showing the result of all self tests performed by the TST query Parameters None Comments The TST query returns the result of the first failure found if any This query provides a means to check all test failure codes This command may be used if the value returned by the TST query is other than 0 and complete self test results are needed Complete descriptions of each test and specific codes returned in the Test Info and A24 fields are contained in the AP El418A Service Manual This query returns an array of 100 16 bit integers int16 The first array element corresponds to test 1 Array elements above 75 are unused Each 16 bit integer in the array is in the form BIT 15 14 13 12 11 10 9 8 7 6 3 2 1 0 Meaning Test Number A24 Test Info e The description of TST provides a brief listing of the test numbers e Related Commands TST 102 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com TST BIT
126. ether to create the Operational Status bit bit 7 in the Summary Register of the Status Byte Parameters Parameter Parameter Range of Default Name Type Values lt mask gt numeric int16 or 32768 to 32767 or HO000 to HFFFF none non decimal numeric Comments Only bit 0 decimal 0 is used or defined in the Operation Register Bit 0 is defined as the Calibrating bit A 1 in this bit indicates the module is currently in the calibration mode e The non decimal numeric forms are the H Q or B formats specified by TEEE 488 2 e RST clears all conditions e CLS and STATus PRESet do not affect bits in the Operation Status Condition Register 96 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STATus STATus OPERation ENABle STATus OPERation ENABle returns the value of the mask set for the Operation Status Register Parameters Returns 16 bit signed integer int16 STATus OPERation EVENt STATus OPERation EVENt returns the value of the contents of the Operation Status Event Register Reading the register clears all bits in the register Parameters Returns 16 bit signed integer int16 Comments Bit 0 of this register decimal 1 is the only defined bit in this register e This bit is set if the CALibration CONFigure RESistance CALibrationn CONFigure VOLTage or CALibrationn CONFig
127. f each test and specific codes returned in the Test Info field are contained in the HP El418A Service Manual A subset of self test is automatically run at power on Related Commands TEST TST RESults Chapter 3 HP E1418A SCPI Command Reference 103 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com TRIGger TRIGger The TRIGger subsystem controls when and how the outputs are enabled Other commands designed for use with the TRIGger subsystem are ABORt and INITiate IMMediate Subsystem Syntax TRIGger IMMediate SOURce lt source gt SOURce TRIGger IMMediate TRIGger IMMediate triggers all channels waiting for trigger when the trigger source has been set to either BUS or HOLD Parameters None Comments To use this command to trigger outputs the trigger source must be set to either BUS or HOLD An error is generated if other trigger sources are set e If this command is received and the module is not in the wait for trigger state an error is generated e Triggering is described in more detail on page 54 e Related Commands TRIGger SOURce SOURcen VOLTage LEVel IMMediate T RIGgered AMPLitude SOURcen CURRent LEVel IMMediate TRIGgered AMPLitude 104 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com TRIGger TRIGger SOURce TRIG
128. for command interpretation Examples in ANSI C are given in the next chapter This discussion applies to SCPI programming using the driver provided with the module The SCPI commands are described in Chapter 3 of this manual Appendix B of this manual describes direct register access The HP E1418A module is shipped a driver CD This CD contains the SCPI instrument driver VXIplug amp play drivers example programs and HP VIC VXI Installation Consultant Follow the instructions contained on the CD to properly install the device driver The following example shows how to query the command module and verify that the correct device driver is installed 10 DIM A 256 20 OUTPUT 70900 DIAG DRIV LIST 30 ENTER 70900 A 40 PRINT A 50 END In this example the command module is located on HP IB interface address 7 and uses a primary address of 09 Responses to this example vary depending upon the drivers loaded on your system A typical response might look like E1418 E1418 A 01 00 RAM SWITCH SWITCHBOX A 08 00 RAM SYSTEM E1405A A 08 00 ROM IBASIC IBASIC A 04 02 ROM VOLTMTR E1326A A 05 00 ROM SWITCH SWITCHBOX A 07 00 ROM COUNTER E1332A A 04 02 ROM COUNTER E1333A A 04 02 ROM DIG_1 0 E1330A A 04 03 ROM D A E1328A A 04 02 ROM Verify that the string E1418 E1418 A 01 00 is located somewhere
129. form 0 screw type 7 none or other 3rd Isolated Non isolated Channel status A bit set to 0 indicates an isolated channel A bit set to 1 indicates a non isolated channel or no plug on module installed DO NOT operate the module without a plug on module Bits 0 15 correspond to channels 1 16 respectively 4th Channel Mode A bit set to 0 indicates a current output channel A bit set to 1 indicates a voltage output channel Bits 0 15 correspond to channels 1 16 respectively 5th Channel Output State A bit set to 0 indicates the channel output relay is closed A bit set to 1 indicates the channel output relay is open Bits 0 15 correspond to channels 1 16 respectively 6th Channel Mode Programmable State P J Jumper A bit set to 0 indicates a channel is not mode programmable A bit set to 1 indicates a channel is mode programmable Bits 0 15 correspond to channels 1 16 respectively For 8 channel configurations the upper 8 bits of integers 3 4 5 and 6 are set to 1 s For example if the following six integers are returned the module has the configuration indicated Decimal Integer Value Configuration 1st 7 No expansion board installed Only channels 1 through 8 2nd 7 No Terminal Module installed or unknown terminal module installed 3rd 1 All channels are non isolated 4th 1 All channels are voltage output channels
130. ger SOURce sets the trigger source for the module Parameters Parameter Parameter Range of Default Name Type Values lt source gt discrete TTLTO TTLT1 TTLT2 TTLTS TTLT4 none TTLT5 TTLT6 TTLT7 BUS HOLD IMM or EXT Comments The lt source gt parameter defines the following trigger conditions lt source gt Trigger TTLTO TTLT7 Sets the trigger source to one of the VXlbus backplane trigger lines BUS or HOLD Sets software trigger A TRG TRIG IMM or GET will trigger the output IMMediate Places the trigger system in the wait for trigger state and then triggers the output EXTernal Sets the trigger source to the EXTernal trigger line on the terminal module e If this command is received when the module is in the wait for trigger state an error is generated e This command set the source for the trigger in to the module The module can also output a trigger on the VXIbus TTLTrg lines using the OUTPut TTLTrgn command e Triggering is described in more detail on page 54 e Related Commands TRIGger SOURce e RST Condition Trigger source set to HOLD TRIGger SOURce TRIGger SOURce queries the trigger source for the module Parameters Returns string Comments The query returns one of the following unquoted strings String Trigger Source TTLTn VXlbus backplane trigger line n BUS Software trigger HOLD Trigger hold reset state IMM Immediate trigger EXT External trigg
131. gister 127 DIAGnostic Subsystem 76 79 DIAG CAL OUTPut MODE 76 155 159 DIAG CAL OUTPut MODE 77 DIAG COMFigure 40 41 77 DIAG OUTP ALL STATe 53 78 DIAG SOURn FUNC MODE 78 DIAG TRIGgered 79 Disabling outputs 46 outputs simultaneously 78 trigger system 63 Disassembly 168 Discrete Command Parameters 61 DMC 106 Documentation History 8 Driver SCPI 13 37 47 100 Dynamic Addressing 19 126 E E1523A 15 167 171 E1524A 15 167 168 E1525A 15 167 168 EMC 106 EMC 106 Enable Register 99 presetting to zero 97 Enabling outputs 45 46 outputs simultaneously 78 Error buffer 100 checking 47 T O routine 47 messages 100 150 153 numbers 100 150 153 queue 47 queue clearing 100 routines 47 SCPI driver 47 49 types 150 ESE 106 ESE 106 ESR 106 Event Register 95 99 Example Program See Programming Examples Exchange Assemblies 174 Expansion Board 17 168 External Trigger 35 54 179 HP E1418A User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com F Field Kits 15 167 Four wire Connections 33 Front Panel Connectors 18 Functional Description 16 G Gain_DAC Registers 139 GMC 106 H HI Channel Output Line 33 HP IB 39 HS Channel Output Line 33 T O Error Check 47 IDN 40 106 TEEE 488 2 Common Commands See Common Commands Immediate trigger 54 Implied SCPI Co
132. gram jumper for this channel on the terminal module To use this command the P J jumper must be set to program selectable or if set to jumper selectable the V I jumper must be set to the current mode The jumpers are described on page 31 e Refer to Appendix D Voltage Current Output Adjustment starting on page 154 for additional information about this command e Related Commands CALibrationn VALue CURRent DIAGnostic CALibration OUTPut MODE Chapter 3 HP E1418A SCPI Command Reference 71 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com CALibration CALibrationn CONFigure VOLTage CALibrationn CONFigure VOL Tage configures the channel for voltage mode calibration and returns a O or 1 to indicate the channel s readiness for calibration Parameters Parameter Parameter Range of Default Name Type Values CALibrationn keyword 1to8or1to16 1 Returns an unsigned 16 bit integer uint16 1 ready O not ready Comments In the keyword CALibrationn the valid range of nis lto8for E1418A E1418A Option 002 1 to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error e This command is used together with the CALibrationn VALue VOLTage query to perform voltage mode calibration e The calibration is performed either at the CAL output terminals or at an individual channel The choice is ma
133. hannels 1 thru 8 Terminal aed NON Output Relay Module upply i ISOLATED a CH1 FA HI Conditioning i i DAC U Subsystem Non volatile Channel LLO 3 ie CH1 i Memory Control LS i H Pp eion a oi 1 ISOLATED i 3 Output Relay 21 CHI l N 1 che HI Si VXI DAC LO Bus boo aja ws CHE Control CH8 LS Subsystem Lom Re gt gt QD EXT TRIGn Calibration e Control CH1 8 H and LO K Self Test a ES hs CAL NS Calbus Relay Program Jumpers Ss Y CHI Sd CH8 s CHI CH8 Mode Jumpers V Channel Control Calibration Control and Self Test 4H9 16 CH9 pp eine 3 CH16 f In E 1 1 A i ISOLATED cHo ZO Hl i i DAC l 1 Lo CH9 Lhbeso gt d HS us H H Output Relay i i cu 7 o HI aza H AT Lo CH16 A eeN a ie LS Output Relay Program Jumpers PS SS SSA a od CH9 s POTS Cd cha z a 0 i i A H16 A Mode Jumpers F Channels 9 thru 16 185 Laca Dik A eis J Figure 1 2 A Functional Block Diagram Each channel MUST have either an isolated or non isolated plug on module installed Channels may be configured using any combination of Isolated and Non Isolated plug on modules
134. he specified channel n VOLTage lt value MIN MAX DEF gt Closes the output relay and outputs a voltage on the specified channel n CALibration CONDition Queries the module type and calibration status The query returns four 16 bit unsigned integers CONFigure RESistance Configures the module to perform calibration of the internal calibration resistor and returns a 0 or 1 indicating the readiness of the module RESet Reloads for module use the calibration constants stored in non volatile memory STORe Loads the non volatile memory with the calibration constants presently in use by the module TEST Performs an internal check of the calibration of each channel and returns an integer indicating the channel calibration condition VALue RESistance lt value gt Sets a new internal calibration resistor constant used by the module for current output CALibrationn CONFigure CURRent Configures the channel for current mode calibration and returns a 0 or 1 to indicate the channel s readiness for calibration CONFigure VOLTage Configures the channel for voltage mode calibration and returns a 0 or 1 to indicate the channel s readiness for calibration VALue CURRent lt value gt Enters a measured calibration value and returns a value indicating the current state of the calibration VALue VOL Tage lt value gt Enters a measured calibration value and returns a value indicating the current state of the calibration
135. he fifth integer result config 4 Channel relay open or closed if num_chan lt 9 result result lt lt 8 strip upper 8 bits for i num_chan i gt 0 i if result gt 0x8000 printf Channel d output is disabled n i else printf Channel d output is enabled n i result result lt lt 1 Decode the sixth integer result config 5 P J Jumper position if num_chan lt 9 result result lt lt 8 strip upper 8 bits for i num_chan i gt 0 i if result gt 0x8000 printf Channel d output mode is programmablein i else printf Channel d output mode is fixed and jumper selected n i result result lt lt 1 o Oo Oo 44 Programming Examples Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com APPLy Output The APPLyn subsystem commands provide the easiest method to output voltages or currents Set channel 1 for 5 0 Volt output APPLy1 VOLTage 5 000 Channel is set to voltage output and 5 000 V applied Set channel 8 for 10 mA output APPLy8 CURRent 0 0100 Channel is set to current output and 10 mA applied The APPLyn subsystem outputs the voltage or current specified on the channel specified immediately The output relay for that channel is closed Other channel outputs and output states are not disturbed An
136. he value on the channel selected by the base address The 16 bit value is a 2 s complement number Scaling is based upon 16 V maximum for voltage mode and 020 Amps for current mode Main _ DAC The Main_DAC Triggered Registers are used to program the next output Triggered Registers value on a channel There are 16 registers one for each output channel The register at base 6016 programs channel 1 base 6216 programs channel 2 up to base 7E16 to program channel 16 Values loaded in these registers are applied to the output s following the next trigger event Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 moose 16 WRITE Output Value through Base 7E16 Output Value Writing a 16 bit value to this field outputs the value on the channel selected by the base address The 16 bit value is a 2 s complement number Scaling is based upon 16 V maximum for voltage mode and 020 Amps for current mode 138 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Note The Main_DAC Triggered Registers together with the Trigger Control Register can be used to provide synchronized output changes on multiple channels Offset_DAC The Offset_DAC Registers are used to program the next offset value on a Registe rs channel There are 16 registe
137. he value returned indicates the status of A24 memory access the MODID line and module readiness As a WRITE register the value written can control the state of the A24 memory access the control of the VXIbus SYSFAIL line and perform a module reset Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Kin READ A24 MODID Unused Ready Passed Unused ACT WRITE A24 Unused SYSINH RESET EN READ A24ACT A one 1 in this field indicates that A24 memory can be accessed is active via A24 addressing A zero 0 indicates that A24 memory cannot be accessed via A24 addressing is inactive This bit reflects the state of the write register A24 EN bit MODID A one 1 in this field indicates the module is not selected via the P2 MODID line A zero 0 in this field indicates the module is selected by a high state on the P2 MODID line Ready A one 1 in this field together with a one 1 in the Passed bit indicates the module is ready for operation A zero 0 in this field together with a 0 in the Passed bit indicates the module failed initialization Appendix B HP E1418A Register Based Programming 127 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com WRITE VXI Offset Register Passed A one 1 in this field indicates the module has finished a reset or has completed module initialization A zero 0 in this field indicates the module is executing a reset or has failed m
138. ically begin with the lower case letters vi Output and enter are performed with functions named viPrintf and viScanf Both these functions require a session a VTL defined I O function to uniquely identify the device being controlled In the examples the session has been named dac Querying Module Identification and Configuration This example will query the module for the identification string and determine the module configuration The module identification is obtained using the IEEE 488 Command IDN Send query to the module IDN lEnter a string The string returned should be similar to one of the following HEWLETT PACKARD E1418A_8CH xxxxAxxxxx A 01 00 or m EWLETT PACKARD E1418A_16CH xxxxAxxxxx A 01 00 The xxxxAxxxxx portion of the response string is the module serial number The module configuration is obtained using the DIAGnostic CONFiguration query Send query to the module DIAG CONF Enter six integers and decode the integers 40 Programming Examples Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com The DIAG CONF query returns six integers The six integers returned contain the module configuration and have the following meaning Integer Returned Meaning 1st Expansion Board ID in the form 0 present 7 none expansion board contains channels 9 through 16 2nd Terminal Module ID in the
139. ice n num_chan 16 else printf Module is an 8 channel devicein num_chan 8 42 Programming Examples Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Decode the second integer result config 1 Terminal Module if result gt 0 printf Module does NOT have a terminal module installedin else printf Module has a screw type terminal module installedin Decode the third integer result config 2 Isolated or non isolated outputs if num_chan lt 9 result result lt lt 8 strip upper 8 bits for i num_chan i gt 0 i if result gt 0x8000 printf Channel d is configured for non isolated outputin i else printf Channel d is configured for isolated output n i result result lt lt 1 Decode the fourth integer result config 3 Output Mode Voltage or Current if num_chan lt 9 result result lt lt 8 strip upper 8 bits for i num_chan i gt 0 i if result gt 0x8000 printf Channel d is set to voltage output mode n i else printf Channel d is set to current output mode n i result result lt lt 1 Chapter 2 Programming Examples 43 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Decode t
140. ield is set one of the TTLTRIG lines and the Trigger Out field is set to a different TTLTRIG line 132 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Interrupt Status The Interrupt Status Register shows the state of the trigger ignored interrupt Reg ister condition The bit is a strobed interrupt source Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Address Base 121g READ Unused yis Unused WRITE Isolation Status TRG IGN This field is set to a one 1 if the trigger ignored condition exists The Isolation Status Register reports the plug on module isolated non isolated Reg ister configuration for each channel Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Bases tae READ Ch Ch Ch Ch Chl Ch ChCh ChCh Ch ChCh Ch Chl Ch 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 ISO ISO ISO ISO ISO ISO ISO ISO ISO ISO ISO ISO ISO ISO ISO ISO Notes Ch XX ISO Each field will return a one 1 if the channel has a non isolated plug on installed A zero 0 indicates an isolating plug on is installed A channel will not function without a plug on module installed A one 1 indicates either a non isolat
141. igger occurs Options A3E and A3H Source when the EXT TRIGn connection is pulled low for at least 1 uS Typical connections to the external trigger is shown in Figure 1 16 pio MO OD oO O O ODO O O O O O OO o O TT TTT TT TTT TTT TTT TTT TTT DM DOODODOOOCOOOCO 5 DOAJ OOOOOOO 9 0 ODO o nooo D oOo oOo oO O oO O oO oO O O O Do o g o o o oO oOo oOo oOo oO O j M a m m a gagoag pngogg qgooood EEE S OOT E CO EXT TRGn TTL HIGH d Ln LOW Tus Figure 1 16 External Trigger Connections The external trigger line is located on the upper connector and is labeled Terminals EXT TRIGn in the diagram on page 30 Chapter 1 Module Setup and Installation Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 35 Using the CAL The CAL Output Terminals provide one set of connections that can be used Output Terminals to calibrate the output on all 16 channels Calibration and adjustment procedures are described in Appendix D beginning on page 154 The CAL output terminals are available on the terminal module There are four lines HI LO HS Hi Sense and LS Low Sense Typical CAL output terminal connections a
142. igger status report 135 triggering 104 voltage gain calibration registers 141 voltage mode calibration 72 74 75 voltage offset calibration registers 140 voltage output connections 33 voltage output connections combining 34 voltage output connections querying 92 94 voltage output connections specifying 65 91 93 voltage output mode 13 45 89 136 Channels adding 8 168 170 calibration condition 69 See also Channel combining 34 57 isolation status 146 parallel connections 34 series connections 34 Checking configuration 166 errors 47 SCPI errors 47 49 Closing output relay 45 53 78 82 CLS 96 100 106 Combining Channels 34 57 Command Module A16 address space 114 A16 address space inside 117 A16 address space outside 117 Command Reference 59 110 ABORt subsystem 63 APPLy subsystem 64 65 CALibration subsystem 66 75 CLS 96 100 106 177 HP E1418A User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com DIAGnostic subsystem 76 79 DMC 106 EMC 106 EMC 106 ESE 106 ESE 106 ESR 106 GMC 106 IDN 40 106 INITiate subsystem 80 LMC 106 OPC 106 OPC 56 106 162 OUTPut subsystem 81 83 PMC 106 RMC 106 RST 53 106 119 SOURce subsystem 84 94 SRE 98 106 SRE 106 STATus subsystem 95 99 STB 106 SYSTem subsystem 100 TEST subsystem 101 103 TRG 106 TRIGger subsyste
143. ion Status Register ooo ee ee 144 Current Calibration Status Register se a escurre RHE ee ERE Ys 145 Calibration Isolation Status Register 4 44 6 05 4444 amp Re ae eR 146 Calibration Card Configuration Register o o 0000004 147 Calibration Ch cksum RepIstEr ova eck RRA A RA 147 Module Serial Number Registers 2 5204 RR A 148 R cister Example erene a AR AA BEER A 148 Appendix C HP E1418A Error Messages o e e 150 Enor yes 66 eh ee ee ee RDM ada ade tt 150 Error Messages arreir RE RARE EERE AA ER Raa 151 Appendix D Voltage Current Output Adjustment 154 Using THe APpendix cesa dc ee eee eee bb dee eed be eee k KOH ES 154 Calibration Constants and Non Volatile Memory o ooo oo 155 Egupm nt Reguired osea e eke oe RRS LADERS LENS OKC ERRECRA 155 4 HP E1418A 8 16 Ch D A Converter User Manual Contents Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Making E GRECIA te a E ER ote A a a he Ro et 155 Acjustiieht PRICES ecards CEOS Ee REREAD YES 156 PESOS ok ah A AAA AAA e AER ER ES 156 Voltage Adjeiment o rered 64S Se SELES EO GL ESS 4 eR ES RUE 157 CTR PSUR ee ded Re RS oo ho er eR a ee a ee es 159 Storing the AGMUMMENS 2 2 cc REE WES RRKE EAR ut SRR KEKE ESS 162 Retum the Module to Use 46 6e hee eS dR EE ORES EHH REDS EEG 162 Example POE 2 2 1 2c ce cee heen eek Ad Ce eR 162 Appe
144. is product is the sole responsibility of the Buyer HP does not warrant the Buyer s circuitry or malfunctions of HP products that result from the Buyer s circuitry In addition HP does not warrant any damage that oc curs as a result of the Buyer s circuit or any defects that result from Buyer supplied products NO OTHER WARRANTY IS EXPRESSED OR IMPLIED HP SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Exclusive Remedies THE REMEDIES PROVIDED HEREIN ARE BUYER S SOLE AND EXCLUSIVE REMEDIES HP SHALL NOT BE LIABLE FOR ANY DIRECT INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES WHETHER BASED ON CON TRACT TORT OR ANY OTHER LEGAL THEORY Notice The information contained in this document is subject to change without notice HEWLETT PACKARD HP MAKES NO WAR RANTY OF ANY KIND WITH REGARD TO THIS MATERIAL INCLUDING BUT NOT LIMITED TO THE IMPLIED WAR RANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE HP shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing performance or use of this material This docu ment contains proprietary information which is protected by copyright All rights are reserved No part of this document may be photo copied reproduced or translated to another language without the prior written consent of Hewlett Packard Company HP assumes no responsibility for the use or
145. is through the CAL output terminals Following RST or power on the default calibration mode is through the CAL output terminals and this command is not needed e This command with the CHANnel parameter sets calibration to be performed at each channel s output terminals and so includes the channel output relay contacts e This command must be sent before any CALibrationn CONFigure VOLTage or CALibrationn CONFigure CURRent query e RST State Calibration paths set to use the CAL output terminals 76 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com DIAGnostic DIAGnostic CALibration OUTPut MODE DIAGnostic CALibration OUTPut MODE queries the voltage calibration path for the module Parameters Returns string Comments The returned string will be one of CALB or CHAN DIAGnostic CONFigure DIAGnostic CONFigure returns six 16 bit words indicating the present settings of the module Parameters Returns six unsigned 16 bit integers uint16 Comments This query returns six 16 bit words with the following meanings Integer Returned Meaning 1st Expansion Board ID in the form 0 present 7 none expansion board contains channels 9 16 2nd Terminal Module ID in the form 0 screw type 7 none or other 3rd Isolated Non Isolated Channel Status A bit set to 0 indicates an isolated channel
146. justment is performed on each channel one at a time Additionally voltage output and current output each use unique calibration constants If desired you may adjust only voltage output or current output Pre pa ration Before performing any adjustments determine if the adjustments are to be temporary or permanent refer to the discussion on page 155 1 Turn off the mainframe 2 Remove the terminal module see page 26 3 Remove the module from the mainframe see page 21 4 Set the Cal Store Enable Jumper to the CAL position as shown in Figure D 1 5 Reinstall the module in the mainframe 6 Make the CAL output terminal connections on the terminal module 7 8 If Permanent Install the terminal module Apply power and allow a 15 minute warm up CAL Jumper Sf Secured CAL Figure D 1 CAL Store Enable Jumper If Temporary 1 Make the CAL output terminal connections on the terminal module 2 Install the terminal module 3 Apply power and allow a 15 minute warm up Appendix D Voltage Current Output Adjustment 156 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Voltage Adjustment Voltage output adjustment uses two of the CALibration subsystem queries CALibrationn CONFigure VOLTage CALibrationn VALue VOLTage The general procedure for channel voltage adjustment is 1 Make the connections shown in Figure D 2
147. l three of these actions In some cases you may need more control of each step in the output process The following commands perform the same action as a single APPLyn command Set channel 1 voltage mode SOURce1 FUNCtion MODE VOLTage Channel 1 is set to voltage output Set channel 1 voltage output SOURce1 VOLTage 5 000 Channel 1 is set to output 5 000 Volts Turn on the output OUTPuti ON Channel 1 output is enabled The SOURcen subsystem contains two types of commands to set current or voltage output The type used in the above examples has the form SOURcen CURRent LEVel IlMMediate AMPLitude lt value gt SOURcen VOL Tage LEVel I MMediate AMPLitude lt value gt The implied commands enclosed in brackets are not shown in the examples The commands shown above immediately program the output values The SOURcen subsystem also contains commands of the form SOURcen CURRent LEVel TRIGgered AMPLitude lt value gt SOURcen VOLTage LEVel TRIGgered AMPLitude lt value gt These commands are used with the trigger system to control when the outputs are applied The trigger system is described on page 54 50 Programming Examples Chapter Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Like the APPLyn commands you can change the output value by sending additional SOURcen commands Changing the output value with the SOUR
148. le Event Register are OR d together to create the Questionable Data bit bit 3 in the Status Byte Summary Register Parameter Parameter Range of Default Name Type Values lt mask gt numeric int16 or 32768 to 32767 or H0000 to HFFFF none non decimal numeric e Only bits 8 and 9 of the Questionable Data Register are used or defined Bit 8 indicates a questionable calibration and bit 9 indicates a trigger was ignored e Either bit 8 or bit 9 can be used to generate an SRQ interrupt Use the SRE lt mask gt common command to set the enable mask for the Status Byte Register to include the Questionable Data bit bit 3 in the Request for Service bit bit 6 The request for Service bit bit 6 is used to generate the SRQ interrupt e The non decimal numeric forms are the H Q or B formats specified by TEEE 488 2 e RST clears all conditions e CLS and STATus PRESet do not affect bits in the Questionable Status Condition Register 98 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STATus STATus QUEStionable ENABle STATus QUEStionable ENABle returns the mask set for the Questionable Status Enable Register Parameters Returns 16 bit signed integer int16 STATus QUEStionable EVENt STATus QUEStionable EVENt returns the value of the Questionable Status Event Register Reading the
149. lity Instrumentation Guaranteed 888 88 SOURCE www artisantg com Terminal Modules Four terminal modules are available for the HP E1418A a screw type a crimp and insert type a ribbon cable type and an empty terminal housing without a PC board or connectors Sc rew Type The standard terminal module uses screw type terminals to make Terminal Module connections Figure 1 6 may be photocopied and used for wiring layout Standard O O O O A MTT T L les Js ss ss ns cs Y ns e Y ns Y j OoOO rs cs ss Y ns a eel ig saree HS HI LO LS HS HI LO LS HS HI LO LS 25 2 2 HS HI LO LS HS HI LO LS Is TAE 7 8 CAL A 15 16 20 T g P I o0 Sz oo P I Iv oo eet oo LWA 13 10 ae DOCCOOCCCOoOCce SSLC ae id ite OOOO OOOOH 99 E rales HS HI LO LS HS HI LO LS HS HI LO LS HS HI LO LS HS HI LO LS HS HI LO LS ao ae we oo 4 5 6 12 15 14 00 Ne oi EEE aI al 2920000 o0ooooooo 200000000000 HS HI LO LS HS HI LO LS HS HI LO LS HS HI LO LS HS HI
150. m 104 105 TST 53 103 106 173 WAL 106 Commands ABORt 63 APPLy subsystem 45 46 64 65 CALibration subsystem 66 75 CLS 96 100 106 Common Commands 106 common format 59 DIAGnostic subsystem 76 79 DMC 106 EMC 106 EMC 106 ESE 106 ESE 106 ESR 106 GMC 106 IDN 40 106 INITiate subsystem 80 linking 62 LMC 106 OPC 106 OPC 56 106 162 OUTPut subsystem 46 81 83 PMC 106 quick reference 106 110 quick reference IEEE common commands 106 quick reference SCPI commands 107 110 RMC 106 RST 53 106 119 SCPI format 60 61 SOURce subsystem 50 52 84 94 SRE 98 106 SRE 106 STATus subsystem 95 99 STB 106 SYSTem subsystem 100 TEST subsystem 101 103 TRG 106 TRIGger subsystem 104 105 TST 53 103 106 173 types 59 WAI 106 Comment Sheet reader 11 Common Commands 106 CLS 96 100 106 DMC 106 EMC 106 EMC 106 ESE 106 ESE 106 ESR 106 format 59 GMC 106 IDN 40 106 linking 62 LMC 106 OPC 106 OPC 56 106 162 PMC 106 quick reference 106 RMC 106 RST 53 106 119 SRE 98 106 SRE 106 STB 106 TRG 106 TST 53 103 106 173 WAI 106 Condition Register 95 96 98 Configuration and disassembly 166 175 changing 167 checking 40 44 166 device ID 40 44 dynamic addressing 19 126 mechanical 166 terminal module 31 Conformity decl
151. mainframe Because VXI mainframes have significantly different cooling capabilities the most accurate calibration is achieved when the Output Adjustment is performed with the module in the same environment and mainframe as it will be operating in Adjustment may be performed at more frequent intervals if required he module can be adjusted for use without changing the permanent calibration settings Adjustments are performed electronically There are no mechanical adjustments in the module Appendix D Voltage Current Output Adjustment 154 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Calibration Constants and Non Volatile Memory The accuracy of a channel output depends upon a number of calibration constants Calibration constants are stored in two locations within the module in non volatile memory andin RAM The constants in RAM are used by the module to adjust all outputs When the module is used with the SCPI driver the RAM constants are loaded from the non volatile memory at power up You can adjust the RAM calibration constants without disturbing the non volatile memory constants creating a temporary calibration Non volatile memory has a finite number of writes Writing the calibration constants to non volatile memory therefore reduces the life of this memory If you are calibrating the module at 90 day or 1 year intervals write the new constants into non volatile
152. ment Systems Division e Learning Products Department P O Box 301 Loveland CO 80539 9984 Holland dde fold here Please pencil in one circle for each statement below Disagree _ _ Agree e The documentation is well organized O O O O O e Instructions are easy to understand O O O O O e The documentation is clearly written O O O O O e Examples are clear and useful O O O O O e Tllustrations are clear and helpful O O O O O e The documentation meets my overall expectations O O O O O Please write any comments or suggestions below be specific Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 12 HP E1418A User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Chapter 1 Module Setup and Installation Using This Chapter This chapter provides general module information and tasks you must perform to install and prepare your module A procedure to verify your installation is also given The chapter is divided into the following sections e Module Description 0 0 cece eee eee Page 13 e Functional Description 00 00 e eee eee eee Page 16 e Front Panel Connectors 00 0 c ee eee eee eee Page 18 e Setting the Logical Address Switch Page 19 e Module Installation 0 0 0 cee eee ee eee Page 20 e Terminal
153. meter Parameter Range of Default Name Type Values CALibrationn keyword 1to8or1to16 1 Returns an unsigned 16 bit integer uint16 1 ready O not ready Comments In the keyword CALibrationn the valid range of nis lto8for El418A E1418A Option 002 l to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error e This command is used together with the CALibrationn VALue CURRent lt value gt query to perform current mode calibration e The calibration is performed either at the CAL output terminals or at an individual channel The choice is made using the DIAGnostic CALibration OUTPut MODE command When the DIAG CAL OUTP MODE CALBus command also the reset state 1s used the output relay routes the calibration current to the CAL output terminals and opens all channel output terminals When the DIAG CAL OUTP MODE CHANnel command is used the output relay routes the calibration current to the channel terminals the CAL terminals are not connected The DIAG CAL OUTP MODE command must be sent to the module before the CALibrationn CONFigure CURRent query e This query will generate an error if the trigger system is waiting for a trigger event when this command is received e This query returns a O to indicate that the channel is not ready for calibration and a 1 to indicate the channel is ready for calibration e This query is affected by the state of the pro
154. ming on the terminal module Channels 09 through 16 will return ones 1 if the module is configured as an 8 channel device The Channel Relay Control Register programs and reports the state of each channel relay Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Bis READ Ch Ch Ch ch Ch Ch ch ch ch ch ch ch ch ch ch ch 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 WRITE Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Ch XX Relay Writing a one 1 to this field opens the channel relay Writing a zero 0 to this field closes the channel relay The write operation will complete before the relays change state The relays take approximately 5 milliseconds to change state Reading this register returns a one 1 in each field if the channel relay is programmed open and a zero 0 1f the channel relay is programmed closed Note Channels 09 through 16 will return ones 1 if the module is configured as an 8 channel device 136 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Card Control The Card Control Register allows for access to the A24 address space from
155. mmands 61 Initial Operation 37 INITiate Subsystem INITiate IMMediate 54 80 Installation isolation plug on modules 171 172 of module 20 verification 37 int Data Type 39 Internal calibration resistor 68 70 144 159 self test 101 103 Interrupt calibration 74 SRQ 98 status register 133 voltage calibration 75 Isolated channel output 14 15 channel plug on module 15 17 output 34 plug on modules 171 172 Isolation for isolated channels 112 rating maximum 34 57 112 status of each channel 146 status register 119 133 J Jumper CAL store enable 20 156 channel program jumper register 119 134 output mode 31 PA 17 3152 119 134 program selectable 31 Vil 17 31 52 L LADDR 19 LMC 106 LO Channel Output Line 33 Logical Address 19 114 Logical Address register 126 LS Channel Output Line 33 Main_DAC immediate registers 138 triggered registers 138 Mainframe A16 address space inside 117 installing modules 20 removing modules from 21 Manufacturer ID Register 119 126 Maximum Module Isolation Rating 34 57 112 Memory map A16 114 map A24 115 non volatile FLASH 20 68 69 140 143 155 162 purge macros from 106 required 127 MODID Line 127 Module channel isolated plug on 15 17 channel non isolated plug on 17 configuration and disassembly 166 175 configuration query 40 44 description 13 description functional 16 disassembly 169 170 expansion kits avail
156. mps Configuration 5V 5V 12V 12V 24 V 24 V 24 V 24V DC Dynamic DC Dynamic DC Dynamic DC Dynamic 8 Channel 0 70 0 01 0 04 0 01 0 44 0 01 0 44 0 01 Non Isolated 8 Chamnel 0 75 0 01 0 04 0 01 0 88 0 01 0 00 0 00 Isolated 16 Channel 1 25 0 01 0 04 0 01 0 88 0 01 0 88 0 01 Non Isolated 16 Channel 1 40 0 01 0 04 0 01 1 60 0 01 0 00 0 00 Isolated Cooling For a 10 C rise Requirements Avg Air Flow AP Watts slot 8 Channel 2 0 0 10 mm H20 25 4 configurations liters second 16 Channel 3 9 0 18 mm H20 49 0 configurations liters second 112 HP E1418A Specifications Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix B HP E1418A Register Based Programming The HP E1418A 8 16 Channel D A Module is a register based module It does not support the VXIbus word serial protocol The module may be controlled at the register level or with appropriate drivers controlled by higher level commands The SCPI commands described in this manual are parsed by an HP E1405 E1406 Command Module and turned into appropriate register reads and writes The same is true for HP Compiled SCPI programming in the C language In this case SCPI commands are pre processed by C SCPI and replaced with function calls to driver libraries that perform register based programming Note If SCPI commands or other high level driver based commands are used to program this module with a command module
157. n a mainframe as shown in Figure 1 5 Installation in a The HP E1418A may be installed in any slot except slot 0 in a C size Mainframe VXIbus mainframe To install in a mainframe 1 Set the extraction levers out Slide the module into any slot except slot 0 until the backplane connectors touch 2 Seat the module by moving the levers toward each other 3 Tighten the top and bottom screws to secure the module in the mainframe Sees mw ity SS Y LE Figure 1 5 Installing the HP E1418A in a VXlbus Mainframe 20 Module Setup and Installation Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com To Remove a Module To remove a module from a mainframe 1 Remove any terminal modules 2 Loosen the top and bottom screws securing the module in the mainframe 3 Move the extraction levers away from each other As the levers are moved the module will detach from the backplane connectors 4 Slide the module out Note The extraction levers will not seat and unseat the backplane connectors on older HP VXIbus mainframes and non HP mainframes You must manually seat the connectors by pushing the module into the mainframe until the front panel is flush with the front of the mainframe The extraction levers may be used to guide or remove the module Chapter 1 Module Setup and Installation 21 Artisan Technology Group Qua
158. n is completed the new calibration constants are used by the module but not stored in non volatile memory If a voltage calibration is interrupted before completion that is by another command being received no constants are changed Refer to Appendix D Voltage Current Output Adjustment starting on page 154 for additional information about this command Related Commands CALibration STORe CALibrationn CONFigure VOLTage Chapter 3 HP E1418A SCPI Command Reference 75 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com DIAGnostic DIAGnostic The DIAGnostic subsystem contains commands used to check the module configuration enable or disable all outputs simultaneously change a channe s mode without opening and closing the output relay and check the state of the trigger on all channels Subsystem Syntax DIAGnostic CALibration OUTPut MODE lt path gt MODE CONFigure OUTPut ALL STATe lt state gt SOURcen FUNCtion MODE lt mode gt TRIGgered DIAGnostic CALibration OUTPut MODE DIAGnostic CALibration OUTPut MODE lt path gt sets the voltage calibration path for the module to either the CAL output terminals or at each output channel Parameters Parameter Parameter Range of Default Name Type Values lt path gt discrete CALBus or CHANnel none Comments The typical calibration mode for the module
159. n the terminal module and can not be programmed from the VXIbus backplane Note Channels 09 through 16 will return ones 1 if the module is configured as an 8 channel device 134 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Channel Trigger The Channel Trigger Register reports the trigger status for each channel Register Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Boel h READ Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch 16 15 14 13 12 11 10 09 08 07 06 05 04 03 O02 01 TM TM TM TM TM TM TM TM TM TM TM TM TM TM TM TM Notes Ch XX TM A one 1 in a field indicates a value has been written to the channel Main DAC Triggered Register but the output is not enabled until the trigger is received A zero 0 in a field indicates a trigger will have no effect on the channel The trigger events are set in the Trigger Control Register You can output an immediate value on a channel that has been set for triggered operation by writing a value to the Main_DAC Immediate Register The trigger mode for that channel is changed to the immediate write thru mode You can set a value on a channel to be applied at the next trigger event by writing a value to the Main_DAC Trigg
160. nc sh bee he KERR a SEEK RES HES 126 Logical Address ROBO cn 6 fe ee bake eb A A ERS Ses 126 Device Type RESSI ico eG eee oe SR RES SEEKS ROR EELS 127 VXI Statas Control Register oroi eerta ir e eee heeew ees 127 WH Oliset RETO ad a a SORE EEE EERE SELES AES 128 Calibracion Conte RESISI 2 gk a eh S Mee A ee RE 128 Card Configuration Registel cirio ED 130 Software Trigger Register ecos rca A A 131 Tagesr Control Revision Lis AA AAA 131 Interiipt Status Register scr rr AR A e a A 133 Isolation Status Register coord ar AAA A 133 Channel Program Jomper Register rsrdis ceci RA 134 Channel Taper REISE ako doe a ee boa dk ee ek ek Be eR 135 Channel Mode Reiser a si ke Gea GS ee KA AAA 136 Channel Relay Control Register s esca ha vee RAR 136 Cad SO RESISTEN ad dey otk oh eb ks ik poe ee Re a od 137 Main DAC Immediate Registers 6 660408 4 464 G4 ee eRe RR css 138 Main DAC Triggered Registers 6525546 64s dandani ee 138 OMe DAC Reas cesar Bee we ee Ok EH a 139 G n DACRegislers 4 gen ei eee eke Ree E RKO SEEK EH OH ERK OS 139 Undelmed Registers cisco aageh bike rh behead AA REM ES 140 Channel Voltage Offset Calibration Registers o o 140 Channel Voltage Gain Calibration Registers o oo 141 Channel Current Offset Calibration Registers o o 142 Channel Current Gain Calibration Registers ss oa cerraron 143 Calibration Resistor Valtie Registers ck ee ee eRe eR eee Ew 144 Voltage Calibrat
161. ndicates the channel has been calibrated for current Bits 0 15 correspond to channels 1 16 respectively 4 4th 16 bit value indicates the voltage calibration status for each channel A bit set to 0 indicates the channel is not calibrated for voltage a bit set to 1 indicates the channel has been calibrated for voltage Bits 0 15 correspond to channels 1 16 respectively Chapter 3 HP E1418A SCPI Command Reference 67 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com CALibration CALibration CONFigure RESistance CALibration CONFigure RESistance configures the module to perform calibration of the internal calibration resistor and returns a O or 1 indicating the readiness of the module Parameters Returns signed 16 bit integer int16 1 ready 0 not ready Comments The internal calibration resistor should be calibrated before calibrating the channels in current mode This query configures the module for a 4 wire resistance measurement at the CAL output terminals when the calibration point is set to CALB following a RST or DIAGnostic CALibration OUTPut MODE CALBus command This query may also be used to set an external calibration resistor value when calibrating at each channel output This query is used together with the CALibration VALue RESistance command to calibrate the current calibration resistor Refer to Appendix D Voltage Current Output Adjus
162. ndix E Configuration and Disassembly o oo 166 Using Tira PRERdE i oea uti kk ee bo ip hoe ka dhe Bd dy et 166 COMMA cot idciceeted de ee kSkd bed bbe bs he KORE HES 166 Checking Configuration 27 lt c kab kee ea dee cha bb REESE Od RE RES 166 Changing Configuration cess 446ee 6 EE LR IRRADIA d 167 AMES Channels sce rea Ree e a oe PR de es 168 Installing Isolated Non Isolated Plug on Modules 171 Tipubleshogune aa ade E EER RRS EA A 173 Isolating an Assembly Self Test 2 66644 45 4 rra e a 173 Assembly Exchange circa a seb ivned dk d bee eee baie 174 To Exchange an Assembly sh 4446S eh ARA ee ee wR 174 HP E1418A 8 16 Ch D A Converter User Manual Contents 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Notes 6 HP E1418A 8 16 Ch D A Converter User Manual Contents Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Certification Hewlett Packard Company certifies that this product met its published specifications at the time of shipment from the factory Hewlett Packard further certifies that its calibration measurements are traceable to the United States National Institute of Standards and Technol ogy formerly National Bureau of Standards to the extent allowed by that organization s calibration facility and to the calibration facilities of other International St
163. ne or more channels were already in the wait for trigger state 221 Setting Conflict A command was received for a mode not set For example a SOURn VOLT command was received and the channel is set to CURR mode 222 Data out of range lt n gt in SCPI keywor s notin the range of 1 to 16 lt value gt is out of range lt mask gt is out of range lt number gt is out of range 224 llegal Parameter Value Value received is not in the legal range for the parameter 240 Hardware Error A hardware failure has been detected The module may require replacement or repair 2001 Invalid Channel Number lt n gt in SCPI keyword is not valid for the module configuration For example lt n gt is set to 11 on an 8 channel configuration 3000 Trigger too fast The trigger was received before the module completed the last command 3002 Self Test Failed A hardware failure was detected during power up self test Additional self test information is given in Appendix E beginning on page 166 3004 Multiple attempts to erase Attempts to erase non volatile memory using the CAL STOR non volatile Memory failed command failed May indicate a hardware failure or the CAL Store Enable Jumper is not in the correct position 3005 Multiple attempts to program Attempts to write to non volatile memory using the CAL STOR non volatile Memory failed command failed May indicate a hardware failure or the CAL Sto
164. needed Resistance is not calibrated 5 Calibration aborted Chapter 3 HP E1418A SCPI Command Reference 73 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com CALibration A returned value of 5 calibration aborted is given if either a The command is received when the module is in voltage calibration or resistance calibration mode or b The calibration in process has entered more than 50 values without a successful calibration If the internal calibration resistor is not calibrated the channel is not marked as calibrated following the completion of calibration see the CALibration CONDition query The new calibration constants are used however When the channel current calibration is completed the new calibration constants are used by the module but not stored in non volatile memory If a calibration is interrupted before completion that is by another command being received no constants will be changed Refer to Appendix D Voltage Current Output Adjustment starting on page 154 for additional information about this command Related Commands CALibration STORe CALibrationn CONFigure CURRent CALibrationn VALue VOLTage Parameters CALibrationn VALue VOLTage lt value gt enters a measured calibration value and returns a value indicating the present state of the voltage calibration process Parameter Parameter Range of Default
165. nels 34 57 configuring 31 connections 33 connectors 30 crimp and insert option 27 28 crimp and insert option accessories 28 current output connections 33 external trigger connection 35 option 135 15 29 option A3E 15 27 28 option A3E accessories 28 option A3H 15 29 options 27 29 options available 15 P J jumper 17 31 52 119 134 removing 26 ribbon cable connector option 29 screw type standard 22 terminal housing option 29 V I jumper 17 31 52 voltage output connections 33 wiring 23 24 TEST Subsystem 101 103 TEST NUMBer 101 Artisan Technology Group Quality Instrumentation HP E1418A User s Manual 184 Guaranteed 888 88 SOURCE www artisantg com TEST TST RESults 102 TST 103 TRG 106 Trigger channels 104 control register 131 132 external 54 external connections 35 idle state 80 ignored interrupt condition 133 immediate 54 process 55 query current status 79 setting 54 55 software 54 source querying 105 source setting 105 status for channels 135 system ABORt command 63 system INITiate command 80 system TRIGger commands 104 105 VXIbus backplane 54 81 82 132 wait for trigger state 80 TRIGger Subsystem 104 105 TRIGger SOURce 54 55 105 TRIGger SOURce 105 Triggering 54 55 Troubleshooting 173 TST 53 103 106 173 TTLTRG Line 81 82 131 132 Two wire Connections 33 U Undefined Registers 140 Using OPC 56 trigger cont
166. nnel is in the voltage mode when this command is received an error is generated Related Commands SOURcen CURReni LEVel TRIGgered AMPLitude SOURcen FUNCtion MODE CURRent OUTPutn STATe Chapter 3 HP E1418A SCPI Command Reference 87 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce SOURcen CURRent LEVel TRIGgered AMPLitude SOURcen CURRent LEVel TRIGgered AMPLitude lt MIN MAX DEF gt queries the last value written by either SOURcen CURRent LEVel TRIGgered AMPLitude or SOURcen CURRent LEVel MMediate AMPLitude Parameters Parameter Parameter Range of Default Name Type Values SOURcen keyword 1to8or1to16 1 lt MIN MAX DEF gt discrete optional MIN MAX DEF none Returns 32 bit floating point number float 32 Comments In the keyword SOURcen the valid range of n is lto8for El418A E1418A Option 002 1 to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error e If no parameter is given this query returns the last value set on channel n by the last SOURcen CURRent LEVel TRIGgered AMPLitude or SOURcen CURRent LEVel IMMediate AMPLitude command The value returned is the value last programmed on that channel not an actual measurement of the hardware output value e If a parameter is given MIN returns 0 02 Amps MAX returns 0 02 Amps
167. nteed 888 88 SOURCE www artisantg com SOURce SOURcen CURRent LEVel TRIGgered AMPLitude SOURcen CURRent LEVel TRIGgered AMPLitude lt value MIN MAX DEF gt outputs the current set in value at channel n when the trigger conditions are satisfied and the output relay is closed Use this command to synchronize multiple channel outputs Parameters Parameter Parameter Range of Default Name Type Values SOURcen keyword 1to8or1to16 1 lt value gt numeric float 32 or 0 02 Amps to 0 02 Amps or 0 discrete MIN MAX DEF Comments In the keyword SOURcen the valid range of nis lto8for El418A E1418A Option 002 1 to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error The lt value gt parameter is a floating point 32 bit number in the range of 0 02 A to 0 02 A MIN sets 0 02 Amps MAX sets 0 02 Amps DEF sets 0 Amps This command sets channel to output the current specified following a valid trigger condition Following this command the trigger system must be enabled using an INITiate command See the TRIGger subsystem discussion on page 54 for additional information If the module is in a wait for trigger state INIT has been received when this command is received an error is generated The output state of the channel must be enabled and the trigger event satisfied for the current to appear at the output terminals If the cha
168. odule initialization A24 EN Writing a one 1 to this field enables access to the A24 address space via A24 addressing Writing a zero 0 to this field disables access to the A24 address space SYSINH Writing a one 1 to this field disables the module from driving the VXIbus SYSFAIL line Writing a zero 0 enables the module to drive SYSFAIL RESET Writing a one 1 and then a zero 0 to this field performs a module reset Writing a one 1 to this field forces the module into the reset state The module is held in the reset state until a zero 0 is written to this field The VXI Offset Register is a VXIbus required register The offset register defines the base address of the module s A24 address space Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base big READ A24 Offset o o o o o o o0oJO0 WRITE A24 Offset 0 0 0 0 0 0 0 0 A24 Offset This field is the six most significant bits of the module s A24 base address Bits 0 through 9 are always zero 0 128 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Calibration Control Register The Calibration Control Register sets and reports calibration conditions Address Base 0816 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 0
169. of n is lto8for E1418A E1418A Option 002 1 to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error e The lt value gt parameter can range from 16 Volts to 16 Volts MIN sets 16 Volts output MAX sets 16 Volts output DEF sets 0 Volts output e This command is affected by the state of the program jumper on the terminal module for this channel To use the APPLyn VOLT command the P J jumper must be set to program selectable or if set to jumper selectable the V I jumper must be set to the voltage mode This jumper is described on page 31 e Equivalent Commands SOURcen FUNCtion MODE VOLT SOURcen VOLTager LEVel MMediate AMPLitude OUTPutn STATe ON e RST Condition If the P J jumper is set to program selectable output mode is set to voltage O volts output output relay open If the P J jumper is set to jumper selectable output mode is set by the V I jumper 0 volts or amps output relay open Chapter 3 HP E1418A SCPI Command Reference 65 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com CALibration CALibration The CALibration commands are used during periodic calibration of the module Calibration is described in Appendix D of this manual beginning on page 154 You should review Appendix D before using any of these commands Subsystem Syntax CALibration CONDition CONFigure RESistanc
170. on the channel selected by the base address Values are in the range 00016 minimum gain 80016 nominal gain FFF16 maximum gain Appendix B HP E1418A Register Based Programming 139 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Note Undefined Registers Channel Voltage Offset Calibration Registers A different gain value is required for voltage and current output operation The registers from C016 through FE16 are undefined The Channel Voltage Offset Calibration Registers store voltage offset calibration constants in non volatile memory There are 16 registers one for each output channel The register at base 10016 stores channel 1 base 10216 stores channel 2 up to base 11E16 which stores channel 16 This register is non volatile Address Base 10016 through Base 11E16 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 WRITE msb Isb Unused Voltage Offset Calibration Constant Notes Voltage Offset Calibration Constant Writing a 12 bit value to this field stores a new constant used to calibrate the channel output Values are in the range 00016 maximum positive offset 80016 nominal zero offset FFF16 maximum negative offset Registers 0010016 through 001BE 6 are located in non volatile FLASH memory Writing to this memory requires a complicated seq
171. or D 3 2 Send the CALibrationn CONFigure VOLTage query to the module and read the response until a 1 is returned typically the first query response 3 Read the voltage output on the DMM 4 Send the DMM value read with the CALibrationn VALue VOLTage query 5 Enter the query response 6 Repeat steps 3 4 and 5 until the CALibrationn VALue VOLTage query returns a 0 7 Repeat steps 1 through 6 for each channel The first query CALibrationn CONFigure VOLTage sets the channel to the calibration mode and returns a 1 when the channel is ready for calibration When a 1 is returned the channel output voltage is set to the first adjustment point Read the output voltage on the DMM and return the value obtained using the CALibrationn VALue VOLTage query This query returns an integer indicating the calibration state of the channel Any non zero return from this query indicates additional values are needed Each channel will require multiple iterations of the CALibrationn VALue VOLTage query A minimum of 9 queries to a maximum of 50 queries will be required at each channel During the process the output voltage will range from 16 V to 16 V and the last values output will be at or near 0 volts 157 Voltage Current Output Adjustment Appendix D Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com O Zo O PTT TTT TTT TTT TTT TT
172. ormation Indicates the state of the P J jumper on the terminal module See page 77 for additional information Changing Configuration changes are made using Hewlett Packard add on kits These Co nfigu ration Procedures support the following add on kits Kit Part Number Description Use HP E1523A 1 Channel Isolation Change one or more channels Plug On Module from Non lsolated to Isolated Output HP E1524A 8 Channel Add 8 Channels of Non Isolated Non lsolated Output Expansion Kit HP E1525A 8 Channel Isolated Add 8 Channels of Isolated Expansion Kit Output 167 Configuration and Disassembly Appendix E Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Adding 8 Channels CAUTION Tools Needed Procedure Use this procedure to install an 8 Channel expansion kit HP E1524A or HP E1525A Almost all electrical components can be damaged by electrostatic discharge ESD during handling Component damage can occur at electrostatic discharge voltages as low as 50 volts Disassemble and reconfigure only in a static free work area Minimize handling of assemblies and components Keep all assemblies and replacement parts in the original static free packaging These procedures should be performed by qualified service personnel at approved static safe workstations T10 Torx Driver one is provided in the kit Static Safe Workstation S
173. ort form is generally used for examples in this manual 60 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Implied Implied commands appear in square brackets in the command syntax Note Commands that the brackets are not part of the command and are not sent to the instrument Suppose you send a second level command but do not send the preceding implied command In this case the instrument assumes you intend to use the implied command and it responds as if you had sent it Examine this excerpt from the STATus subsystem shown below STATus OPERation EVEN1 The third level command EVENt is implied To read the value of the Event Register you can use either STATus OPERation or STATus OPERation EVENt Parameters Parameters are enclosed in greater than less than symbols lt gt in the command syntax When more than one parameter is allowed the parameters are separated by a vertical line Parameter Types The following table contains explanations and examples of parameter types you might see later in this chapter Parameters must always be separated from the keywords by a space Parameter Type Explanations and Examples Numeric Accepts all commonly used decimal representations of numbers including optional signs decimal points and scientific notation 123 123E2 123 1 23E2 123 1 23E 2
174. previous Edition Each new Edition or Update also includes a revised copy of this documentation his tory page Edition l ts A UE A a BAE Beeb ean October 1995 Edition 2 sids soced asin rE cet la October 1996 Safety Symbols Instruction manual symbol affixed to prod uct Indicates that the user must refer to the Ay Alternating current AC manual for specific WARNING or CAU TION information to avoid personal injury or damage to the product e Direct current DC Indicates hazardous voltages Indicates the field wiring terminal that must be connected to earth ground before operat ing the equipment protects against electri Calls attention to a procedure practice or cal shock in case of fault WARNING _ condition that could cause bodily injury or death i Calls attention to a procedure practice or con Frame or chassis ground terminal typi CAUTION dition that could possibly cause damage to b ps cally connects to the equipment s metal equipment or permanent loss of data frame WARNINGS The following general safety precautions must be observed during all phases of operation service and repair of this product Failure to comply with these precautions or with specific warnings elsewhere in this manual violates safety standards of design manufacture and intended use of the product Hewlett Packard Company assumes no liability for the customer s failure to comply with these requirements Ground the
175. ption 001 E1418A Option 003 Values of n outside these ranges will generate an error e The lt value gt parameter can range from 0 02 to 0 02 Amps MIN sets 0 02 Amps output MAX sets 0 02 Amps output DEF sets 0 Amps output e This command is affected by the state of the P J jumper for this channel on the terminal module To use the APPLyn CURRent command the P J jumper must be set to program selectable or if set to jumper selectable the V I jumper must be set to the current mode These jumpers are described on page 31 e Equivalent Commands SOURcen FUNCtion MODE CURR SOURcen CURRent LEVel lMMediate AMPLitude OUTPutn STATe ON e RST Condition If the P J jumper is set to program selectable output mode is set to voltage O volts output output relay open If the P J jumper is set to jumper selectable output mode is set by the V I jumper 0 volts or amps output relay open 64 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com APPLy APPLyn VOLTage Parameters Comments APPLyn VOLTage lt value MIN MAX DEF gt outputs a voltage on the specified channel n Parameter Parameter Range of Default Name Type Values APPLyn keyword 1 to8or1 to 16 1 lt value gt numeric float 32 or 16 V to 16 V or MIN MAX DEF 0 discrete e In the keyword APPLyn the valid range
176. ption Use HP E1523A Single Channel Isolated To change a single channel from plug on module non isolated to isolated output HP E1524A Expansion kit 8 Channel To add 8 additional non isolated Non Isolated Outputs channels to an existing 8 channel module HP E1525A Expansion kit 8 Channel To add 8 additional isolated channels to Isolated Outputs an existing 8 channel module Terminal Modules The standard HP E1418A Terminal Module provides screw terminals for connections Two other terminal options are available with the HP E1418A Crimp and Insert Option A3E Ribbon Cable Option A3H Terminal Module Housing without a terminal module PC board or connectors included Option 135 Chapter 1 Module Setup and Installation 15 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Functional Description The HP E1418A provides great flexibility in configuration This functional description will help you become familiar with the various configurations and how the module is structured A functional block diagram is shown in Figure 1 2 o C
177. r offset width Base_addr 1FC00016 LADDR16 4016 Command Module DIAG POKE Base_addr offset width data or width must be either 8 or 16 2 080 768 LADDR 64 offset register number READIO 18 Base_adar offset Base_addr C00016 LADDR16 4016 V 382 Embedded WRITEIO 18 Base_addr offset data or Computer 49 152 LADDR 64 positive select code byte read or write negative select code word read or write offset register number SICL iwpoke Base_addr offset data imap id l MAP_VXIDEV 0 0 NULL iwpeek Base_addr offset LADDR HP E1418A Logical Address 72 4816 118 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Reset and Registers Following power on or a RST command the registers are put into the following states The Manufacturer ID and Device ID Registers remain unaffected The Channel Mode Register base 1A16 is set to voltage output for all channels FFFF16 or is set to the state set by the V I jumper described on page 31 if the P J jumper is in the jumper selectable position The Channel Program Jumper Register base 1616 is set to program selectable for all channels FFFF 16 or to the position of the P J jumper described on page 31 The Channel Relay Control Register base 1C16 is set to open all channel relays FFFF1
178. re Enable Jumper is not in the correct position 3006 CAL Store Enable Jumper not set properly A CAL STOR command was received and the CAL Store Enable Jumper is not set to the CAL position 3007 Checksum error on non volatile Memory Calibration constants in non volatile memory are corrupted Recalibration is needed 151 HP E1418A Error Messages Appendix C Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Code Error Messages Potential Cause s 3008 Invalid Calibration State An invalid sequence of calibration commands was received For example a CALn CONF VOLT command followed by a CALn VAL CURR command 3009 Invalid Calibration Channel An invalid channel number n was requested in the CALn CONF or CALn VAL commands 3010 Calibration aborted A command other than one of the CALibration commands was received during the calibration process 3011 Checksum error on Calibration Calibration constants in RAM are corrupted Recalibration is Memory needed 3012 Channel cannot be programmed to An attempt to set the channel output mode when the P J jumper this mode check jumpers is set to Jumper selectable and the mode is set by the V I jumper 3013 Waiting for Trigger An attempt to change a channel output value or mode was made after the trigger system in the wait for trigger sta
179. re shown in Figure 1 17 o o plo O AAA MOTA SO OOO aj So OOOO of Y oaan f ram Y pam Yj oeme fy rae j res j n j an j n com om fe j oe Yj oa mS me Yj pa Yj oa j a Y aea j OSDOOOOOOSG oOo DB ODOODCOOOOOG IC ICICICICICICICICI Coc 9 COCOCICICICICICICICIC CICICICILI CaCI eomma Y pa Soa mmf e Y ans mf mb fe me fm me fe CAL HS HI LO LS CIQ NQ LS 2 LO DMM SH LHS Figure 1 17 Calbus Connections Options A3E and A3H The CAL Output Terminals are located on the upper connector and are labeled Terminals CAL HI CAL HS CAL LO and CAL LS in the diagram on page 30 36 Module Setup and Installation Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Initial Operation Note Device Driver This section provides a programming example to help verify correct module installation and operation Additional programming examples and procedures are given in the next chapter The examples shown here use HP BASIC and SCPI Standard Commands for Programmable Instruments The example assumes a factory set logical address of 72 for the HP E1418A module and uses an HP Command Module
180. ready for calibration When a 1 is returned the channel output voltage is set to the first adjustment point Read the output voltage on the DMM and return the value obtained using the CALn VAL CURR lt value gt query This query returns an integer indicating the calibration state of the channel A value other than 0 or 2 from this query indicates additional values are needed Appendix D Voltage Current Output Adjustment 160 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Each channel will require multiple iterations of the CALn VAL CURR lt value gt query A minimum of 9 queries to a maximum of 50 queries will be required at each channel During the process the output voltage will range from 5 to 5 V and the last values output will be at or near O volts o O PTT TTT TTT TTT TTT TTT TTT TTT SSOSoocooooooo Ppoooo oo opoao 7 ID COOOCOOCOOCOO0 O ooo ooooooooo SSS OO DA DO moomoo ooo ooooe O L jojojo jojojo e 2090 S0So0SCocoao0o LS A LO DMM Figure D 5 Current Calibration Connections CAL HI HS O PTT TTT TTT TTT TTT TTT TTT TTT
181. resses LADDR is the module s logical address set either by the switches or using dynamic addressing and 64 is the number of address bytes per register based device The HP E1418A s factory set logical address is 72 If this address is not changed the module will have a base address of 1FC00016 4816 4016 1FC00016 120016 1FD20016 or 2 080 768 72 64 2 080 768 4608 2 085 376 Appendix B HP E1418A Register Based Programming 117 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Reg ister Offset The register offset is the register s location in the block of 64 bytes that belong to the module For example the module s Status Control Register has an offset of 0416 When you write a command to this register the offset is added to the base address to form the register address register_address base_address register _ offset Outside the command module D20016 0416 D20416 53 760 4 53 764 In the command module 1FD20016 0416 1FD20416 2 085 376 4 2 085 380 Table B 1 shows some general programming methods for accessing the HP E1418A registers using different computers Table B 1 Register Access System Typical Commands Base Address VXI READ logical_address offset logical_address LADDR External Computer VXI WRITE logical_address offset data offset register number over HP IB to E1405 E1406 DIAG PEEK Base_add
182. rol register 132 V V I Jumper 17 31 52 option A3E 32 option A3H 32 VI_SUCCESS 47 viPrintf 40 47 VISA Transition Library See VTL visa h 39 viScanf 40 ViStatus 47 Voltage adjustment 157 158 calibration connections CAL 158 calibration connections CHAN 158 calibration path querying 77 calibration path setting 76 calibration status register 144 channel output connections 33 channel output connections combining 34 57 channel output connections querying 92 94 channel output connections specifying 65 91 93 channel output mode 13 45 89 DC specifications 111 gain calibration constant 141 mode calibration 72 74 75 offset calibration constant 140 output adjustment 154 165 VTL 40 47 VXI offset register 128 status control register 127 128 VXIbus 13 backplane circuitry 17 backplane trigger 54 81 82 132 SYSFAIL line 127 128 TTLTRG line 81 82 131 132 word serial protocol 113 WwW WAI 106 Wait for Trigger State 80 WARNINGS 8 Warranty 7 Wiring Terminal Module 23 24 Writing To calibration card configuration register 147 calibration checksum register 147 calibration control register 129 calibration isolation status register 146 calibration resistor value registers 144 card control register 137 channel current gain calibration registers 143 channel current offset calibration registers 142 channel mode register 136 channel relay control register 136
183. rrent 13 45 89 channel current connections 33 channel current connections combining 34 channel current connections querying 86 88 channel current connections specifying 64 85 87 channel isolated 14 15 channel non isolated 14 15 channel voltage 13 45 89 chamnel voltage connections 33 channel voltage connections combining 34 57 channel voltage connections querying 92 94 channel voltage connections specifying 65 91 93 current adjustment 154 165 current connections 33 current connections combining 34 disabling 46 enabling 46 isolated 34 mode changing 46 51 78 mode configuring 89 mode jumper 31 mode reporting 136 mode setting 52 relay 45 46 51 53 relay closing 53 78 82 relay controlling 53 relay opening 51 78 82 relay query state 83 relay resetting 53 synchronizing 54 synchronizing multiple channel 87 93 triggering 54 104 value setting 45 voltage adjustment 154 165 voltage connections 33 voltage connections combining 34 OUTPut Subsystem 46 81 83 OUTPut TTLTrgn STATe 81 OUTPut TTLTrgn STATe 82 OUTPutn STATe 46 53 82 OUTPutn STATe 83 P P J Jumper 17 31 52 119 134 option A3E 32 option A3H 32 Parallel Connections 34 Parameters HP E1418A User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com boolean 61 defined 61 discrete 61 numeric 61 optional 61
184. rs one for each output channel The register at base 8016 programs channel 1 base 8216 programs channel 2 up to base 9E16 to program channel 16 Values loaded in these registers are applied to the output immediately no trigger condition is required Address Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base 8016 through msb Isb Base 9E16 WRITE Unused Output Value Output Value Writing a 12 bit value to this field outputs the value on the channel selected by the base address Values are in the range 00016 maximum positive offset 80016 nominal zero offset FFF16 maximum negative offset Note A different offset value is required for voltage and current output operation Gain_DAC The Gain_DAC Registers are used to program the next gain value on a Registe rs channel There are 16 registers one for each output channel The register at base A016 programs channel 1 base A216 programs channel 2 up to base BE16 to program channel 16 Values loaded in these registers are applied to the output immediately no trigger condition is required Address Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base A016 through msb Isb Base BE16 WRITE Unused Output Value Output Value Writing a 12 bit value to this field outputs the value
185. s e When this command is received the checksum is verified using the constants currently in use by the module If the checksum does not verify the non volatile memory is not updated and an error is generated e Refer to Appendix D Voltage Current Output Adjustment starting on page 154 for additional information about this command e Related Commands CALibration RESet CALibration TEST Parameters Comments CALibration TEST performs an internal rough check of the calibration of each channel and returns an integer indicating the channel calibration condition Calibration is checked to approximately 2 Returns unsigned 16 bit integer uint16 e Following the completion of this query all outputs are disabled and set to 0 Volts or 0 Amps based on the channel mode e This query returns a 16 bit integer indicating the calibration status of each channel Bits set to O indicate no calibration errors were found Bits set to 1 indicate a channel with questionable calibration Bits 0 15 correspond to channels 1 16 respectively e If the trigger system is waiting for a trigger when this command is received an error is generated Chapter 3 HP E1418A SCPI Command Reference 69 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com CALibration CALibration VALue RESistance CALibration VALue RESistance lt value gt enters anew measured value to be
186. s set by the V I jumper 0 volts or amps output relay open e Related Commands SOURcen FUNCtion MODE SOURcen CURRent commands SOURcen VOL Tage commands Chapter 3 HP E1418A SCPI Command Reference 89 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce SOURcen FUNCtion MODE SOURcen FUNCtion MODE queries channel n for current or voltage output mode The query returns a string Parameters Parameter Parameter Range of Default Name Type Values SOURcen keyword 1to8or1to16 1 Returns string Comments In the keyword SOURcen the valid range of nis lto8for E1418A E1418A Option 002 1 to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error e This query returns CURR or VOLT e Related Commands SOURcen FUNCtion MODE 90 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com SOURce SOURcen VOLTage LEVel IMMediate AMPLitude SOURcen VOLTage LEVel IMMediate AMPLitude lt value MIN MAX DEF gt immediately outputs the voltage set in value at channel n when the output relay is closed Parameters Parameter Parameter Range of Default Name Type Values SOURcen keyword 1to8or1to16 1 lt value gt numeric float 32 or 16 V to 16 V or 0 discrete MIN MAX
187. s the CE marking accordingly Tested in a typical HP C Size VXI Mainframe configuration November 6 1995 Jim White QA Manager European contact Your local Hewlett Packard Sales and Service Office or Hewlett Packard GmbH Department HQ TRE Herrenberger Stra e 130 D 71034 B blingen Germany FAX 49 703 1 14 3143 HP E1418A User s Manual 9 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Notes 10 HPE1418A User s Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com cut along this line Please fold and tape for mailing Reader Comment Sheet HP E1418A User s Manual Edition 2 You can help us improve our manuals by sharing your comments and suggestions In appreciation of your time we will enter you in a quarterly drawing for a Hewlett Packard Palmtop Personal Computer U S government employees cannot participate in the drawing Your Name City State Province Company Name Country Job Title Zip Postal Code lress Telephone Number with Area Code Please list the system controller operating system programming language and plug in modules you are using fold here NO POSTAGE NECESSARY IF MAILED INTHE UNITED STATES BUSINESS REPLY MAIL o FIRST CLASS PERMIT NO 37 LOVELAND CO a HA POSTAGE WILL BE PAID BY ADDRESSEE o A HEWLETT PACKARD COMPANY Measure
188. side command module 117 space outside command module 117 window addressing 116 Adjustments 154 165 current output 159 161 equipment required 155 procedure 156 voltage output 157 158 ANSIC 39 APPLy Subsystem 45 46 64 65 APPLyn CURRent 45 46 53 64 APPLyn VOLTage 45 46 53 65 Assembly Exchange 174 Attaching terminal module 25 Backplane circuitry 17 trigger 54 81 82 132 Base Address 117 Bits clearing from register 97 99 questionable data bit 98 Block Diagram 16 Boolean Command Parameters 61 C CAL current calibration connections 161 output terminals 36 71 72 76 155 resistance calibration connections 160 store enable jumper 20 156 terminal connections 36 155 voltage calibration connections 158 Calibration card configuration register 147 checksum register 147 conditions reporting 129 constants 155 constants loading stored 69 162 Artisan Technology Group Quality Instrumentation HP E1418A User s Manual 176 Guaranteed 888 88 SOURCE www artisantg com constants reloading 68 control register 119 129 current mode 71 current process 73 74 equipment required 155 example program 162 164 interruption 74 75 isolation status register 146 memory 155 resistor value registers 144 resistor internal 68 70 144 159 test condition 69 voltage mode 72 voltage path querying 77 voltage path setting 76 voltage process 74 75 CALibration Subsystem 66 75
189. software trigger TRIGger SOURce HOLD Set channels 1 and 2 for triggered output SOURce1 VOLTage TRIGgered 1 5000 SOURce2 VOLTage TRIGgered 2 5000 Close the output relays OUTPuti ON OUTPut2 ON Put the trigger system in the wait for trigger state 54 Programming Examples Chapter 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com INITiate Send the trigger event TRIGger lMMediate Channels 1 and 2 output the programmed voltages Note that the channels must be set for triggered output using the SOURce subsystem before the trigger system is changed to the wait for trigger state using the INITiate command If you send the SOURcen commands after the INITiate command the following error is reported 3014 Illegal while initiated Once the outputs have been triggered using TRIGger lMMediate in the previous example the trigger system is set back to the trigger idle state New triggered channel output values can be programmed and the trigger system put in the wait for trigger state The triggering process is illustrated below TRIGger SOURce lt source gt SOURcen CURRent TRIGgered lt value gt SOURcen VOLTage TRIGgered lt value gt OUTPutn lt ON OFF gt Trigger Idle INITiate other programming trigger event Outputs set to programmed values Note Once an output is enabled and a voltage or current output tha
190. specify an external resistor value you must send the DIAGnostic CALibration OUTPut CHANnel command and perform the adjustment at each channel output Any resistor value may be used but values in the range of 50 Q to 500 are recommended To set the internal resistance value use the following CALibration commands CALibration CONFigure RESistance CALibration VALue RESistance The resistance value set either internal or external is not stored When using the internal resistor value the general procedure is 1 Make the connections shown in Figure D 4 2 Send the CALibration CONFigure RESistance query to the module and read the response until a 1 is returned typically the first query response 3 Read the resistance on the DMM 4 Send the DMM value read to the module using the CALibration VALue RESistance command The resistor value is only set once for current calibration of all channels If you are using an external resistor value for each channel 1 Send the CALibration CONFigure RESistance query to the module and read the response until a 1 is returned typically the first query response 2 Measure the channel s external resistor value on the DMM 3 Send the DMM value read to the module using the CALibration VALue RESistance command 159 Voltage Current Output Adjustment Appendix D Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com
191. ster the Calibration Isolation Status Register and the Calibration Card Configuration Register are used together to store the overall calibration status of the module 144 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Current Calibration Status Register The Current Calibration Status Register provides a non volatile record of the current calibration status for each channel This register is non volatile Address Base 18616 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 READ WRITE Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 Curr Curr Curr Curr Curr Curr Curr Curr Curr Curr Curr Curr Curr Curr Curr Curr Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Notes Ch XX Curr Cal Stat This field is set to a one 1 when the channel has been successfully current calibrated This field is set to a zero 0 when the channel is not current calibrated This register is not set or used by the hardware The HP E1418A SCPI driver if used to calibr
192. t from the module involves four steps 1 Set the trigger source 2 Set one or more channels for triggered output 3 Put the trigger system in the wait for trigger state 4 Send the trigger event The TRIGger SOURce lt source gt command sets the trigger source One of four trigger sources can be specified e VXIbus backplane trigger one of the eight TTL trigger lines defined in the VXIbus P2 connector The lines are named TTLTRGO through TTLTRG7 Any one of these trigger lines may be used as a trigger source e Software trigger generated within the controlling program e Immediate trigger places the trigger system in the wait for trigger state and then immediately triggers the output e External Trigger an input on the terminal module see page 35 Use this source to synchronize the outputs to an external event The SOURcen VOLTager LEVel TRIGgered AMPLitude and SOURcen CURRent LEVel TRIGgered AMPLitude commands program a channel output value when the trigger conditions are met The INITiate IMMediate command places the trigger system in the wait for trigger state The trigger event depends upon the trigger source set The trigger system is common to all channels in the module That is a single trigger event triggers the output on all channels that are waiting for the trigger The SOURce subsystem contains commands to put each channel in the wait for trigger state Set the trigger source for
193. t value remains on the output Sending subsequent SOURn VOLT TRIG or SOURn CURR TRIG commands will not change the output value until the trigger event is received The output may be disabled output relay opened with the OUTPn OFF command The trigger source set using the TRIGger SOURce command remains in effect until it is changed or a reset occurs Following a reset RST the trigger source is set to HOLD Chapter 2 Programming Examples 55 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Using OPC As shown the examples have made no attempt to coordinate the program execution with the HP E1418A module In some cases you may need to pause program execution until the module has completed executing the commands The IEEE 488 common command OPC can be used to keep the program and the module synchronized The OPG query returns a 1 when all programmed operations are complete The program can wait for the response before executing additional statements The returned value is unimportant always a 1 Set channel 1 voltage mode SOURce1 FUNCtion MODE VOLTage Set channel 1 voltage output SOURce1 VOLTage 5 000 Turn on the output OUTPuti ON OPC enter the response OPC is used to synchronize the program with the module since program execution waits for the response The command may be combined using the as described under Linking Commands
194. tatic Wrist Strap Refer to Figures E 1 and E 2 during these procedures 1 Remove the top cover Refer to Figure E 1 2 Remove the screw holding the sheet metal spacer and save the screw Remove and discard the sheet metal spacer 3 Place expansion board over the main board component sides facing each other Line up the three electrical connectors and carefully press into place Install the hold down screw through the expansion board and secure with a T10 Torx Driver Refer to Figure E 2 4 Replace the top cover 5 Perform the adjustment procedures on the module See Appendix D beginning on page 154 Appendix E Configuration and Disassembly 168 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ra Bottom Cover Plug on Modules 8 Main Board 5 a ra Sheet Metal Spacer Top Cover Figure E 1 8 Channel Disassembly 169 Configuration and Disassembly Appendix E Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Bottom Cover Main Board g PKK E Y Expansion Board Top Cover Figure E 2 16 Channel Disassembly
195. te 3014 Illegal while initiated An attempt to program a channel was made when the channel is in the wait for trigger state 3015 Non volatile memory write failed Indicates a hardware failure in non volatile memory Appendix C HP E1418A Error Messages 152 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Notes 153 HP E1418A Error Messages Appendix C Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Appendix D Voltage Current Output Adjustment Using This Appendix This appendix describes adjustment procedures The procedures in this appendix are intended for qualified service personnel Adjustment procedures are a part of calibration procedures Calibration involves functional testing performance testing adjustment and verification testing These procedures are given in the HP E14 8A 8 16 Channel DAC Service Manual To maintain the output accuracy shown in Appendix A see page 111 adjustment should be performed at 90 day intervals Hewlett Packard can perform calibration and adjustment for you Contact the nearest Hewlett Packard Sales and Service Office for additional information The HP E1418A Specifications Appendix A require that the operation temperature is within 5 C of the calibration temperature The module temperature is affected by both the ambient temperature and the cooling performance of the
196. tg com Software Trigger The Software Trigger Register provides a means to trigger the module when Reg ister software trigger has been selected as the trigger source in the Trigger Control Register Address Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base 00e Waite Software Trigger Software Trigger When software trigger is selected as the trigger source in the Trigger Control Register any write to this register generates the trigger the value written is not important Trig ger Control The Trigger Control Register selects the sources destinations and modes Reg ister used to synchronize channels programmed for triggered operation Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Ta READ 8 wig Unused Trigger Out miogen Trigger Source ware 49 om Trig Syst En Writing a one 1 to this field enables the trigger system Writing a zero 0 disables the trigger system Trigger Out This field selects which VXIbus trigger line will be driven when the trigger mode is set to Output The trigger lines selected are shown below i Bits Line Out Selected os 07 06 TTLTRIGO 0 0 0 TTLTRIG1 0 0 1 TTLTRIG2 0 1 0 TTLTRIG3 0 1 1 TTLTRIG4 1 0 0
197. then register programming is not recommended The SCPI driver maintains an image of the module state The driver will be unaware of changes made to the module by register access Register based programming is a series of reads and writes directly to the module registers This appendix contains the information you need for register based programming The contents of this appendix are e Addressing the Registers oooooooooommmmm o Page 114 e Reset and Registers 0 2 eee ee eee eee Page 119 Register Maps ayia oe dal eee ee a eee ee Page 120 e Register Descriptions 0 0 0 cece eee ee eee ee Page 126 e Register Example 0 0 2 00 c eee eee eee eee Page 148 Appendix B HP E1418A Register Based Programming 113 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Addressing the Registers To access a specific register for either read or write operations the address of the register must be used The HP E1418A uses both A16 and A24 register accesses A16 Registe FS Register addresses for the VXI module are found in an address space known as VXI A16 The exact location of A16 within a VXIbus master s memory map depends on the design of the VXIbus master you are using For the HP E1405 E1406 Command Module the A16 space location starts at 1F000016 The A16 space is divided so that the VXI modules are addressed only at locations above 1FC00016 within A16
198. tile FLASH memory Writing to this memory requires a complicated sequence of register accesses not documented here It is recommended that calibration be performed using the SCPI driver for the module not register access Non volatile memory has finite life based upon the number of writes Use care when writing to this memory The contents of this register are loaded into volatile memory at power on and not used on an on going basis Appendix B HP E1418A Register Based Programming 141 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Channel Current Offset Calibration Registers The Channel Current Offset Calibration Registers store current offset calibration constants in non volatile memory There are 16 registers one for each output channel The register at base 14016 stores channel 1 base 14216 stores channel 2 up to base 15E16 to store channel 16 This register is non volatile Address Base 14016 through Base 15E16 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 WRITE msb Isb Unused Current Offset Calibration Constant Notes Current Offset Calibration Constant Writing a 16 bit value to this field sets a new constant used to calibrate the channel output Values are in the range 00016 maximum positive offset 80016 nominal zero offset FFF16 maxim
199. tion register 98 event register 98 register 95 99 Quick Reference common commands 106 SCPI commands 107 110 R Reader Comment Sheet 11 Reading calibration card configuration register 147 calibration checksum register 147 calibration control register 129 calibration isolation status register 146 calibration resistor value registers 144 card configuration register 130 card control register 137 channel mode register 136 channel program jumper register 134 channel relay control register 136 channel trigger register 135 configuration 42 44 current calibration status register 145 device type register 127 interrupt status register 133 isolation status register 133 manufacturer ID register 126 module ID string 42 44 module serial number registers 148 trigger control register 131 132 voltage calibration status register 144 VXI status control register 127 Reducing Settling Time 78 Register Based Programming 113 149 addressing the registers 114 118 base address 117 register descriptions 126 148 register example 148 149 register maps 120 125 Artisan Technology Group Quality Instrumentation HP E1418A User s Manual 182 Guaranteed 888 88 SOURCE www artisantg com register offset 118 reset and registers 119 Registers A16 address space 114 A16 A24 register map 120 A24 address space 115 A24 register map 121 125 addressing 114 118 base address 117 calibration card
200. tment starting on page 154 for additional information about this command Related Commands CALibration VALue RESistance CALibration RESet CALibration RESet reloads for module use the calibration constants stored in non volatile memory Parameters Comments None This command with respect to the calibration constants performs the same action as power on At power on or following this command calibration constants stored in non volatile memory are loaded into the module where they are used during output operations If the trigger system is waiting for a trigger when this command is received an error is generated This command opens all output relays Related Commands CALibration STORe 68 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com CALibration CALibration STORe Parameters Comments CALibration STORe loads the stored non volatile memory calibration constants with the calibration constants currently in use by the module None e This command sets the calibration constants in non volatile memory if the CAL Store Enable Jumper is properly set see page 156 Non volatile memory has finite life based upon the number of writes Use this command sparingly e At power on calibration constants stored in non volatile memory are loaded into the module where they are used during output operation
201. tten to two adjacent 16 bit registers The value is a float 32 format The Voltage Calibration Status Register provides a non volatile record of the voltage calibration status for each channel This register is non volatile Voltage Calibration Status Register 12 11 10 09 08 07 06 05 04 03 02 01 00 Bit 15 14 13 Address Base 18414 READ Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch 16115 14 13 12 11 10 09 08 07 06 05 04 03 02 01 WRITE voit Volt Volt Volt Volt Volt Volt Volt Volt Volt Volt Volt Volt Volt Volt Volt Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Cal Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Stat Ch XX Cal Stat This field is set to a one 1 when the channel has been successfully voltage calibrated This field is set to a zero 0 when the channel is not voltage calibrated This register is not set or used by the hardware The HP E1418A SCPI driver if used to calibrate the module automatically sets the bits in this register If you use register programming to calibrate this module you may wish to use this register to record the calibration status Notes The Voltage Calibration Status Register the Current Calibration Status Regi
202. uence of register accesses not documented here It is recommended that calibration be performed using the SCPI driver for the module not register access Non volatile memory has finite life based upon the number of writes Use care when writing to this memory The contents of this register are loaded into volatile memory at power on and not used on an on going basis 140 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Channel Voltage Gain Calibration The Channel Voltage Gain Calibration Registers store voltage gain calibration constants in non volatile memory There are 16 registers one for each output channel The register at base 12016 stores channel 1 Registe rs base 12216 stores channel 2 up to base 13E16 which stores channel 16 This register is non volatile Address Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base 12016 through msb Isb Base 13E16 WRITE Unused Voltage Gain Calibration Constant Voltage Gain Calibration Constant Writing a 12 bit value to this field stores a new constant used to calibrate the channel output The 16 bit value is a2 s compliment number Values are in the range 00016 minimum gain 80016 nominal gain FFF16 maximum gain Notes Registers 0010016 through 001BE1 6 are located in non vola
203. um negative offset Registers 0010016 through 001BE1 6 are located in non volatile FLASH memory Writing to this memory requires a complicated sequence of register accesses not documented here It is recommended that calibration be performed using the SCPI driver for the module not register access Non volatile memory has finite life based upon the number of writes Use care when writing to this memory The contents of this register are loaded into volatile memory at power on and not used on an on going basis 142 HP E1418A Register Based Programming Appendix B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Channel Current Gain Calibration The Channel Current Gain Calibration Registers store current gain calibration constants in non volatile memory There are 16 registers one for each output channel The register at base 16016 stores channel 1 Registe rs base 16216 stores channel 2 up to base 17E16 to store channel 16 This register is non volatile Address Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base 16016 through msb Isb Base 17E16 WRITE Unused Current Gain Calibration Constant Current Gain Calibration Constant Writing a 16 bit value to this field sets a new constant used to calibrate the channel output Values are in the range 00016 minimum gain 800
204. up Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com The Base Address A16 Address Space Outside the Command Module A16 Address Space Inside the Command Module or Mainframe When reading or writing to a module register a hexadecimal or decimal register address must be specified This address consists of a base address plus a register offset The base address used in register based programming depends on whether the A16 address space is outside or inside the HP E1405 E1406 Command Module When the HP E1405 E1406 Command Module is not part of your VXIbus system Figure B 1 the HP E1418A s base address is computed as Base Address C00016 LADDR16 4016 or decimal 49 152 LADDR 64 where C00016 49 152 is the starting location of the register addresses LADDER is the module s logical address set either by the switches or using dynamic addressing and 64 is the number of address bytes per VXI device For example the HP E1418A s factory set logical address is 72 4816 therefore it will have a base address of C00016 4816 4016 C00016 120016 D20016 or decimal 49 152 72 64 49 152 4608 53760 When the A16 address space is inside the HP E1405 E1406 Command Module Figure B 2 the module s base address is computed as Base Address 1FC00016 LADDR 40 16 or 2 080 768 LADDR 64 where 1FC00016 2 080 768 is the starting location of the VXI A16 add
205. ure CURRent command has been received and the calibration process is not yet complete e RST Condition no effect e CLS clears the contents of the Operation Status Register e STATus PRESet does not affect the contents of the Operation Status Register but does disable reporting the Summary bit to the Status Byte Register STATus PRESet STATus PRESet presets all Enable Registers to 0 zero The command has no effect on Condition or Event Registers Chapter 3 HP E1418A SCPI Command Reference 97 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com STATus STATus QUEStionable CONDition Parameters Comments STATus QUEStionable CONDition returns the value of the Questionable Status Condition Register Reading the register does not affect its contents Since only two bits are used in the HP E1418A and both those bits are defined to be events this command always returns O and is included for compatibility purposes Returns 16 bit signed integer int16 e Bit 8 of this register decimal 256 indicates the calibration condition Bit 9 of this register decimal 512 indicates the trigger ignored event e RST Condition clears all conditions e CLS and STATus PRESet do not affect bits in the Questionable Status Condition Register STATus QUEStionable ENABle Parameters Comments STATus QUEStionable ENABle lt mask gt specifies which bits of the Questionab
206. used as the internal calibration resistor constant by the module Parameters Parameter Parameter Range of Default Name Type Values lt value gt numeric float 32 Must be gt 0 ohms none Comments The new calibration constant is used by the module but not stored in non volatile memory This command is used together with the CALibration CONFigure RESistance query to calibrate the internal current calibration resistor The internal calibration resistor should be calibrated before calibrating channels in current mode When calibrating at the CAL connections and using the internal calibration resistor the value need only be entered once to calibrate all channels If using an external resistor to calibrate current mode you must calibrate at each channel output External resistances in the range of 50 Q to 500 Q are recommended Refer to Appendix D Voltage Current Output Adjustment starting on page 154 for additional information about this command Related Commands CALibration STORe CALibration CONFigure RESistance 70 HP E1418A SCPI Command Reference Chapter 3 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com CALibration CALibrationn CONFigure CURRent CALibrationn CONFigure CURRent configures the channel for current mode calibration and returns a O or 1 to indicate the channel s readiness for calibration Parameters Para
207. when programmed by SCPI Errors with negative values are governed by the SCPI standard and are categorized in Table C 1 Error numbers with positive values are not governed by the SCPI standard Table C 1 Error Types Described 199 to 100 Command Errors syntax and parameter errors See the HP El405 E1406 Command Module User s Manual for a description of these errors 299 to 200 Execution Errors instrument driver detected errors See Table C 2 for these values also see the HP E1405 E1406 Command Module User s Manual for further details 399 to 300 Device Specific Errors instrument driver errors that are not command or execution errors See Table C 2 for these values also see the HP E1405 E1406 Command Module User s Manual for further details 499 to 400 Query Errors problem in querying an instrument See the HP El405 E1406 Command Module User s Manual for a description of these errors Appendix C HP E1418A Error Messages 150 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Error Messages Table C 2 Error Messages Code Error Messages Potential Cause s 141 Invalid character data An invalid SCPI keyword was used 211 Trigger ignored A trigger was received and no channels were in the wait for trigger state 213 Init ignored An INITiate was received and o
208. xample shows part of a typical subsystem SOURcen FUNCtion MODE lt CURRent VOLTage gt SOURcen is the root command where n is replaced by the channel number in the range of 1 to 16 FUNCtion is a second level command MODE is a third level command and lt CURRent VOLTage gt is an input parameter A colon always separates one command from the next lower level command This is illustrated as follows SOURcen FUNCtion MODE VOLT Colons separate the root command from the second level SOURcen FUNCtion and the second from third level FUNCtion MODE and so forth The command syntax shows most commands as a mix of upper and lower case letters The upper case letters indicate an abbreviated spelling for the command For shorter program lines send only the abbreviated form For better program readability use the entire command The instrument will accept either the abbreviated form or the entire command For example if the command reference syntax shows the command TRIGger then TRIG and TRIGGER are both acceptable forms Other forms of TRIGger such as TRIGG or TRIGGE will generate an error The instrument does not distinguish between upper case and lower case characters Therefore TRIGGER trigger and TrigGeR are all acceptable Command keywords can be entered in their full form as shown above or can be entered in their short form In this manual the entry required in short form commands is always capitalized The sh

Download Pdf Manuals

image

Related Search

Related Contents

Robertshaw RS3110 User's Manual  Palsonic 3499G User's Manual  Wöhler A 600  GLA-100,GLA-200 Manual de instrucciones de uso  TA Kits de filtros para camiones articulados folleto  

Copyright © All rights reserved.
Failed to retrieve file