Hameg HM304 Manual Download Page 27

27

Subject to change without notice

RS232 Interface - Remote Control

The oscilloscope is supplied with a serial interface for
control purposes. The interface connector (9 pole D- SUB
female) is located on the rear of the instrument. Via this
bidirectional port, the instrument parameter settings can
be transmitted to a PC or received from a PC. The
attached disk contains example programs.

The maximum connecting cable length must not exceed
3 meters and must contain 9 lines connected 1:1.

The pin connection of the RS232 interface (9 pole D-
SUB female) is determined as follows:

Pin

2

Tx data (data from oscilloscope to external device)

3

Rx data (data from external device to oscilloscope)

5

Ground (reference potential - connected via the
oscilloscope‘s power cord with protective earth)

The maximum voltage swing at pin 2 resp. pin 3 is ± 12
volt. The RS232 parameter are:

N-8-2

 ( no parity bit, 8 data bits, 2 stop bits, XON/XOFF

protocol)

Baud-Rate Setting

After the first POWER UP ( switching on of the
oscilloscope ) and the first command CR (0D hex) sent
from the PC, the baud rate is recognized and set
automatically between 110 baud and 19200 baud. Then
the oscilloscope transmits the RETURNCODE: 0 CR LF
to the PC. The oscilloscope is then switched over to
REMOTE control mode. In this status all settings (with
the exception of INTENS, FOCUS, TR and CAL
frequency) can be controlled by the PC only.

The only ways to quit this status are:

Switching the oscilloscope off,

depressing the AUTO SET ( LOCAL ) pushbutton or
transmitting the command

RM= 0 from the PC to the oscilloscope.

If at the beginning no CR command is recognizable, the
oscilloscope pulls the TxD line low for approx. 0.2ms
and causes a break on the PC.

Data Communication

After successfully being set to remote control mode,
the oscilloscope is prepared for command reception. The
following commands are available:

Query

?

asks for parameter

Allocation

=

sets parameter

Status

:

declares actual parameter

Binary data

[ b ]

data field consists of 1 byte binary data

ASCII data

[ a ]

data field consists of ASCII data

ASCII number [ n ]

integer ASCII parameter

Binary data

[ array ]

data field consists of binary data

Terminator

( CR LF)

carriage return and/or line feed

Return code

[ R ]

ASCII  parameter

Command definition

Kommand:

Rückgabe

Beschreibung

PC

Scope

Scope

PC

ID?

ID:Daten(CR LF)

data consits of: instrument

type, manufacturer

(CR)

[R](CR LF)

remote status and baud rate
acceptance

TRSTA?

TRSTA:[b](CR LF) query for trigger status (data bit 0)

TRSTA=[b]

[R](CR LF)

reset Trigger

RM?

RM: [a](CR LF)

query for remote status

RM=[a](CR LF) [R](CR LF)

change remote status

LK?

LK=[a](CR  LF)

interlock request: LK:
1

 →

 locked

 unlocked

LK=[a](CR LF)

[R](CR LF)

interlock setting for LOCAL

(Auto Set) pushbutton

VER?

VER:[a](CR LF)

query for software version

HELP?

HELP: [a](CR LF)

query for command listing

DDF?

DDF:[array]

query for instrument data field

DDF=[array]

[R](CR LF)

transmits new data field to the
scope

SAVEDF=[n]

[R](CR LF)

stores instrument data field in
instrument memory n (1-6)

RECDF=[nl

[R](CR LF)

recalls instrument data field

from instrument memory n (1-6)

POSY 1?

POSY1:  [b]

query for CH I position setting

POSY1=[b]

[R](CR LF)

sets CH I Y-position

POSY2?

POSY1:  [b]

query for CH II position setting

POSY2=[b]

[R](CR LF)

sets CH II Y-position

VARY1?

VARY1:  [b]

query for CH I VAR 2.5:1 setting

VARY1=[b]

[R](CR LF)

sets CH I VAR 2.5:1

VARY2?

VARY2:  [b]

query for CH II VAR 2.5:1 setting

VARY2=[b]

[R](CR LF)

sets CH II VAR 2.5:1

VARTBA

VARTBV[b]

query TB1 TIME-VAR

VARTB1=[b]

[R](CR  LF)

sets  TBI TIME-VAR

TRLEV?

TRLEV:[b]

query for Trigger-Level

TRLEV=[b]

[R](CR LF)

sets Trigger-Level

XPOS?

XPOS:[b]

query X-Position

XPOS=[b]

[R](CR LF)

sets X-Position

CH1?

CH1:[b]

query CH I settings (deflection

coefficient, INV, GD, AC/DC)

CH1=[b]

[R](CR  LF)

sets CH I (deflection

coefficient, INV, GD, AC/DC)

CH2?

CH1:[b]

query CH II settings (deflection
coefficient, INV, GD, AC/DC)

CH2=[b]

[R](CR  LF)

sets CH II (deflection

coefficient, INV, GD, AC/DC)

MODE?

MODE:[b]

query for oscilloscope mode

setting (Yt, XY, COMP. TESTER)

MODE=[b]

1[R](CR LF)

sets oscilloscope mode (Yt, XY,

COMP. TESTER)

TB1?

TB1: [b]

query for timebase setting

TB1=[b]

[R](CR  LF)

set timebase

TB2?

TB2:[b]

query for timebase setting in
DELand DTR mode

TB2=[b]

[R](CR  LF)

set timebase in DEL and DTR mode

TRIG?

TRIG:  [b]

query for trigger parameter

TRIG=[b]

[R](CR LF)

set trigger parameter

TRVAL

TRVAL: [array]

query for signal amplitude at
trigger amplifier output,INTEGER
1st word = positive peak value
2nd word = negative peak value
3rd word = peak to peak value
3rd word = peak to peak value
4th word = reference potential
for positive and negative peak
values
Rating: approx. 20mV/LSB and
250mV/div.

Command Chart:

Commands cause the instrument to reply with parameter or
a RETURN CODE transmission.  You must then wait for the
end of transmission before the next command is sent from

Summary of Contents for HM304

Page 1: ...tructions General Information 5 Symbols 5 Use of tilt handle 5 Safety 5 Operating conditions 5 EMC 6 Warranty 6 Maintenance 6 Protective Switch Off 6 Power supply 6 Type of signal voltage 7 Amplitude...

Page 2: ...uction in the manual for a reduced cable length the maximum cable length of a dataline must be less than 3 meters long If an interface has several connectors only one connector must have a connection...

Page 3: ...nzt durch 93 68 EWG Low Voltage Equipment Directive 73 23 EEC amended by 93 68 EEC Directive des equipements basse tension 73 23 CEE amend e par 93 68 CEE Angewendete harmonisierte Normen Harmonized...

Page 4: ...35MHz 3dB Risetime 10ns Overshoot max 1 Deflection coefficients 14 calibrated steps from1mV div to20V div 1 2 5 sequence with variable 2 5 1 up to 50V div Accuracy in calibrated position 1mV div to 2m...

Page 5: ...three conductor power cord with protective earthing conductor and a plug with earthing contact The mains line plug shall only be inserted in a socket outlet provided with a protective earth contact T...

Page 6: ...aintenance Various important properties of the oscilloscope should be carefully checked at certain intervals Only in this way is it largely certain that all signals are displayed with the accuracy on...

Page 7: ...ms Veff have 2 83 times the potential difference in Vpp The relationship between the different voltage magnitudes can be seen from the following figure Voltage values of a sine curve Vrms effective va...

Page 8: ...e base setting indicated by one of the TIME DIV LED s one or several signal periods or only a part of a period can be displayed The time coefficients are stated in s div when the red sec LED and the 0...

Page 9: ...hes next to the edge are also not taken into account With very severe transient distortions the rise and fall time measurement has little meaning For amplifiers with approximately constant group delay...

Page 10: ...oscilloscope by depressing the red POWER pushbutton The instrument will revert to its last used operating mode Except in the case of COMP TESTER mode where a trace appears on the screen if the INTENS...

Page 11: ...should be adjusted The location of the low frequency compensation trimmer can be found in the probe information sheet Adjust the trimmer with the insulated screw driver provided until the tops of the...

Page 12: ...channell I to channel II and vice versa after each sweep period In DUAL mode the internal trigger source can be switched over from channel I to channel II and vice versa if the TRIG pushbutton is dep...

Page 13: ...compared with C short circuited then the test voltage leads the reference voltage and vice versa This applies only in the region up to 90 phase shift Therefore C should be sufficiently large and produ...

Page 14: ...t when external trigger is used the trigger threshold can be stated as vertical display height in div through which the time base generator starts the display is stable and the trigger LED located in...

Page 15: ...gnals than the DC coupling because the white noise in the trigger voltage is strongly suppressed So jitter or double triggering of complex signals is avoidable or at least reduced in particular with v...

Page 16: ...er voltage may have a completely different form from the test signal voltage Triggering is even possible in certain limits with whole number multiples or fractions of the test frequency but only with...

Page 17: ...following explanation assumes that the trace starts on the left vertical graticule line Photo 1 composite video signal MODE undelayed TIME DIV 5ms div Trigger coupling TV F Trigger slope falling Depre...

Page 18: ...ted in Dual mode under conditions where DUAL chopped mode is active this display mode is not switched off when time coefficients are being reduced 0 2ms div to 0 05 s div for signal expansion in DEL a...

Page 19: ...also be made to integrated circuits All these components can be tested in and out of circuit The test principle is fascinatingly simple A built in generator delivers a sine voltage which is applied a...

Page 20: ...ore testing of transistor amplification is not possible but testing of a single junction is easily and quickly possible Since the test voltage applied is only very low all sections of most semiconduct...

Page 21: ...ould then be connected to the insulated COMP TESTER socket avoiding hum distortion of the test pattern Another way is a test pattern comparison to an identical circuit which is known to be operational...

Page 22: ...Subject to change without notice 22...

Page 23: ...of astigmatism A certain loss of marginal sharpness of the CRT is unavoidable this is due to the manufacturing process of the CRT Symmetry and Drift of the Vertical Amplifier Both of these characteri...

Page 24: ...eck of the mono channel display is unnecessary it is contained indirectly in the tests above stated Triggering Checks The internal trigger threshold is important as it determines the display height fr...

Page 25: ...and also the influence of the earths magnetic field which is dependent on the instruments North orientation are corrected by means of the TR potentiometer In general the trace rotation range is asymme...

Page 26: ...hanged Generally max halving or doubling of this resistance value should be sufficient A too small trigger threshold cause double triggering or premature trigger action due to interference pulses or r...

Page 27: ...R ckgabe Beschreibung PC Scope Scope PC ID ID Daten CR LF data consits of instrument type manufacturer CR R CR LF remote status and baud rate acceptance TRSTA TRSTA b CR LF query for trigger status d...

Page 28: ...nter 0 13 CH2 GND AC INV2 ON VALUE Counter 0 13 mv DIV 0000 20V DIV 1101 MODE CT XY A TR CHOP ADD 0 TR SOURCE 00 Y1 01 Y2 1x EXT TB1 x10 0 0 TB A TIME Counter 1 26 50ns DIV 00 bis 0 5s DIV 15hex TB2 0...

Page 29: ...cy ranges AC 10Hz 100MHz DC 0Hz 100MHz HF 1 5kHz 100MHz LF 0Hz 1 5 kHz TV L to trigger on line sync pulses TV F to trigger on separated frame sync pulses Select SLOPE for the leading slope Sync pulse...

Page 30: ...control for trace sharpness mechanical knob TR Trace rotation mechanical To align trace with horzontal field potentiometer graticule line Compensates adjustment with influence of Earth s magnetic scr...

Page 31: ...triggering Not available in combination with ext triggering XY or COMP TESTER modes INPUT CH II Channel II signal input BNC connector Input impedance 1M II 20pF AC DC Selects input coupling of CH II...

Reviews: