User manual
57
© 2008, Elektro-Automatik GmbH & Co. KG
EN
About the interface cards
<B1> NONE: local operation, switching to remote
control is possible
LOCal: local operation, reading of data is pos
-
sible
REMote: remote control of the device is allo
-
wed
<B2> ON or 1: automatic measurement with x rounds
ONCE or 0: one-shot measurement with x
rounds, triggered by *TRG
<ERR> Error and event number (-800 to 399)
<SRD> String
<LF> End of line token (line feed, 0x0A)
<Time> [[ddd], [hh], [mm], [s]s.s[s][s][s][s][s][s]
Standard format is in seconds (s.s)
; The semicolon is used to seperate multiple
command within a message
: The colon is used to seperate major keywords
from minor keywords
[ ] Small letters and items in rectangular brackets
are optional
? The question mark identifies a query. The query
can be combined with a data transmission. Here
you need to take care to wait for response of the
system before sending data
-> Reply from the device
Devicespeciccommandsandparameters
Red: only compatible with PSI power supplies
Blue: only compatible with electronic loads
Black: compatible to any device
Common IEEE488.2 commands
*IDN? Returns the device identification, consisting of:
User text, device vendor, device name, device
serial number, device firmware version, serial
number(s) and firmware version(s) of plugged
interface cards<LF>
*RST Resets the device by doing this:
- setting it into remote control mode (if allowed)
- setting output/input to OFF
- resetting all past alarms of the device
- setting set values:
Uset = 0, Iset=0, Pset=MAX, Rset= MIN
*TRG Triggers a measurement
*CLS Clears all event and status registers of the
GPIB controller
*ESE <CHAR> Sets the Event Status Enable Register
*ESE? Reads the Event Status Enable Register
*ESR? Reads the Event Status Register, which is cle-
ared after reading
*SRE <CHAR> Sets the Service Request Enable Register
*SRE? Reads the Service Request Enable Register
*STB? Reads the Status Byte Register, which is cle-
ared after reading
4.5.8 SCPI commands
SCPI commands are sent as plain text. The end has to be
marked with a token: LF (Line Feed, 0xA, ASCII 10).
The IF-G1 ignores CR = ASCII Code 13 (0xD), in case it is
sent before LF (Line feed). If CR comes after LF, it will cause
an error for the next command.
A transmission from the device requires to first sent a mes-
sage from the host (PC/SPC etc). This has to terminated with
LF. The IF-G1 will reply, if the host expects a reply. This is
the case, if the end of the command is a „?“.
Commands that have to set a state or a value always consist
of the command itself and one or multiple values, seperated
by commas. Example:
<COMMAND><Numeric value>,<Numeric value>...
You can sent any command in its short or complete form. In
the following section the short form is given in capital letters
and is always a part of the complete form.
Syntax format
Specification according „1999 SCPI Command reference”.
Following syntax formats can occur in commands and/or
replies:
<Numeric value>
This numeric value corresponds to the value in
the display of the device and depends on the
nominal values of the device. It applies:
- the value must be sent after the command and
seperated by a space
- instead of a numeric value you can also use
MIN (corresponds to the minimum value
of the parameter)
or
MAX (corresponds to the maximum value
of the parameter)
Attention! Set values bigger than nominal
values will return an error!
<NR1> Numeric value without decimal place
<NR2> Numeric value with decimal place
<NR3> Numeric value with decimal place and exponent
<NRf> Contains <NR1>,<NR2>,<NR3>
<NRf+> Contains <NR1>, <NR2>, <NR3> as well as
MIN and MAX
Unit V Volt
A Ampere
W Watt
OHM Ohm
s Seconds
<CHAR> 0..255: Decimal number (output)
#B0000 0000 … #B1111 1111: Binary view
#H00… #HFF: Hexadecimal view
<+INT> 0..32768: positive integer number (output)
#B0000 0000 0000 0000… #B0111 1111 1111 1111:
binary view
#H0000… #HFFFF: Hexadecimal view
<B0> 1 or ON: Function is activated
0 or OFF: Function is deactivated.