User manual

68
© 2009, Elektro-Automatik GmbH & Co. KG
EN
About the interface cards
System commands
[SYSTem:]
ERRor:ALL? -><Err>[,<Err>]… Queries the error queue, used to read out error descriptions and codes;
the bits
err, esr and ESR:Condition are cleared
ERRor:NEXT? -><Err> Queries only the last error from the queue; if the queue is empty, bits
err, esr and ESR:Condition are cleared
LOCK
[
:STATE] <B0> 1= puts the device into remote control mode, if SYST:LOCK:OWN? would
beanswered with „NONE“
0= exits remote control mode, returns to normal device operation
Note: the device can only be monitored, if not in remote mode. This means, you can only query actual values and
status. In order to set status, modes and set values, you need to switch the device to remote mode with LOCK:
STATE 1 or *RST (see 2.2). In order to do so, the remote mode must not be blocked. More information about conditions,
blocks and modes can be found in the user manual of your device. 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.
(Bit 8=0,9=0,10=1 in
OPER:Condition)
REMote: the device is in remote mode via IF-G1
(Bit 8=0,9=1,10=0 in
OPER Register)
VERSion? -><SRD> Query SCPI-Version
Examples:
SYST:LOCK:OWN? Queries the lock state to determine if remote mode is allowed
SYST:LOCK:STAT1 Puts the device in remote control mode (setting of values allowed now)
SYST:LOCKON Ditto
Attention! The following two commands are only supported by the network card IF-E1!
[SYSTem:]
DATA
:SET <CHAR> Transport encapsulated telegram in binary format
Here: Send data (
SET) (also see sections 7.10 and 9.)
Bytes can be given as hexadecimals, e.g. #H32 for 0x32, or decimals
Example:
SYST:DATA:SET2,1,50,100,0 Send the hexadecimal telegram 0x02 01 32 64 00 to the device.
If device is in remote control, it will set the output voltage to 100%.
Corresponds to the SCPI command SOUR:VOLT
MAX
[SYSTem:]
DATA
:REQuest <CHAR> Transport encapsulated telegram in binary format
Here: Request data (also see sections 7.10 and 9.)
Example:
SYST:DATA:REQ2,1,50 Send the hexadecimal telegram 0x02 01 32 to the device.
This request the voltage set value.
Corresponds to the
SCPI command SOUR:VOLT?
The response will be two values, for example 100,0. They corrrespond to the
hexadecimal value 0x6400 and means 100% set value.