User manual
59
© 2008, Elektro-Automatik GmbH & Co. KG
EN
About the interface cards
The bits of the ESR are as follows:
Bit 0: Operation complete, relates to averaging feature (see below), is set if averaging completed successfully
Bit 1: Not used
Bit 2: Not used
Bit 3: Device Dependent Error (Hardware defective etc.); errors from -399 to -300 resp. 100...399
Bit 4: Execution Error (current limitation, other limits exceeded); errors from -299 to -200
Bit 5: Command Error; Errors from -199 to -100
Bit 6: Not used
Bit 7 Power On (device was turned on)
Event and status registers can be cleared by using the command *CLS.
Status commands
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. This can be used
to sense the appearance and/or disappearance of a status.
The same applies for the Questionable Status Register (QUES). The configuration for the OPER, as shown in the diagram,
would cause an event only if the signal „local“ changes from low to high. The signal „Function mode“, on the other hand,
would cause the event also at a falling edge.
STATus
:
OPERation Operation depending status
:
EVENT? -><+INT> Queries the events in the Status Operation Register
:
CONDition? -><+INT> Query OPER event conditions
:
ENABle <+INT> Enable events for OPER
:
ENABle? -><+INT> Query
:
PTRtransition <+INT> Event will be triggered only at rising edge
:
PTRtransition? -><+INT> Query
:
NTRtransition <+INT> Event will be triggered only at falling edge
:
NTRtransition? -><+INT> Query
:
QUEStionable Deviceandfunctionspecicevents
:
EVENT? -><+INT> Query the events in 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
:
PTRtransition? -><+INT> Query
:
NTRtransition <+INT> Event will be triggered only at falling edge
:
NTRtransition? -><+INT> Query
Examples:
STAT:OPER? Queries the OPERation Status Event Register
STAT:QUES? Queries the QUEStionable Status Event Register
STAT:OPER:ENAB255 Enables all events for the OPERation Status Event register
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