Elektro-Automatik IF-E1 Скачать руководство пользователя страница 4

4

CN

电子负载产品用

SCPI 

指令操作说明书

日期:23-07-2015

SCPI

3.  SCPI指令

3.1  IEEE488.2通用指令

*IDN?

  

返回产品识别码,包括:

  

用户文本,产品供销商,产品名称,系列号,固
件版本,插入的接口卡系列号和固件版本

<LF>

*RST

  

按下列步骤重设产品:

 

 - 

设为远程控制模式(如果允许)

 

设输入为

OFF 

重设产品所有过去的报警

*STB?

  

读出

Status Byte Register

,然后清除

下列指令仅支持

GPIB

IF-G1

*TRG

  

触发一个测量

*CLS

  

清除

GPIB

控制器的所有事件和状态寄存器

*ESE 

<CHAR> 

设置

Event Status Enable Register

*ESE?

  

读出

Event Status Enable Register

*ESR?

  

读出

Event Status Register

,读取后即清除

*SRE 

<CHAR> 

设置

Service Request Enable Register

*SRE?

  

读出

Service 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 Register (ESE)

屏蔽,以信号显示出

现了一个或多个事件

Bit 6:  

rsv

,始终为激活状态

Bit 7:  

oper

,以信号显示出现了一个或多个事件,并存储于

Operation Status Register

如果出现的事件可以报告,可通过使能寄存器里的对应位元

*ESE

*SRE

STAT:QUES:ENAB

STAT:OPER:ENAB

将各种事件元报告给

STB

ESR

的位元组成如下:

Bit 0: 

操作完成

Bit 1: 

不用

Bit 2:  

查询错误

Bit 3:   Device Dependent Error (

硬件缺陷等

)

;从

-399

-300

,以及

100...399

Bit 4:   Execution  Error

 (

超过电流极限和其它极限);

-299

-200

Bit 5:  Command Error

(

指令错误);

Errors

-199

-100

Bit 6: 

不用

Bit 7   Power On (

产品被打开

)

*CLS

指令可清除事件和状态寄存器。

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

Отзывы: