Elektro-Automatik IF-G1 User Manual

Elektro-Automatik IF-G1 User Manual

Scpi command list for electronic loads
Hide thumbs Also See for IF-G1:
Table of Contents

Advertisement

Quick Links

SCPI
STANDARD COMMANDS FOR PROGRAMMABLE INSTRUMENTS
可编程仪器标准指令
电子负载系列的
指令清单
Command List
For Electronic Loads
适用于 / For use with
IF-G1 / IF-E1B / IF-E2B / IF-E1*
* 已停产 / discontinued

Advertisement

Chapters

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IF-G1 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Elektro-Automatik IF-G1

  • Page 1 SCPI STANDARD COMMANDS FOR PROGRAMMABLE INSTRUMENTS 可编程仪器标准指令 电子负载系列的 指令清单 Command List For Electronic Loads 适用于 / For use with IF-G1 / IF-E1B / IF-E2B / IF-E1* * 已停产 / discontinued...
  • Page 2: Table Of Contents

    目录 页码 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 测量指令 .
  • Page 3: 结束符

    SCPI <B1> NONE:本地操作,可转为远程控制 1. 结束符 LOCal:本地操作,可读取数据 提示 REMote:允许产品远程受控 <B2> ON或1:按x个循环自动测量 这只适用于 GPIB (IF-G1) 卡!使用以太网卡时,不需特殊 结束符,只要普通字符串 EOS (0x00) 字节即可。 ONCE或0:按x个循环测量一次,用*TRG触发 <ERR> 错误和事件数 (-800至399) SCPI指令以纯文本发送。末尾必须用下面其中一个分界符 <SRD> 字符串 表示: <LF> 一行结束的标识 (换行符,0x0 A) • LF (Line Feed, 0xA, ASCII 10) <Time> [[ddd], [hh], [mm], [s]s.s[s][s][s][s][s][s] 从产品发出的信息需先由主机(PC/SPC等)发送一消息。...
  • Page 4: Scpi指令

    返回产品识别码,包括: 用户文本,产品供销商,产品名称,系列号,固 件版本,插入的接口卡系列号和固件版本<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...
  • Page 5: 寄存器区

    SCPI 3.3 寄存器区 Enable Questionable Status Positive transition QUES Negative transition Condition Event Error Queue Error <>0 Error Input on Service Request STATUS Enable Standard Event Status U = User defined Register D = Set after power on z = State of the indicated information Condition Event Enable...
  • Page 6: 状态指令

    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 根据状态操作 -><NR1> 查询Status Operation Register内的事件 【:EVENT】? :CONDition? -><NR1> 查询OPER事件条件 :ENABle <NR1> 启动OPER事件 :ENABle? -><NR1> 查询...
  • Page 7 SCPI 锁定状态可通过下面这个指令查询: SYSTem: LOCK :OWNer? -><B1> 获取当前锁定状态 NONE: 如果返回,可将产品设为远程模式 (在OPER:Condition下,位元8,9,10=0) LOCal: 产品处于本机模式,禁止进入远程模式 (在OPER:Condition下,位元8=1,9=0,10=0 ) 外部模式被当做LOCal模式。 (在OPER:Condition下,位元8=0,9=0,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 文档内可查到更多关于封...
  • Page 8 SCPI 注意! 下面的指令仅在以太网卡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.168.0.2。 电子负载产品用 日期:23-07-2015 SCPI 指令操作说明书...
  • Page 9: 控制输入指令

    SCPI 3.6 控制输入指令 激活/停止功率输入。 INPut[:STATe]? ->B0 查询电子负载输入状态 INPut[:STATe] <B0> 打开/关闭电子负载输入 举例: INPON 打开电源输入,但不重设报警或警告。意即:若出现报警,则不能执行该指令。 3.7 测量指令 用来读取最新测量结果(实际值)。 MEASure [:SCALar] :VOLTage[:DC]? -><NRf>Unit 查询:实际电压 :CURRent[:DC]? -><NRf>Unit 查询:实际电流 :POWer[:DC]? -><NRf>Unit 查询:实际功率 :ARRay? -><NRf>Unit, <NRf>Unit … 查询:实际电压、电流和功率 举例: MEAS:CURR? 测量实际电流,返回平均测量值。 MEAS:ARR? 返回一组实际值,包括:U,I,P。 3.8 设定值指令 提示 指令后加一问号可回读设定值。关于电子负载的...
  • Page 10 SCPI II. 电流设定值 (按照“1999 SCPI Command reference”规格:19 Source Subsystem) 电子负载适用: ▪ 这些指令支持 3.01以上产品固件版本的电子负载。 ▪ HIGH设定值始终大于LOW设定值,否则出现错误。HIGH和LOW指令仅在Level A/B操作下有效,在其他不同级别的控制 模式下会返回一错误。 ▪ 设定值的查询和设定始终针对当前所选“Level Control”。意即:如果Level A被激活,用CURR发送的设定值只针对Level A模式。否则将忽略设定值,并产生一错误。必须在产品设为远程操作模式前选择控制模式。不属于预选模式的其他设定 值就不能设定,必须预先设置。因此,继续远程控制产品时,建议在设置菜单下将“Keep set values”选项设为“no” ,故在转换“Mode”时将设定值重设为默认值。 [SOURce:] CURRent [:LEVel]? -><NRf>[Unit] 查询电流最后设定值 Level A或B,看当前处于哪个模式 [:LEVel] <NRf+>Unit 设定电流 Level A或B,看当前处于哪个模式 :HIGH <NRf+>[Unit] 在Level A/B操作下为Level A设定电流设定值...
  • Page 11 SCPI IV. 内阻设定值 (按照“1999 SCPI Command reference”规格:19 Source Subsystem) 电子负载适用如下: ▪ 某些特定指令仅支持 3.01以上产品固件版本的电子负载。 ▪ HIGH设定值始终大于LOW设定值,否则出现错误。HIGH和LOW指令只在Level A/B操作下有效,在其他不同级别的控制 模式下会返回以错误。 ▪ 设定值的查询和设定始终针对当前所选“Level Control”。意即:如果Level A被激活,用CR发送的设定值只针对Level A 模式。否则将忽略设定值,并产生一错误。必须在产品设为远程操作模式前选择控制模式。不属于预选模式的其他设定值 就不能设定,必须预先设置。因此,继续远程控制产品时,建议在设置菜单下将“Keep set values”选项设为“no”,故 在转换“Mode”时将设定值重设为默认值。 适用于电子负载:阻值范围1是两阻值范围较小的那一组 [SOURce:] RESistance (阻值范围1或2,根据当前激活的模式而定) [:LEVel]? -><NRf>Unit 查询内阻最后设定值 Level A或B,看当前处于哪个模式 [:LEVel] <NRf+>[Unit] 设定内阻 Level A或B,看当前处于哪个模式 :HIGH <NRf+>[Unit] 在Level A/B操作下为Level A设定内阻设定值...
  • Page 12: 特殊指令

    SCPI 3.9 特殊指令 故这6个值形成下面组合十六进制值: 67,37,21,127,24,16 3.9.1 SYST:DATA:SET 和 SYST:DATA:REQ 提示 0x4325, 0x157F, 0x1810 这只应用于 IF-E1B- 以太网卡! 将其转换成十进制或十六进制百分比值为(VB,C或其它 只有经以太网端口,网卡才能运行SCPI指令,从章节3开始 类似): 有详细介绍。 百分比值 = 第一个值 * 256 + 第二个值 此外,本卡提供了两个以十六进制格式给产品发送电报的指 上面例子的头两个字节则转换成的十进制值17189,即:67 令,它与面向对象二进制协议相似(在“Programming”说 * 256 + 37和0x4325十六进制。 明指导中有描述)。这些指令的目的是控制那些无特定SCPI 形成三个16位的值或者顺序定义如下: 指令的产品功能。经过这两个SCPI指令,用户甚至可控制 PSI 9000或PSI 8000系列的函数管理器。执行该操作,仅 第一个值为是几点呀,第二个为时间电流,第三则为实际功 需建立如下的字节顺序即可: 率,每个都为额定值的百分比数值。之后,需将他们转换成 对于SYST:DATA:SET : ON, DATA 实际值。可参考“Programming”说明指导章节1.7。...
  • Page 13 SCPI 4. 错误 错误信息按错误队列集合在一起。err位元指示是否有新的错误出现。可通过服务请求呼叫查询错误。可分开查询错误队列, 读取后自动清除。 <ERR> 信息 描述 “No error“ 错误队列为空,未出现任何错误 -100 “Command error“ 使用了无效的指令 -101 “Invalid character” ...在指令字符串内 -102 “Syntax error“ -103 “Invalid separator“ -108 “Parameter not allowed” -109 “Missing parameter“ -113 “Undefined header“ 未知指令 -120 “Numeric data error” -131 “Invalid suffix”...
  • Page 14: Scpi指令概览

    SCPI 5. 附录 5.1 SCPI指令概览 Main 1.Sub 2.Sub 3.Sub 数值 备注 CURR 0...Imax       CURR? Iset       CURR: 0...Imax       EL系列:A 或 B级别,视设定项目而定 CURR: LEV? Iset ...
  • Page 15 SCPI Main 1.Sub 2.Sub 3.Sub 数值 备注 SOUR: CURR 同上       SOUR: CURR? 同上       SOUR: CURR: 同上       SOUR: CURR: LEV? 同上   ...
  • Page 16    *CLS       *TRG       *SRE 0...255       *SRE? 0...255       要求设备已处于远程控制模式 仅IF-E1或IF-E2网卡才有,有些指令要求远程控制模式 仅GPIB卡IF-G1有 电子负载产品用 日期:23-07-2015 SCPI 指令操作说明书...
  • Page 18 Table of Contents Page 1. End tokens ................................... 19 2. Syntax format ................................19 3. SCPI commands ................................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 ..............................
  • Page 19: End Tokens

    A transmission from the device requires to first sent a mes- rounds, triggered by *TRG 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 of the <ERR>...
  • Page 20: Scpi Commands

    Bit 5: Command Error; Errors from -199 to -100 The following commands are only supported by the GPIB Bit 6: Not used interface IF-G1: *TRG Bit 7 Power On (device was turned on) Triggers a measurement *CLS...
  • Page 21: Register Block

    SCPI 3.3 Register block Enable Questionable Status Positive transition QUES Negative transition Condition Event Error Queue Error <>0 Error Input on Service Request STATUS Enable Standard Event Status U = User defined Register D = Set after power on z = State of the indicated information Condition Enable Event...
  • Page 22: Status Commands

    SCPI 3.4 Status commands (Specification according to „1999 SCPI Command reference“:19 StatusSubsystem) The Operation Status Register (OPER) (see diagram on previous page) stores the several status (remote, local etc. ) in register Condition and forwards them to the register Event, as long as they are enabled by Enable. The masks Positive transition and Negative transition determine if the events are triggered by a rising edge or a falling edge.
  • Page 23 SCPI The lock state can be queried by this command: SYSTem: LOCK :OWNer? -><B1> Get the current lock state NONE: if returned, the device can be put to remote mode (Bits 8,9,10 =0 in OPER:Condition) LOCal: device is in local mode and blocked for remote mode (Bits 8=1,9=0,10=0 in OPER:Condition ) External mode is interpreted as LOCal.
  • Page 24 SCPI Attention! The following command is only supported by the Ethernet card IF-E1B! SYSTem: COMMunicate: NETwork :MAC? -><SRD> Query the MAC address of the Ethernet card :IPADdress? -><SRD> Query the actual IP address of the unit, which will be returned in the typical format.
  • Page 25: Commands To Control The Input

    SCPI 3.6 Commands to control the input Activate/deactivate the power input. INPut[:STATe]? ->B0 Queries the state of the electronic load input INPut[:STATe] <B0> Switches the electronic load input on/off Examples: INPON Switches the power input on, but does not reset alarms or warnings. It means, if an alarm is persistent the command can‘t be executed.
  • Page 26 SCPI :LOW <NRf+>[Unit] Set voltage set value for Level B in Level A/B operation :LOW? -><NRf>Unit Query voltage set value for Level B in Level A/B operation Examples: VOLT5.05 Sets 5.05 V voltage limit (A or B) VOLT6.91V Example with unit. VOLT? Queries the last set value.
  • Page 27 SCPI [SOURce:] POWer [:LEVel]? -><NRf>Unit Queries the last set value for power Level A or B, depending on what is currently active [:LEVel] <NRf+>[Unit] Set power Level A or B, depending on what is currently active :HIGH <NRf+>[Unit] Set value for power of Level A in Level A/B operation :HIGH? -><NRf>Unit Query set value for power of Level A in Level A/B operation...
  • Page 28 SCPI V. Set values for pulse width and rise time (Level A/B operation) (Specification according „1999 SCPI Command reference“:19 Source Subsystem) • Supported since device firmware 3.01 and up. The set values for the pulse widths of A (HIGH) and B (LOW), as well as the rise time can be queried anytime. Also see items I.
  • Page 29: Special Commands

    SCPI 3.9 Special commands Example 2: The actual values of voltage, current and power shall be 3.9.1 SYST:DATA:SET and SYST:DATA:REQ queried from the device. This is done by a REQuest. Accor- ding to the object lists, the object 71 returns all three actual Note values at once in form of six single bytes.
  • Page 30: Errors

    SCPI 4. Errors Errors are collected in an error queue. The bit indicates, if a new error has occured. It can be queried with a status re- gister byte call (STB?). The error queue is queried seperately and is automatically cleared when read. <ERR>...
  • Page 31: Appendix

    SCPI 5. Appendix 5.1 SCPI command overview Main 1.Sub 2.Sub 3.Sub Value(s) Remark CURR 0...Imax       CURR? Set value of current       CURR: 0...Imax At EL: Level A or B, depending on what is set ...
  • Page 32 SCPI Main 1.Sub 2.Sub 3.Sub Value(s) Remark SOUR: CURR dito       SOUR: CURR? dito       SOUR: CURR: dito       SOUR: CURR: LEV? dito   ...
  • Page 33  requires the device to be already in remote control mode only available with Ethernet card IF-E1 or IF-E2, some commands require remote control mode only available with GPIB card IF-G1 only for specific interface cards Instruction Manual Date: 23-07-2015...
  • Page 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...

This manual is also suitable for:

If-e1bIf-e2bIf-e1

Table of Contents