background image

29

EN

Instruction Manual

SCPI Commands for Electronic Loads

Date: 23-07-2015

SCPI

3.9  Special commands

3.9.1  SYST:DATA:SET and SYST:DATA:REQ

Note

This section only applies to the Ethernet cards IF-E1, IF-

E2 and IF-E1B!

Only via the Ethernet

 port, the network card is working with 

SCPI commands, which are described starting section 3.
In addition, the card provides two extra commands which 

can be used to send a telegram to the device in hexadecimal 

form, which is similiar to the object orientated binary protocol 

(as described in the external guide „

Programming

“). Purpose 

of these commands is to control features of the device where 

no particular SCPI is available for. So you can even control 

the PSI 9000 or PSI 8000 series function manager via these 

two SCPI commands. In order to do this you only need to 

build a telegram like this:
SYST:DATA:SET

ON, DATA 

resp.

SYST:DATA:REQ

ON

All 

ON

 and 

DATA

 bytes are decimal values and are sent to 

the device with the SYST:DATA:SET command. 

Important: 

All bytes must be seperated by commas!

DATA

 is required when sending something to the device, 

like a set value or a status. The number of 

DATA

 bytes must 

be correct, else the device will return an error. The 

DATA

 

length is defined in the object lists (see external 

object lists

and varies from object to object.
For example, when sending a voltage set value, a 16 bit 

integer is required, which results in two bytes and two 

comma seperated decimal values for the SYST:DATA:SET 

command.
The first value, 

ON

, represents the object number (i.e. like 

a command) from column 1 of the object lists. It defines the 

target for 

DATA

. The combination of object number and data 

is considered as a set command, while the object number 

alone is considered as a query command.

Example 1:

The level control shall be set to „Level A/B“, dynamic mode. 

Given that the e-load is already set to remote control and 

according to the 

object list

 for EL3000/EL9000, object 54 

has to be used. The list defines bits 5 and 6 of control byte 

to select the Level mode, where the binary value 10 will set 

„Level A/B“. So the control byte will be hex 0x40 and decimal 

64. The required mask will be hex 0x60 and 96 decimal. 

The mask selects the bits to change and to initiate a certain 

reaction by the control byte without effecting the other bits.
The resulting SCPI command looks like this:

SYST:DATA:SET

54,

96,

64

For further information about the meaning of the values 

refer to the external guide „

Programming

“ and the related 

object lists

.

Example 2:

The actual values of voltage, current and power shall be 

queried from the device. This is done by a REQuest. Accor-

ding to the object lists, the object 71 returns all three actual 

values at once in form of six single bytes. The request would 

look like this:

SYST:DATA:REQ

71

The device will, for example return, six decimal values:

71,

67,

37,

21,

127,

24,

16

The first value is the object, the rest is the actual values. Two 

subsequent values build a 16 bit value, which represents 

the actual value as per cent. So the 6 values result in these 

hexdecimal, combined values:

67,

37,

21,

127,

24,

16

0x4325, 0x157F, 0x1810

The calculation into decimal or hexadecimal per cent values 

can also be done like this (VB, C or similiar):
Per cent value = First value * 256 + Second value
For the first two bytes of the example above, this will calcu-

late to a decimal of 17198, ie. 67 * 256 + 37, which again 

represents the hexadecimal value of 0x4325.
The order or the resulting three 16 bit values is defined:
Firrst value is actual voltage, the second the actual current 

and the third the actual power, each in per cent of the no-

minal value of the device. After this, they need to be calcu-

lated to real values. See section 1.7 of the external guide 

Programming

“.

In order to translate the calculated per cent value into a 

real actual value, the nominal values of the load required 

as reference. Let‘s say the load has 80 V, 200 A and 4800 

W, like with a EL9080-200. A second formula would be this:
Real actual value = Nominal value * per cent value / 25600
For the example above and the per cent value of the current 

0x157F, it would result like this:
200 A * 5503 / 25600 = 43 A

Note

This example corresponds to the SCPI command 

MEAS:ARR?. It means, that the command would return 

the same values as the calculated ones. It may occur that 

values returned by MEAS:ARR? command slightly differ in 

the decimal places due to a small translation error.

Содержание IF-E1

Страница 1: ...SCPI STANDARD COMMANDS FOR PROGRAMMABLE INSTRUMENTS Command List For Electronic Loads For use with IF G1 IF E1B IF E2B IF E1 discontinued...

Страница 2: ...2 CN SCPI 23 07 2015 1 3 2 3 3 SCPI 4 3 1 IEEE488 2 4 3 2 4 3 3 5 3 4 6 3 5 6 3 6 9 3 7 9 3 8 9 3 9 12 3 9 1 SYST DATA SET SYST DATA REQ 12 4 13 5 14 5 1 SCPI 14...

Страница 3: ...0 A Time ddd hh mm s s s s s s s s s s s SCPI 1 GPIB IF G1 EOS 0x00 SCPI LF Line Feed 0xA ASCII 10 PC SPC IF G1 1 2 3 03 IF G1 CR LF CR EOI 2 1999 SCPI Command reference Numeric value MIN NR1 NR2 NR3...

Страница 4: ...vice Request Enable Register 3 2 Status Register STB GPIB Ethernet STB Bit 0 Bit 1 Bit 2 err 4 Bit 3 ques Questionable Status Register Bit 4 Bit 5 esr Event Status Register ESR Event Status Enable Reg...

Страница 5: ...z z z 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 0 0 0 0 1 7 6 5 4 3 2 8 9 10 11 12 13 14 U U U U U D U D U D 0 U U U 0 0 0 0 0 U D U D U D U D U D U D U D 0 U D U D U D 0 0 0 0 U D U D U D...

Страница 6: ...R1 PTRtransition NR1 PTRtransition NR1 NTRtransition NR1 NTRtransition NR1 QUEStionable EVENT NR1 Questionable Status Register CONDition NR1 QUES ENABle NR1 QUES ENABle NR1 PTRtransition NR1 PTRtransi...

Страница 7: ...10 1 REMote OPER Register 8 0 9 1 10 0 VERSion SRD SCPI SYST LOCK OWN SYST LOCK STAT 1 LOCK ON IF E1 IF E2B IF E1B SYSTem DATA SET CHAR SET 3 9 1 Programming object list SYST DATA SET 51 100 0 0x33 0x...

Страница 8: ...07 2015 IF E1B SYSTem COMMunicate NETwork MAC SRD MAC IPADdress SRD IP 192 168 0 2 IPADdress CHAR IP MASK SRD 255 0 0 0 MASK CHAR GATEway SRD 0 0 0 0 GATEway CHAR SYST COMM NET IPAD 192 168 0 2 IP 192...

Страница 9: ...PI Command reference 19 Source Subsystem 3 01 HIGH LOW HIGH LOW Level A B Level Control Mode LevelA CV VOLT Level A Keep set values no Mode SOURce VOLTage LEVel NRf Unit Level A B LEVel NRf Unit Level...

Страница 10: ...Level B LOW NRf Unit Level A B Level B CURR 20 00 20 A A B CURR HIGH Level A B Level A SOUR CURR LOW 0 4 A Level A B Level B 0 4 A III 1999 SCPI Command reference 19 Source Subsystem 3 01 HIGH LOW HIG...

Страница 11: ...Level A B Level B LOW NRf Unit Level A B Level B RES 1 300 1 3 RES HIGH Level A B Level A 1 2 V Level A B 1999 SCPI Command reference 19 Source Subsystem 3 01 A HIGH B LOW I IV Level A B A B 0 0005 s...

Страница 12: ...ct lists 16 SYST DATA SET ON DATA 1 Level A B EL3000 EL9000object list 54 5 6 10 LevelA B 0x40 64 0x60 96 SCPI SYST DATA SET 54 96 64 Programming object list 2 RE Quest 71 6 SYST DATA REQ 71 6 71 67 3...

Страница 13: ...while in local 203 Command protected R 223 Too much data 224 Illegal parameter value 225 Out of memory 240 Hardware error CAN CAN 241 Hardware missing 220 Parameter error 221 Settings conflict OUTPUT...

Страница 14: ...S SCAL ARR 3 MEAS SCAL VOLT DC 1 MEAS SCAL CURR DC 1 MEAS SCAL POW DC 1 OUTP 1 0 ON OFF OUTP ON OFF OUTP STAT 1 0 ON OFF OUTP STAT ON OFF POW 0 Pmax POW Pset POW LEV 0 Pmax POW LEV Pset POW HIGH POW L...

Страница 15: ...PULS TRAN LEAD STAT OPER STAT OPER EVENT 0 32767 STAT OPER COND 0 32767 STAT OPER ENAB 0 32767 STAT OPER ENAB 0 32767 STAT OPER PTR 0 32767 STAT OPER PTR 0 32767 STAT OPER NTR 0 32767 STAT OPER NTR 0...

Страница 16: ...T 2 U 3 U P S I 8 0 0 R P S I 9 0 0 0 E L 3 0 0 0 E L 9 0 0 0 VOLT VOLT VOLT LEV VOLT LEV VOLT HIGH VOLT HIGH VOLT LOW VOLT LOW VOLT PROT OVP VOLT PROT OVP VOLT PROT LEV OVP VOLT PROT LEV OVP RST IDN...

Страница 17: ......

Страница 18: ...ommands 20 3 1 Common IEEE488 2 commands 20 3 2 Event system 20 3 3 Register block 21 3 4 Status commands 22 3 5 System commands 22 3 6 Commands to control the input 25 3 7 Measurement commands 25 3 8...

Страница 19: ...iters LF Line Feed 0xA ASCII 10 A transmission from the device requires to first sent a mes sage from the host PC SPC etc The IF G1 will reply if the host expects a reply This is the case if the end o...

Страница 20: ...queried from the device by reading the Status Register STB GPIB Ethernet The status register STB consists of these bits Bit 0 Not used Bit 1 Not used Bit 2 err Error queue full this queue is cleared b...

Страница 21: ...U D U D U D 0 0 0 0 U D U D U D U D U D U D 0 U D U D U D 0 0 0 0 Enable Condition Positive transition Negative transition Event OR z z z z 0 0 0 0 0 0 0 z 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 0...

Страница 22: ...the Questionable Status Register CONDition INT Query QUES event conditions ENABle INT Enable events for QUES ENABle INT Query PTRtransition INT Event will be triggered only at rising edge PTRtransiti...

Страница 23: ...net cards IF E1 IF E2B and IF E1B SYSTem DATA SET CHAR Transport encapsulated telegram in binary format Here Send data SET also see section 3 9 1 Further information about the encapsulated telegram ca...

Страница 24: ...is switched off and then on again MASK SRD Query the actual subnet mask address of the unit which will be returned in the typical format Example 255 0 0 0 MASK CHAR Set subnet mask via commandwith com...

Страница 25: ...d reference 19 Source Subsystem For electronic loads applies These commands are supported since device firmware 3 01 and up the HIGH set value always has to be greater than the LOW set value else an e...

Страница 26: ...the last set value for current Level A or B depending on what is currently active LEVel NRf Unit Set current Level A or B depending on what is currently active HIGH NRf Unit Set value for current of L...

Страница 27: ...are always dedicated to the currently selected Level Control That is if Level A is active and mode CR is preselected the set value sent with RES is set for Level A etc Else the set value is ignored a...

Страница 28: ...0 s Rise time 0 0003 s 0 2 s This results in a period pulse width A B of 100 s 200 s period time which corresponds to 10 kHz 0 005 Hz The duty cycle is thus adjustable from 50 s to 100 s or 0 025 to 9...

Страница 29: ...hex 0x40 and decimal 64 The required mask will be hex 0x60 and 96 decimal The mask selects the bits to change and to initiate a certain reaction by the control byte without effecting the other bits Th...

Страница 30: ...221 Settings conflict Read write law violated no access Access to menu only when OUTPUT OFF Access to set values denied 222 Data out of range Values exceeds upper or lower limit 223 Too much data Obj...

Страница 31: ...lue MEAS SCAL ARR 3 values MEAS SCAL VOLT DC 1 value MEAS SCAL CURR DC 1 value MEAS SCAL POW DC 1 value OUTP 1 0 ON OFF OUTP ON OFF OUTP STAT 1 0 ON OFF OUTP STAT ON OFF POW 0 Pmax POW Set value of po...

Страница 32: ...RAN dito SOUR PULS TRAN LEAD dito SOUR PULS TRAN LEAD dito STAT OPER STAT OPER EVENT 0 32767 STAT OPER COND 0 32767 STAT OPER ENAB 0 32767 STAT OPER ENAB 0 32767 STAT OPER PTR 0 32767 STAT OPER PTR 0...

Страница 33: ...V dito VOLT HIGH dito VOLT HIGH dito VOLT LOW dito VOLT LOW dito VOLT PROT dito OVP VOLT PROT dito OVP VOLT PROT LEV dito OVP VOLT PROT LEV dito OVP RST IDN String max 128 characters STB 0 255 ESR 0 2...

Страница 34: ...EA Elektro Automatik GmbH Co KG Helmholtzstra e 31 33 41747 Viersen Germany Tel 49 2162 37850 Fax 49 2162 16230 ea1974 elektroautomatik cn www elektroautomatik cn...

Отзывы: