
36
Subject to change without notice
I n t e r f a c e , R e a d i n g m e a s u r e m e n t r e s u l t s , r e m o t e c o n t r o l
RS-232 cables
The double shielded cable must be
<
3 m and connected 1 : 1. The
pinout is as follows:
Pin Signal
2
TX data (from the instrument to the external device)
3
RX data (from the external device to the instrument)
5
Ground (connected to the chassis and to safety ground PE)
9 +5
V
DC
power supply for extermal devices (max. 400 mA)
The maximum signal amplitude at pins 2 and 3 is ±12 V.
RS-232 protocol N – 8 –1 (no parity, 8 data bits, 1 stop bit)
Adjustment of Baud rate
After turn-on of the instrument, the Baud rate will be set to 9600. It can
be changed to 9600, 38400 or 115200 by a command.
Data communication
After turn-on (POWER), the instrument will automatically transmit the
message „HAMEG HM5530“ at 9600 Baud.
The instrument is delivered with a CD-ROM containing a program which
will run under Windows Me, NT 4.0 (with service pack), 2000 and XP.
Updates are available on the HAMEG homepage www.hameg.de.
Commands from the pc to the HM5530.
General structure of commands: Each command/request must be
preceded by # (23 hex = 35 dec), followed by 2. With commands, the
parameters must follow the characters. Each command is terminated
by „Enter“ (hex 0x0d). No distinction between lower and upper case.
The unit is always the same and is not included.
Listing of control commands
(E)
= Enter
(CR)
= Carriage return
#kl0(E)
= Key-lock off (remote control off, pushbutton
dark)
#kl1(E)
= Key-lock on (remote control active, pushbutton
lit)
The following commands are only executed when
remotely controlled: Remote On; kL 1):
Amplitude:
#rl-30.0(E) = Referenz level (Unit: dBm or dBmV, or dBμV)
#ra0(E)
= Ref level automatic OFF
#ra1(E)
= Ref level automatic ON
#at0(E)
= Attenuator 0 (10, 20, 30, 40, 50) dB
#db5(E) =
5
dB/Div.
#db10(E) =
10
dB/Div.
#du0(E)
= dB-Unit : dBm
#du1(E)
= dB-Unit : dBmV
#du2(E)
= dB-Unit : dBμV
Frequency:
#cf1500.000(E) = Center frequency in xxxx.xxx MHz
#sp2200.000(E) = Span frequency in xxxx.xxx MHz
#sr0100.000(E) = Start frequenz in xxxx.xxx MHz
#st0500.000(E) = Stop frequenz in xxxx.xxx MHz
Filter:
#bw1000(E) = Bandwidth RBW = 1000 kHz (120, 9 kHz)
#ba1(E)
= Bandwidth automatic ON (RBW Auto)
#ba0(E)
= Bandwidth automatic OFF (RBW Manual)
#vf0(E) =
Video
fi lter off (VBW = 50 kHz)
#vf1(E) =
Video
fi lter on (VBW = 4 kHz)
Marker:
#mf0500.000(E)
= Marker frequency in xxxx.xxx MHz
#df0100.000(E)
= Delta (Marker) frequency in xxxx.xxx MHz
#mk0(E)
=
(all) Marker OFF
#mk1(E)
=
Marker
ON
#mk2(E)
=
Delta Marker ON
Signal:
#vm0(E)
=
Display: Signal A (WRITE A)
#vm1(E)
=
Display: Signal B (VIEW B) )
#vm2(E)
=
Display: Signal A-B (CALC A-B)
#vm3(E)
=
Display: Average (AVG)
#vm4(E)
=
Display: Maximum Hold (MAX HOLD)
#sa(E)
=
stored Signal A to memory B
#bm1(E)
=
Signaltransfer im Block (2048 Byte)
2044
Signalbytes,
3 checksu 0x0d
#et0(E)
=
External trigger OFF
#et1(E)
=
External trigger ON
Test signal:
#tg0(E)
=
Test signal generator off
#tg1(E)
=
Test signal generator on
#tl+00.0(E)
=
Test signal level (Unit: dBm or dBmV, or dBμV)
#tl-10.0(E)
=
–10.0 dBm to 0.0 dBm in 0.2 dB steps
#br38400(E)
=
Baudrate 38400 (4800, 9600, 19200, 115200)
Baud (This command sends no „RD(0x0D)“
EMV measurement:
#es0(E)
=
switch OFF :“Single shot”
#es1(E)
=
switch ON: “Single Shot”
#ss1(E)
=
Starts a “Single Shot” (Sweep time: 1000ms)
After the reception and execution of a command,
the spectrum analyzer answers with: „RD“ (CR).
Parameter request (Listing of request commands):
The following requests will also be answered if the instrument
is not in the remote control mode (Remote off; KL0).
Syntax:
#xx(E)
= transmit parameter of xx (xx = tl, rl, vf, at, bw,
sp, cf, sr, st, db, kl, hm, vn, vm, dm,uc)
Amplitude:
#rl(E)
= Reference level “RL-xxx.x“ (in dB-Unit)
#ra(E)
= Ref. level automatic “RAx” (x=0: Manual; x=1:
Auto)
#at(E)
= Attenuator “ATxx“ (in dB)
#db(E)
= Y-Scale (dB/Div) “DBxx“ (xx = 5,10 dB/Div)
#du(E)
= Y-Unit (dBx) “DUx“ (x=0:dBm;x=1:dBmV;x=2
dBμV)
#uc(E)
= Level uncal “UCx“ (x=0:cal, x=1:uncal)
Frequency:
#cf(E)
= Center frequency “CFxxxx.xxx” (in MHz)
#sp(E)
= Span frequency “SPxxxx.xxx” (in MHz)
#sr(E)
= Start frequency “SRxxxx.xxx” (in MHz)
#st(E)
= Stop frequency “STxxxx.xxx” (in MHz)
Marker:
#mf(E)
= Marker frequency “MFxxxx.xxx” (in MHz)
#df(E)
= Delta frequenz “DFxxxx.xxx” (in MHz)
#mk(E)
= Marker mode “MKx” (x=0: OFF; x=1: Marker1,
x=2:
M1&2)
#lv(E)
= aktiv Marker level “ML-xxx.x” (in dB-Unit)
(#MK1)
or
aktiv Delta-Level “DL-xxx.x” (in dB) (#MK2)
Содержание Hameg HM5530
Страница 78: ...78 Reservado el derecho de modificación ...
Страница 79: ...79 Reservado el derecho de modificación ...