
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
0
→
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