
GMC-I Gossen-Metrawatt GmbH
63
*SAV – Saving Device Settings
Functions
Current device settings can be saved to battery-backed memory
with the *SAV (SAVE) command.
Syntax
*SAV
register number
Parameter
Register number
Parameter type: number (whole number)
Selection can be made from the following alternatives for
the register number parameter:
0
The *SAV 0 command (display for manual operation:
“Sto clr”) deletes the contents of the SEQUENCE register
from the start address to the stop address.
1
through
10
Current device settings are saved to the selected SETUP
register. Each SETUP register includes the following
parameters:
USET
ISET
OVSET
ULIM
ILIM
OUTPUT
OCP
DELAY
MINMAX
TSET
TDEF
REPETITION
START_STOP
11
through
255
Current settings for the parameters
USET
ISET
TSET
are saved to the selected SEQUENCE register.
Default setting after RESET (*RST):
Register number:
Does not apply
Register contents:
Unchanged
a) Manual Operation
Saving settings to a SETUP register:
See description in chapter 4.10.1.
Saving settings to a SEQUENCE register:
See description in chapter 4.10.2.
Clearing the entire SEQUENCE memory:
See description in chapter 4.10.3.
Deleting a single SEQUENCE register (manual operation only):
See description in chapter 4.10.5.
Adding a memory location (manual operation only):
See description in chapter 4.10.4.
Deleting the contents of a memory location (manual only):
See description in chapter 4.10.6.
b) Programming
Execution command:
*SAV
register number
Example (HP Basic):
OUTPUT 712;"*SAV 3"
!
Save device setting to register 3.
Comment
Data can be saved to SEQUENCE registers 11 through 255
during programming, even if the SEQUENCE function has not be
initialized.
All data stored with the SAVE function are retained in battery-
backed memory when the device is switched off.
Stored settings can be recalled (reactivated) in two different ways:
– *RCL: Recalls an individual setting from the SETUP or the
sequence register
– SEQUENCE GO: Automatic sequential recall of settings from all
sequence registers defined with the START_STOP function.
*STB? – Status Byte Register Query
Functions
The status byte register STB contains
– The status of group messages from the three event registers
(bits 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
– Bits 0, 1 and 7 are not used, and are always set to “0”.
When using the RS232 interface
without
the IEEE488 interface,
the invalid value 127 is generally returned as a response.
Programming
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, as a minimum, 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 addressed interface command SPE
(SERIAL POLL ENABLE).
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
Functions
A specified operation can be triggered with the device trigger
command, either for an individual device with the *TRG device
message, or in combination with other devices and
simultaneously by the IEC bus controller with the addressed
interface command GET (GROUP EXECUTE TRIGGER).
In the case of the SSPKONSTANTER, a command or a list of
commands which has been previously defined by means of the
*DDT string (DEFINE DEVICE TRIGGER) is executed after these
commands.
Programming
The device accepts this command:
a) Via both interfaces as a *TRG device message (setting
command)
Programming example (HP Basic):
OUTPUT 712;"*TRG"