GMC-I Messtechnik GmbH
59
Stringing Commands Together
You can
string several commands together
and transmit them as a
single unit.
In this case, the individual commands are separated with
semicolons
(;).
Blanks
can be entered to the
left
and to the
right
of the
semicolons.
Example:
USET 10; OUTPUT ON; IOUT?
Comments
The individual commands are
executed
in the
order they were
received
.
Setting and query commands can be mixed in a single
command string.
If a string contains
several query commands
,
semicolons
(;) are
inserted
between
the requested
parameters
in the
response string
as well.
If a string contains a
faulty command
, this part of the command
is ignored and the corresponding
error bit
is set in the event
standard register (ESR), while the remaining commands are
nevertheless executed.
Terminating Device Messages
a) IEEE 488 control:
The following
end-of-text characters
can be used for
data receipt
:
NL
New line = line feed = (0Ahex)
NL & EOI
EOI = end or identify
DAB & EOI
DAB = last data byte
The still common end-of-message character combination CR
LF (0D
hex
followed by 0A
hex
) should no longer be used
according to the standard.
Although CR LF is accepted by the device for data receive, it
should be used in combination with EOI.
In the case of
transmission
, the following
end-of-message
character
is used in the response string
NL + EOI
b) RS 232 control:
The following
end-of-text characters
can be used for
data receipt
:
NL
(0Ahex) = new line = line feed
CR
(0Dhex) = carriage return
CR LF
carriage return and line feed
ETB
(17 hex)
ETX
(03 hex)
In the case of
transmission
, the following
end-of-message
character
is used in the response string
NL
(0Ahex) = new line = line feed
Summary of Contents for SSP 120 Series
Page 2: ...2 GMC I Messtechnik GmbH ...