background image

6

CN

电子负载产品用

SCPI 

指令操作说明书

日期:23-07-2015

SCPI

3.4  状态指令

(

按照“

1999 SCPI Command reference

规格:

20 Status Subsystem)

Operation Status Register (

OPER

) (

见上页图表

)

将多个状态(远程,本机等)存储于

Condition

寄存器内,一旦用

Enable

键激活,即可转给

Event

寄存器.

Positive transition

Negative transition

掩码决定是否由上升沿或下降沿来触发事件。可用

这个功能感测状态的出现和

/

或消失。

这同样适用于

Questionable Status Register (

QUES

)

OPER

的配置如上图所示,只有当

“local

信号从低至高变化时,它才

产生一事件。另一方面,“

Function mode

”信号在下降沿也会产生事件。

STATus

   :

OPERation

 

         

根据状态操作

    

:

EVENT

?

   -><NR1> 

 

查询

Status Operation Register

内的事件

     :

CONDition?

   -><NR1> 

 

查询

OPER

事件条件

     :

ENABle

            <NR1>  

启动

OPER

事件

     :

ENABle?

    -><NR1> 

 

查询

     :

PTRtransition

        <NR1>  

只有在上升沿才可触发事件

     :

PTRtransition?

    -><NR1>  

查询

     :

NTRtransition

        <NR1>  

只有在下降沿才可触发事件

     :

NTRtransition?

    -><NR1>  

查询

   :

QUEStionable

 

        

产品和函数的具体事件

    

:

EVENT

?

   -><NR1> 

 

查询

Questionable Status Register

下的事件

     :

CONDition?

   -><NR1> 

 

查询

QUES

事件条件

     :

ENABle 

           <NR1>  

启动

QUES

事件

     :

ENABle?

    -><NR1> 

 

查询

     :

PTRtransition 

       <NR1>  

只有在上升沿才可触发事件

     :

PTRtransition?

    -><NR1>  

查询

     :

NTRtransition

        <NR1>  

只有在下降沿才可触发事件

     :

NTRtransition?

    -><NR1>  

查询

举例:

STAT:OPER?

             

查询

OPERation Status Event Register

STAT:OPER:ENAB

1919

         

启动

OPERation Status Event register

所有事件

3.5  系统指令

(

按照“

1999 SCPI Command reference

规格:

19 Source Subsystem)

SYSTem:

  

ERRor:ALL?

     -><Err>[,<Err>]… 

查询错误队列,用来读取错误描述和代码;

 

              

err

esr

ESR

位元:

Condition

被清除

  

ERRor:NEXT?    

-><Err>    

查询队列的最后一个错误;如果队列为空,

 

              

err

esr 

ESR

位元:

Condition

被清除

提示

询问错误时会卡返回一通讯与设备错误,而卡则只返回通讯错误。

  

LOCK

 

      [

:STATE

   <B0> 

    1 

或 

ON=

如果未被锁定,产品进入遥控模式。

 

 

              0 

或 

OFF=

退出远程控制模式,返回正常操作

注意!

只有产品未处于远程模式时才可进行监控。意思是:此时只能查询实际数值和状态。要查询设定状态、模式和设定值,需
通过

LOCK:STATE 1

LOCK 1

,以及

*

RST

 

(见章节3.1

)

将产品转为远程模式。

若想完成这个转换,必须解锁远程模式。关于条件、锁定和模式的更多信息,请查看您使用产品的操作指南。

 

Содержание 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...

Отзывы: