background image

2

GMC-I Messtechnik GmbH

Content

Page 

1

SCPI Introduction  ............................................................. 2

1.1

What is SCPI?  ...............................................................2

1.2

Command Syntax  ..........................................................2

1.2.1 SCPI Keywords  .............................................................2
1.2.1.1 Forms of Keywords  .....................................................2
1.2.1.2 Keyword Conventions  .................................................3
1.2.2 Separators .....................................................................3
1.2.3 Parameters ....................................................................3
1.2.3.1 Parameter Formats ......................................................3
1.2.3.2 Data Unit  .....................................................................3
1.2.4 Terminators ...................................................................3
1.3

Examples .......................................................................3

1.3.1 Simple Command Statements  .......................................3
1.3.2 Compound Command Statements  ................................3
1.3.3 Simple Command Queries  .............................................3
1.3.4 Compound Command Queries  ......................................3

2

SCPI Commands Descriptions .......................................... 4

2.1

IEEE488.2 Common Commands  ...................................4

2.2

SCPI Root Commands  ..................................................6

2.2.1 ABORt ...........................................................................6
2.2.2 CURRent Subsystem  .....................................................6
2.2.3 VOLTage Subsystem  .....................................................7
2.2.4 RESistance Subsystem ..................................................8
2.2.5 POWer Subsystem  ........................................................8
2.2.6 INPut Subsystem  ...........................................................8
2.2.7 TRANsient Subsystem  ...................................................9
2.2.8 LIST Subsystem  ..........................................................10
2.2.9 MODE ..........................................................................10
2.2.10 MEASure .....................................................................11
2.2.11 STATus Subsystem  .....................................................11
2.2.12 SYSTem ......................................................................12
2.2.13 TRlGger Subsystem .....................................................12
2.2.14 ATTery Subsystem .......................................................13

3

Error Messages  .............................................................. 13

4

Status Register Reporting  .............................................. 14

5

Product Support  ............................................................. 16

1

SCPI Introduction

1.1

What is SCPI?

SCPI is the Standard Commands for Programmable Instruments 
based on the IEEE488.1 and IEEE488.2 Standards. It conforms 
to IEEE754 Standard for Floating-Point Arithmetic, ISO646 7-bit 
Coded Character Sets for Information Exchange, and other kinds 
of standards.
SCPI Commands for SPL Series Electronic Load can be divided 
into two types: one is IEEE488.2 common commands; the other 
is specific commands for the load.

Some generic commands and queries for instruments are 

defined by the IEEE488.2 common commands. All IEEE488.2 
common commands consist of “*” and the mnemonic symbol of 
three characters. (For example: *IDN?, *SAV, *WAI etc.)

The specific commands are used to execute settings, testing, 

and measuring etc. functions of the load. These commands are 
organized in the form of the command tree. Each command con-
tains several mnemonic symbols. The nodes are separated by the 
character “:”, see figure 1-1. The top part of the command tree is 
called “ROOT”. The entire path from “ROOT” to leaf node is a 
complete programming command. 

1.2

Command Syntax

SCPI Commands for SPL Series Electronic Load carry on and 
expand IEEE488.2 Standards. The programming command con-
sists of keywords, separators, parameters, and terminators etc. 
Take the following command as an example:

CURRent:PROTection:STATe ON
CURRent, PROTection, STATe are the keywords; “:” and 

spaces are separators; ON is the parameter (some commands 
have several parameters; they are separated by “,”); the carriage 
return after the command is a terminator. 

To make it easy to describe, the various follow-up symbols 

represent:

Square brackets ([]) represent the optional keywords or the 

parameter can be omitted. 

Braces ({}) represent the parameter options in the command 

string.

Angle brackets (<>) represent that it is necessary to provide a 

numeric parameter.

Vertical line (|) is used to separate multiple parameter options.

1.2.1

SCPI Keywords 

1.2.1.1 Forms of Keywords 

Each keyword has two forms: long form and short form.

Long Form

   It consists of one word or a phrase. If it is a word, the 

long form keyword should be the complete word; if it is a phrase, 
the long form keyword should consist of the first letter of each 
word and the whole letters of the last word. The long form key-
word for STATUS is STATus; the long form keyword for LOW 
LEVEL is LLEVel.

Short Form

   The word contains only the first three or four letters of 

the long form. The short form keyword for STATUS is STAT; the 
short form keyword for LOW LEVEL is LLEV.
Short forms are constructed according to the following rules:

If the keyword consists of four or fewer letters, then all the let-
ters are used. 

If the keyword consists of five or more letters, 

and the fourth letter is not a vowel,
then the first four letters are used;
and the fourth letter is a vowel,
then only the first three letters are used.

Summary of Contents for KONSTANTER SPL Series

Page 1: ... AMPLitude LOW INPut STATe SHORt STATe LATCh STATe VOLTage LEVel MEASure SCALar CURRent DC VOLTage DC STATus QUEStionable EVENt CONDition ENABle ENABle OPERation SYSTem ERRor NEXT VERSion REMote LOCal REMote UPDate UPDate CODE TRIGger IMMediate SOURce FUNCtion ABORt VOLTage LEVeI IMMediate AMPLitude LOW POWer LEVeI IMMediate AMPLitude MODE LIST STATe MEMO NUMBer COUNt CHAin SAVE CLEar BATTery STAT...

Page 2: ...tains several mnemonic symbols The nodes are separated by the character see figure 1 1 The top part of the command tree is called ROOT The entire path from ROOT to leaf node is a complete programming command 1 2 Command Syntax SCPI Commands for SPL Series Electronic Load carry on and expand IEEE488 2 Standards The programming command con sists of keywords separators parameters and terminators etc ...

Page 3: ...ee list 1 3 for Most Used Unit Multipliers List1 2 Data Unit List1 3 Most Used Unit Multipliers 1 2 4 Terminators The command string sent to the load must be terminated by a new line symbol carriage return character IEEE 488 EOI End Or Identify can be regarded as new line symbol to be the ter minator of the command It is acceptable if there is a new line symbol after the carriage return character ...

Page 4: ...re triggers and the trigger source has not been previously set to EXT at this time in this case the only programmable way to restore operation is by sending the load a GPIB DCL Device Clear command Query Syntax OPC Returned Parameter NR1 Related Commands OPC TRIG SOUR WAI PSC This command controls the request service at power turn on 1 When the load is power on the settings of Status Byte Enable r...

Page 5: ...est bit bit 6 of the Status Byte register will not be cleared when a serial poll is sent See Status Reporting for more details concerning the Status Byte register Query Syntax STB Parameter None Returned Parameter NR1 TRG This command which is essentially the same as the Group Exe cute Trigger GET generates a trigger to the load only if TRIG SOUR is set to BUS This command becomes effective only w...

Page 6: ...limit for software protection and the load enters into the current protection status When the input current reaches the current limit for the specified delay period the load input is turned off Command Syntax SOURce CURRent PROTection LEVel NRf Parameter Digits MIN MAX Unit A mA Example CURR PROT 15A Query Syntax SOURce CURRent PROTection LEVel Parameter None MIN MAX Example CURR PROT CURR PROT MI...

Page 7: ... RATE 2 2 3 VOLTage Subsystem SOURce VOLTage LEVeI IMMediate AMPLitude Specifies the immediate voltage level for the load VOLT MIN and VOLT MAX return the maximum and minimum voltage level for the present range If the set level exceeds the range an error will be generated Command Syntax SOURce VOLTage LEVel IMMediate AMPLitude NRf Parameter Digits MIN MAX Unit V mV Example VOLT 5V Query Syntax SOU...

Page 8: ... the same range with the immediate resistance level Command Syntax SOURce RESistance LEVel HIGH NRf Parameter Digits MIN MAX Unit OHM Example RES HIGH 3 OHM Query Syntax SOURce RESistance LEVEL HIGH Parameter None MIN MAX Example RES HIGH RES HIGH MIN RES HIGH MAX Returned Parameter NR3 Related Commands RESistance HIGH TRAN HTIMe 2 2 5 POWer Subsystem SOURce POWer LEVeI IMMediate AMPLitude Specifi...

Page 9: ...ubsystem SOURce TRANsient STATe Enables Disables the transient operation Command Syntax TRANsient STATe bool Parameter ON OFF Example TRAN ON Query Syntax TRAN STATe Returned Parameter NR1 Value 0 for OFF 1for ON TRANsient MODE Sets the transient operating mode There are three transient oper ating modes Continuous Pulsed and Toggled Command Syntax TRANsient MODE aard Parameter CONTinuous PULSe TOG...

Page 10: ...None None Current Unit Voltage Unit Resistance Unit s Example LIST INSert 2 cch 2a 1s Related Commands LIST DEL LIST ADD SOURce LIST STEP EDIT Edits one specified step Command Syntax SOURce LIST STEP EDIT NR1 aard NRf NRf Parameter 1 50 CCL CCH CRL CRM CRH CV Digits MIN MAX Digits MIN MAX Unit None None Current Unit Voltage Unit Resistance Unit s Example LIST EDIT 2 cch 3a 1s SOURce LIST STEP DELe...

Page 11: ...Query Syntax STATus QUEStionable CONDition Parameter None Returned Parameter NR1 STATus QUEStionable ENABle Sets the bits of the Questionable Status Enable register The pro gramming parameters determine whether or not a 0 to 1 transition in the Questionable Event register will set the QUES bit of the Sta tus Byte register See Status Reporting for more details concern ing the Questionable Status En...

Page 12: ...mmunicated via GPIB port Command Syntax SYSTem LOCal Parameter None Returned Parameter None Related Commands SYSTem REMote 2 2 13 TRlGger Subsystem TRIGger IMMediate This command generates a trigger signal to the load regardless of which trigger source is currently in effect It has the same func tion as the TRG command Command Syntax TRIGger IMMediate Parameter None Related Commands TRIG SOUR TRIG...

Page 13: ...Description 103 Invalid separator There is invalid separator existed in command string You may use the comma to replace the colon semicolon or space or you may use the space to replace the colon 104 Data type error You may specify a digit where the character string is required or you may specify a character string where a digit is required 108 Missing parameter or Parameter not allowed Received fe...

Page 14: ...d 5 OT Over temperature When over power occurs the load is turned off and OP PS are set OP PS remain set till the temperature is re duced by the fan and the INP PROT CLE is received 6 CC Constant Current mode 7 CV Constant Voltage mode 8 CP Constant Power mode 9 CR Constant Resistance mode 13 PS Protection Shutdown The electronic load is turned off due to over current over power or over temperatur...

Page 15: ...GMC I Messtechnik GmbH 15 The following diagram shows the relationship among the load s status registers ...

Page 16: ...H Südwestpark 15 90449 Nürnberg Germany Telefon 49 911 8602 111 Telefax 49 911 8602 777 E Mail info gossenmetrawatt com www gossenmetrawatt com 5 Product Support If required please contact GMC I Messtechnik GmbH Product Support Hotline Phone 49 911 8602 0 Fax 49 911 8602 709 E mail support gossenmetrawatt com ...

Reviews: