User manual
GMC-I Gossen-Metrawatt GmbH 33
8 Descriptions of Operating Commands
All setting and query commands are described and listed
alphabetically in the following pages.
Commands with an asterisk (*) are at the beginning of the list.
Each heading includes the command, along with its abbreviation.
Insofar as query commands exist (identified with a question mark
?), they are listed as well.
The next line (with the hand symbol) indicates how the respective
command can be executed manually. If keys are required, they
are mentioned as well.
The note “Menu” indicates that the respective command can be
executed from the menu.
If no manual procedure for executing the command exists, this is
indicated with a long dash (—).
*CLS – Clear Status
—
Function
The *CLS command clears all event registers and the status byte
register, except for the MAV bit (Message AVailable). Any existing
service requests are cancelled.
Addressing status Unchanged
Input and output buffers Unchanged
Service request SRQ Cleared
Status byte register STB Cleared except for MAV bit
Event registers ESR, ERA, ERB, ERC Cleared
Enable registers ESE, ERAE, ERBE, ERCE, SRE, PREUnchanged
Set or stored parameters Unchanged
The *CLS setting command also clears the error number list (first
3 parameters) in the response to the “ERROR? query command:
“ERROR 000,000,000,xxx”
Setting Command
Syntax: *CLS
*DDT, *DDT? – Define Device Trigger
—
Function
A list of commands including up to 80 characters can be entered
to a register with the “define device trigger” command. The *DDT
command list is executed after receiving the *TRG device
message or the IEC bus command GET (GROUP EXECUTE
TRIGGER). The content of the DDT register can be read out with
the *DDT? query command. Maximum response string length: 80
characters.
Setting Command
Syntax: *DDT
command
[/
command
][/
command
] ...
|— max. 80 characters —–|
Default setting
or after RESET (*RST):
DDT memory cleared
Note: A slash (/) must be used as the delineating character
between commands in the DDT string instead of a semicolon (;).
All specified device messages (setting and query commands) are
allowable as parameters except for the *TRG command.
Query Command
Syntax: *DDT?
Sample response string: USET 10;ISET 5.6;OUT ON
Note: The delineating slashes (/) appear once again as
semicolons (;) in the response string.
Comments
In order to prevent the generation of query errors, a blank (space)
is returned if the DDT register is empty.
If the maximum DDT string length is exceeded, all characters in
excess of the allowable number are ignored and an execution
error message is generated.
The received command list is not checked for correct syntax and
limit values until the trigger command is received.
If an execution error occurs, the DDT register can be read out with
the *DDT? command, but its content cannot be executed
(execution error message is generated again).
The DDT register is not changed or cleared when the trigger
command is executed.