Home

HP E1418A User's Manual

image

Contents

1. 4 CH 1 Prgm Jmpr CH1HS 2 CH 2 Prgm Jmpr CH 1 HI 3 CH3Prgm Jmpr CH1LO A 4 CH 4 Prgm Jmpr CH 1 LS 5 CH 9 Prgm Jmpr CH 2 HS 6 CH 10 Prgm Jmpr CH 2 HI 7 CH 11 Prgm Jmpr CH2LO J A 8 CH 12 Prgm Jmpr CH2LS ws 9 CH1 Mode Jmpr CH 3 HS ABC O 4 CH 2 Mode Jmpr CH 3 HI A CH 3 Mode Jmpr CH3LO o0 0 N Xy Pa CH 4 Mode Jmpr CH3LS TAn E AS P CH 9 Mode Jmpr CH 4 HS goo QRO CH 10 Mode Jmpr CH4HI a Bee Rag a CH 11 Mode Jmpr CH4LO gaa NNN ae CH 12 Mode Jmpr CH4LS 550 acs L GND CH 9 HS 20700 age GND CH9 HI eae RSR E GND CH9LO ERES YAR A GND CH9LS ooo NNN L GND CH 10 HS aa ea RNN P GND CH 10 HI 300 ORO os GND CH 10 LO fea NS GND CH 10 LS chee gas oo GND CH 11 HS ooo aa P EXT TRIGn CH 11 HI Ba eS ES P GND CH 11 LO oa 0 AREN CAL HS CH 11 LS Beye el 8a8 L CAL HI CH 12 aaae QRO oA CAL LO CH 12 HI ooo AS CAL LS CH 12 LO ara A age GND CH 12 LS E O 1 Terminal ID 1 Cc ABC O 2 Terminal ID 2 Cc TRS ay 3 Terminal ID 3 Cc eae Sa in 4 GND Cc aang ake 5 GND c aa Ayo Z 6 GND C 2350 SA ee 7 GND Cc aia 8 GND Cc ooo 558 a 9 GND c RARA 98 Ss GND Cc Te NNR ve GND Cc oo 9g NNN ES GND c H cie eA NS GND CH BARNE RR ES GND C daa Sak os GND C oo 0 NNN x GND C Goa AS GZ CH 5 Prgm Jmpr CH5 HS Beat ee AR L CH 6 Prgm Jmpr CH 5HI 0 oe SE NNN CH 7 Prgm Jmpr CH5LO ds Tai Lo CH 8 Prgm Jmpr CH5LS 0 0 o0 aga CH 13 Prgm Jmpr CH6HS
2. o O O O JUDIT TTT PTT TTT TTT TTT TTT Veta fa Po 10 11 US HI LO LS HS HI LO LS HS HI LO HS HI LO LS HS HI LO LS HS HI LO is Voltage Output up to 42V Current Output up to 60mA Figure 1 15 Combined Channels Output Connections 34 Module Setup and Installation Chapter 1 Connecting an External Trigger Options A3E and A3H Source An external trigger input is provided on the terminal module Use the external trigger to externally synchronize multiple outputs or multiple instruments The External Trigger uses TTL levels The trigger occurs 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 o O TT TTT TTT TTT TTT TTT TTT SO Se 5m Y oo pon o on oooo0Oo OO SO SODOoaODaODEa pon Ono onoonoo0o o PETTTT TTT TTT TTT TTTTTTTTTTTTTT GOGODOGO GG GO T cogigpogo cg go qgoag9ghgogg Zo moomoo ooooooo IM OOOODOOOoOOO0O002 Terminals Figure 1 1 6 GND EXT TRGn Oooo oooooomom a Se ee eee eels GND GND L x HIGH
3. Zz o EXT TRGn 2 2 HS HI LO LS HS HI LO LS to 16 OOO OO OOOO COCO HS HI LO LS HS HI LO LS HS HI LO 12 13 14 ES ol 6 a ie pean o abe 2917414 Oleo ts LS 29 16 oof ne Y 0 CODO O HS HI LO LS HS HI LO LS HS HI LO LS 1 2 5 TOORTSIE HS HI LO LS 9 HS HI LO LS 10 HS HI LO LS 1 Figure 1 6 Screw Type Terminal Module Layout 22 Module Setup and Installation Chapter 1 Wiring the Terminal Module Figure 1 7 shows how to open and wire the HP E1418A terminal module D Remove the clear cover 2 Remove and retain wiring exit panel C A Release screws Remove 1 of the 3 B Press tab forward gt wire exit panels and release E 3 Make connections Screw Type size 16 26 AWG Insert wire into terminal 64 Conductor Tighten screw 0 05 Center 4 Route wiring and install strain relief Tighten wraps to Ni secure wires om D NN f f Ribbon cable clamp Figure 1 7 Wiring the HP E1418A Terminal Module continued on next page Chapter 1 Module Setup and Installation 23 Cut required holes in
4. 234567 CAL Store Enable Jumper Secured CAL Figure 1 4 Setting the Logical Address Chapter 1 Module Setup and Installation 19 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 in 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 AS 7 A Tiny y Figure 1 5 Installing the HP E1418A in a VXIbus Mainframe 20 Module Setup and Installation Chapter 1 To Remove a Module To remove a module from a mainframe 1 Remove any terminal modules 2
5. CH1 HS HI LO LS EAS L0 DMM HI Figure D 3 Voltage Calibration Connections CHAN Appendix D Voltage Current Output Adjustment 158 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 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 CALibratio
6. 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 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 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 TEST TEST The TEST subsystem provides commands u
7. 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 Changing Configuration When a bit is set to a O an isolated plug on is present A bit set toa 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 information Indicates the state of the P J jumper on the terminal module See page 77 for additional information Configuration changes are made using Hewlett Packard add on kits These procedures support the following add on kits Kit Part Number Description Use HP E1523A 1 Channe
8. 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 0 e 44 Programming Examples Chapter 2 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 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
9. 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 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 ltol6for 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 STATus STATus The STATus subsystem controls the SCPI defined Operation and Questionable Status Registers
10. SS O OOOO HS HI LO LS ES LS LO DMM HI HS Figure D 5 Current Calibration Connections CAL Zo COOOODODODODO a O PTT TTT TTT TTT TTT TTT TTT TTT TT SS OS oocoooooo OoOooooooooooOo ooo ooooooooo MDB OOCOOCODOOOO ajojoejojojojojojojojoje PODODODODooo ooo o ooo ooooe ooo ooooooood Oooo oooooooowg T h SSSoosocoM sesss f SOS O OOOO O CH1 HS HI LO LS D lt gt ALS LO DMM External Resistor Hs Figure D 6 Current Calibration Connections CHAN 161 Voltage Current Output Adjustment Appendix D Storing the Adjustments Note Return the Module to Use Example Program Once all adjustments have been made using the procedures outlined 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 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
11. To synchronize outputs to external events backplane events or software events use the TRIGger subsystem commands Triggering an output 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 VOLTage 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
12. 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 HP E1418A SCPI Command Reference 59 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 example 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 comma
13. READ Ch ch Ch ch Ch Ch ch ch ch ch ch Ch ch Chl ch 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 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 Notes A channel will not function without a plug on module installed A one 1 indicates either a non isolated 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 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
14. 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 Register 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 Current Calibration The Current Calibration Status Register provides a non volatile record of gister p Status Reg ister the current calibration status for each channel This register is non volatile Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 O2 01 00 Bac o READ Ch Ch Ch ch Ch ch ch ch ch ch ch ch ch ch ch ch 16 15 14 13 12
15. a TTL LOW y tus External Trigger Connections The external trigger line is located on the upper connector and is labeled EXT TRIGn in the diagram on page 30 Chapter 1 Module Setup and Installation 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 are shown in Figure 1 17 o O o O MITA TTT TTT TT PTT TTT TATI gt lt Woo oo QS DOTODDDO E a rms vs es ca e pa RE a a MES SSS aa LS Y IES Y CAE ES IA 61 gt oC Pen y do Y en en an a Ja e esta ss Y om co can ree y cr Y Coc PoC CECI EI LOCI ES Eko CLIC CoE ate od I Po CLL CAL HS HI LO LS Y EL LS 2 LO DMM A HI SHS 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 Instal
16. 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 boolean 61 defined 61 discrete 61 numeric 61 optional 61 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 modu
17. 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 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 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 reg
18. ED amp GN Figure E 3 Plug on Channel Locations iy o Locator Hole Figure E 4 Installing Plug on Modules Board Locator Hole Appendix E Configuration and Disassembly 172 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 query 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
19. 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 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 A A do 6 Setting Undefined 0016 FF16 WRITE Undefined Logical Address Setting Logical Address Setting Bits O 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 lines 6 through 13 from the backplane to determine module accesses in A16 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 Device Type The Device Type Register is a VX
20. Register STATus OPERation ENABle STATus OPERation ENABle lt mask gt specifies which bits of the Operational Status Event Register are OR d together 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 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 Comments STATus PRESet Returns 16 bit signed integer int16 Bit 0 of this register decimal 1 is the only defined bit in this register This bit is set if the CALibration CONFigure RE
21. Terminal Module Connections 5 444454 42 Rowe RR eR RE RR RE 33 Voltage and Current Output Connections o oo e a3 combina Camels ce he dy ah Re pes hd e ak ah ak a a a A ed 34 Connecting an External Trigger Source o oo o ess 33 Using the CAL Output Terminals 245 464 00 2 545 ee dee OR ee eS 36 ARI PETRO ic kta hk Gee LE BOR ek ee oe Ee SO ee eS 37 DAWSON 6 0 oh bd oak hee Se add dR OH OES 37 Module Identiticatiom s araa 642 eo AAA a ek A 38 Chapter 2 Programming Examples o a 39 Using Tins Chapter sou 2 e445 HR RS OKRA AAA 39 Program BRAMplOS os 4 ook OR Oke EER SEEDER EES EERE G OOS 39 Querying Module Identification and Configuration 0 40 HP E1418A 8 16 Ch D A Converter User Manual Contents 1 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 A
22. 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 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 previous Edition Each new Edition or Update also includes a revised copy of this documentation his tory page Editon dsc cts ens hea tome inane Ages ter naa ke ano October 1995 Editon Dista et Bae ae etna
23. 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 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 EN35011 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 TEC 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 carries the CE marking accordingly Tested in a typical HP C Size VXI Mainframe configuration November 6 1995 ft 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 4
24. mechanical 166 terminal module 31 Conformity declaration 9 Connections HP E1418A User s Manual 178 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 register 127 DIAGnostic Subsystem 76 79 DIAG CAL O
25. the trigger The SOURce subsystem contains commands to put each channel in the wait for trigger state Set the trigger source for 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 Note INITiate Send the trigger event TRIGger IMMediate 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 IMMediate 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 Once an output is enabled a
26. 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 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 ne
27. 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 available 15 field kits 15 identification 38 identification query 40 44 installation 20 HP E1418A User s Manual 180 installing in mainframe 20 isol
28. Aca da o CH 14 Prgm Jmpr CH6HI oo ag QRO CH 15 Prgm Jmpr CH6LO IQR CH 16 Prgm Jmpr CH6LS CH 5 Mode Jmpr CH7 HS CH 6 Mode Jmpr CH7 HI CH 7 Mode Jmpr CH7LO CH 8 Mode Jmpr CH7LS CH 13 Mode Jmpr CH 8 HS CH 14 Mode Jmpr CH8HI CH 15 Mode Jmpr CH 8 LO CH 16 Mode Jmpr CH8LS Figure 1 12 HP E1418A Terminal Module Connector Pinout 30 Module Setup and Installation Chapter 1 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 P J O O cales TIA TIT TTT TT TTT TTT TT TTT Solu CH5 cH2 Y ma L T jp j CH6 v i e V I CH3 Vile e e CH7 CH4 les ee vi CH3 CHO Wiles salva CHS chio es eel vi CH14 CHI Yiee sel A CHG cH12 ilee eal CH16 nc 9 081 ic OUTPUT MODE IS Program Selectable Jumper Selectable Programmable ee P J ee P J Jumper selected to vol
29. Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Bo ani READ Trig Unused Trigger Out Trigger Trigger Source WRITE Syst En Mode 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 Bits Line Out Selected 07 06 o TTLTRIGO TTLTRIG1 TTLTRIG2 TTLTRIG3 TTLTRIG4 TTLTRIG5 TTLTRIG6 TTLTRIG7 0 1 0 1 0 1 0 1 Trigger Mode This field selects the operating mode for trigger enabled channels Bits Trigger Mode 05 04 SYNC 01 10 OUTPUT 1 1 Appendix B HP E1418A Register Based Programming 131 Trigger Source This field selects the trigger source for trigger enabled channels Bits Trigger Source Selected 03 02 01 00 TTLTRIGO 0 10 10 0 TTLTRIG1 0 0o 01 TTLTRIG2 0101 1 0 TTLTRIG3 0 0 11 1 TTLTRIG4 0o 1 0 0 TTLTRIG5 0 1 0 11 TTLTRIG6 0 1 1 0 TTLTRIG7 0 11 1 1 SOFTWARE TRIGGER 110 010 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 th
30. 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 Chapter 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 nica Se cath eee a hates Page 45 Error Checking eee tos Aa a a Page 47 SOURce Output e ci ee ce ees eee ope oe ee ne Page 50 Setting the Output Mode 0 20 2 00 008 Page 52 Controlling the Output Relay ooooooooooo oo Page 53 TTS SCTING sich Eien a ra Page 54 Using ORC 0d eg ohio ta Page 56 Combining Output Channels 00 0 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
31. HP E1418A SCPI Command Reference 65 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 CON Figure RESistance RESet STORe TEST VALue RESistance lt value gt CALibrationn CONFigure CURRent VOLTage VALue CURRent lt value gt VOLTage lt value gt 66 HP E1418A SCPI Command Reference Chapter 3 CALibration CONDition CALibration CONDition queries the module type and calibration status The query returns four 16 bit unsigned integers CALibration 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 4 Expansion Board ID in the form 0 present 7 none expansion board contains channels 9 16 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 in
32. MIN MAX DEF gt AMPLitude 84 HP E1418A SCPI Command Reference Chapter 3 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 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 E1418A E1418A Option 002 ltol6for 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 Command Reference 85 SOURce SOURcen CURRent LEVel IMMediate AMPLitude SOURcen CURRent LEVel IMMediate AMPLitude lt MIN MAX DEF
33. Offset_Cal 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 Voltage Gain Cal Galspiage 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 Address Read Registers Write Registers Type Base 14016 Ch 01 Current Offset_Cal Channel Current Offset Base 14216 Ch 02 Current Offset_Cal Cal Storage Registers Base 14416 Ch 03 Current Offset_Cal non volatile Base 14616 Ch 04 Current Offset_Cal Base 14816 Ch 05 Current Offset_Cal Base 14A16 Ch 06 Current Offset_Cal Base 14C16 Ch 07 Current Offset_Cal Base 14E16 Ch 08 Current Offset_Cal Base 15016 Ch 09 Current Offset_Cal Base 15216 Ch 10 Current Offset_Cal Base 15416 Ch 1
34. RA ee 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 ee Direct current DC Indicates hazardous voltages Indicates the field wiring terminal that must l be connected to earth ground before operat f 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 Calls attention to a procedure practice or con Frame or chassis ground terminal ty pi CAUTION dition that could possibly cause damage to b of 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 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 terminal
35. 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 Chapter 3 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 unmask
36. amps output relay open 64 HP E1418A SCPI Command Reference Chapter 3 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 to 8or1 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 of n is lto8for E1418A E1418A Option 002 ltol6for 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
37. 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 QUEStionable CONDition ENABle lt mask gt ENABle EVENt Questionable Data Condition Register Lent 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 AE 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 E Questionable Data STAT QUES ENAB La Message Available TT oR gt Standard Event Standard Event m Request Service Event Register noble Register 7 Operational Status 9 Operation Complete Serial Poll SPOLL SRE_ lt mask gt Not Used STB sSRE 2 Query Error 3 Device Erro
38. at power on and not used on an on going basis Appendix B HP E1418A Register Based Programming 143 Calibration The Calibration Resistor Value Registers store the value of the resistor used Resistor Value 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 hae a a 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 ey uo READ Most Significant Byte 2nd Most Significant Byte WRITE Value The 32 bit resistor value in ohms is written 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 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Bassetti 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 Volt Volt Volt Volt Volt WRITE Volt Volt Volt Volt Volt Volt Volt Volt Volt
39. call The HP VTL I 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 SCP l Error You must also check for errors reported by the SCPI driver The SCPI y sheckin driver reports errors in response to the SYSTem ERRor query l g 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 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 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
40. 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 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 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 Notes 187 HP E1418A User s Manual
41. 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 crimping contacts
42. devicein num_chan 8 42 Programming Examples Chapter 2 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 Decode the 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
43. err viPrintf dac CAL d CONF VOLT n i Configure for 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 result 1 while result 0 meas_volt get_voltage Get the voltage measurement err viPrintf dac CAL d VAL VOLT fn i meas_ volt Send the measurement 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 for this channel aborted printf Calibration for channel d aborted n i result 0 Juez CURRENT OUTPUT ADJUSTMENT ee set the calibration resistor value aie 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 re
44. error routine Sl void sys_err ViSession resource SCPI error routine 2 e GLOBAL ViStatus err ViSession defaultRM cmd dac Oo e 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 VTL Error handling function void err_handler ViSession dac ViStatus err char buf 1024 0 viStatusDesc dac err buf printf VTL ERROR s n buf return End of VTL error handler 48 Programming Examples Chapter 2 SCPI Error check ee void sys_err ViSession resource char buf 1024 0 int err_no err viPrintf resource SYST ERRAn query error queue Y 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 if
45. gt queries the last output value written by SOURcen CURReni LEVel 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 ltol6for 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 CURRen LEVell 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 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 Param
46. levers out simultaneously Extraction Lever Use a small screwdriver St to release the two j extraction levers y Free and remove the terminal module from the HP E1418A D A Module Cy A e E1418A I D A Module Figure 1 9 Removing the HP E1418A Terminal Module 26 Module Setup and Installation Chapter 1 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 Crimp and Insert The following accessories are necessary for use with
47. 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 Notes 58 Programming Examples Chapter 2 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 Command Types 4 0 0 42 4 beeen SP a eee A Page 59 e SCPI Command Reference 0 Page 62 e ABORt Subsystem o o 0008 Page 63 e APPLy Subsystem o o e Page 64 e CALibration Subsystem o e Page 66 e DIAGnostic Subsystem o o e Page 76 e INITiate Subsystem o o e Page 80 e OUTPut Subsystem o o e 0048 Page 81 e SOURce Subsystem o o e Page 84 e STATUS Subsystem o e e 000 Page 95 e SYSTem Subsystem o o o 000 Page 100 e TEST Subsystem o o e Page 101 e TRIGger Subsystem o e Page 104 e EEE 488 2 Common Command Quick Reference Page 106 e HP El418A Command Quick Reference Page 107
48. 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 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 Registers 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 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 up
49. 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 reliability of its software on equipment that is not furnished by HP U S Government Restricted Rights
50. panel connectors of the main module AMAA Na AANRAAK gt jw D050500000000000000000000000000000 lee e3 ooo0o0000000000000000000000000000 o0000000000000000000000000000000 ooo0o0000000000000000000000000000 o0o00000000000000000000000000000 o0000000000000000000000000000000 2N0_4A00 0 0 NUU ANONO 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 GN GN GN GN GN GN GN GN GN GN GN GN GN 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 VUUUUUDOUUOOUUO Figure 1 3 HP E1418A Front Panel Connector Pinout 00000000000000000000000000000000 CH 13 HS CH 13 HI CH 13 LO CH 13 LS CH 14 HS CH 14 HI CH 14 LO CH 14 LS CH 15 HS CH 15 HI CH 15 LO CH15LS CH 16 HS CH 16 HI CH 16 LO C
51. panels for wire exit 5 Replace wiring exit panel Porno rye 6 Replace clear cover A Hook in the top cover tabs onto the fixture E Press down ani tighten screws Keep the wiring exit panel hole as small as possible No Figure 1 7 Wiring the HP E1418A Terminal Module continued from previous page Chapter 1 24 Module Setup and Installation Attaching the Terminal Module Figure 1 8 shows how to attach the HP E1418A terminal module on the terminal module Extraction Lever _ S Use a small screwdriver to release the two extraction levers A 1 Extend the extraction levers y l y 9 20 BWW HP E1418A D A Module Extraction Lever 2 Align the terminal module connectors to the HP E1418A module connectors y NN e gt MERA 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 Figure 1 8 Attaching the HP E1418A Terminal Module Chapter 1 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
52. serial number Base 19216 volatil Base 19416 non volatile Base 19616 Undefined Calibration Storage Registers Base 19816 Base 19A16 Base 19C16 Base 19E16 Base 1A016 Base 14216 Base 14416 Base 1A616 Base 14816 Base 1AA16 Base 1AC16 Base 1AE16 Base 1B0i6 Base 1B216 Base 1B416 Base 1B616 Base 1B816 Base 1BAi6 Base 1BC16 Base 1BE16 Undefined calibration memory 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 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 12 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
53. setting is 72 or 4816 so the addresses start at 1FD20016 E1418A 1FFFFFis A16 REGISTER MAP 1FFFFF46 1FC000 6 REGISTER OFFSET 16 BIT WORDS A24 Window A16 REGISTER ADDRESS SPACE _ A24 Window Registers A16 ADDRESS SPACE E1418A_base 1FO000 6 E1418A_base E1418A FIG APPB1 Register Address A24 Window CARD CONTROL Register S 1FC000 49 152 o Relay Control Register Channel Mode Register Channel Trigger Register Program Jumper Register Isolation Status Register Interrupt Status Register Interrupt Control Register ___Card Control Trigger Control Register Registers Software Trigger Register Card Configuration Register Calibration Control Register VXI Offset Register Status Control Register Device Type Register ID Register Logical Address Register 1FCOOO 6 O 2 080 768 Logical Address 40 16 Logical Address 64 40 E1418A_base Register Offset Figure B 1 Register Locations in A16 Address Space 114 HP E1418A Register Based Programming Appendix B 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 Lo
54. 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 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 page The guide indicates the current subsystem on that page 62 HPE1418A SCPI Command Reference Chapter 3 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 APPLy APPLy The APPLy subsystem enables and outputs a current or voltage on t
55. 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 SOURce TTLTn OUTPut TTLTA STATe Chapter 3 HP E1418A SCPI Command Reference 81 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 OUTPutn STATe 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 Related Commands OUTPut TTLTn 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 l to 16 for E1418A Option 001 E1418A Option 003 Values of n outside these ranges will generate an error This command sets the output state of individual channel output r
56. 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 E1418A SCPI Command Reference Chapter 3 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 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 P
57. 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 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 enable the output OUTPuti ON Channel 1 is set to voltage output and 3 000 V applied Disable the output OUTPuti 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
58. uint16 1 ready O not ready e In the keyword CALibrationn the valid range of n is lto8for E1418A E1418A Option 002 ltol6for 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 is 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 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 sele
59. 0 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 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 l 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 volt
60. 00 TEST subsystem 101 103 TRG 106 TRIGger subsystem 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
61. 1 Current Offset_Cal Base 15616 Ch 12 Current Offset_Cal Base 15816 Ch 13 Current Offset_Cal Base 15A16 Ch 14 Current Offset_Cal Base 15C16 Ch 15 Current Offset_Cal Base 15E16 Ch 16 Current Offset_Cal Base 16016 Ch 01 Current Gain_Cal Channel Current Gain Base 16216 Ch 02 Current Gain_Cal CARO Rogister Base 16416 Ch 03 Current Gain_Cal non volatile Base 16616 Ch 04 Current Gain_Cal Base 16816 Ch 05 Current Gain_Cal Base 16A16 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 17A16 Ch 14 Current Gain_Cal Base 17C16 Ch 15 Current Gain_Cal Base 17E16 Ch 16 Current Gain_Cal 124 HP E1418A Register Based Programming Appendix B 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 Calibration Registers non volatile Base 18A16 Base 18C16 Base 18E16 Base 19016 Calibration card configuration Calibration checksum SERIAL NUMBER Module Serial Number Registers 10 byte
62. 11 10 09 08 07 06 05 04 03 02 01 WRITE 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 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 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 store the overall calibration status of the module Appendix B HP E1418A Register Based Programming 145 Calibration The Calibration Isolation Status Register provides a non volatile record of g p 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
63. 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 ROgIsia S Base A416 Ch 03 Gain_DAC Base A616 Ch 04 Gain_DAC Base A816 Ch 05 Gain_DAC Base AA16 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 BAi 6 Ch 14 Gain_ DAC Base BCi Ch 15 Gain_DAC Base BE16 Ch 16 Gain_ DAC Base C016 through Undefined Not Used Base FE 6 122 HP E1418A Register Based Programming Appendix B Address Read Registers Write Registers Type Base 10016 Ch 01 Voltage Offset_Cal Channel Voltage Offset Cal Storage Registers Base 10216 Ch 02 Voltage Offset_Cal Base 10416 Ch 03 Voltage Offset_Cal non volatile Base 10616 Ch 04 Voltage Offset_Cal Base 10816 Ch 05 Voltage Offset_Cal Base 10A16 Ch 06 Voltage Offset_Cal Base 10Ci6 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
64. 16 4016 or decimal 49 152 LADDR 64 where C000 16 49 152 is the starting location of the register addresses 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 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 A16 Address Space When the A16 address space is inside the HP E1405 E1406 Command Inside the Command Module Figure B 2 the module s base address is computed as Module pr Mamtamg 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 addresses 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 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 ha
65. 1d a 10 a Lee Ses iat at sia a vo Jong 10 a i ii Mode Jumpers i 0 11 1 1V 11 a cry ES Oe NE gee ee A A yee PY qi ii 1 i La id dia i i i 50 a i y io io a i hannel id 14 i i Channe LI 7 ia 10 a 1 Control Calibration 10 11 1 Control 10 10 1 10 10 1 i and CH9 16 11 11 1 i Self Test ii ii i i CH9 11 11 a i 10 id i 1 10 10 1 i H16 O TEETY a ia 04 i i e i NON i ii dd i i i ISOLATED i CH9 11 10 HI a i i 17 DAC ia a Lo CH9 a i ee J ios Si Hs i i ji 1a LS 1 i jed gt mm UCC ii 1 i z Output Relay a a i 1 11 11 1 1 PP Posse a pza 10 10 rd 1 1 i ISOLATED i 11 11 a 1 i i cHi6 10 oo 0 i i gt i g 10 io Ml i 1 i l i Be f 11 11 to CH16 i 1 ereere d 11 11 HS 1 i 10 ii ES a i ii 11 a i Output Relay ii ii i 10 1 Program Jumpers 4 10 io s d cha 1 1 11 11 ba k j i 10 ii a i 1122 DS o iosi 1 10 0 0 0 fd ii gt Cd z i i i ia i 1 11 a 2 jonsi 1 11 10 Mode Jumpers E 1 1 10 i Channels 9 thru 16 115 1 11 10 q Lac a d Land Llar 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 16 Module Setup and Installation Chapter 1 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 Isolate
66. 418A 8 Channel D A Converter with Non lsolated Outputs HP E1418A Option 001 16 Channel D A Converter with Non lsolated 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 Description 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 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 mod
67. 6 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 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 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 1 to 8or1 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 ltol6for 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
68. 8A User s Manual 184 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 control 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
69. 9 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 442442 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 TRIGE SOURCE si eae Oe RRA EES BA RRS ER 105 TRICGS6SQLIKCES y 2 Gee ORE REE OA TR ARA 105 TEEE 488 2 Common Command Quick Reference o 106 HF E1418A Command Quick Reference s os hs coe eee a 107 Appendix A HP E1418A Specifications o o e 111 DE VOIR cies EA a a Ei PEER dea 111 DE Cumont 4 vais e REIR AS AAA 111 General Charactenistics s seca Be RR RSS HERA S ORS 112 Power Requirements cir BRAS REKKRE GK HSER EV ER EGR E HHS 112 Cooling Requitemen s 6 444 4 aer AA EGE 112 Appendix B HP E1418A Register Based Programming 113 Addressinp the Registers caca TEESE RE SE SS 114 PG ROC a dr oe Ok ee Ee A ee SS SSS SWE ES 114 APS ROWE Cn ok Pe hee Oe SPEEDO HEED EST DERE REDE SES 115 Tite Bate AUTRE yc 6 gk hoe Rekha ORAS Ee EE OK ORG RE RO 117 Mi o A Re ee OR ee eS Oe oS SHES 4 118 HP E1418A 8 16 Ch D A Converter User Manual Contents 3 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 REGIST
70. 9 703 1 14 3143 HP E1418A User s Manual 9 Notes 10 HPE1418A User s Manual 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 i Telephone Number with Area Code i Please list the system controller operating system programming language and plug in modules you are using fold here NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL o FIRST CLASS PERMIT NO 37 LOVELAND CO A E POSTAGE WILL BE PAID BY ADDRESSEE y HEWLETT PACKARD COMPANY Measurement Systems Division o Learning Products Department P O Box 301 Loveland CO 80539 9984 Hold dildo deta dodo 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 Illustrations are clear and helpful O O O O O e The documentation meets my overall expectations O O O O O Pleas
71. AA 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 CALDEO 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 o ooo 2 20000 eee eee 72 CALibrationn VALue CURRent o de CALibrationn VALue VOL Tage o o ee 74 PUNO 20024 a A 76 DIAGnostic CALibration OUTPut MODE 76 DIJAGnostic CALibration OUTPut MODE o TI DIAGnostic CONFIGWE wk ee eK RRR EKER REE RRR ER HEH TI DIAGnostie QUTPW ALLESTATe coronar ERR DAHER OES 78 DIAGnostic SOURcen FUNCtion MODE 78 DIAGnostic TRiGesed m5 REDE a a a EEE 79 INTA ed o Ad RA AA AS E E de GOES 80 INTRAtLIMNl tE cien rra A A Re ee 80 OPPIE ne ee he Fan eB phate aw Gori a tend GD e
72. ACT 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 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 module 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 st
73. Address Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base 19016 a SEE 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 EA ene READ 6th Least Significant Byte 5th Least Significant Byte Address Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Base 19416 Sos foc o ag 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 ee tgs 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 5 Isolation Status Register 690 Reg_offset 11 Program Jumper Re
74. 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 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 TID eop ie a aa th ee ea oh a ok e de a ae do 29 Terminal Module Comectors 5 4s Ke yee KORE De a aH eki 30 Configuring the Terminal Module lt e cre rers ereda ee a kR kE Lpa 31 PUTO a A AS REA A ARA 31 VILIIDBOE irradia PERG EO Red 31
75. Ction MODE lt CURRent VOLTage gt FUNCtion MODE VOLTage LEVel MMediate AMPLitude lt value MIN MAX DEF gt VOL Tagelr UE IMMediate AMPLitude lt MIN MAX F gt VOLTage LEVel TRIGgered AMPLitude lt value MIN MAX DEF gt VOLTagel AE TRIGgered AMPLitude lt MIN MAX F gt Command 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 STTLTrgn 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
76. D 3816 A24_Window 000E0 46 16 Registers whi 3016 A24_Window OOODE 16 UNDEFINED 3446 A24_Window 000046 16 Registers 0110 3216 A24_Window O00BE 16 3016 A24_Window 8 CHANNEL GAIN_DAC REGISTERS 2E 16 A24_Window 000A0 16 16 Registers DES 2016 A24_Window 000916 3 CHANNEL OFFSET_DAC REGISTERS 2A16 A24_Window 0008046 16 Registers 0100 2816 A24_Window 0007E 1 2616 A24_Window 3 MAIN_DAC TRIGGERED REGISTERS 2446 A24_Window 0006016 16 Registers q 2216 A24_Window 000516 E MAIN_ DAC IMMEDIATE REGISTERS 2016 A24_Window 00040 46 16 Registers 0010 1E 46 CARD CONTROL 0010 0003E 16 3 A24 WINDOW REGISTERS 0002046 16 Registers 0001 0001E 46 0016 CARD CONTROL 3 CARD CONTROL REGISTERS oe E1418A FIG APPB3 0000016 16 Registers A24 Window Value 4 bits Figure B 3 A24 Windowing into the A16 Registers 116 HP E1418A Register Based Programming Appendix B The Base Address 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 A16 Address Space When the HP E1405 E1406 Command Module is not part of your VXIbus Outside the Command system Figure B 1 the HP E1418A s base address is computed as Module Base Address C00016 LADDR
77. D C G lt gt SSooococesoscoscd Sceoeoecoocececog Voltage Output Voltage Current A 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 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 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
78. 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 Triggered New output values Base 6616 Ch 04 Main DAC Triggered jabber Gant 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 7A16 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 Mogisters 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
79. E1418A E1418A Option 002 ltol6for 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 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 DEF Comments In the keyword SOURcen the valid range of nis lto8for E1418A E1418A Option 002 ltol6for 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 SC
80. ERS 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 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 Calibr
81. H 16 LS CH5H CHSH CH5L CH5L CH 6H CH6 HI CH6L CH6L CH7H CH7H CH7L CH7L CH 8H DVNO H HDHO HHO 18 Module Setup and Installation Chapter 1 Setting the Logical Address Switch Note Switch position is shown in black 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 the 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 0
82. HP E1418A Error Messages 152 Notes 153 HP E1418A Error Messages Appendix C 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 El418A 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 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 electron
83. Ibus 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 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 the 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 ot ok READ Nee MODID Unused Ready Passed Unused WRITE A24 Unused SYSINH RESET EN READ A24
84. 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 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 MTT HT E P J oo POO OOOO OO C SOOCCOCCOCOCCCOO PJ os CICICICICICICICICICICI Foo HS HI LO LS VARS 7 IV o0 bes So oooooooooo V I oo wie PDODODODODODI 12 00 HS HI LO LS HS HI LO LS HS HI LO LS Moo 4 5 6 HS HI LO LS HS HI LO LS 8 CAL
85. 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 E1418A E1418A Option 002 ltol6for 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 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 TRIGgered AMPLitude SOURcen FUNCtion MODE CURRent 88 HP E1418A SCPI Command Reference Chapter 3 SOURce SOURcen FUNCtion MODE Parameters Comments SOURcen FUNCtion MODE lt mode gt configures channel n for either current or voltage output Parameter Parameter Range of Default Name
86. Memory non volatile A16 Current Offset Cal Memory non volatile Bie Current Gain Cal Memory non volatile C16 Cal and Configuration Registers non volatile D16 Undefined Cal Memory non volatile E16 Undefined Cal Memory non volatile F16 Undefined Cal Memory non volatile Appendix B HP E1418A Register Based Programming 137 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 tp 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 Wri
87. 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 Assembly Exchange The following assemblies are available for exchange Notes CAUTION To Exchange an Assembly 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 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 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 stat
88. PI Command Reference 91 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 SOURCcen VOLTage LEVell IMMediate AMPLitude Parameter Parameter Range of Default Name Type Values SOURcen keyword 1to8or1 to 16 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 Option 002 ltol6for 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 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 e Ifa parameter is given MIN returns 16 000 MAX returns 16 000 DEF returns 0 0000 e This command generates an error if channel n is in the current output mode e Related Commands SOURcen VOLTage LEVell MMediate AMPLitude SOURcen FUNCtion MODE VOLTage 92 HPE1418A SCPI Command Reference Chapter 3 SOURce SOURcen VOLTage LEVel TRIGgered AMPLitude SOURcen VOLTage LEVel TRIGgered AMPLitude lt value MIN MAX DEF gt outputs the voltage set
89. PPLy 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 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 76 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 In
90. Sistance CALibrationn CONFigure VOLTage or CALibrationn CONFigure CURRent command has been received and the calibration process is not yet complete RST Condition no effect CLS clears the contents of the Operation Status Register 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 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 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 Questionable Event Register are OR d together to create the Question
91. T USED Appendix B 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 001FE 16 3 UNDEFINED 001E0 16 16 Registers 1111 001DE 16 3 UNDEFINED 001C016 16 Registers 1110 001BE 16 3 UNDEFINED 001A016 16 Registers 1101 0019E 46 3 CAL amp CONFIG REGISTERS 0018046 16 Registers 1100 0017E 46 3 CHANNEL CURRENT GAIN_CAL REGISTERS 0016016 16 Registers 1011 0015E46 3 CHANNEL CURRENT OFFSET_CAL REGISTERS 0014016 16 Registers 1010 E1418A 0013E16 A16 REGISTER MAP 3 CHANNEL VOLTAGE GAIN_CAL REGISTERS son 0012016 16 Registers REGISTER 16 BIT OFFSET WORDS 0011Er6 E CHANNEL VOLTAGE OFFSET_CAL REGISTERS 3Es6 A24_Window 0010046 16 Registers 1000 3C16 A24_Window OOOFE 10 3A 6 A24_Window 3 UNDEFINE
92. Type Values SOURcen keyword 1 to 8or1 to 16 1 lt mode gt discrete CURRent or VOLTage none e In the keyword SOURcen the valid range of n is lto8for E1418A E1418A Option 002 ltol6for 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 Ifthe 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 is set by the V I jumper 0 volts or amps output relay open e Related Commands SOURcen FUNCtion MODE SOURcen CURRent commands SOURcen VOLTage commands Chapter 3 HP E1418A SCPI Command Reference 89 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 1 to 8or1 to 16 1 Returns string Comments In the keyword SOURcen the valid range of n is lto8for
93. UTPut 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 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 Commands 61 Initial Operation 37 INITiate Subsystem INITiate IMMediate 54 80 Installation isolation plug on modules 171 172 of module 20 verification
94. WITCHBOX 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_I 0 E1330A A 04 03 ROM D A E1328A A 04 02 ROM ms QG Verify that the string E1418 E1418 A 01 00 is located somewhere within the returned string Chapter 1 Module Setup and Installation 37 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 IDN 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 Chapter 2 Programming Examples Using This Chapter Program Examples Note This chapter provides examples and descriptions of the most common operations using the HP
95. a calibrated voltage on channel 3 Write_a16 Reg_offset 15 8 Off_con FNRead_a16 Reg_offset 18 Write_a16 Reg_offset 15 4 Write_a16 Reg_offset 18 Off_con Write_a16 Reg_offset 15 9 Gain_con FNRead_a16 Reg_offset 18 Write_a16 Reg_offset 15 5 Write_a16 Reg_offset 18 Gain_con Write_a16 Reg_offset 15 2 Write_a16 Reg_offset 18 Out_val Write_a16 Reg_offset 0 15 18 14 Map A 24 voltage offset cal registers Get the channel 3 voltage offset cal Map A 24 channel offset registers Put in the offset constant Map A 24 voltage gain cal registers Get the channel 3 voltage gain cal Map A 24 channel gain registers Put in the gain constant Map A 24 channel Main_DAC registers Program the output value Close all output relays Write_a16 SUB Write_a16 INTEGER Register INTEGER Value Laddr 09 OUTPUT 70900 VXI WRITE amp Laddr amp amp VAL Register amp amp VAL Value SUBEND Read_a16 DEF FNRead_a16 INTEGER Laddr 09 Register OUTPUT 70900 VXI READ amp Laddr amp amp VAL Register ENTER 70900 Reading RETURN Reading Read_a16_end FNEND 0 Appendix B HP E1418A Register Based Programming 149 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 when programmed by SCPI Errors with negative values are govern
96. able 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 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 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
97. able macro query Queries execution state of macro n RMC Remove macros Removes all macros 106 HP E1418A SCPI Command Reference Chapter 3 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 the 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
98. ading Do not combine this bit setting with other bits in this register write only this bit Appendix B HP E1418A Register Based Programming 129 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 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 pase POMC BEAD Undefined Configuration Terminal Configuration When the module is configured as an 8 chann
99. age 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 Adjustment Procedure Preparation If Permanent If Temporary Adjustment 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 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 Reinstall the module in the mainframe Make
100. age 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 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 calibration 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 DIAGnostic DIAGnostic The DIAGnostic subsystem contain
101. al 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 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 m
102. arameters 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 E1418A SCPI Command Reference Chapter 3 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 VXIbus 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
103. ard 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 ae Bottom Cover Plug on Modules 8 Pa Main Board ae Sheet Metal Spacer NS m Top Cover Figure E 1 8 Channel Disassembly 169 Configuration and Disassembly Appendix E Bottom Cover Main Board ESS Expansion Board Top Cover Figure E 2 16 Channel Disassembly Appendix E Configuration and Disassembly 170 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 Thes
104. ate 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 Address Base 0616 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 READ A24 Offset 0 0 0 0 0 0 0 0 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 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 00 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 f
105. ation Registers o o 142 Channel Current Gain Calibration Registers ss oa cerraron 143 Calibration Resistor Valtie Registers ck we ee eRe eR eee EO 144 Voltage Calibration Status Register 2 2 ee ee 144 Current Calibration Status Register sea raserna Ree Se eRe Yo x 145 Calibration Isolation Status Repister ssa 605 ee Ro RO A A kn 146 Calibration Card Configuration Register o e 147 Calibration Ch cksum Replstr oan eink ek dw PEG RA 147 Module Serial Number Registers os cr 52004 RR A 148 Re cister Example erene chek dee ede Kh SEG OS REE KER EEHES 148 Appendix C HP E1418A Error Messages o e e 150 Enor yo sarria RARE Re De ROR EER eared A 150 Error Messages asirar RE RARER DRS DRED AS EK WR RE BRS 151 Appendix D Voltage Current Output Adjustment 154 Using TH APpendix cesa ar AE A EE HOG ES EERE EOS EH ES 154 Calibration Constants and Non Volatile Memory o ooo oo 155 Egupm nt Reguired osea eect oe SRR SLIDES LENS AREAS 155 4 HP E1418A 8 16 Ch D A Converter User Manual Contents 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 Us
106. ation 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 current 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
107. atus Register VXI Control Register Base 0616 VXI Offset Register Base 0816 Calibration Control Register Card E 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 l Control Base 1816 Chan_Trigger Register Registers Base 1A16 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 A24 REGISTERS 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 e output relay is 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_
108. ble 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 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 Memory Calibration constants in RAM are corrupted Recalibration is 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 state 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
109. 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 ne w 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 CALibration CALibrationn CONFigure CURRent Parameters Comments CALibrationn CONFigure CURRent configures the channel for current mode calibration and returns a O or 1 to indicate the channel s readiness for calibration Parameter Parameter Range of Default Name Type Values CALibrationn keyword 1 to8or1 to 16 1 Returns an unsigned 16 bit integer
110. 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 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 and the sense connections need not be made Channel 2 is connected in Connections the 4 wire voltage output mode Use this connection for the highest voltage accuracy 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 SF O e MITA MITO 252320300300 oooJd OD OOOO O po oOoOoo 2950500000000 220500000000 jojojo jeje e Jen Jen jojojo jojojo jejeje 2222520000000 Channel 1 Channel 2 Channel 3 HS HI LO LS HS HI LO LS HS HI LO Ls CCD 1G G
111. ctable 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 CALibration CALibrationn CONFigure VOLTage Parameters Comments 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 Parameter Parameter Range of Default Name Type Values CALibrationn keyword 1to8or1to16 1 Returns an unsigned 16 bit integer uint16 1 ready O not ready e In the keyword CAL ibrationn the valid range of n is lto8for El418A E1418A Option 002 ltol6for 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 made using the DIAGnostic CALibration OUTPut MODE command When the DIAG CAL OUTP MODE CALBus command also the reset state is used the output relay routes the calibration voltage to the CAL output terminals and opens all channel output ter
112. d 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 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 Front Panel Connectors Figure 1 3 shows the connections at the front
113. dicates a non isolated channel Bits 0 15 correspond to channels 1 16 respectively 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 indicates the channel has been calibrated for current Bits 0 15 correspond to channels 1 16 respectively 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 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 e 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 e This query may also be used to set an external calibration resistor value when calibrating at each channel output e This query is used toge
114. e 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 on the channel selected by the base address Values a
115. e 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 trigger Chapter 3 HP E1418A SCPI Command Reference 105 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 ANSVIEEE 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
116. e 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 Appendix 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 Notes 6 HP E1418A 8 16 Ch D A Converter User Manual Contents 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 Standards Organization members Warranty This Hewlett Packard product is warranted against defects in mat
117. e Card Control Register allows for access to the A24 address space from 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 1E16 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 1E 16 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
118. e 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 field 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 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 MEN 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 Base tag
119. e 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 Note 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 Expansion Main Board NO DE 202 2 KO6 amp KEE O Lf O y EY O AA A f aoe Y
120. e write any comments or suggestions below be specific 12 HP E1418A User s Manual 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 eee eee eee eee Page 13 e Functional Description 00 0 eee ee eee Page 16 e Front Panel Connectors 0 2 0 0 ce eee eee eee Page 18 e Setting the Logical Address Switch Page 19 e Module Installation 0 0 cee eee eee Page 20 e Terminal Modules 00 cece eee eee eee Page 22 e Wiring the Terminal Module 4 Page 23 e Attaching the Terminal Module Page 25 e Removing the Terminal Module Page 26 e Terminal Module Options 2 0000000 Page 27 e Terminal Module Connectors 20000 Page 30 e Configuring the Terminal Module Page 31 e Terminal Module Connections 0 5 Page 33 e Initial Operation 00 0 0 eee 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 v
121. e1 FUNCtion MODE VOLTage OPC enter the response 56 Programming Examples Chapter 2 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 OUTPuti0 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 combined 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
122. ectrical layout of the module Use this appendix to Disassemble and reconfigure the module Perform assembly level troubleshooting Procedures in this appendix should be performed by qualified service personnel at approved static safe workstations 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 Use the following SCPI command to check the configuration of a module You 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 Appendix E Configuration and Disassembly 166 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
123. ed 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 register 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 lMMediate 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 HP E1418A Command Quick Reference Notes 110 HP E1418A SCPI Command Reference Chapter 3 Appendix A HP E1418A Specifications DC Voltage DC Current Range 16 V Resolution 16 bits 488 uV steps Monoto
124. ed 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 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 one 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 SOUR
125. ed to recalibrate the module 146 HP E1418A Register Based Programming Appendix B 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 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 conf
126. ediate 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 Triggered 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 Channel Mode The Channel Mode Register reports or programs the voltage or current Register operating mode for each channel Address Base 1A16 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 READ Ch Ch 16 15 WRITE 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
127. el 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 0 0 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 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 Bese 0018 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
128. elays Use the DIAGnostic OUTPut ALL STATe command to set all channels with a single command RST Condition All output relays open Related Commands OUTPutn STATe DIAGnostic OUTPut ALL STATe 82 HP E1418A SCPI Command Reference Chapter 3 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 ltol6for 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 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 TRIGgered AMPLitude lt value
129. en 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 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 Registers 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 80016 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
130. erials 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 this product is the sole responsibility of the Buyer HP does not warrant the Buyer s circuitry or malfunctions
131. 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 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 all 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 MMediate 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 contain
132. ery TEST TST RESults 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 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 of 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 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 cha
133. eters 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 E1418A E1418A Option 002 ltol6for 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 n 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 channel 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 SOURce SOURcen CURRent LEVel TRIGgered AMPLitude SOURcen CURRent LEVel TRIGgered AMPLitude lt
134. g 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 VOL Tage 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 o plo O ETTET TTT TTT TTT TTT TT ISSO Soocooooooo L S2 0000000000 PDOODODODODODOoool PpoooDo oo oapoa i DOTO GOOO PODIDO poo DUDO Ooo SO O OOOO O DMM Figure D 2 Voltage Calibration Connections CAL O ETTITA plo ISSO Soocoooooo S22222000000 DODODODODODODoool OoOooooooooooOo DO ODOOOODOOOO MB DOCOOCODOOOO DPDODODODODOOOO Gungner AE DODODODDODOOO DobOooooooooooOg f X SBOoooooPoeccsod N sjojojojojojoejoejejejejo f N
135. ge output channels 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 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 a 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 ie err viPrintf dac IDN An request id from the module err viScanf dac t amp buf enter string returned printf Module is identified as a sin buf print the result Get the module configuration nad 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 device n num_chan 16 else printf Module is an 8 channel
136. gical 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 16 E1418A_BASE 3FFFF 76 E1418A_BASE 00000 6 A24 ADDRESS SPACE 000000 46 E1418A_BASE is assigned by the Resource Manager 1418A FIG APPB2 E1418A SFFFFi g A24 REGISTER MAP REGISTER 16 BIT E1418A A24 OFFSET WORDS ADDRESS 3FFFF 16 NOT USED SPACE e o 256 KBYTES e 0000046 0020015 NOT USED 001E0 6 Undefined Undefined Undefined Calibration amp Configuration Registers Channel Current Gain_Cal Registers 2016 Channel Current Offset_Cal Registers Channel Voltage Gain_Cal Registers 0010016 Channel Voltage Offset_Cal Registers O00E0 5 Undefined Undefined 000805 000605 0002016 Channel Gain_DAC Registers Channel Offset_DAC Registers Main_DAC Triggered Registers Main_DAC Immediate Registers A24 Window Registers 0000046 CARD CONTROL Registers Figure B 2 Register Locations in A24 Address Space NO
137. gister 691 Reg_offset 12 Channel Trigger Register 692 Reg_offset 13 Channel Mode Register 693 Reg_offset 14 Relay Control Register 694 Reg_offset 15 Card Control A24 Window Register 695 Reg_offset 16 A_24 Window Register Channel 1 DAC and CAL 696 Reg_offset 17 A_24 Window Register Channel 2 DAC and CAL 697 Reg_offset 18 A_24 Window Register Channel 3 DAC and CAL 698 Reg_offset 19 A_24 Window Register Channel 4 DAC and CAL 148 HP E1418A Register Based Programming Appendix B 2200 2201 2202 2203 2204 2205 Notes Reg_offset 20 40 LA Reg_offset 21 42 IA Reg_offset 22 44 IA Reg_offset 23 46 IA Reg_offset 24 48 LA Reg_offset 25 50 LA Reg_offset 26 52 LA Reg_offset 27 54 LA Reg_offset 28 56 LA Reg_offset 29 58 IA Reg_offset 30 60 IA Reg_offset 31 62 LA Channel 5 DAC and CAL Channel 6 DAC and CAL 24 Window Register Channel 7 DAC and CAL 24 Window Register 24 Window Register 24 Window Register 24 Window Register 24 Window Register 24 Window Register 24 Window Register 24 Window Register 24 Window Register 24 Window Register 24 Window Register 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 Channel 14 DAC and CAL Channel 15 DAC and CAL Channel 16 DAC and CAL a IA A EXA O gn Output
138. h header file include visa h Chapter 2 Programming Examples 39 Hewlett Packard VTL function calls and data types typically 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 HEWLETT 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 The DIAG CONF query returns six integers The six integers returned contain the module configuration and have the following meaning Integer Returned Meaning tst Expansion Board ID in the form 0 present 7 none expansion board contains channels 9 through 16 2
139. he module where they are used during output operations 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 CALibration CALibration VALue RESistance CALibration VALue RESistance lt value gt enters anew measured value to be used as the internal calibration resistor constant
140. he 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 1to8or1 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 ltol6for 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 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
141. he 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 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 programmable A bit set to 1 indicates a channel is programmable Bits 0 15 correspond to channels 1 1
142. ia 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 mechanical jumpers on the terminal module Chapter 1 Module Setup and Installation 13 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 LSO Ey as OS Figure 1 1 The HP E1418A 8 16 Channel D A Converter with Terminal Module 14 Module Setup and Installation Chapter 1 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 E1
143. ic 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 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 obtained 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 Notes 175 Configuration and Disassembly Appendix E 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 ABOR
144. ically There are no mechanical adjustments in the module Appendix D Voltage Current Output Adjustment 154 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 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 Volt
145. ield 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 Scale is set to O 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 6V _ AD Reading Value 255 steps 13 7 Voltage 16 8 V 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 re
146. iguration 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 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 eee eee 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 Module Se rial The Module Serial Number Registers provides a 10 byte module serial g P y Nu mber Registe rs 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 oer ET READ 2nd Least Significant Byte Least Significant Byte
147. 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 on 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 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 Base tee READ Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch Ch cn 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 TM TM TM TM TM TM TM TM TM TM TM TM TM TM TM TM Notes Ch XX TM A ore 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 imm
148. 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 n is lto8for E1418A E1418A Option 002 ltol6for 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 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 is generated Related Commands SOURcen VOLTage LEVel TRIGgered AMPLitude SOURcen FUNCtion MODE VOLTage Chapter 3 HP E1418A SCPI Command Reference 93 SOURce
149. ing 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 FFFF 16 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 FFFF16 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 Register Maps A16 A24 REGISTERS Address Read Registers Write Registers Type Base 0016 ID Register Logical Address Register VXI l Required Base 0216 Device Type Register Registers Base 0416 VXI St
150. ister 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 ooo ooooooommmmo Page 114 e Reset and Registers 0 0 cee eee eee eee Page 119 e Register MapsSis ecset ees ai tant Page 120 e Register Descriptions 00 0 e eee eee eee Page 126 e Register Example 0 0 eee eee eee eee Page 148 Appendix B HP E1418A Register Based Programming 113 Addressing the Registers A16 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 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 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
151. 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 programming 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 Bt 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Baer ieie READ Ch Ch Ch ch Ch Ch ch ch ch ch Ch ch ch ch ch ch arre 1 16 15 14 13 12 11 10 09 08 07 06 o5 04 03 02 01 Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Relay Note 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 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 Card Control Th
152. l 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 Adding 8 Channels Use this procedure to install an 8 Channel expansion kit HP E1524A or HP E1525A 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 Tools Needed T10 Torx Driver one is provided in the kit Static Safe Workstation Static Wrist Strap Procedure 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 bo
153. lation Chapter 1 Initial Operation 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 for command interpretation Examples in ANSI C are given in the next chapter Note 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 Device Driver The HP E1418A module is shipped a driver CD This CD contains the SCPI instrument driver VXIplug4play 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 S
154. le 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 condition 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 config
155. minals 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 CALibration CALibrationn VALue CURRent Parameters Comments CALibrationn VALue CURRent lt value gt enters a measured calibration value and returns a value indicating the present state of the current calibration process Parameter Parameter Range of Default Name Type Values CALibrationn keyword 1 to8
156. n 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 e MOTTA TTT TTT TTT o MITRA S205000000000 SSoScoocoooocodJ j j Zo S2502000000 So POCDODOODOODaO oo PY S HI LO LS 5920000000000 BDODODODODOaO NLS QL D N HI SLHS MM 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 val
157. n 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 Store 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 Ena
158. nd 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 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 volta
159. nd a voltage or current output that 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 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 on page 62 For example Set channel 1 voltage mode SOURc
160. nd 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 short form is generally used for examples in this manual 60 HP E1418A SCPI Command Reference Chapter 3 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 Parameters 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 yo
161. nic to 2 0 mV Accuracy of 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 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 Amps Configuration 5V 5V 12V 12V 24 V 24 V 24 V 24V
162. nnels 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 TRIGger TRIGger SOURce TRIGger SOURce sets the trigger source for the module Parameters Parameter Parameter Range of Default Name Type Values lt source gt discrete TTLTO TTLT1 TTLT2 TTLT3 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 stat
163. ode 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 trigger 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 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 1
164. 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 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 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 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 Triggering
165. 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 Enables 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 En
166. on 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 Channel Current Offset Calibration 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 Registers base 14216 stores channel 2 up to base 15E16 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 14016 through msb Isb Base 15E16 WRITE Unused Current Offset Calibration Constant 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 maximum negative offset 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 wh
167. 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 Extra Crimp and Insert Connectors Option A3H Note Option 135 The crimp and insert connector is normally supplied with Option A3E Contact Hewlett Packard if additional connectors are needed Order HP 91484B 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 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 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 Terminal Module Connectors Figure 1 12 shows the connections at the terminal module connectors
168. 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 3 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 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
169. or1 to 16 1 lt value gt numeric float 32 0 0 to 6 0 V none Returns unsigned 16 bit integer uint16 e In the keyword CALibrationn the valid range of n is lto8for E1418A E1418A Option 002 ltol6for 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 needed Resistance is not calibrated 5 Calibration aborted Chapter 3 HP E1418A SCPI Command Reference 73 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 5
170. query returns the result of the first failure found if any This query provides a means to check all test failure codes e This command may be used if the value returned by the TST query is other than O and complete self test results are needed e Complete descriptions of each test and specific codes returned in the Test Info and A24 fields are contained in the HP E 418A Service Manual e 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 5 4 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 TEST TST 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 Parameters None Comments Following the completion of this query 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 query is received an error is generated e The returned value indicates the first failure found Complete test results all failures found are reported by the qu
171. r i 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 Es Condon Register Lent Register noble Register 6 64 0f Calibrating 0 Calibrating 7 128 Not Used Not Used o SE Not Used Not Used 10 1024 Not Used Not Used 1a ao Not Used Not Used 13 8192 Not Used Not Used 14 16384 Not Used Not Used 1952788 Not Used Not Used i 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 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
172. re in the range 00016 minimum gain 80016 nominal gain FFF16 maximum gain Appendix B HP E1418A Register Based Programming 139 Note Undefined Registers Channel Voltage Offset Calibration 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 Registe rs base 10216 stores channel 2 up to base 11E16 which stores channel 16 This register is non volatile Address Bit 15 14 13 12 11 10 09 08 O07 06 05 04 03 02 01 00 Base 10016 through msb Isb Base 11E16 WRITE Unused Voltage Offset Calibration Constant 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 Notes 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 Non volatile
173. readiness for calibration CONFigure VOL Tage 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 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 HP E1418A Command Quick Reference lt value MIN MAX DEF gt CURRent LEVel MMediate 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 FUN
174. s 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_addr offset width Base_addr 1FC00016 LADDRie 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_adadr 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 Reset and Registers Follow
175. s 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 2 Like the APPLyn commands you can change the output value by sending additional SOURcen commands Changing the output value with the SOURcen 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 Setting the Output Mode The output mode can be set using commands in the SOURce subsys
176. s commands used to check the module configuration enable or disable all outputs simultaneously change a channel 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 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 DIAGnostic DIAGnostic CALibration OUTPut MODE DIAGnostic CALibration OUTPut MODE queries t
177. s 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 service 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
178. sed 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 Test Info e The description of TST provides a brief listing of the test numbers Chapter 3 HP E1418A SCPI Command Reference 101 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
179. sult 0 while result lt 1 err viPrintf dac CAL d CONF CURR n i Configure for calibration if err lt VI_SUCCESS err_handler dac err 163 Voltage Current Output Adjustment Appendix D 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 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 R 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 Notes 165 Voltage Current Output Adjustment Appendix D Appendix E Configuration and Disassembly Using This Appendix CAUTION Configuration Checking Configuration This appendix contains information about the mechanical and el
180. t 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 inside 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 HP E1418A User s Manual 176 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 intern
181. tem 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 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 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
182. terrupt 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 channels 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 HP E141
183. the CAL output terminal connections on the terminal module Install the terminal module Apply power and allow a 15 minute warm up O 0D UU CAL Jumper L Secured CAL Figure D 1 CAL Store Enable Jumper 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 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 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 usin
184. the store is complete You can use the OPC query as described on page 56 if needed If you have changed the position of the Cal Store Enable Jumper as described on page 156 and you wish to prevent writing calibration constants to non volatile memory set the jumper to the SECURE position 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 int config_check float get_voltage Waits for a keystroke to continue program execution Checks and reports the module configuration returns the number of channels in module Obtains the measured voltage float get_resistance Obtains the measured resistance void main void char cal_point 5 int_ext 4 int num_chan result compare i condition 4 float meas_volt meas_res e Appendix D Voltage Current Output Adjustment 162 pue VOLTAGE OUTPUT ADJUSTMENT AB for i 1 si lt num_chan 1 i result 0 while result lt 1
185. ther with the CALibration VALue RESistance command to calibrate the current calibration resistor e Refer to Appendix D Voltage Current Output Adjustment starting on page 154 for additional information about this command e Related Commands CALibration VALue RESistance CALibration RESet CALibration RESet reloads for module use the calibration constants stored in non volatile memory Parameters None Comments This command with respect to the calibration constants performs the same action as power on e 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 e If the trigger system is waiting for a trigger when this command is received an error is generated e This command opens all output relays e Related Commands CALibration STORe 68 HP E1418A SCPI Command Reference Chapter 3 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 t
186. ting 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 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 Address Base 6016 through Base 7E16 Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 WRITE Output Value 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 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 registers one for each output channel The register at bas
187. tion 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 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 A
188. ts Jumper Storage ele v i ele_ v i Non programmable Programmable ele P J se P JJumper selected to current V I Jumper has no effect ee v i ee v l 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 Installation 31 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
189. u 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 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 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
190. ue 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 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 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 TT ID COOOCOOCOOOO CO O ETT TTT TTT TTT TTT TTT TTT TTTTTTT DOCDOTAOACAOASOEOS DocoDooDojpoDo DODODOODoooo MDM OOCOOCODOOOOe moomoo ooo ooooe DobOoooooooooowg
191. ule is structured A functional block diagram is shown in Figure 1 2 1r 1 Channels 1 thru 8 if Terminal i Power i NON 5 Output Reloy it Module Supply i ISOLATED 1 CH1 ii HI 1 Conditioning i y DAC l 10 LO 1 Subsystem Non volatile Channel iy ee J iA po CHI E i Memory Control 10 LS a i i i i epp acam a A lis 1 2i 1 ISOLATED 1 Do 0 S Output Relay 1d i ai CH1 i CH8 ii i i Si VXI i Pi 7 DAC 1 11 a i B i E i vi o HE i i ue Gis Saeed 11 HS 1 Control CH8 10 LS a Subsystem 10 1 y I lt EXT TRIG gt i gt EXT TRIGn i 10 1 Calibration 11 1 Control CH1 8 a l Qi and mate Lo i 10 D 1 KE Self Test ii OH CAL i id L 1 1 1 J Calbus Relay ii i 10 Program Jumpers 1 al CH1 1 ii 1 1 k 1 pl Sd cHe E i om CHI 3
192. uration 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 HP E1418A User s Manual 182 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 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 calibra
193. ven ee det we Oe Gey Oe ee ar 81 OUTP TTEA STARE sicario ESE KEES 81 QUITA CULTOS LA dels ace eeu oe bk SOG eS Owe EHS EEO 82 COUPE STATE tek ce eect ccm ect EE pa aim Ro RR ee hd 82 OUTPUT SINT 2 445 c e268 2045 dk EA RAG REBAR EDGER EES 83 A okt ees SERA Re DEAD ES ORME ee OS HERES E 84 2 HP E1418A 8 16 Ch D A Converter User Manual Contents 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 9

Download Pdf Manuals

image

Related Search

Related Contents

dreamGEAR 24 Hour Fitness 4 in 1 Fitness Starter Kit for Wii Fit & Wii Fit Plus  BULLETIN n°234 du 2ème trimestre 2014  Philips 51PW9303 51" Rear Projection HDTV    KitchenAid KCDP 9010/I cooker hood  DELL XPS 12  ドライブレコー 〝ーで さらなる安全と業務効率アップ。  Shuttle SX38P2 Pro  2012 Information Technology - Victorian Curriculum and  IP Gateway TurboVUi  

Copyright © All rights reserved.
Failed to retrieve file