About AMETEK AMETEK Programmable Power, Inc., a Division of AMETEK, Inc., is a global leader in the design and manufacture of precision, programmable power supplies for R&D, test and measurement, process control, power bus simulation and power conditioning applications across diverse industrial segments. From bench top supplies to rack-mounted industrial power subsystems, AMETEK Programmable Power is the proud manufacturer of Elgar, Sorensen, California Instruments and Power Ten brand power supplies.
Page 4
Contents SG Series Programming This page intentionally left blank. viii M550129-03 Rev L...
Neither AMETEK Programmable Power Inc., San Diego, California, USA, nor any of the subsidiary sales organizations can accept any responsibility for personnel, material or inconsequential injury, loss or damage that results from improper use of the equipment and accessories.
Page 6
Contents SG Series Programming This page intentionally left blank. M550129-03 Rev L...
Page 7
AMETEK will, at its expense, deliver the repaired or replaced Product or parts to the Buyer. Any warranty of AMETEK will not apply if the Buyer is in default under the Purchase Order Agreement or where the Product or any part thereof: is damaged by misuse, accident, negligence or failure to maintain the same as specified or required by AMETEK;...
Page 8
Contents SG Series Programming This page intentionally left blank. M550129-03 Rev L...
SECTION 1 OVERVIEW INTRODUCTION This manual provides instructions for full remote programming control and monitoring from a computer, for your SG series high power DC power supply. For easy navigation to the applicable instructions, this manual separates GPIB and RS232 setup instructions from Ethernet setup instructions. The instructions then converge where they are common to all three interface options.
Page 16
Overview SG Series Programming This page intentionally left blank. M550129-03 Rev L...
SECTION 2 IEEE 488.2 GPIB/RS232 FEATURES, FUNCTIONS AND SPECIFICATIONS INTRODUCTION This section introduces the features, functions and specifications for IEEE 488.2 GPIB and RS232. FEATURES 16-bit programming and 16-bit readback of voltage and current Programmable overvoltage protection with reset ...
IEEE/GPIB Features, Functions, Specifications SG Series Programming READBACK FUNCTIONS Actual measured voltage and current Voltage and current settings Soft voltage and current limits Overvoltage protection setting Status and Accumulated Status registers Programming error codes ...
SECTION 3 IEEE 488.2 GPIB/ RS232 CONFIGURATIONS AND REMOTE PROGRAMMING REAR PANEL This section provides illustrations of the SG power supply’s rear panel layout, which differs among the SG models. Figure 3-1, Figure 3-2 and Figure 3-3 are examples. Regardless of the layout, the component functions are common across all models, and those that are pertinent to the RS232 and IEEE 488.2 GPIB options are described here.
SG Series Programming IEEE/RS232 Configuration and Remote Programming RS232 SETUP PROCEDURE This section provides a quick reference for the configuration requirements for RS232. Refer to Sections 3.3.1 and 3.3.2 for detailed information on the rear panel configuration switches. Parameter Setting Notes Baud Rate SGA/SGe...
IEEE/RS232 Configuration and Remote Programming SG Series Programming 2. Set the rear panel Remote/Local switch to Remote (On or 1). 3. Connect power to the unit and turn on the unit. 4. SGA/SGe: skip this step and go to the next step. SGI: From the Home menu page 3, press (F1) to enter the Remote menu.
SG Series Programming IEEE/RS232 Configuration and Remote Programming Configuration Switch 3.3.1 The DIP switch (may be 8-pin or 4-pin) is accessible from the rear panel to configure the supply for your particular system and application. The following figures show the configuration, as set up in Section 3.2, and with GPIB address set to five (5) for the SGA/SGe.
IEEE/RS232 Configuration and Remote Programming SG Series Programming Remote/Local Selection 3.3.2 Set the rear panel Remote/Local switch to select remote or local operation. Remote ON switch (rocker) is top depressed. Table 3-1. Remote/Local Switch Switch Description Position Remote operation selected. * Local operation selected, and front panel control is enabled.
SG Series Programming IEEE/RS232 Configuration and Remote Programming Table 3-2. Remote Power-on Conditions Condition Default 0 Volts (initial from factory power-on voltage); otherwise, Voltage last value saved by SCPI command. See CAL:INIT:VOLT 0 Amps (initial from factory power-on current); otherwise, Current last value saved by SCPI command.
IEEE/RS232 Configuration and Remote Programming SG Series Programming Power-On GPIB Service Request (PON SRQ) Selection 3.3.3 Set the rear panel PON SRQ switch to ON to cause a GPIB service request to be sent to the computer controller when the supply is turned on. POWER-ON GPIB SERVICE REQUEST (PON SRQ) SWITCH Switch Position Description...
SG Series Programming IEEE/RS232 Configuration and Remote Programming REMOTE PROGRAMMING VIA RS232 The RS232 interface operates at fixed 19.2K baud for SGA/SGe and is selectable from 2400 to 19.2K baud for the SGI, with 8 data bits, no parity, and 1 stop bit. All commands are supported at the RS232 interface with the exception of the Service Request (SRQ) function, which is a GPIB-specific function requiring the dedicated Service Request line of the IEEE 488.2 interface.
Page 28
IEEE/RS232 Configuration and Remote Programming SG Series Programming This page intentionally left blank. M550129-03 Rev L 3-10...
SECTION 4 ETHERNET INTERFACE FEATURES, FUNCTIONS AND SPECIFICATIONS INTRODUCTION This section covers the Remote Programming Ethernet Interface Option for the SG series power supplies. This optional configuration enables you to operate your Sorensen power supply from a computer via Ethernet IEEE- 802.3 or RS232 communication protocols, or with SCPI-compatible language, allowing full remote programming control and monitoring of your power supply.
Ethernet Features, Functions and Specifications SG Series Programming LAN C NTERNET OR ONNECTION To operate your Sorensen Ethernet product connected to the Internet or a LAN you will need: Pentium-based laptop or desktop computer running Microsoft Windows XP (or better) ...
SG Series Programming Ethernet Features, Functions and Specifications Soft limits for voltage and current Overvoltage protection Output enable/disable Maskable fault interrupt Hold and trigger External relay control Full calibration Readback Functions 4.2.3 Measured voltage and current ...
SG Series Programming Ethernet Features, Functions and Specifications Readback Accuracy 4.3.6 SGA/SGe ± (SGA 0.1% / SGe 0.2% of full scale ± (0.1% + 0.15% of Voltage output voltage) maximum output voltage) ± (0.1% + 0.4% of Current* ± (0.25% of full scale output current) maximum output current) After 30 minutes operation with fixed line, load, and temperature.
Page 34
Ethernet Features, Functions and Specifications SG Series Programming This page intentionally left blank. M550129-03 Rev L...
SECTION 5 ETHERNET CONFIGURATION AND REMOTE PROGRAMMING REAR PANEL This section provides illustrations of the SG power supply’s rear panel layout, which differs among the SG models. Figure 5-1, Figure 5-2 and Figure 5-3 are examples. Regardless of the layout, the component functions are common across all models, and those that are pertinent to the Ethernet option are described here.
Ethernet Configuration and Remote Programming SG Series Programming Figure 5-2. SG Rear Panel with Ethernet/RS232 Options 1 – Ethernet (RJ-45) connector. Adjacent to the RJ-45 connector are two green LEDs. If one of the LEDs is lit, the link is connected either to a hub switch or to another host.
SG Series Programming Ethernet Configuration and Remote Programming Figure 5-3. SGI Rear Panel with Ethernet/RS232 Options (4-pin Config Switch shown) 1 – Ethernet (RJ-45) connector. Adjacent to the RJ-45 connector are two green LEDs. If one of the LEDs is lit, the link is connected either to a hub switch or to another host.
Ethernet Configuration and Remote Programming SG Series Programming NOTE: The SG Ethernet Option has been designed and tested to be fully compatible with Microsoft Internet Explorer 6.0. This is the only browser supported by Elgar Electronics Corporation (EEC) in its Ethernet-based products.
SG Series Programming Ethernet Configuration and Remote Programming Supply Interface differs in that its banner shows “SGA” or “SGe” and it does not come with the POWER or PRESETS pages. Figure 5-4. Power Supply’s Home Page (SGI shown here) Network Setup Using Auto-IP 5.2.2 For this method, use a VXI-11 compliant discovery program such as National Instrument’s NI-VISA to discover the IP address assigned to the power...
Ethernet Configuration and Remote Programming SG Series Programming c. In the Network Connections window, right click the icon for the network adapter used to connect to the power supply, and click Properties. d. Find the TCP/IP protocol item under the Configuration tab (for XP: find the item under the General tab), and click Properties.
SG Series Programming Ethernet Configuration and Remote Programming 4. Power on the power supply and allow the power supply to perform its initialization. In HyperTerminal , tap the key a couple of times ENTER to clear the input buffer NOTE: tapping the key is also required to clear any errors ENTER when using HyperTerminal...
Ethernet Configuration and Remote Programming SG Series Programming interface adapter. The following figures show the DIP switch configuration for the Ethernet connection. On the Ethernet master, set the rear panel switch to Remote On, and disregard all remaining switches. Note: There is one of two types of DIP switches: toggle or rocker.
SG Series Programming Ethernet Configuration and Remote Programming Remote/Local Selection 5.2.6 Set the rear panel Remote/Local switch to select remote or local operation. Remote ON switch (rocker) is top depressed. Table 5-1. Remote/Local Switch Description Switch Position Remote operation selected.* Local operation selected, and front panel control is enabled.
Ethernet Configuration and Remote Programming SG Series Programming Table 5-2. Remote Mode Power-on Conditions Condition Default 0 Volts (initial from factory power–on voltage); otherwise, last value saved by SCPI command or by the SAVE SETTINGS Voltage button in the Web Settings page. See CAL:INIT:VOLT to change.
SG Series Programming Ethernet Configuration and Remote Programming Table 5-3. External User Control Signal Connector Pinout – Ethernet only Signal Electrical Functional Description Name Characteristics Output signal, active-low; asserted when in foldback mode; open-collector of opto-isolator transistor; emitter 60 VDC, max., FOLDBACK is connected to Pin-9.
SG Series Programming Ethernet Configuration and Remote Programming PROGRAMMING/COMMUNICATION VIA ETHERNET With the Ethernet option, there are four basic methods to communicate with the power supply from a PC: raw socket interface, sending delimited strings (default delimiter is <LineFeed>) ...
Ethernet Configuration and Remote Programming SG Series Programming ETHERNET WEB PAGES, OVERVIEW The layout of each of the Web pages includes the banner with the heading, “Sorensen SGI (or SGA or SGe) Power Supply Interface” along with the device name below and a LOGIN button to the right. Below the SGI banner are eight tabs (six tabs in the SGA/SGe banner), each linked to its corresponding page.
SG Series Programming Ethernet Configuration and Remote Programming Figure 5-11. Login Window Once you have logged in, the LOGIN button becomes a LOGOUT button. M550129-03 Rev L 5-15...
Ethernet Configuration and Remote Programming SG Series Programming HOME 5.5.1 This is the default, information-only page. It displays all of the current information about the supply that you are connected to: Figure 5-12. SGI Home Page The Model number, the Manufacturer, and the Serial Number of your Ethernet power supply ...
SG Series Programming Ethernet Configuration and Remote Programming IP Address: your power supply’s address actually in use at start- up; can be statically configured, DHCP acquired (default), or Auto- IP assigned (see description for page) CONFIGURATION Subnet Mask: network segment your power supply is on ...
Page 52
Ethernet Configuration and Remote Programming SG Series Programming To change: Type the new name (15 characters maximum) in the blank field provided and click Apply to update (or make all desired changes before clicking Apply). Description: you may change the default factory setting to something more meaningful to your current setup.
Page 53
SG Series Programming Ethernet Configuration and Remote Programming update (or make all desired changes before clicking Apply). This field has no factory setting. Listening Port – input a port number for the embedded Web server, ranging in value from 1025 – 65535. Click Apply to update (or make all desired changes before clicking Apply).
Page 54
Ethernet Configuration and Remote Programming SG Series Programming Primary: Obtain an IP Address Automatically (DHCP) and AutoIP Enabled Secondary: no matter the setting, will never be attempted At power-up the power supply will attempt to acquire an IP address from a DHCP server.
SG Series Programming Ethernet Configuration and Remote Programming SETTINGS 5.5.3 The Settings page is available to users who have FULL, Read/Write or Read Only access to at least one power supply (Read Only users can make no changes to the settings). In this page you will see continuous updates (2-5 times per second) of the actual voltage output (value displayed on the left) and the actual live current output (value displayed to the right).
Page 56
Ethernet Configuration and Remote Programming SG Series Programming FAULT indicator: highlighted red if fault has occurred OUTPUT indicator: solid-lit shows power output status is On If you have Read/Write access, you can change the following settings (after inputting desired settings, click APPLY): ...
SG Series Programming Ethernet Configuration and Remote Programming Figure 5-15. Alert Message for Save Settings SCPI C OMMAND ECTION SEND COMMAND: (not to be used with any command that provides a response) input a properly formatted SCPI command (Section 6) in the upper of the two windows and click this button to send the command.
Ethernet Configuration and Remote Programming SG Series Programming STATUS 5.5.4 The Status page displays updated information for the following parameters: Figure 5-16. Status Page Output: displays the power output status, ON or OFF Trigger: set up by SCPI commands, displays whether the Trigger state is OFF, ARMED, or TRIGGERED.
Page 59
SG Series Programming Ethernet Configuration and Remote Programming Last Calibration Date: displays the date that the power supply (instrument) was last calibrated; configurable with SCPI commands, normally at the time of calibration. Next Calibration Date: displays the date that the power supply should be calibrated next;...
Ethernet Configuration and Remote Programming SG Series Programming POWER 5.5.5 The Power page (only in SGI) displays updated information for the following parameters: Figure 5-17. SGI Power Page (not in SGA/SGe) Volts: value above is updated with actual voltage output of the power supply Current: value above is updated with actual live current output of the power supply...
Page 61
SG Series Programming Ethernet Configuration and Remote Programming Stop Current: the programmed current setting when you exit power mode Stop OVolt: the programmed overvoltage setting when you exit power mode STOP: puts into effect the newly programmed settings and exits power mode CC and CV indicators: presently operating output mode of the power supply, either constant voltage or constant current.
Ethernet Configuration and Remote Programming SG Series Programming PRESETS 5.5.6 The Presets page (only in SGI) displays stored values, which can be edited, saved and/or recalled. The parameters for this page are: Figure 5-18. SGI Presets Page (not in SGA/SGe) Index: Displays memory locations named POWER ON (default power on settings) and 1 through 9 Volts: value presently stored in memory location name...
Page 63
SG Series Programming Ethernet Configuration and Remote Programming Over Volt: click in the Over Volt field and input a new value for overvoltage protection. Output State: click in the Output State field to change the state of the output condition indicator. (indicator is an open circle for OFF or a solid circle for ON) M550129-03 Rev L 5-29...
Ethernet Configuration and Remote Programming SG Series Programming SECURITY 5.5.7 Accessible only if you have Administrative (Full) rights, this page allows you to set up new user accounts for access to the power supply(s). It displays all of the currently set up users and respective permission levels. ...
SG Series Programming Ethernet Configuration and Remote Programming ADD NEW USER Accessible from the Security Page by clicking the ADD button, this page is allows you (a Full permissions user) to add new users with their passwords and permission levels. Figure 5-20.
Ethernet Configuration and Remote Programming SG Series Programming EDIT EXISTING USER Accessible from the Security Page by clicking the EDIT button after first selecting the user’s name, this page allows you (a Full permissions user) to edit the parameters for an existing user. Figure 5-21.
SECTION 6 IEEE 488.2 GPIB/RS232/ETHERNET AND SCPI COMMAND OPERATION INTRODUCTION This section describes the operation of the Digital Interface Adapter (DIA) for both GPIB and Ethernet, by using the IEEE 488.2, Ethernet and SCPI command sets, which provide programming, query, and status commands that facilitate remote control of the power supply.
SCPI Command Operation SG Series Programming Table 6-1. SCPI Status Byte Hex Value Description 0x01 Not used. Protection Event Status flag. Indicates the selected protection 0x02 event occurred. Error/event queue message available. Set when any error/event is 0x04 entered in the System Error Queue. It is read using the SYSTem:ERRor? query.
SG Series Programming SCPI Command Operation Standard Event Status Register (ESR) 6.2.2 Read the Standard Event Status Register (ESR) by issuing the *ESR? command. Reading this register or issuing a *CLS command will clear the ESR. Use the *ESE (Standard Event Status Enable Register) to enable corresponding ESR bits to be summarized in the summary bit of the SCPI Status byte.
SCPI Command Operation SG Series Programming requests based on the Protection Event Status Register, program both the Protection Event Status Enable Register and the Service Request Enable Register (*SRE). For further information, refer to the table below, and to SCPI Status Implementation page 8-1. Table 6-3.
SG Series Programming SCPI Command Operation Operation Status and Questionable Status 6.2.4 Registers The Operation Status and Questionable Status Registers will always return 0 when queried. The Operation Status Enable and Questionable Status Enable Registers can be programmed and queried to allow SCPI compatibility but have no effect on the Operation Status and Questionable Status Registers.
Page 72
SCPI Command Operation SG Series Programming Error Code Description Unexpected warm boot This error means that the DIA processor experienced a warm boot that was unexpected, and it may indicate an internal crash of the DIA processor. Incompatible unit type This error is not used.
Page 73
SG Series Programming SCPI Command Operation Error Code Description Self-test failed -330 A self-test failure has occurred. Calibration failed -340 Error during calculation of calibration values occurred. -350 Queue overflow The error queue can contain up to 10 entries. If more than 10 error/event conditions are logged before the SYSTem:ERRor? query, an overflow will occur;...
SCPI Command Operation SG Series Programming Serial Poll Operation 6.2.6 Performing a serial poll will not modify the Status Byte other than to clear the RQS (bit 6) for a Digital Interface Adapter (DIA) requesting service. Queries affecting the Status Registers and subsequent serial poll are described below: ...
SG Series Programming SCPI Command Operation Units 6.3.2 The SGA/SGe/SGI power supplies will accept the following units as suffixes to numeric values: UNITS Type of Unit Valid Suffix “VOLTS” or “volts”, “V” or “v”, “MV” or “mv” or “mV” Voltage “AMPS”...
SCPI Command Operation SG Series Programming IEEE 488.2 COMMON COMMAND SUBSYSTEM The following commands are common to all SCPI instruments and declared mandatory by IEEE 488.2. In the following table, the Digital Interface Adapter (DIA) is defined as the “device” on the GPIB bus. Command Description Clears all status reporting data structures including the Status Byte,...
Page 77
SG Series Programming SCPI Command Operation Command Description Sets the value of the Service Request Enable Register, which *SRE determines which bits in the Status Byte will cause a service <0+NR1> request from the device. See section on Status Byte for valid values.
SCPI Command Operation SG Series Programming SOURCE SCPI COMMAND SUBSYSTEM This section first presents a tree summary of the SOURce commands and then provides a tabular description. SOURCE SCPI Command Summary 6.5.1 SOURce :CURRent :CURRent? [:LEVel] [:LEVel?] [:IMMediate] [:IMMediate?] [:AMPLitude] <NRf> [:AMPLitude?] :LIMit :LIMit?
Page 80
SCPI Command Operation SG Series Programming Command Description SCPI Sets the output current to ramp from the present value to the :RAMP <NRf> <NRf> specified value (first argument) in the specified time (second argument). See Ramp Function description below. Returns 1 if the ramp is in progress, and 0 if the ramp is :RAMP? completed.
Page 81
SG Series Programming SCPI Command Operation Command Description SCPI Sets the output voltage of the supply in volts (default) or in [:IMMediate] millivolts. Returns the output voltage of the supply in volts or in [:IMMediate?] millivolts. [:AMPLitude] Sets the output voltage of the supply in amps (default) or in <NRf>...
SCPI Command Operation SG Series Programming Command Description SCPI Sets the output voltage to ramp from the present value to :TRIGgered <NRf> the specified value (first argument) in the specified time <NRf> (second argument) upon the trigger command. See description of the Ramp Function below. :TRIGgered? Returns the output voltage to ramp Sets the output voltage to the values stored by the...
SG Series Programming SCPI Command Operation MEASURE SCPI COMMAND SUBSYSTEM This section first presents a tree summary of the MEASure commands and then provides a tabular description. MEASURE SCPI Command Summary 6.6.1 MEASure :CURRent :CURRent? :AVErage <NR1> :AVErage? :POWer? (Available only with SGI power supplies – see Section 6.13.) :VOLTage :VOLTage? :AVErage <NR1>...
SCPI Command Operation SG Series Programming OUTPUT SCPI COMMAND SUBSYSTEM This section first presents a tree summary of the OUTPut commands and then provides a tabular description. OUTPUT SCPI Command Summary 6.7.1 OUTPut :ISOLation <boolean> :ISOLation? :POLarity <string> :POLarity? :PROTection :DELay <NRf>...
SG Series Programming SCPI Command Operation Command Description SCPI :FOLD Sets the foldback (program down) mode of the supply. Valid <0|1|2> arguments are 0 (OFF or do nothing, do not program down to zero), 1 (program down to zero upon entering constant-voltage mode), or 2 (program down to zero upon entering constant-current mode).
SCPI Command Operation SG Series Programming STATUS SCPI Command Reference 6.8.2 The letter “C” in the “SCPI” column means that the command syntax is SCPI compliant; an “N” in the “SCPI” column means that the command syntax is not part of the SCPI definition. Command Description SCPI...
SG Series Programming SCPI Command Operation SYSTEM SCPI COMMAND SUBSYSTEM This section first presents a tree summary of the SYSTem commands and then provides a tabular description. SYSTEM SCPI Command Summary 6.9.1 SYSTem :ERRor? :FAULt? :LOCAL <boolean> :LOCAL? :LOCKOUT <boolean> :LOCKout? :NET :AUTOIP <boolean>...
SCPI Command Operation SG Series Programming SYSTEM SCPI Command Reference 6.9.2 The letter “C” in the “SCPI” column means that the command syntax is SCPI compliant; an “N” in the “SCPI” column means that the command syntax is not part of the SCPI definition. Command Description SCPI...
Page 89
SG Series Programming SCPI Command Operation Command Description SCPI Returns 1 if DHCP Mode is enabled in the Primary configuration. :DHCPMODE? Returns 0 if DHCP mode is disabled in the Primary configuration. Sets the network DNS IP address for the device. String is in the :DNS format “NNN.NNN.NNN.NNN”...
Page 90
SCPI Command Operation SG Series Programming Command Description SCPI Sets the return string terminators to be used by the device. Factory set to 3. The valid range is 1-4. Values indicate the following :TERM terminator(s): <NRf> 1 = 0x0d only (CR), 2 = 0x0a only (LF), 3 = 0x0d 0x0a (CR LF), 4 = 0x0a 0x0d (LF CR) :TERM? Returns the string terminators to be used by the device.
SG Series Programming SCPI Command Operation HTRIGGER SCPI COMMAND SUBSYSTEM 6.10 This section applies only to units with the External User Interface (Currently only available on Ethernet versions). The HTRIGGER function allows the user to apply an External User Interface input signal to initiate a sequence or a voltage or current ramp. Once a hardware trigger is run, Arm goes to 0 (not armed);...
SCPI Command Operation SG Series Programming TRIGGER SCPI COMMAND SUBSYSTEM 6.11 This section describes the programming soft trigger function. TRIGGER SCPI Command Summary 6.11.1 TRIGger :ABORt :RAMP :TYPE <1|2|3> TRIGGER SCPI Command Reference 6.11.2 The letter “C” in the “SCPI” column means that the command syntax is SCPI compliant;...
SG Series Programming SCPI Command Operation CALIBRATION SCPI COMMAND SUBSYSTEM 6.12 Note: See Section 7 for calibration procedures. Please refer to the power supply manual for further information before performing calibration procedures. Calibration must be performed by qualified personnel who appropriately deal with attendant hazards. If calibration is not performed properly, functional problems could arise, requiring that the supply CAUTION be returned to the factory.
SG Series Programming SCPI Command Operation CALIBRATION SCPI Command Reference 6.12.2 The letter “C” in the “SCPI” column means that the command syntax is SCPI compliant; an “N” in the “SCPI” column means that the command syntax is not part of the SCPI definition. Command Description SCPI...
Page 96
SCPI Command Operation SG Series Programming Command Description SCPI :GAIN? Returns the value of the gain for current measurements. :OFFSet <NRf> Sets the value of the offset for current measurements. :OFFSet? Returns the value of the offset for current measurements. :POINt <1|2>...
Page 97
SG Series Programming SCPI Command Operation Command Description SCPI :SAVELAST <0|1> Sets the SAVELAST condition “0” disables SAVELAST feature “1” enables SAVELAST feature :SAVELAST? Returns the status of the Save Last condition :OUTPut Calibrate Output subsystem :CURRent Calibrate Output Current subsystem :CALCulate Calculates the value of the gain and offset for output current.
SCPI Command Operation SG Series Programming Command Description SCPI :LOCK Disables access to the non-volatile memory. Prevents attempts to store calibration values. (Issue after CAL:UNLock and CAL:STORe commands) SGI-UNIQUE COMMANDS 6.13 This section deals with the SGI power supply’s unique operation commands.
SG Series Programming SCPI Command Operation SGI SOURCE SCPI Command Subsystem 6.13.2 The Power command and its corresponding query were added to the Source subsystem only in SGI for power regulation (Section 6.5 contains the Source commands that can be used in both SGA/SGe and SGI). The letter “C”...
SCPI Command Operation SG Series Programming SGI PROGRAM SCPI Command Subsystem 6.13.3 The PROGRAM subsystem, only available in SGI, provides a means to program sequences. Through sequences power supply output settings and duration for each of those individual settings, called sequence steps, can be programmed.
Page 101
SG Series Programming SCPI Command Operation :NAME “name”,<chan#> :NAME? :SAVe :SELected :ALL :STATe <value> :STATe? PROGRAM SCPI C OMMAND EFERENCE The letter “C” in the “SCPI” column means that the command syntax is SCPI compliant; an “N” in the “SCPI” column means that the command syntax is not part of the SCPI definition. Following this command reference table, are some annotated examples showing how to create a sequence (program) in your power supply.
Page 102
SCPI Command Operation SG Series Programming Command Description SCPI :DEFine <step#>, Programs the RAMPTOC sequence command into the RAMPTOC, <volts>, <start selected sequence at <step#>. The following values amps>,<end amps>, <ovp>, are programmed: the starting and ending current ramp <s> values <start amps>...
Page 103
SG Series Programming SCPI Command Operation Command Description SCPI :DEFine <step#>, Programs the LOOP sequence command into the LOOP,<count> selected sequence at <step#>. The LOOP sequence command, together with its associated <count> value and the NEXT sequence command, provides a means of repeating a set of sequence steps for a defined number of times.
Page 104
SCPI Command Operation SG Series Programming Command Description SCPI :SELected Causes the presently selected sequence to be deleted from ram and non-volatile memory. Its previously allocated memory goes back into the memory pool. The memory pool is the memory from which the MALLocate command allocates memory.
Page 105
SG Series Programming SCPI Command Operation Command Description SCPI :NAME “sequence Performs one of two possible actions. Either selects an name” already existing sequence for use. (See the PROG:CAT? command for a list of saved sequences that may be selected.) Or provides a name for a new sequence.
Page 106
SCPI Command Operation SG Series Programming Command Description SCPI :STATe? Returns the present state for the selected sequence. It returns a state for the RAM copy of the sequence, and a state for the slave processor copy. (Internally, the SGI uses a two processor architecture, where one processor processes the SCPI commands and the user interface (display and keypad), and another processor (the slave...
SG Series Programming SCPI Command Operation SGI MEASURE SCPI Command Subsystem 6.13.4 The POWer query was added to the Measure subsystem only in SGI to measure power once it is set up. (Section 6.6 contains the Measure commands that can be used in both SGA/SGe and SGI): MEASure:POWer? (Available only with SGI power supplies –...
SCPI Command Operation SG Series Programming Command Description SCPI :ARM Readies the last loaded sequence to run when the external Hardware <boolean> Trigger signal is issued. 1 = Ready to run sequence when Hardware trigger is engaged. 0 = Not Armed, Hardware trigger is ignored NOTE: To arm a different sequence, issue the HTRIG:SEQ command first.
SG Series Programming SCPI Command Operation *CLS // clear the unit to its power-on default settings. *RST // reset the unit. SOUR:VOLT:PROT 4.0 // program the OVP trip point to 4.0 VDC. SOUR:VOLT:PROT? // confirm the OVP trip point setting (response: 4.0). SOUR:CURR 1.0 // program output current to 1.0 A.
SCPI Command Operation SG Series Programming Hardware Trigger Example 6.14.4 This example applies only to units with the External User Interface (Currently only available on Ethernet versions). Program a unit to execute a test sequence “TEST02” when a hardware trigger is issued using the External User Interface (the sequence must be programmed before it can be loaded).
SG Series Programming SCPI Command Operation // value (5.0 A) to 25.0 A in 30 seconds. Ramp V Example 2 6.14.7 Program a unit with no load at the output, to ramp its output voltage from 5 VDC to 25 VDC in 30 seconds upon the trigger command. // Use SYST:ERR? after each command to verify no programming errors.
SCPI Command Operation SG Series Programming Sequence Creation and Execution Examples 6.14.9 These examples assume that the sequence memory is empty. In other words, no sequences are presently defined. If you are doing these examples for a second time, then the sequence memory must first be cleared.
SG Series Programming SCPI Command Operation PROG:STAT COMPLETE PROG:SAVE:SEL PROG:STAT? Response: Ram[0]=“STOPPED”,Slave[0]=”STOPPED” Once in the STOPPED state, the sequence is ready to run again. To rerun the sequence, issue the following two commands: OUTP:STAT PROG:STATE The sequence should run, and the output of the power supply for Example 1 should look like the following: Ramp down to 3 Ramp up to 5...
SCPI Command Operation SG Series Programming (Notice in this example the sequence is being ended with a RETURN rather than a STOP. A RETURN is more flexible because it automatically acts like a stop when SEQ2 is run directly; and yet, if SEQ2 is run as a sub-sequence, then the RETURN shall act as a statement to return to the calling sequence.) To run SEQ2 directly, issue the command as before: OUTP:STAT...
SG Series Programming SCPI Command Operation PROG:DEF 2, RAMPTOV, 3, 5, 4, 11, 10 //ramp from 3 volts to 5 volts in 10 sec PROG:DEF 3, VIMODE, 5, 4, 11, 10 //hold 5 volts for 10 sec PROG:DEF 4, RAMPTOV, 5, 3, 4, 11, 10 //ramp from 5 volts to 3 volts in 10 sec PROG:DEF 5, VIMODE, 3, 4, 11, 10...
Page 116
SCPI Command Operation SG Series Programming EXAMPLE 4 Issue *RST to establish a known state. In this example, create a sequence that pauses at its end to let the last settings remain in effect. To do this use the PAUSE command. Now create a new SEQ3: PROG:SEL:NAME “SEQ3”...
SG Series Programming SCPI Command Operation OUTP:STAT PROG:STAT Following is a diagram for Example 4. 10 volts for 5 sec Ramp down to 4 volts for 6 sec and 2 volts in 9 sec then pause indefinitely Ramp down to 3 at these last settings.
Page 118
SCPI Command Operation SG Series Programming The formula for charging is Issue *RST to establish a known state. PROG:NAME “Charge” //This sequence will simulate an RC=1 charge curve PROG:MALL DEFAULT PROG:DEF 1, VIMODE, 0, 5, 20, 1 //go to 0 volts for 1 second PROG:DEF 2, RAMPTOV, 0, 0.95, 5, 20, 0.1 //ramp from 0 to 0.95 volts in 0.1 sec PROG:DEF 3, RAMPTOV, 0.95, 1.81, 5, 20, 0.1 //ramp from 0.95 volts to 1.81 volts...
Page 119
SG Series Programming SCPI Command Operation volts in 0.1 sec) PROG:DEF 17, RAMPTOV, 7.77, 7.98, 5, 20, 0.1 (ramp from 7.77 volts to 7.98 volts in 0.1 sec) PROG:DEF 18, RAMPTOV, 7.98, 8.17, 5, 20, 0.1 (ramp from 7.98 volts to 8.17 volts in 0.1 sec) PROG:DEF 19, RAMPTOV, 8.17, 8.31, 5, 20, 0.1...
Page 120
SCPI Command Operation SG Series Programming to 3.82 volts in 0.1 sec PROG:DEF 8, RAMPTOV, 3.82, 3.46, 5, 20, 0.1 //ramp from 3.82 volts down to 3.46 volts in 0.1 sec PROG:DEF 9, RAMPTOV, 3.46, 3.12, 5, 20, 0.1 //ramp from 3.46 volts down to 3.12 volts in 0.1 sec PROG:DEF 10,RAMPTOV, 3.12, 2.83, 5, 20, 0.1 //ramp from 3.12 volts down to 2.83 volts in 0.1 sec...
SG Series Programming SCPI Command Operation PROG:NAME “Charge” OUTP:STAT ON PROG:STAT The output for Example 5 should look like the following diagram: “Charge” “Discharge” Figure 6-5. Power Supply Output for Example 5 M550129-03 Rev L 6-55...
SCPI Command Operation SG Series Programming EXAMPLE 6 This example shows how to make an infinite loop for the creation of a continuous square wave: Issue *RST to establish a known state. PROG:NAME “Square Wave” PROG:MALL DEFAULT PROG:DEF 1, VIMODE, 0, 5, 15, 0.5 //go to 0 volts, 5 amps, 15 volts ovp, for 0.5 seconds PROG:DEF 2, VIMODE, 10,5,15,0.5 //go to 10 volts, 5 amps, 15 volts ovp, for...
Page 123
SG Series Programming SCPI Command Operation To stop the execution of the square wave sequence, issue the STOP state command: PROG:STAT STOP The sequence should stop running while the unit remains at the state of the last command within the sequence. To pause instead of stop, issue the PAUSE state command instead: PROG:STAT PAUSE...
Page 124
SCPI Command Operation SG Series Programming EXAMPLE 7 This example shows how to make a definite length square wave (as opposed to an infinite length square wave) that has a specified number of cycles. Issue *RST to establish a known state. PROG:NAME “Pulse Train”...
SG Series Programming SCPI Command Operation OUTP:STAT ON PROG:STAT The power supply output for Example 7 should look something like the following: Figure 6-7. Power Supply Output for Example 7 M550129-03 Rev L 6-59...
Page 126
SCPI Command Operation SG Series Programming This page intentionally left blank. 6-60 M550129-03 Rev L...
SECTION 7 CALIBRATION CAUTION Please refer to the power supply operation manual for further information before performing calibration procedures. Only qualified personnel who deal with attendant hazards in power supplies, are allowed to perform calibration procedures. If calibration is not performed properly, functional problems could arise, requiring that the supply be returned to the factory.
Calibration SG Series Programming be issued once calibration procedures have been performed. SETUP FOR CALIBRATION This section provides calibration setup for GPIB, RS232 and Ethernet; note that Step 6 provides separate instructions for each control interface. STEP DESCRIPTION 1. Disconnect the Unit Under Test (UUT) AC input power. (The UUT is the power supply that will be calibrated.) 2.
SG Series Programming Calibration VOLTAGE PROGRAMMING CALIBRATION (ETHERNET) STEP DESCRIPTION 1. Issue a *CLS command. 2. Issue a *RST command. 3. Program the overvoltage protection to maximum to prevent nuisance trips: CAL:OUTP:VOLT:PROT:DAC 65535 4. Program the output current to full scale to prevent Constant-Current operation: CAL:OUTP:CURR:DAC 65535 5.
Page 130
Calibration SG Series Programming 13. Enter the actual output voltage value of the third calibration point: CAL:OUTP:VOLT:FIVEPOINT 3 <value 3> 14. Program the output of the fourth calibration point by sending the following command string from the computer: CAL:OUTP:VOLT:DAC 45000 15.
SG Series Programming Calibration VOLTAGE PROGRAM GAIN/OFFSET AND MEASUREMENT READBACK CALIBRATION (ETHERNET, GPIB) NOTE: This calibration procedure is required in order to use Constant Power Mode programming. STEP DESCRIPTION 1. Program the overvoltage protection to maximum to prevent nuisance trips: CAL:OUTP:VOLT:PROT:DAC 65535 2.
Calibration SG Series Programming 11. Program the DIA to unlock the non-volatile memory for calibration value storage: CAL:UNLOCK “6867” 12. Program the DIA to store the calibration values in non-volatile memory: CAL:STORE Allow 15 seconds for the non-volatile memory to be updated with the new calibration values.
SG Series Programming Calibration CURRENT PROGRAMMING CALIBRATION (ETHERNET) Preparation: 1. Power down the Unit Under Test (UUT) and remove the input power for safety. 2. Allow 5 minutes for the energy in the output to bleed down to a safe level. 3.
Page 134
Calibration SG Series Programming 10. Enter the actual output current of the second calibration point: CAL:OUTP:CURR:FIVEPOINT 2 <value 2> 11. Program the output of the third calibration point by sending the following command string from the computer: CAL:OUTP:CURR:DAC 32000 12. Let the output settle and measure the output current with the current shunt and the high precision voltmeter;...
SG Series Programming Calibration 23. Program the supply to lock the non-volatile memory for calibration value protection: CAL:LOCK CURRENT PROGRAMING GAIN/OFFSET AND MEASUREMENT READBACK CALIBRATION (ETHERNET, GPIB) NOTE: This calibration procedure is required in order to use Constant Power Mode programming. STEP DESCRIPTION Program the overvoltage protection to maximum to prevent nuisance trips:...
Page 136
Calibration SG Series Programming Reset the output current to 0 amps. CAL:OUTP:CURR:DAC 0 10. Program the Digital Interface Adapter (DIA) to calculate the current readback calibration gain and offset values: CAL:OUTP:CURR:CALC CAL:MEAS:CURR:CALC 11. Program the DIA to unlock the non-volatile memory for calibration value storage: CAL:UNLOCK “6867”...
SG Series Programming Calibration ANALOG PROGRAM ADJUSTMENT This sections applies only to units with the Isolated Interface Adapter *(IIA) option. All calibration potentiometers can be adjusted through access holes in the top cover of the SGI Series unit. It is not necessary to remove the top cover to perform the calibration procedure.
Calibration SG Series Programming STANDARD CALIBRATION ADJUSTMENT R35 = VPRES (1mA) Adjust R33 = IPRES (1mA) Adjust R74 = 100% Voltage Adjust R90 = Zero Voltage Adjust R69 = 100% Current Adjust R55 = Zero Current Adjust ISOLATED ANALOG (OPTION) CALIBRATION ADJUSTMENT R39 = 100% Voltage Adjust R35 = Zero Voltage Adjust...
SG Series Programming Calibration Preparation: 1. Remove prime AC power. 2. Connect the power supply to a precision current shunt (Figure 7-2) capable of a minimum of 10% above full rated output. A fan may be required to cool the shunt.
Calibration SG Series Programming Adjustment for Current Mode 7.8.1 STEP DESCRIPTION 1. Set the SGI Series unit to operate in remote current programming mode using an external 0-5 VDC voltage source as shown in Figure 7-3. 16 IP 10V COM 6 IP 5V 10 23 IP RTN 0-5 VDC...
SG Series Programming Calibration 7. Verify the unit is set to 100% ± 0.8% of full-scale output current. If necessary, adjust R33 (on the isolated interface adapter) for 100% of full-scale current on the shunt. 8. Set the programming source for 0.5V ± 1mV. 9.
Calibration SG Series Programming 7. Set the programming source to 0.5V ±1mV. 8. Verify that the unit is set to 10% ± 0.25% of full-scale output voltage. If necessary adjust R35 (on the isolated interface adapter) for 10% output voltage. 9.
SECTION 8 SCPI STATUS IMPLEMENTATION M550129-03 Rev L...
Page 144
SCPI Status Implementation SG Series Programming This page intentionally left blank. M550129-03 Rev L...
Page 145
The Protection Enable Register. Readable using the STAT:PROT:ENAB? query command. Writable using the STAT:PROT:ENAB <value> command. Used to select what fault events could set a bit in the Fault Register. Certain faults can occur even if they are not enabled. This is because the Protection Enable Register merely filters which events are allowed to affect the Fault Register, not whether those events can occur or not.
Page 148
SCPI Status Implementation SG Series Programming Ethernet, 5-10 External User Control Signal Connector Network Setup Procedure SHUTDOWN input signal, 5-11 Auto-IP, 5-5 External User Control Signal Connector DHCP, 5-4 TRIGGER IN input signal, 5-11 Serial COM Port, 5-6 External User Control Signal Connector Web Browser, 5-7 Warning, 5-12 Operation Status and Questionable Status...