Herunterladen Inhalt Inhalt Diese Seite drucken

Command Structure - Hameg HMP4030 Handbuch

Vorschau ausblenden Andere Handbücher für HMP4030:
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

R e m o t e C o n t r o l
Symbol
Description
variable, predefined element
< >
=
equality, identical to
|
or
( )
group of elements, commentary
[ ]
optional elements
{ }
multitude of elements
' '
example
Table 6.1: SCPI Commands and their description
The SCPI standard contains the programming syntax as well
as the main functions of measuring instrument etc. This ena-
bles the exchange of comparable instruments from different
producers without the need to reprogram the test procedure,
as long as these functions and commands have been imple-
mented identically.
6.6

Command structure

A tree structure is used for the programming of the instrument.
The program commands contain all commands needed for the
control of the instrument. Paths are given following the rules
of the SCPI syntax. SCPI commands must be sent line by line,
i.e. each line has to be terminated by a carriage return. The
commands may be short or long. It is not allowed to concate-
nate commands by a semicolon. Commands which cause an
answer from the instrument are called a query. This applies as
well to queries of the instrument status, parameters or limits.
The commands which ask for an immediate answer use a
question mark (?). Key words in parantheses ( ) may left out.
The various levels are marked with a colon ( : ). This indicates
STATus:QUEStionable:INSTrument:ISUMmary1
Instrument 1 voltage*
Instrument 1 current**
Instrument 1 TIME
Instrument 1 POWer
Instrument 1 Over Temp
Instrument 1 FREQuency
Instrument 1 PHASe
Instrument 1 MODulation
Instrument 1 CALIbration
OVP Tripped
FUSE Tripped
Available to designer
Available to designer
Available to designer
I nstrument 1 Command Warning
NOT USED
*)
*) The Bit 0 is set, while the instru-
Bit 0 ist gesetzt, solange das
Gerät im CC-Modus arbeitet,
ment is in constant current mode
und somit die Spannung geregelt
(CC). This means that the voltage
***
wird.
will be regulated and the current
is constant.
Extension bit ''
Summary of Instrument 1 VOLTageEvents
Instrument 2
Instrument 3
Instrument 4
Instrument 5
Instrument 6
Instrument 7
Instrument 8
Instrument 9
Instrument 10
Instrument 11
Instrument 12
Instrument 13
Instrument 14
NOT USED
Fig. 6.2: Structure of the status register
40
Subject to change without notice
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
**) Bit 1 ist gesetzt, solange das Gerät
**) The Bit 1 is set, while the instru-
im CV-Modus arbeitet, und somit
ment is in constant voltage mode
der Strom die variable Größe
(CV). This means that the current
darstellt.
is variable and the voltage is
constant.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
that the following characters are elements of the level ROOT.
SCPI commands may be sent long or short. Long commands use
up to 12 characters (example: MEASure). Short commands consist
of the first 4 characters of the long command (example: MEAS). If
the 4th character happens to be a vowel and if these 4 characters
are not the long command, the short command will only consist
of 3 characters (example: long = ARBitrary, short = ARB).
The upper key characters are mandatory and they constitue
the short commands, the lower key characters are optional. It
is important to adhere to the prescribed formats of the SCPI
commands, except the short and long formats of the commands
all other formats are illegal. Upper or lower key characters
need not be observed. In this manual upper key characters are
used to indicate the short form commands, the long format is
indicated by the additional characters in lower ley.
In order to prevent communication errors we
recommend not to use concatenation of commands
and to terminate each command by a line feed.
Also make sure that the instrument generates readable data
which can be used by the listener (computer). Sources of errors
could be:
– instruments are switched off, cable loose, interface not
activated
– wrong instrument address
– false or incomplete strings of commands
– wrong measuring range
We recommend to start a program by *RST in order
to set the instrument to a defined status prior to
starting a program.
STATus:QUEStionable:INSTrument
Extension bit ''
0
Summary of Instrument 1 Events
1
Instrument 2
2
Instrument 3
3
Instrument 4
4
Instrument 5
5
Instrument 6
6
Instrument 7
7
Instrument 8
8
Instrument 9
9
Instrument 10
10
Instrument 11
11
Instrument 12
12
Instrument 13
13
Instrument 14
14
NOT USED
15
STATus:QUEStionable
Summary of VOLTage
0
Summary of CURRent
1
Summary of TIME
2
Summary of POWer
3
Summary of TEMPeature
4
Summary of FREQuency
5
Summary of PHASe
6
Summary of MODulation
7
Summary of CALibration
8
Available to designer
9
Available to designer
10
Available to designer
11
Available to designer
12
INSTrument Summary
13
Command Warning
14
NOT USED
15
To Status Byte,
Bit 3

Quicklinks ausblenden:

Werbung

Kapitel

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Hmp4040

Inhaltsverzeichnis