42
GMC-I Messtechnik GmbH
*SAV – Saving Device Settings
SAVE
Function
Current device settings can be saved to battery-backed memory
with the *SAV (SAVE) execution command.
Setting Command
Syntax:
*SAV n
Parameters List
Register number n
n = 1 through 12/15
Parameter type: numeric (whole number)
Comments
All data stored with the SAVE function are retained in battery-
backed memory when the device is switched off.
*STB? – Status Byte Register Query
—
Function
Command for querying the status byte register (STB).
The status byte register contains:
– The status of group messages from the four event registers
(bits 1, 2, 3 and 5)
– The status of the output buffer (empty
MAV bit = 0,
not empty
MAV bit = 1)
– The status of MSS group messages masked with the SRE
enable register from internal bits 0 through 5
This query command has been replicated to a great extent for
operation with a serial interface (RS 232 or USB).
Register content can be read out:
a) With the *STB? command:
The response is a data string consisting of a whole number
16
n
127, where n corresponds to the decimal equivalent
of the register’s content.
With this querying method the value of
n
is always
16,
because at least the response string was saved to the output
buffer, and the MAV bit was thus set.
b) By means of serial polling
(IEC bus only):
The device responds with its status byte as a “one byte
message” in reply to the SPE (SERIAL POLL ENABLE)
addressed interface command.
With this querying method bit 6 indicates the RQS status, and
is reset to “0” after completion of serial polling.
The *CLS (CLEAR STATUS) command clears the status byte
register except for the MAV bit, and cancels any SRQ messages.
*TRG – Device Trigger Function
—
Function
A command or a list of commands which has been previously
defined by means of the *DDT string (DEFINE DEVICE TRIGGER)
is executed with this command.
The device accepts this command as a device message via all
integrated PC interfaces.
Setting Command
Syntax:
*TRG
Comments
If trigger action has not been defined (empty DDT memory), bit 4
(EXE, execution error) is set in the standard event register upon
receipt of the device trigger command.
The *TRG command may not be used as part of the DDT
command.
The DDT register is not changed or cleared when the trigger
command is executed.
*TST? – Starting the Self-Test
—
Function
Upon receipt of the *TST? query command, the device starts a
self-test and reads out test results to the output buffer as a
response string.
The *TST? query generates a response of either “0” (= test
passed) or “1” (= test failed). If the self-test is failed, the “TCE” bit
is also set in event register C.
The following is checked:
Balancing Test
Testing is conducted to determine whether or not the device has
been balanced.
If the device has not been balanced, or if the balancing procedure
was interrupted, error numbers 91 and 66 are read out .
Query Command
Syntax:
*TST?
Response string:
0
or
1
*WAI – Wait to Continue
—
Function
The
*WAI
command is of no significance for programming the
KONSTANTER.
It serves to synchronize the interface protocol in accordance with
the IEC 488.2 standard.
Setting Command
Syntax:
*WAI
Summary of Contents for P1500
Page 68: ...68 GMC I Messtechnik GmbH ...
Page 71: ...GMC I Messtechnik GmbH 71 ...