Home
power supplies
Contents
1. 29 TDK Lambda 1 1 1 THE DIGITAL IEEE 488 2 SCPI PROGRAMMING OPTION INTRODUCTION The internal factory installed GPIB interface allows to operate the Genesys Power Supply from a computer via IEEE 488 communication bus The GPIB interface allows the user complete remote control of the power supply including output voltage and current limit programming setting the Over Voltage Protection Under Voltage Limit and Foldback protection The Output Voltage and Output Current can be measured and the power supply status can be monitored Commands that are standard with digital programming include Program Voltage Program Current Measure Voltage Measure Current Over Voltage Shutdown Current Fold Back Shutdown EEE 488 2 Compliant SCPI Compliant 1 2 SCOPE OF MANUAL This manual contains the information needed to operate the optional embedded digital interface used in the Power Supply The interface is contained on one circuit card It is op tionally installed by the factory at the time of manufacture 1 3 CONFIGURATION To operate on the IEEE 488 2 bus each supply will require that an IEEE Programming Interface be installed 1 4 GLOSSARY 1 gt 10 11 The HOST PC will be the computer in control of the GEN supply s when operating under com puter Remote control Point to Point Mode will mean that 1 IEEE Interface can control only 1 GEN supply Multi Drop Mode wil
2. where value is a number between zero and the maximum supply output voltage A decimal point is optional Syntax SOURce VOLTage PROTection LEVel SP value Alternate Format VOLTAGE PROTECTION LEVEL SP value Examples SOURCE VOLTAGE PROTECTION LEVEL 25 00 SOURCE VOLTAGE PROTECTION LEVEL MAX Notes If value equals MAX the supply will set its over voltage to its maximum level 12 TDK Lambda 2 4 1 2 READ THE OVER VOLTAGE PROTECTION LEVEL COMMAND Read the over voltage protection level of the Power Supply Syntax SOURce VOLTage PROTection LEVel Alternate Format VOLTAGE PROTECTION LEVEL Example SOURCE VOLTAGE PROTECTION LEVEL 2 4 1 3 READ OVER VOLTAGE TRIPPED STATE COMMAND Read if the Power Supply over voltage has tripped Syntax SOURce VOLTage PROTection TRIPped Alternate Format VOLTAGE PROTECTION TRIPPED Example SOURCE VOLTAGE PROTECTION TRIPPED Read the response number The normal response is 0 zero If a 1 one is returned an over voltage has occurred and the output is shut down 2 4 1 4 SET THE UNDER VOLTAGE PROTECTION LEVEL COMMAND Set the under voltage protection level of the Power Supply Syntax SOURce VOL Tage LIMit LOW SP value Alternate Format VOLTAGE LIMIT LOW SP value Example SOURCE VOLTAGE LIMIT LOW 25 00 2 4 1 5 READ THE UNDER VOLTAGE PROTECTION LEVEL COMMAND Read the under voltage protection level of the Power Supply
3. face will return an ON if the supply is Auto restart operation or an OFF if the supply is in Safe Start operation Syntax OUTPut PON Example OUTPUT PON Notes This command is in addition to the SCPI compliance requirements 2 5 6 READ SCPI VERSION COMMAND Read the SCPI Compliance year that this interface adheres to Syntax SYSTem VERSion Example SYSTEM VERSION 2 6 COMMON COMMANDS 2 6 1 CLEAR STATUS COMMAND Clears all event registers and stored error messages Relays the command to the Power Supply Syntax CLS Example CLS 2 6 2 SET SERVICE REQUEST ENABLE COMMAND Set the Service Request Enable Register Syntax SRE lt SP gt lt value gt Example SRE 140 Notes lt value gt is a decimal number representing the sum of all the enabled bits The range of lt value gt is 0 to 255 16 TDK Lambda 2 6 3 READ SERVICE REQUEST ENABLE COMMAND Read the value of the Service Request Enable Register Syntax SRE Example SRE Notes The returned value is a decimal number representing the sum of all the enabled bits The range of value is 0 to 255 2 6 4 READ STATUS BYTE COMMAND Read the value of the Status Register The Status Byte Register contains eight bits which are set to show that some other register has re corded an event or an error See Table 1 The response to this query will be a binary weighted number from 0 to 255 Syntax STB Example STB Notes The re
4. lt 0 gt Example SAV 0 2 6 14 RECALL POWER SUPPLY SETTINGS COMMAND Sends a command to the Power Supply causing it to recall its operating settings Recall Programmed voltage Current Over Voltage Under Voltage Remote Local Mode Auto Safe Restart and Current Fold Back If the output of the supply was set to an OFF condition by the Front Panel Button before the RCL command was sent the supply will remain in the OFF state Syntax RCL lt SP gt lt 0 gt Example RCLO 19 2 7 INSTRUMENT SELECT COMMANDS 2 7 1 SELECT SUPPLY Commands Interface to conduct communications with a designated supply when in Multi Drop Mode Syntax INSTrument NSELect lt SP gt lt nn gt where nn is the address of the select ed supply Example INSTRUMENT SELECT 17 Notes Upon power up the Master Supply will be automatically selected NSELect may be replaced with SELect 2 7 2 READ SELECTED SUPPLY NUMBER Syntax INSTrument NSELect Notes Returns the selected Supply number 2 8 STATUS COMMANDS 2 8 1 READ OPERATIONAL CONDITION EVENT REGISTER COMMAND Reads the Operational Condition Event Register and puts the result in the Output Queue Syntax STATus OPERation EVENt Alternate Format STATUS OPERATION Example STATUS OPERATION EVENT Notes The returned lt value gt is a decimal number representing the sum of all the event bits The range of lt value gt is 0 to 255 2 8 2 READ OPERATION
5. pliant instruments These registers allow the IEEE controller to examine the operational state of the supply in detail A fan out architecture is used so only one summary register needs to be read to know if an event occurred in any other register This fan out allows automatic test programs to efficiently manage the remote programming mode A diagram of the register structure is shown in Figure 4 for Point to Point Mode and in Figure 5 and Figure 6 for Multi Drop Mode 2 9 2 GLOSSARY OF REGISTER TERMS SERVICE REQUEST When an instrument the IEEE bus asserts the SRQ line in the cable it tells the controller that it has completed its task or that an error has occurred SERIAL POLL An IEEE function which reads back the data an instrument s Status Byte Register The controller should perform this function after every com mand to verify the command was successful REGISTER QUERIES Read the contents of registers The contents are returned as a binary weighted decimal number CONDITIONAL REGISTERS These contain bits that are set when a condition or error occurs The bits are only cleared when the condition or error is cleared The contents may be read but not changed ENABLE REGISTERS The various Enable Registers can be set to allow the sta tus and errors to be detectable by a Serial Poll 23 TDK Lambda EVENT REGISTERS These contain bits that are set when an event or error oc curs The bits are clear
6. error messages although the tenth is replaced by the 350 Queue Overflow if an eleventh message is generated After the queue over flow only the first ten messages are stored and the later messages are lost The SYST ERR queue is cleared by A Reading the messages one at a time using SYST ERR until 0 No error is read B CLS Clear Status command C Sending SYSTEM ERROR ENABLE command If any message is in the SYST ERR queue except No error then bit 2 of the Status Byte is set A Service Request is generated if enabled pid ERROR DESCRIPTION ERROR EVENT ERROR EXAMPLE 0 No error No error reported 100 Command error IEEE receives command with unspecified error i 2 character was received that is not V LT 50 101 a z A Z 0 9 period space CR LF VOLT 50 4 BEAS VOLT 102 Syntax error IEEE receives unrecognized command word VOLTS 150 IEEE receives command parameter with wrong type of data Example CURRENT NA 104 Data type error receives letter where number expected OUTPUT DC 109 Missing parameter Valid command received but not enough parameters VOLT 412 Program word too long Command word had more than 14 characters before separator space or MEASUREVOLTAGE colon was found 222 Data out of range Attempt to program voltage current or OVP beyond supply limits 241 Hardw
7. interface version Syntax IDN Example IDN Return message example Lambda 6 200 S N 11111 111111 REV 1U 3 0 D 2 6 9 RESET COMMAND Resets the Power Supply Voltage and current are set to 0 Supply output is set to OFF Supply enters Remote Mode Operation Syntax RST Example RST 2 6 10 SELF TEST QUERY COMMAND Test that the Interface and the Power Supply are operational This will be accom plished by sending a measure voltage command to the power supply The result of the measure voltage command is ignored The result will be tested for completion and or error Syntax TST Example IST Return message example 0 if supply test pass 1 if supply test fail 18 2 6 11 OPERATION COMPLETE COMMAND Set the Operation Complete Bit in the Standard Event Status Register when all operations have finished Syntax OPC Example OPC 2 6 12 READ OPERATION COMPLETE COMMAND Place a 1 in the Output Queue when all operations have finished Syntax Example OPC 2 6 13 SAVE POWER SUPPLY SETTINGS COMMAND Sends a command to the Power Supply causing it to save its operating settings Programmed voltage Current Over Voltage Under Voltage Remote Local Mode Auto Safe Restart Current Fold Back etc can be stored in Memory To change one or more settings enter the one or more commands with new settings and then enter this command Syntax SAV lt SP gt
8. the Status Byte see Figure 1 and Figure 2 will be set to 0 after this command is issued t will be the responsibility of the User Software to add a 200 Ms delay after each Global Command is issued and before any other command can be issued 1 0 TDK Lambda 2 3 2 GLOBAL PROGRAM OUTPUT VOLTAGE The output voltage of all supplies can be programmed by sending the command GLOBal VOLTage LEVel IMMediate AMPL itude s SP value where value is any valid voltage with or without a decimal place Alternate Format none Example GLOBAL VOLTAGE AMPLITUDE 15 77 2 3 3 GLOBAL PROGRAM OUTPUT CURRENT The output current of all supplies are programmed by sending the command GLOBALCURRent LEVel IMMediate AMPLitude lt SP gt lt value gt where lt value gt is any valid current with or without a decimal place Alternate Formats none Examples GLOBal CURRENT AMPLITUDE 15 77 2 3 4 GLOBAL EANBLE THE SUPPLY OUTPUT COMMAND All power supply outputs can be turned on by sending this command GLOBal OUTPut STATe lt SP gt 1 The output will immediately jump to the last programmed voltage and current Example GLOBAL OUTPUT STATE 1 Notes 1 can be replaced with ON 2 3 5 GLOBAL DISABLE THE SUPPLY OUTPUT COMMAND All power supply outputs can be shut off by sending this command GLOBal OUTPut STATe lt SP gt 0 This command is equivalent to programming the outp
9. to your project Option Dim str Explicit Private Sub 5 Dim SupplyUD As Integer easVolt As String 50 Private Declare Function GetTickCount Lib Example Program Written in Visual Basic supply device descriptor buffer for reading input message kernel32 As Long tart Click start program here after Start button clicked E port get User Device Description SupplyUD open IEEE TDK Lambda assume power supply address is set to 6 on DIP switch Call ibdev 0 6 0 T3s 1 10 intSupplyUD Call ibwrt SupplyUD volt 100 program output to 100 volts Call ibwrt SupplyUD curr 2 program output to 2 amps Wait 500 wait 0 5 sec to settle Call ibwrt SupplyUD meas volt ask What is output voltage Call ibrd SupplyUD strMeasVolt read back output voltage txtOutVolt Text strMeasVolt display output voltage on window End Sub Private Sub Wait mSecWait As Long subroutine to wait mSecWait milliseconds Dim StartTime As Long StartTime GetTickCount Do Loop While GetTickCount StartTime mSecWait End Sub 1 10 3 EXAMPLE PROGRAM WRITTEN IN LABVIEW The National Instruments LabVIEW programming language is a popular language which is opti mized for instrument control and data analysis It is a graphical language where functions are shown as icons with connection points and data flows along drawn lines Here is a simple progra
10. 1 The Status Byte Register 2 9 4 1 THE SERVICE REQUEST ENABLE REGISTER See the SET SERVICE REQUEST ENABLE COMMAND SRE With two exceptions the Service Request Enable Register is a mirror of the Status Byte Register Bit 0 Busy and Bit 6 SRQ will be ignored Also note that Bits 1 is not used in this interface and will have no effect To enable a Service Request the user should refer to Table 1 and determine which events need to 24 TDK Lambda be enabled to cause the request add up the decimal value for those events and supply that value to the SRE command The power up value of the Service Request Enable Register is zero which means no Service Requests are Enabled 2 9 5 STANDARD EVENT STATUS EVENT REGISTER See the READ STANDARD EVENT STATUS EVENT REGISTER COMMAND ESR The Standard Event Status Register has seven bits that indicate status and errors for the power supply and the interface The response message will be a binary weighted number from 0 to 255 Zero is returned if there are no errors or events The contents of the Standard Event Status Register will be cleared to zeroes after the ESR Command is executed The bit assignments for this register are BIT DECIMAL BIT NUMBER VALUE SYMBOL DESCRIPTION 9 1 OPC Operation complete 2 o 4 av C 7 128 PON Power On Set when power is switched on Table 2 The Standard Event Status Regist
11. 1 in the output queue if the supply is enabled and a 0 if the supply is disabled Syntax OUTPut STATe Example OUTPUT STATE 2 2 10 GO TO LOCAL MODE COMMAND Places the supply under control of the Front Panel Controls Syntax SYSTem SET lt SP gt lt 0 gt Example SYSTEM SET 0 Notes 0 can be replaced with LOC TDK Lambda 2 2 11 GO TO REMOTE MODE COMMAND Places the supply under control of the IEEE Interface Syntax SYSTem SET lt SP gt lt 1 gt Example SYSTEM SET 1 Notes 1 can be replaced with REM 2 2 12 GO TO REMOTE WITH LOCAL LOCK OUT COMMAND Places the supply under control of the IEEE Interface and disables the Front Panel Go To Local Button Syntax SYSTem SET lt SP gt lt 2 gt Example SYSTEM SET 2 Notes 2 can be replaced with LLO 2 2 13 READ PROGRAMMING MODE COMMAND Reads the mode of the Power Supply Place a 0 in the output queue if the supply is in Local Mode a 1 if the supply is in Remote Mode and a 2 the supply is in Remote Mode with Local Lock Out Syntax SYSTem SET Example SYSTEM SET Returns LOC REM ELLO 2 3 GLOBAL OUTPUT COMMANDS 2 3 1 USAGE e Global Commands are not SCPI compliant e Supplies acting upon Global Commands need not be a currently addressed supply All supplies attached to Interface must be capable of accepting Global Commands e No messages OPC or Not Busy will be returned to the HOST PC after a Global Command has been is sued The Busy Bit of
12. AL CONDITION CONDITION REGISTER COMMAND Reads the Operational Condition Register and puts the result in the Output Queue Syntax STATus OPERation CONDition Example STATUS OPERATION CONDITION Notes 20 TDK Lambda The returned value is a decimal number representing the sum of all the condition bits The range of value is 0 to 255 2 8 3 SET OPERATIONAL CONDITION ENABLE REGISTER COMMAND Sets the Operational Condition Enable Register Syntax STATus OPERation ENABle lt SP gt lt value gt Example STATUS OPERATION ENABLE 53 Notes The lt value gt is a decimal number representing the sum of all the enabled bits The range of lt value gt is 0 to 255 2 8 4 READ OPERATIONAL CONDITION ENABLE REGISTER COMMAND Reads the Operational Condition Enable Register Syntax STATus OPERation ENABle Example STATUS OPERATION ENABLE Notes The returned lt value gt is a decimal number representing the sum of all the enabled bits The range of lt value gt is 0 to 255 2 8 5 READ QUESTIONABLE CONDITION EVENT REGISTER COMMAND Reads the Questionable Condition Event Register and puts the result in the Output Queue Syntax STATus QUEStionable EVENt Alternate Format STATUS QUESTIONABLE Example STATUS QUESTIONABLE EVENT Notes The returned lt value gt is a decimal number representing the sum of all the event bits The range of lt value gt is 0 to 4 095 2 8 6 READ QUESTIONABLE CONDITIO
13. INTERFACE 1 6 POI The IEEE 488 digital programming interface also called the GPIB interface is a popu lar way to connect instruments to a computer It uses a specialized 24 pin cable with connectors that allow cables to be stacked together There are eight data wires eight control wires and eight ground wires If the system runs from a personal computer there are numerous vendors of IEEE controller cards and software The IEEE 488 standard has gone through several upgrades The IEEE 488 1 focused on the handshaking of the eight control lines The IEEE 488 2 added status registers inside each instrument and it added common commands to make programming groups of instrument easier The latest specification SCPI adds guidelines for the command syntax so one vendor s power supply will use the same commands as another s The Interface follows all of these standards Because many instruments may be connected and independently controlled by a single IEEE controller each instrument must have a unique address The IEEE controller auto matically sets its address equal to the power supply address NT TO POINT MODE vs MULTI DROP MODE Upon application of AC power to the Power Supply the PS IEEE Interface will query the Power Supply to test if the Multi Drop installed If the Multi Drop Option is installed the IEEE Interface will activate the Multi Drop mode regardless of the number of units con nected to the IEEE Interface An example of a Mu
14. MAL BIT NUMBER VALUE SYMBOL DESCRIPTION 0 1 CV Set high if Constant Voltage Operation 1 2 CC Set high if Constant Current Operation 2 4 NFLT No fault 3 8 0 Not used 4 16 AST Auto Start Enabled 5 64 FBE Foldback Enabled 6 64 0 Not Used 7 128 LOC Remote Local Mode 8 to 15 N A 0 Not used Table 3 The Operational Registers 2 9 6 1 THE OPERATIONAL CONDITION CONDITION REGISTER See the READ OPERATIONAL CONDITION CONDITION REGISTER COMMAND STATUS OPERATION CONDITION and Table 3 The bits as listed in Table 3 reflect the condi tions under which the power supply is operating 2 9 6 2 THE OPERATIONAL CONDITION ENABLE REGISTER See the READ OPERATIONAL CONDITION ENABLE REGISTER COMMAND STATUS OPERATION ENABLE the SET OPERATIONAL CONDITION ENABLE REGISTER COMMAND STATUS OPERATION ENABLE and Table 3 The OPERATIONAL CONDITION ENABLE REGISTER is a mirror of the OPERATIONAL CONDITION CONDITION REGISTER If any bit is set in the Operational Condition Condition Register and enabled in this register the condition will propagate to the Operational Condition Event Register as an event 2 9 6 3 THE OPERATIONAL CONDITION EVENT REGISTER See the READ OPERATIONAL CONDITION EVENT REGISTER COMMAND STATUS OPERATION EVENT and Table 3 The OPERATIONAL CONDITION EVENT REGISTER is a mirror of the OPERATIONAL CONDITION CONDITION REGISTER If any event is set in th
15. N CONDITION REGISTER COMMAND Reads the Questionable Condition Register and puts the result in the Output Queue Syntax STATus QUEStionable CONDition Example STATUS QUESTIONABLE CONDITION 21 TDK Lambda The returned lt value gt is a decimal number representing the sum of all the event bits The range of lt value gt is 0 to 4 095 2 8 7 SET QUESTIONABLE CONDITION ENABLE REGISTER COMMAND Sets the Questionable Condition Enable Register Syntax STATus QUEStionable ENABle lt SP gt lt value gt Example STATUS QUESTIONABLE ENABLE 53 Notes The lt value gt is a decimal number representing the sum of all the enabled bits The range of lt value gt is 0 to 4 095 2 8 8 READ QUESTIONABLE CONDITION ENABLE REGISTER COMMAND Reads the Questionable Condition Enable Register Syntax STATus QUEStionable ENABle Example STATUS QUESTIONABLE ENABLE The returned lt value gt is a decimal number representing the sum of all the event bits The range of lt value gt is 0 to 4 095 2 8 9 SET QUESTIONABLE INSTRUMENT SUMMARY ENABLE REGISTER COMMAND See Figure 6 and Section 2 9 8 THE SUMMARY REGISTERS Enable an SRQ from a sup ply to set Bit 0 of the Questionable Condition condition register Syntax STATus QUEStionable INS Trument SUMmary1 ENABle lt SP gt lt value gt or STATus QUEStionable INS Trument SUMmary2 ENABle lt SP gt lt value gt or STATus QUEStionable INSTrument ISUMmary3 ENABle lt
16. NT FOLD BACK PROTECTION SYSTEM ERROR ENABLE COMMAND READ SYSTEM ERROR COMMAND READ SUPPLY OUTPUT MODE COMMAND SET POWER SUPPLY POWER UP MODE COMMAND REPORT POWER SUPPLY POWER UP MODE COMMAND READ SCPI VERSION COMMAND CLEAR STATUS COMMAND SET SERVICE REQUEST ENABLE COMMAND READ SERVICE REQUEST ENABLE COMMAND READ STATUS BYTE COMMAND SET STANDARD EVENT STATUS ENABLE REGISTER COMMAND READ STANDARD EVENT STATUS ENABLE REGISTER COMMAND READ STANDARD EVENT STATUS EVENT REGISTER COMMAND READ IDENTITY COMMAND RESET COMMAND SELF TEST QUERY COMMAND OPERATION COMPLETE COMMAND READ OPERATION COMPLETE COMMAND SAVE POWER SUPPLY SETTINGS COMMAND RECALL POWER SUPPLY SETTINGS COMMAND SELECT SUPPLY READ SELECTED SUPPLY NUMBER READ OPERATIONAL CONDITION EVENT REGISTER COMMAND READ OPERATIONAL CONDITION CONDITION REGISTER COMMAND SET OPERATIONAL CONDITION ENABLE REGISTER COMMAND READ OPERATIONAL CONDITION ENABLE REGISTER COMMAND READ QUESTIONABLE CONDITION EVENT REGISTER COMMAND READ QUESTIONABLE CONDITION CONDITION REGISTER COMMAND SET QUESTIONABLE CONDITION ENABLE REGISTER COMMAND READ QUESTIONABLE CONDITION ENABLE REGISTER COMMAND SET QUESTIONABLE INSTRUMENT SUMMARY ENABLE REGISTER COMMAND READ QUESTIONABLE INSTRUMENT SUMMARY ENABLE REGISTER COMMAND READ QUESTIONABLE INSTRUMENT SUMMARY EVENT REGISTER COMMAND STATUS PRESET COMMAND OVERVIEW REGISTER FAN OUT GLOSSARY OF REGISTER TERMS CLEAR ALL STA
17. ONDITION CONDITION REGISTER If any bit is set in the Questionable Condition Condition Register and enabled in this reg ister the condition will propagate to the Questionable Condition Event Register as an event 2 9 7 3 THE QUESTIONABLE CONDITION EVENT REGISTER See the QUESTIONABLE CONDITION EVENT REGISTER COMMAND STATUS QUESTIONABLE EVENT and Table 4 The QUESTIONABLE CONDITION EVENT REGISTER is a mirror of the QUESTIONABLE CONDITION CONDITION REGISTER If any event is set in this Register it will propagate to the Status Byte Register as a Questionable Summary event 27 1 2 9 8 THE SUMMARY REGISTERS 2 9 8 1 INSTRUMENT SUMMARY 1 2 3 The INSTRUMENT SUMMARY EVENT REGISTER ISUM1 through ISUMG see Figure 6 will record the address of the supply causing an SRQ These are EVENT registers and the bits will remain set until read by the STAT QUES INST ISUMn command They are always enabled 28 TDK Lambda 3 SYSTEM ERROR MESSAGES The Status and Error Registers described in the previous section is only one of the status methods in the IEEE board There is also a SCPI requirement for error messages that are in the form of lt Error Number gt lt Comma gt lt Quote gt lt Error Description gt lt Quote gt The user sends the SYST ERR query to read the error message The messages are stored in a first in first out queue The SYST ERR queue can buffer up to TEN
18. OPERATION OPER OUTPUT OUTP PRESET PRES PROTECTION PROT QUESTIONABLE QUES SELECT SEL SOURCE SOUR STATE STAT STATUS STAT SYSTEM SYST TRIPPED TRIP VERSION VERS VOLTAGE 2 2 PROGRAMMING AND MESUREMENT COMMANDS 2 2 1 PROGRAM OUTPUT VOLTAGE The output voltage can be programmed by sending the command SOURce VOLTage LEVel IMMediate AMPLitude SP value where value is any valid voltage with or without a decimal place 7 TDK Lambda Alternate Format SOURCE VOLTAGE lt SP gt lt value gt VOLTAGE AMPLITUDE lt SP gt lt value gt VOLTAGE lt SP gt lt value gt Examples SOURCE VOLTAGE AMPLITUDE 15 77 VOLTAGE 3 25 2 2 2 READ PROGRAMMED VOLTAGE COMMAND To read what voltage the supply was programmed to regardless of the actual voltage send the following command and read the response message SOURce VOLTage AMPLitude Alternate Format SOURCE VOLTAGE VOLTAGE AMPLITUDE VOLTAGE Examples SOURCE VOLTAGE AMPLITUDE VOLTAGE 2 2 3 MEASURE VOLTAGE COMMAND The output voltage can be measured by sending the command MEASure VOLTage When the controller does the next IEEE Read the interface will send the measured voltage to it Example MEASURE VOLTAGE 2 2 4 PROGRAM OUTPUT CURRENT COMMAND The output current is programmed by sending the command SOURce CURRent LEVel MMediate AMPLitude lt SP gt lt value gt where lt value gt is any v
19. PROGRAM OUTPUT CURRENT COMMAND 2 2 5 READ PROGRAMMED CURRENT COMMAND 2 2 6 MEASURE CURRENT COMMAND 2 2 7 ENABLE THE SUPPLY OUTPUT COMMAND 2 2 8 DISABLE THE SUPPLY OUTPUT COMMAND 2 2 9 READ OUTPUT ENABLE COMMAND 2 2 10 TO LOCAL MODE COMMAND 2 2 11 REMOTE MODE COMMAND 2 212 GO TO REMOTE WITH LOCAL LOCK OUT COMMAND 2 213 READ PROGRAMMING MODE COMMAND 2 3 GLOBAL OUTPUT COMMANDS eese eene ense senten sts tasa seta sensn 2 3 1 USAGE 2 32 GLOBAL PROGRAM OUTPUT VOLTAGE 2 3 3 GLOBAL PROGRAM OUTPUT CURRENT 2 3 4 GLOBAL EANBLE THE SUPPLY OUTPUT COMMAND KO CO 1 k ai 10 10 11 11 11 TDK Lambda 2 3 5 2 3 2 3 2 3 2 4 OUTPUT PROTECTION COMMANDS 2 4 1 2 4 2 2 5 OPERATING CONDITION COMMANDS 2 5 1 2 5 2 2 5 3 2 5 4 2 5 5 2 5 6 2 6 COMMON COMMANDS NNNNNNNNNN 9 Nae 2 6 13 2 6 14 2 7 INSTRUMENT SELECT COMMANDS 2 7 1 2 7 2 2 8 STATUS COMMANDS NNNNUNNNNNNNN G0 00 00 00 00 Co Co 0 2 9 USING ERROR AND STATUS REGISTERS GLOBAL DISABLE THE SUPPLY OUTPUT COMMAND GLOBAL RESET COMMAND GLOBAL SAVE POWER SUPPLY SETTINGS COMMAND GLOBAL RECALL POWER SUPPLY SETTINGS COMMAND OVER VOLTAGE PROTECTION CURRE
20. Q1 SRQ1 SRQ1 ISUM To Instrument Summary in Questionable Condition register bit 0 ISUM 1 o IN NA wp See upper left corner of previous diagram 12 13 14 MSB 15 RARE STAT QUES INST ISUM1 STAT QUES INST ISUM1 ENAB nn STAT QUES INST ISUM1 ENAB Figure 6 Instrument Summary Register Tree Multi Drop Mode 33 TDK Lambda NOTES 34 TDK Lambda NOTES 35
21. R The Interface contains a 210 byte input buffer to save commands as they are received from the IEEE488 2 bus The buffer is divided into fourteen 14 byte fields Thus the command SOURCE VOLTAGE AMPLITUDE 123 45 will consume 4 fields and the command VOLTAGE 123 45 will consume 2 fields The user may enter more than 1 concatenated command separated by semicolons to be executed The interface will process all commands before returning any data status to the IEEE bus or accepting any new commands to execute Messages returned to the user will be the result of the last command executed If a command error exists or the Power Supply reports an error all subsequent commands in the buffer will be terminated and the status returned to the user If the user enters more that 16 fields an error will be generated Also if the user enters more than 13 bytes in any field an error will be generated 1 10 GETTING STARTED WITH THE SOFTWARE A computer can use a variety of controllers programs and programming languages for the IEEE bus Here is an example showing a minimal program to set the voltage set the cur rent and measure the voltage from a power supply 1 10 1 EXAMPLE SESSION USING THE IBIC CONSOLE A popular console program is National Instruments Win32 Interactive Control file ibic exe As the operator types each command on the computer at the colon prompt it is im mediately sent to the power supply This example works onl
22. RROR ENABLE COMMAND Clears the Error Queue and enables all error messages to be placed in the System Error Queue Refer to Section 3 SYSTEM ERROR MESSAGES for details Syntax SYSTem ERRor ENABle Action Direct the interface to save error messages Example SYSTEM ERROR ENABLE 2 5 2 READ SYSTEM ERROR COMMAND The oldest error message is removed from the Error Queue and placed in the Output Queue If the Error Queue was empty a 0 is placed in the Output Queue Syntax SYSTem ERRor Example SYSTEM ERROR Returned Message Example 222 Data out of range 2 5 3 READ SUPPLY OUTPUT MODE COMMAND Read if the Power Supply is in the Constant Voltage Constant Current or Output Off Mode The interface will return a CV if the supply is in Constant Voltage Mode a CC if the supply is in Constant Current Mode or an OFF if the supply output is off Syntax SOURce MODe Example SOURCE MODE Returns CV CC or OFF 2 5 4 SET POWER SUPPLY POWER UP MODE COMMAND Set the Power Supply for Auto Restart or Safe Start operation upon power up Syntax OUTPut PON lt SP gt lt value gt where value 0 or OFF for Safe Start or value 1 or ON for Auto Restart Examples OUTPUT PON 0 15 TDK Lambda OUTPUT PON 1 Notes This command is in addition to the SCPI compliance requirements 2 5 5 REPORT POWER SUPPLY POWER UP MODE COMMAND Report the Power Supply Auto Restart or Safe Start operation upon power up mode The inter
23. SP gt lt value gt Example STAT QUES INST ISUMI ENAB 122 Action Enable supplies 0 2 3 4 and 5 to set bit 0 of the Questionable Condition condi tion register 2 8 10 READ QUESTIONABLE INSTRUMENT SUMMARY ENABLE REGISTER COMMAND See Figure 6 and Section 2 9 8 THE SUMMARY REGISTERS Read which supplies can set Bit 0 of the Questionable Condition condition register by sending an SRQ Syntax STATus QUEStionable INS Trument SUMmary1 ENABle or STATus QUEStionable INS Trument SUMmary2 ENABle or STATus QUEStionable INS Trument SUMmary3 ENABle Example STAT QUES INST ISUM1 ENAB 22 TDK Lambda 2 8 11 READ QUESTIONABLE INSTRUMENT SUMMARY EVENT REGISTER COMMAND See Figure 6 and Section 2 9 8 THE SUMMARY REGISTERS Read which supplies sent an SRQ These bits are set regardless of the value of the enable bit When set they remain set until read Syntax STATus QUEStionable INSTrument SUMmary 1 or STATus QUEStionable INSTrument SUMmary2 or STATus QUEStionable INSTrument ISUMmary3 Example STAT QUES INST ISUMI 2 8 12 STATUS PRESET COMMAND Presets all Operation Enable and Questionable Enable Registers Syntax STATus PRESet Example STATUS PRESET 2 9 USING ERROR AND STATUS REGISTERS 2 9 1 OVERVIEW REGISTER FAN OUT The IEEE Interface board has a set of status and error registers They are defined by the IEEE 488 2 specification as part of the IEEE 488 2 Common Command set required by all com
24. Syntax SOURce VOLTage LIMit LOW Alternate Format VOLTAGE LIMIT LOW Example SOURCE VOLTAGE LIMIT LOW 13 2 4 2 CURRENT FOLD BACK PROTECTION 2 4 2 1 SET CURRENT FOLD BACK PROTECTION COMMAND Turn on the current fold back protection of the Power Supply Syntax SOURce CURRent PROTection STATe lt SP gt lt 1 gt Alternate Format gt CURRENT PROTECTION STATE lt SP gt 1 Example SOURCE CURRENT PROTECTION STATE 1 2 4 2 2 CLEAR CURRENT FOLD BACK PROTECTION COMMAND Turn off the current fold back protection of the Power Supply Syntax SOURce CURRent PROTection STATe lt SP gt lt 0 gt Alternate Format gt CURRENT PROTECTION STATE lt SP gt 0 Example SOURCE CURRENT PROTECTION STATE 0 2 4 2 3 READ CURRENT FOLD BACK STATE COMMAND Read if the Fold back is enabled or disabled The interface will return an ON if Fold Back Protection is set or an OFF if not set Syntax SOURce CURRent PROTection STATe Alternate Format CURRENT PROTECTION STATE Example SOURCE CURRENT PROTECTION STATE 2 4 2 4 READ FOLD BACK TRIPPED STATE COMMAND Read if the Power Supply Current Fold Back has tripped The interface will return a 1 if Fold Back Protection has tripped or a 0 if not tripped Syntax SOURce CURRent PROTection TRIPped Alternate Format CURRENT PROTECTION TRIPPED Example SOURCE CURRENT PROTECTION TRIPPED 14 2 5 OPERATING CONDITION COMMANDS 2 5 1 SYSTEM E
25. TUS REGISTERS SERVICE REQUESTS AND STATUS BYTE REGISTER STANDARD EVENT STATUS EVENT REGISTER 2 9 6 THE OPERATIONAL REGISTERS 26 2 9 7 THE QUESTIONABLE CONDITION REGISTERS 27 2 9 8 THE SUMMARY REGISTERS 28 3 SYSTEM ERROR 29 List of Figures FIGURE 1 Mutt POWER SUPPLIES 2 FIGURE 2 IEEE AND IEEE SELECT SWITCH LOCATION esee 3 FIGURE 3 SELECT cci E 3 FicuRE 4 STATUS AND ERROR REGISTER TREE POINT TO POINT 31 FicuRE 5 STATUS AND ERROR REGISTER TREE MULTI DROP 32 Figure 6 INSTRUMENT SUMMARY REGISTER TREE MULTI DROP MODE eee 33 List of Tables TABLE 1 THE STATUS BYTE REGISTER wei oc revelan eoe Ere dale na reto tes d deus 24 TABLE 2 THE STANDARD EVENT STATUS 1 1 25 32 THE OPERATIONAL REGISTERS iie toe a e Ee in es coe xd De vada en 26 TABLE 4 THE QUESTIONABLE REGISTERS 27 TABLE 5 SYSTEM ERROR GODES iscsi snack cn tte rete cte eder desee
26. USER MANUAL FOR IEEE PROGRAMMING INTERFACE FOR GENESYS POWER SUPPLIES 1A586 04 01 Rev F This page intentionaly left blank 1 THE DIGITAL IEEE 488 2 SCPI PROGRAMMING OPTION Ei INTRODUCTION 13 SCOPEOFMANEJXARL denos cunis dp is np 13 CONFIGURATION L4 GLOSSARY coenen e dp Sn QNM RU T reir 15 USING DIGITAL PROGRAMMING sssecssssesssssssecsssecsssneessssnsecsssecsssneessnsne 1 5 1 THE IEEE 488 2 INTERFACE 16 POINT TO POINT MODE vs MULTI DROP MODE 2 17 CONFIGURING THE IEEE INTERFACE ssssssssssessssseesssssesessseessaneessnose 1 7 1 SETTING THE POWER SUPPLY AND IEEE SELECT SWITCH 172 CONFIGURING THE IEEE CONTROLLER 18 CONFIGURING THE n dte ieri E eerie 19 THE INTERFACE INPUT BUFFER 1 10 GETTING STARTED WITH THE SOFTWARE ssscsssssssssssessssseessessees 2 PROGRAMMING COMMANDS Table of Contents 1 101 EXAMPLE SESSION USING THE IBIC CONSOLE 1 10 2 EXAMPLE PROGRAM WRITTEN IN VISUAL BASIC 1 10 3 EXAMPLE PROGRAM WRITTEN IN LABVIEW 2 1 COMMAND 8 0 707 4 2 1 eene estne nsns sins tease es tasa setas ense tne 2 PROGRAMMING AND MESUREMENT 2 2 1 PROGRAM OUTPUT VOLTAGE 2 22 READ PROGRAMMED VOLTAGE COMMAND 2 2 3 MEASURE VOLTAGE COMMAND 2 24
27. alid current with or without a decimal place Alternate Formats SOURCE CURRENT lt SP gt lt value gt gt CURRENT AMPLITUDE lt SP gt lt value gt gt CURRENT lt SP gt lt value gt Examples SOURCE CURRENT AMPLITUDE 15 77 CURRENT 3 25 2 2 5 READ PROGRAMMED CURRENT COMMAND To read what current the supply was programmed to regardless of the actual current send the following command and read the response message SOURce CURRent AMPLitude Alternate Format SOURCE CURRENT CURRENT AMPLITUDE CURRENT Examples SOURCE CURRENT AMPLITUDE CURRENT TDK Lambda 2 2 6 MEASURE CURRENT COMMAND The output current can be measured by sending the SCPI command MEASure CURRent When the controller does the next IEEE Read the supply will return the amperes of current being produced Example MEASURE CURRENT 2 2 7 ENABLE THE SUPPLY OUTPUT COMMAND The power supply output can be turned on by sending this command OUTPut STATe lt SP gt 1 The output will immediately jump to the last programmed voltage and current Example OUTPUT STATE 1 Notes 1 can be replaced with ON 2 2 8 DISABLE THE SUPPLY OUTPUT COMMAND The power supply output can be shut off by sending this command OUTPut STATe lt SP gt 0 This command is equivalent to programming the output to zero volts Example OUTPUT STATE 0 Notes 0 be replaced with OFF 2 2 9 READ OUTPUT ENABLE COMMAND Reads the Power Supply output enable Places a
28. are Missing When operating in Multi Drop mode an attempt was made to address a non existent supply 350 Queue Overflow Too many SYSIFERR messages are stored in this queue and tie newest messages are discarded The Max number of stored messages is 10 300 Execution error General execution error 301 PV above OVP Attempt to program voltage above OVP setting 302 PV below UVL Attempt to program voltage below UVL setting 304 OVP below PV Attempt to set OVP below voltage setting 306 UVL above PV Attempt to set UVL above voltage setting 307 On during fault Attempt to set supply output ON when a fault exists 320 Fault shutdown General message for non specified shutdown 29 TDK Lambda 321 AC fault shutdown Brown out or phase loss shutdown occurred 322 Qvertompo rature Over temperature shutdown occurred shutdown 323 Fold Back shutdown Fold Back shutdown occurred 324 Over Voltage shutdown Over Voltage shutdown occurred 325 Analog shutot shut Shut Off occurred from rear panel J1 down 326 Output Off shutdown Output Off occurred from front panel button 327 Enable Open shutdown Enable Open occurred from rear panel J1 340 Internal message fault General non specified Internal message fault 341 Input overflow IEEE receive data buffer is too full 342 Serial receive buffer in IEEE is full because Supply micro sen
29. e N ESE nn ESR sESE Operational Condition Condition Enable Event Constant Voltage LSB 0 Constant Current Te No Fault 3 INFLTI 7 heu 1 Auto Start Enabled Foldback Enabled gt 9 31 Spare 1 3 Local Remote Log E m o Oo A LA LA FS PS STAT OPER COND STAT OPER ENAB nn STAT OPER ENAB Figure 5 Status and Questionable Summa Message Available rou Standard Event Summary Operational Summary Service Request SRQnn To one of 31 inputs in the Instrument Summary registers see next diagram Positive Logic 0 No Event 1 Event Occured STAT OPER EVEN Error Register Tree Multi Drop Mode 32 TDK Lambda Instrument Summary Registers Event Enable n o SRQ2 SRQ2 SRQ3 ISUM 3 aa 5 w 14 MSB 15 STAT QUES INST ISUM3 STAT QUES INST ISUM3 ENAB nn STAT QUES INST ISUM3 ENAB Event Enable LSB 0 SUMS SRQ14 SRQ15 SRQ16 SRQ17 SRQ18 SRQ2I SRQ2 SRQ2 SRQ2 SRQ2 SRQ2 ISUM2 o 4 5 o 38 2 in o 2 w 14 MSB 15 d ME SRQ2 STAT QUES INST ISUM2 STAT QUES INST ISUM2 ENAB nn STAT QUES INST ISUM2 ENAB Event Enable LSB 0 SY SRQO SRQ1 SRQ2 SRQ3 SRQ4 SRQ5 SRQ6 SRQ7 SRQ8 SRQ9 SRQ1 SR
30. e Event ee ee ND EL B A ot Foldback 5 K r FA 12 40 ang s To STAT OPER COND STAT OPER ENAB STAT OPER EVEN STAT OPER ENAB Figure 4 Status and Error Register Tree Point to Point Mode Questionable Condition TDK Lambda Syst Err Queue Condition Enable Event Instrument Summa Pol nyo rls ry 112121 Over Temperature 2 lore IS 4 8la a Fold Back Prot 3 Eo 2 fe Over Voltage Prot 4 ove L 112 2 Shut Off iso 139 1 31 Output Of 7 a 18 Jo Output Enable 1 a SYST ERR ENAB Internal Input Overflow 8 SYST ERR Internal Overflow 3 ___ Internal Timeout 10 E stir ok Internal Comm Error ai gt __ gt 15 Service STAT QUES COND STAT QUES ENABnn STAT QUES EVEN Status Request STAT QUES ENAB Byte Enable Busy 0 BSY Output Queue Not Used System Error 2 ATe Te 22 Standard Event Status Event Enable Operation Complete LSB 0 Not Used Query Error 2 aE mT Device Dependant Error eg 1 Execution Error EXE LZ Command Error User Request T CE ua Power On E
31. ed when the contents of the register are queried 2 9 5 CLEAR ALL STATUS REGISTERS CLS This command clears all event registers and stored error messages It will not affect the Conditional Instrument Summary or the Enable registers 2 9 4 SERVICE REQUESTS AND STATUS BYTE REGISTER The Status Byte Register contains the bits that are set when an event occurs in Questionable Condition Event Register Operational Condition Event Register Standard Event Status Register or when a message is available in the Output Queue or when an Error Message is available in the Error Queue If any of these bits are set and the corresponding bit is set in the Service Request Enable Register the Service Request Bite SRQ bit will become set The SRQ bit will assert a signal onto the Service Request SRQ line in the IEEE cable The controller program can detect the SRQ read what the problem is from the power supply and clear the SRQ The bit assignments for the Status Byte Register are BIT DECIMAL BIT NUMBER VALUE SYMBOL DESCRIPTION 0 1 BSY 1 Busy 0 Ready 1 2 0 Not Used 2 4 SYS System Error Message Available in Error Que 3 8 QUE Questionable Summary 4 46 MAV Message Available in Output Que Set after query message is received 5 32 ESB Standard Event Summary Request For Service Is set if SYS QUE 9 Ree MAV ESB and or OPR is enabled and set 7 128 OPR Operational Summar Table
32. er 16 EXE 32 CommandEmo __64 0 2 9 5 1 THE STANDARD EVENT STATUS ENABLE REGISTER See the SET STANDARD EVENT STATUS ENABLE REGISTER COMMAND ESE The STANDARD EVENT STATUS ENABLE REGISTER is a mirror of the STANDARD EVENT STATUS EVENT REGISTER If any bit is set in the Standard Event Status Event Register and enabled in the Standard Event Status Enable Register the event will propagate to the Status Byte Register as a Standard Event Summary By writing a binary weighted value to the Standard Event Status Enable Register the bits in the Standard Event Status Event Register may be individually enabled so only selected events will cause a service request The power up default is all zeroes in the enable register This means no status or errors will be sent to the Status Byte Register However even if no bits are enabled the contents of the Standard Event Status Register may always be read with the ESR query The contents of the Standard Event Enable Register may be read by sending ESE The response will be a bit weighted number whose bits correspond to Table 2 25 2 9 6 TDK Lambda THE OPERATIONAL REGISTERS The Operational Registers are three 16 bit registers whose bits are not defined by the IEEE specifi cation but are specific to the IEEE device The bit assignments for the Operational Registers are BIT DECI
33. is Register it will propagate to the Status Byte Register as an Operational Summary event 26 TDK Lambda 2 9 7 THE QUESTIONABLE CONDITION REGISTERS The Questionable Condition Registers are three 16 bit registers whose bits are not defined by the IEEE specification but are specific to the IEEE device The bit assignments for the Questionable Condition Registers are BIT DECIMAL BIT NUMBER VALUE SYMBOL DESCRIPTION 1 Not used Point to Point Mode Instrument Summary in Multi Drop Mode 2 AC 4 OverTempratre 3 8 FLD Fold Back Protect 16 Over Voltage Protection 92 Shut Off 64 OFF Output Off Output Enable 7 10 11 Table 4 The Questionable Registers 2 16 32 64 Event registers reading will clear the event bit 2 9 7 1 THE QUESTIONABLE CONDITION CONDITION REGISTER See the READ QUESTIONABLE CONDITION CONDITION REGISTER COMMAND STATUS QUESTIONABLE CONDITION and Table 4 The bits as listed in Table 4 reflect the questionable error conditions under which the power supply is operating 2 9 7 2 THE QUESTIONABLE CONDITION ENABLE REGISTER See the READ QUESTIONABLE CONDITION ENABLE REGISTER COMMAND STATUS QUESTIONABLE ENABLE the SET QUESTIONABLE CONDITION ENABLE REGISTER COMMAND STATUS QUESTIONABLE ENABLE and Table 4 The QUESTIONABLE CONDITION ENABLE REGISTER is a mirror of the QUESTIONABLE C
34. l mean that 1 IEEE Interface can control more than 1 GEN supply When in Multi Drop Mode the GEN supply with the IEEE Interface installed will be referred to as the Master Supply and all other attached supplies will be referred to as Slave Supplies A Communication Collision AKA collision is an event when in Multi Drop Mode more than 1 GEN supply attempts to transmit data simultaneously The Main micro is the microprocessor installed on the GENESYS power supply control board that monitors controls all power supply activity The IEEE micro is the microprocessor installed on the IEEE Interface that is installed within the power supply Local Mode means that the supply under control of the Front Panel Knob or Rear Panel Analog Remote inputs Remote Mode means that the supply operating under direction of HOST PC IEEE Interface via the IEEE488 2 Bus Front panel does not operate except to view settings Serial Interface means that the Master supply is interfaced to the IEEE Interface via RS 232 digital communications and Slave supplies are interfaced to the IEEE Interface via RS485 daisy chain from the Master supply This is done to activate Remote Control or to monitor sup ply activity while in Local Mode Instrument Summary Bit is a bit in an Instrument Summary Register Ref Figure 6 and 1 2 9 8 1 TDK Lambda indicating the address of a supply that sent an SRQ 1 5 USING DIGITAL PROGRAMMING 1 5 4 THE IEEE 488 2
35. lacing Switch 1 in the OFF Position down will deactivate this interface and activate the Power Supply s Serial RS232 or RS485 I O capability The position of Switch 1 may be changed at any time but the new setting will not take affect until the power is switched off and on UP Down 1 Figure 3 IEEE Select Switch 1 7 2 CONFIGURING THE IEEE CONTROLLER A typical IEEE controller is a personal computer with an IEEE interface card Each card vendor supplies its own configuration instructions and interface software Each time the software is executed the controller must be configured as follows Controller Address 0 This is factory default for all controllers EOI Flag TRUE The End or Identify is a control line in the IEEE cable that is asserted when the last character of a message string is sent It is required for this interface EOS Flag FALSE The End of String used in some instruments to indicate the last character of a message is not supported by this interface TDK Lambda 1 8 CONFIGURING THE SUPPLIES No configuration is required for the Master Supply The IEEE Interface will adapt the ad dress of the Master Supply as its IEEE address Slave supplies must be given a unique address that is different than the address of the Master supply No two supplies may be given the same address All Slave supplies must be set for RS485 operation at 19 200 Baud transmission rate 1 9 THE INTERFACE INPUT BUFFE
36. lti Drop Power Supply configuration is shown in Figure 1 If the Multi Drop Option is not installed the IEEE Interface will activate the Point to Point mode When more than one Power Supply is connected to a single Power Supply with IEEE Interface in Multi Drop mode all of the Power Supplies must have the Multi Drop Option is installed See Figure 1 for a Multi Drop Power Supply configuration GPIB BUS RS485 RS485 RS485 RS485 IEEE IN OUT IN OUT IN OUT IN OUT 5485 Interface 120 OHM NT GEN 2 GEN 3 GEN 31 TERMINATION Figure 1 Multi Drop Power supplies configuration 17 CONFIGURING THE IEEE INTERFACE 1 7 4 SETTING THE POWER SUPPLY AND IEEE SELECT SWITCH Power supply setting set rear panel DIP switch SW1 all contact to Down position The interface contains a two position DIP switch that is accessible from the rear of the Power Supply and located next to the IEEE cable connector Switch 2 located to the right of Switch1 is not used Refer to Figure 2 for location of the IEEE connector and the IEEE select switch at the rear panel of the supply IEEE select IEEE 488 switch connector gt eozEZZ ED QS 292 cee Cm emm em 20 Figure 2 IEEE Connector and IEEE Select Switch Location Placing Switch 1 in the ON Position up will activate this interface and deactivate the Power Supply s Serial I O capability P
37. m which sends commands to a power supply to set the voltage set the current and measure the voltage The program s window only contains two items a numeric control for the supply IEEE address and a text indicator to show the measured voltage Pwr Supply Era Address 7005001 mn T Send Send a Recewe S 0 5 E E es T N Simple E nor Handler vi poji DL MEASVOLTT Cia ror Sting ene equence 2 Open IEEE Program Program Wail Ask Read Display Port Output to Output to 05 Sec Voltage Voltage Voltage 25 Volts 40 Amps TDKcLambda 2 PROGRAMMING COMMANDS 2 1 COMMAND NOTES Expressions enclosed in square brackets are optional and entered without the Expressions enclosed in greater than less than lt gt are programming values and entered without the lt or gt The expression SP represents a one character ASCII Space In all commands upper case characters can be interchanged with lower case characters WORD CAN BE REPLACED WITH AMPLITUDE AMPL CONDITION COND CURRENT CURR ENABLE ENAB ERROR ERR EVENT EVEN GLOBAL GLOB INSTRUMENT INST IMM ISUMMARY11 150 1 ISUMMARY2 150 2 ISUMMARY3 ISUM3 LEVEL LIMIT LIM MEASURE MEAS MODE MOD NSELECT NSEL
38. t too many characters 343 Internal timeout IEEE did not receive response from supply before timeout period 344 Internal checksum IEEE received checksum error from supply 345 Internal checksum error IEEE detected checksum error in message from supply 399 Unknown Error No known error Table 5 System Error Codes 30 TDK Lambda Questionable Condition Syst Err Queue Condition Enable Event of lt Spare SB o AC Fail BC IE fac 112121 E ver Temperature 514 Over Voltage Prot love T 74 ve 112 21 Shut Off 6 50 Output Off 7 ee er Output Enable Internal Input Overflow ineo 3 1 ea Internal Overflow 3 INTO LE Ne Internal 10 d SYST ERR ENAB Internal n E SYST ERR LO 0 0 EU uH hae 7 MsB 15 o Lo STAT QUES COND STAT QUES ENAB STAT QUES EVEN STAT QUES ENAB B Output S System Error Standard Event Summary Standard Operational Event Enable Operation ee Not Used fo L51 3 Query Error Exe 1 Device Dependant Error 3 IDDE Service Execution Error EXE FF Command gt Request Not Used 91 Power On MS8 7 Pon r ESE nn ESR ESE Positive Logic Operational 0 No Event 1 Event Occured Condition Enabl
39. turned value is a decimal number representing the sum of all the bits The range of value is 0 to 255 2 6 5 SET STANDARD EVENT STATUS ENABLE REGISTER COMMAND Set Event Status Enable Register to a value See Table 2 Syntax ESE lt SP gt lt value gt Example ESE 74 Notes lt value gt is a decimal number representing the sum of all the enabled bits The range of lt value gt is 0 to 255 2 6 6 READ STANDARD EVENT STATUS ENABLE REGISTER COMMAND Read the value of the Event Status Enable Register See Table 2 Syntax ESE Example 5 Notes The returned value is a decimal number representing the sum of all the enabled bits The range of value is 0 to 255 17 TDK Lambda 2 6 7 READ STANDARD EVENT STATUS EVENT REGISTER COMMAND Read the value of the Event Status Register See Table 2 Figure 4 Figure 5 and Figure 6 Syntax ESR Example ESR Notes The returned value is a decimal number representing the sum of all the enabled bits The range of value is 0 to 16 767 2 6 8 READ IDENTITY COMMAND Read Company Logo Power Supply range Serial Number and Revision of the Power Supply and Version of this IEEE Interface When the controller reads the output from the power supply a single line identity string will be re turned A typical identity string format is Manufacturer Model max volt gt lt max curr gt S N supply serial REV power supply revision IEEE
40. ut to zero volts Example GLOBAL OUTPUT STATE 0 Notes 0 can be replaced with OFF 2 3 6 GLOBAL RESET COMMAND Resets all Power Supplies Voltage and current are set to 0 Supply output is set to OFF Supply enters Remote Mode Operation Syntax GLOBal RST Example GLOBal RST 11 2 3 7 GLOBAL SAVE POWER SUPPLY SETTINGS COMMAND Sends a command to all Power Supplies causing them to save their operating set tings Programmed voltage Current Over Voltage Under Voltage Remote Local Mode Auto Safe Restart Current Fold Back etc can be stored in Memory To change one or more settings enter the one or more commands with new settings and then enter this command Syntax GLOBal SAV lt SP gt lt 0 gt Example GLOBAL SAV 0 2 3 8 GLOBAL RECALL POWER SUPPLY SETTINGS COMMAND Sends a command to all Power Supplies causing them to recall their operating set tings Recall Programmed voltage Current Over Voltage Under Voltage Remote Local Mode Auto Safe Restart and Current Fold Back If the output of the supply was set to an OFF condition by the Front Panel Button before the RCL command was sent the supply will remain in the OFF state Syntax GLOBal RCL lt SP gt lt 0 gt Example GLOBAL RCL 0 2 4 OUTPUT PROTECTION COMMANDS 2 4 1 OVER VOLTAGE PROTECTION 2 4 1 1 SET THE OVER VOLTAGE PROTECTION LEVEL COMMAND Set the over voltage protection level of the Power Supply to value
41. y for computers with National Instruments and compatible IEEE controller cards Win32 Interactive Control Copyright 1996 National Instruments Corporation All rights reserved Type help for help or q to quit ibdev EM Controller address enter board index 0 Supply Address enter primary address 6 enter secondary address 0 enter timeout 12 TDK Lambda enter enter end of string mode byte 1 EOI on last byte flag 10 Program supply to M ud0 ibwrt sour volt 100 100 volts output 0100 cmpl count 12 a ci Program supply to ibwrt sour curr 5 5 amps output 0100 cmpl count 11 up Query What is ud0 ibwrt meas volt output voltage 0100 cmpl count 10 Read response ud0 ibrd 50 2100 end cmpl Supply reported output voltage count 11 EN 31 30 30 2e 30 38 Oa 100 0 8 1 10 2 EXAMPLE PROGRAM WRITTEN IN VISUAL BASIC Microsofts Visual Basic is a windows programming language that may be used to create virtual instruments and automation programs Here is a simple program which sends commands to a power supply to set the voltage set the current and measure the voltage The program s window only contains two items a Start button and a text box to show the measured voltage The syntax of the CALLed functions are correct only for National Instruments and compatible IEEE controllers Don t forget to add the forms Ni global bas and Vbib 32 bas
Download Pdf Manuals
Related Search
Related Contents
AssetView 4.2 owners manual MANUAL CARROS FECHADOS COM LOGO g foss ire Samsung Galaxy Xcover 3 Bruksanvisning N8154-59 2.5 型 HDD ケージ 取扱説明書 Plantronics Voyager PRO UC WG201/B 取扱説明書 - 加藤電機 Copyright © All rights reserved.
Failed to retrieve file