Tektronix Welding System AFG 5501 User manual

Tektronix Welding System AFG 5501 User manual
Tektronix
COMMITTED TO EXCELLENCE
PLEASE CHECK FOR CHANGE INFORMATION
AT THE REAR OF THIS MANUAL.
AFG 5101/AFG 5501
Programmable
Arbitrary/Function
Generator
INSTRUCTION MANUAL
Tektronix, Inc.
Р.О. Вох 500
Beaverton, Oregon 97077 Serial Number
070-8759-00 |
Product Group 75 First Printing MAY 1988
Copyright © 1988 Tektronix, Inc. All rights reserved.
Contents of this publication may not be reproduced in any
form without the written permission of Tektronix, Inc.
Products of Tektronix, inc. and its subsidiaries are
covered by U.S. and foreign patents and/or pending
patents. |
TEKTRONIX, TEK, SCOPE-MOBILE, and Ÿ are
registered trademarks of Tektronix, Inc. TELEQUIPMENT
is a registered trademark of Tektronix U.K. Limited.
Printed in U.S.A. Specification and price change
privileges are reserved. |
INSTRUMENT SERIAL NUMBERS
gach instrument has a serial number on a panel insert, tag,
or stamped on the chassis. The first number or letter
designates the country of manufacture. The last five digits
of the serial number are assigned sequentially and are
unique to each instrument, Those manufactured in the
United States have six unique digits. The country of
manufacture is identified as follows:
B000000 Tektronix, Inc., Beaverton, Oregon, USA
100000 Tektronix Guemsey, Ltd., Channel Islands
200000 Tektronix United Kingdom, Ltd., London
300000 Sony/Tektonix, Japan
700000 Tektronix Holland, NV, Heerenveen,
The Netherlands
AFG 5101/5501
TABLE OF CONTENTS
List of Illustrations iii
List of Tabies {i
Operators Safety Summary iv
Servicing Safety Summary v
Section 1 SPECIFICATION
Introduction — 1-1
Instrument Description 1-1
Instrument Options 1-1
Standard Accessories — 1-1
IEEE 488 (GPIB) Function
Capability I-1
Electrical Characteristics 1-2
Performance Conditions — 7-2
Waveforms, Operating Modes, and
Parameters 1-3
Frequency Characteristics 1-6
General Output Characteristics 1-7
Output Characteristics 1-8
Internal Trigger - 1-11
Arbitrary Waveform Character-
istics 1-12
Frequency Sweep I-14
Synthesizer (Option 02) 1-14
Inputs and Qutputs 1-15
GPIB Characteristics — 1-17
Miscellaneous Electrical Character-
istics 1-18
Source Power Requirements 1-18
Environmental Characteristics 1-19
Physical Characteristics 1-20
Mechanical 1-20
Section2 OPERATING INSTRUCTIONS
Introduction 2-1
Preparation for Use 2-1
Installation and Removal
(AFG 5101 Only) 2-1
Power Cords (AFG 5501 Only) 2-7
Line Voltage Selection/Fuse Replacement
(AFG 5501 Only) 2-2
Tum-On Procedure 2-2
IEEE 488 (GPIB) Connector
(AFG 5501 Only) 2-3
Repackaging for Shipment 2-3
Controls, Connectors, and Display 2-4
General Information 2-4
Display Window, Changing Settings 2-4
Power-On Sequence 2-5
GPIB Indicators 2-5
Controls and Connectors 2-5
Operating Considerations 2-12
General Operating Information 2-12
Memory 2-12
Output Connections 2-12
Impedance Matching 2-12
Displaved Errors 2-12
Store/Recall Settings 2-73
Special Functions 2-13
Stepping a Parameter Level 2-15
Generating a Standard Output
Function 2-17
Modulation 2-17
Offset 2-17
Range Lock 2-17
Frequency Lock 2-17
Synthesizer 2-17
Storing an Arbitrary Waveform 2-20
Enabling /Disabling ADRS
Auto-Increment 2-27
Using Autoline 2-27
Arbitrary Waveform Programming
Example 2.21
Generating Arbitrary Waveform
Output 2-23
Arbitrary Waveform Generation
Example 2-23
Using the Sweep Generator 2-24
Markers 2-25
Section 3 PROGRAMMING
Introduction 3-1
Commands 3-2
Command Functional Groups 3-2
Control/Command Associations 3-8
Detailed Command Descriptions 3-8
Detailed Command List 3-70
Messages and Communication
Protocol 3-35
Command Separator 3-35
AFG 5101/5501
TABLE OF CONTENTS (Cont)
Section 3 PROGRAMMING (Cont)
Address and Message Terminator
Selection 13-35
Formatting a Message 3-35
Number Formats 3-36
Rounding of Numeric Arguments 3-36
Message Protocol 3-36
Multiple Messages 3-37
Instrument Response to IEEE-488 Interface
Messages 3-37
Remote-Local Operation 3-38
Local State 3-39
Local Without Lockout State 3-39
Remote State 13-39
Remote With Lockout State 3-39
Status and Error Reporting 3-39
Sending Interface Control
Messages 3-4]
Power-On Seguences and Default
Settings 3-42 |
Talker-Listener Programs — 3-44
| WARNING
The following servicing instructions are
for use by qualified personnel only. To
avoid personal injury, do not perform any
servicing other than that contained in op-
erating instructions unless you are quali-
fied to do so. Refer to Operators Safety
Summary prior to performing any service.
Section 4 MAINTENANCE
Introduction 47
Calibration/Adjustment 41
Battery Replacement 4-1
internal Fuse Replacement
(AFG 5501) 4-1
Fuse Replacement 4-2
Section 5 OPTIONS
Section 6 REPLACEABLE PARTS
AFG 5101/5501
LIST OF ILLUSTRATIONS
Fig.
No.
1-1 Trigger to waveform timing, and waveform 2-7 Arbitrary waveform example final
phase relationships. 1-4 results. 2-22
12 Arbitrary HOLD timing diagram. 1-16 3-1 Command associations to controls. 3-9
2-1 Power cords. 2-1 3-2 Relationship between arbitrary waveform
2-2 Line voltage selection/fuse output, ARBHOLD, and the RATE
replacement. 2-2 clock. 3-14 |
2-3 Rear pane! GPIB connector. 2-3 33 AUTOLINE examples, 3-17
2-4 Front panel numeric setting change. 2-4 3-4 Definition of STB bits, 3-40
2-5 Controls and connectors. 2-6 3-5 ASCH and IEEE (GPIB) Code
2-6 SPCL 250 example. 2-14 Chart. 3-43
Table
No.
1-1 Interface Function Subsets 1-2 1-14 Environmental 1-19
1-2 Waveforms, Operating Modes, and 1-15 Mechanical 1-20
Parameters 1-3 2-1 Power-On Settings 2-5
1-3 Frequency Characteristics 1-6 2-2 Front Panel Error Codes 2-13
1-4 General Output Characteristics 1-7 2-3 Special Functions 2-13
1-5 Output Characteristics 1-8 24 Generating a Standard Output
1-6 Internal Trigger I-11 Function 2-17
1-7 Arbitrary Waveform Characteristics 1-12 2-5 Storing an Arbitrary Waveform 2-20
1-8 Frequency Sweep 1-14 2-6 Using the Sweep Generator 2-22
1-9 Synthesizer 1-74 3-1 Error Query and Status
1-10 Inputs and Qutputs 7-75 Information 3-40
1-11 GPIB Characteristics 1-17 3-2 Front Panel Error Codes 13-41
1-12 Miscellaneous Electrical 3-3 Power-On Default Settings 3-42
Characteristics — 1-18
1-13 Source Power Requirements 1-78
Ea
AFG 5101/5501
OPERATORS SAFETY SUMMARY
The general safety information in this part of
the summary is for both operating and servicing
personnel. Specific warnings and cautions will
be found throughout the manual where they apply,
but may not appear in this summary. Safety infor-
mation applies to both the AFG 5101 and AFG 5501
unless noted otherwise.
TERMS
In This Manual
CAUTION statements identify conditions or practic-
es that could result in damage to the equipment
or other property.
WARNING statements identify conditions or practic-
es that could result in personal injury or loss
of life.
As Marked on Equipment
CAUTION indicates a personal injury hazard not
immediately accessible as one reads the marking
or a hazard to property including the equipment
itself,
DANGER indicates a personal injury hazard immedi-
ately accessible as one reads the marking.
SYMBOLS
In This Manual
This symbol indicates where applicable
cautionary or other information is to be
found.
As Marked on Equipment
Y DANGER High voltage.
© Protective ground (earth) terminal.
A ATTENTION-—refer to manual.
Power Source
This product is intended to operate from a power
module connected to a power source (AFGS101) or
from a power source (AFG 5501) that will not ap-
ply more that 250 volts rms between the supply
conductors or between either supply conductor and
ground. A protective ground connection by way of
the grounding conductor in the power cord is es-
sential for safe operation.
Grounding the Product
This product is grounded through the grounding
conductor of the power module power cord. To
avoid electrical shock, plug the power cord into
a properly wired receptacle before connecting to
the product input or output terminals. A protec
tive ground connection by way of the grounding
conductor in the power module power cord is essen-
tial for safe operation.
Danger Arising From Loss of Ground
Upon loss of the protective-ground connection,
all accessible conductive parts (including knobs
and controls that may appear to be insulating)
can render an electric shock.
Use the Proper Power Cord (AFG 5501)
Use only the power cord and connector specified
for your product. Use only a power cord that is
in good condition. For detailed information on
. power cords and connectors, sec maintenance sec-
tion. Refer cord and connector changes to quali-
fied service personnel. -
Use the Proper Fuse
To avoid fire hazard, use only the fuse of cor-
rect type, voltage rating and current rating as
specified in the Specifications or parts list for
your product. Refer fuse replacement to qualified
service personnel,
AFG 5101/5501
OPERATORS SAFETY SUMMARY (Cont)
De Not Operate in Explosive Atmospheres
To avoid explosion, do not operate this product
in an explosive atmosphere unless it has been spe-
cificaily certified for such operation.
Do Not Operate Without Covers
To avoid personal injury, do not operate this
product without covers or panels installed Do
not apply power to the plug-in via a plug-in ex-
tender,
SERVICE SAFETY SUMMARY
FOR QUALIFIED SERVI
PERS NLY
Refer also to the preceding Operator Safety Summary.
Do Not Service Alone
Do not perform internal service or adjustment of
this product unless another person capable of ren-
dering first aid and resuscitation is present.
Use Care When Servicing With Power On
Dangerous voltages may exist at several points in
this product. To avoid personal injury, do not
touch exposed connections and components while
power is on.
Disconnect power before removing protective pan-
els, soldering, or replacing components.
Power Source
This product is intended to operate in a power
module connected to a power source (AFG 5101) or
from a power source (AFG 5501) that will not ap-
ply more than 250 volts rms between the supply
conductor and ground. A protective ground connec-
tion by way of the grounding conductor in the pow-
er cord is essential for safe operation.
Section I—AFG 5101/5301
SPECIFICATION
Introduction
This section of the manual contains a general de-
scription of the Tektronix AFG 5101/5501 Program-
mable Arbitrary/Function Generator and complete
electrical, environmental, and physical specifica-
tions. Standard accessories are also listed.
instrument Description
The AFG 5101/5501 Programmable Arbitrary/Function
Generator is an analog signal source for sine,
triangle, square, arbitrary, and de signals. The
AFG 5101 is designed to operate in three compart-
ments of a TM 5000 Series power module. The AFG
3501 is a monolithic version of the AFG 5101.
NOTE
. Information in this manual applies to both
the AFG 5107 and AFG 5501 unless otherwise
noted.
The AFG5101/5501 can be opêrated manually using
front panel keys, or programmed via the general
purpose interface bus (GPIB). Recommended control-
[ers are the Tektronix 4041; ог ап IBM
PC.compatible, such as the Tektronix PEP 301,
with the Tektronix GURU software and GPIB inter-
face card. When properly installed, the
AFG 5101/5501 is compatible with other instru-
ments that meet IEEE Standard 488-1978.
For standard waveform functions, the
AFG 5101/5501 operates within a frequency range
of 0.012 Hz to 12 MHz For all waveform func-
tions, output amplitude is from 10 mV to 999 V
p-p into 50 ohms. Output can be in continuous,
triggered, gated, or burst mode.
Arbitrary waveforms can be generated with 12-bit
resolution; these can be generated discretely
from user-defined data, or by using one of five
internal, predefined waveforms, or a combination
of these. Two non-volatile memory banks (8192
points each) store arbitrary waveform data. The
data in either memory, or a portion of it, can be
output like a standard waveform, or used to sweep
a standard waveform.
Instruction Manual
The AFG 5101/5501 can generate a sweep that has a
linear or lograthmic pattern; or data stored in
an arbitrary waveform memory can be used to sweep
a standard waveform output.
A dynamic marker can be displayed on any oscillo-
scope with x-y mode and can be shifted over the
response plot. Up to 99 front panel set-ups can
be stored in RAM for later recall. External sig-
nals can be used to modulate a ‘standard waveform
in frequency or amplitude.
Instrument Options
Option 02 adds a frequency lock synthesizer thal
provides an accurate output frequency by locking
the output to an internal quartz crystal. This
option operates in continuous mode only, from
12.1 Hz to 12 MHz,
Standard Accessories
The following items are
AFG 5101/5501:
shipped with the
Instruction Manual
Reference Guide
Instrument Interfaceing Guide
IEEE 488 (GPIB) Function Capability
The AFG 5101/5501 1$ capable of being remotely
programmed via the digital interface specified in
“the IEEE Standard 488-1978, "Standard Digital In-
Instrumentation.” In
№ called the General
terface for Programmable
this manual, the interface
Purpose Interface Bus (GPIB).
The IEEE Standard identifies the interface func-
tion repertoire of an instrument on the GPIB in
terms of interface function subsets, The subacts
that apply to the AFG 5101/5501 arc listed in Tu-
ble 1-1,
Specification—AFG 5101/5501
NOTE
Refer to IEEE Standard 488-1978 for more
detailed information,
The standard is pub-
lished by the Institute of Electrical and
Electronics
Engineers,
Inc., 345 East
47th Street, New York, New York 10017.
Table 1-1
INTERFACE FUNCTION SUBSETS
Extended Listener
(Secondary address)
Service Request
‚ Кето!е-Госа!
Parallel Poll
Device Clear
Device Trigger
Controller
Electrical Interface
1-2
LEO
SR1
RL1
PPO
DC1
DT1
E2
Function Subset Capability
Source Handshake SH1 Complete capability.
Acceptor Handshake AHI Complete capability.
Basic Talker T6 Responds to Serial
Poll, Untalk if My
Listen Address (MLA)
is received. ©
Extended Talker TEO No capability.
(Secondary address)
Basic Listener [А Unplisten if My Talk
Address (MTA) is re-
ceived.
No capability.
Complete capability.
Complete capability,
including Local Lock-
out.
Does not respond to
Parallel Poil.
Complete capability.
Complete capability.
No controller func-
tion.
Three-state driver
capability,
ELECTRICAL CHARACTERISTICS
Performance Conditions
The electrical characteristics are valid under
the following conditions:
1.
The instrument must have been calibrated at an
ambient temperature between +20°C and
+30°C.
The instrument must be in a non-condensing en-
vironment whose limits are described under En-
vironmental.
Allow thirty minutes warm-up time for opera-
tion to specified accuracy; sixty minutes af-
ter exposure to or storage in high humidity
(condensing) environment.
The main OUTPUT connector must be terminated
into a 50 ohm load.
There are no connections to the instrument oth-
er than those required to verify each specifi-
cation.
items listed in the Performance Requirements col-
umn of the following tables are verified by com-
pieting the Performance Check in the Service manu-
al. Items listed in the Supplemental Information
column may not be verified in the manual; they
are either explanatory notes or performance char-
acteristics for which no limits are specified.
Instruction Manual
Specification —AFG 5101/5501
Table 1-2
WAVEFORMS, OPERATING MODES, AND PARAMETERS
Characteristics Performance Supplemental
Requirements Information
WAVEFORMS
Standard Analog Func-
tions:
Sine, square, trian-
gie, and de:
Arbitrary Waveform
Functions:
Predefined: Sine,
square, triangle,
ramp up, and ramp
down: Each waveform 1s one cycle, 100
points in length; peak amplitude duty
values are fixed at + and -2047. Wave-
forms can be written to one of two
arbitrary waveform memory banks at u
user-selected address; a stored wave-
form (or a waveform part) can be exe-
cuted from the arbitrary waveform exc-
cution buffer, and the output wave-
form attenuated by the instrument am-
plitude setting,
User-defined: User can write data values (+ to
2047) to two arbitrary waveform memo-
ry banks at user-selected addresses:
stored data value sequences can be
executed from the arbitrary waveform
execution buffer, and the output wavc-
form attenuated by the instrument am-
plitude setting,
OPERATING MODES
Continuous: Output continuous at programmed
frequency, amplitude, and offset.
Triggered: Output quiescent until triggered
by an internal, external, GPIB, or
manual trigger; then generates one
cycle at programmed frequency, am-
plitude, and offset. See Fig. 1-1.
Gated: Same as triggered mode except wave-
form is executed for the duration
of the gated signal. The last cy-
cle started is completed.
tl
Instruction Manual В
Specification—AFG 5101/5501
SINE |
WAVE _
TRIANGLE
WAVE _
SQUARE
WAVE — —===—
TRIG IN
70n5
PULSE Typical
a
SYNC - Leg 40NS
OUT Typical
5759-56
Fig, 1-1. Trigger to waveform timing, and waveform phase relationships.
Table 1-2 (Cont)
Characteristics Performance Supplemental
Requirements Information
Burst: Same as triggered mode for pro-
grammed number of cycles from 1 to
9999, as set by the N BURST func-
tion.
Sweep: Internal, programmable start fre-
quency, stop frequency, rate (time
per step) and marker frequency.
Linear, logarithmic, and arbitrary
sweep shapes can bc continuous,
triggered, gated, or burst select-
ed.
1-4 Instruction Manual
Table 1-2 (Cont)
Specification-<AFG 5101/5501
Characteristics
AM Modulation:
FM Modulation:
Synthesizer:
OPERATING PARAME-
TERS
Increment:
Performance
Requirements
Generator can be externally modu-
lated.
SV p-p for a minimum 500 : 1 fre-
quency change.
Frequency, amplitude, offset,
rate, and Nburst can be manually
incremented /decremented by a setta-
ble INCREMENT delta. Step rate 15
approximately 2 steps per sec. for
the first 5 steps; then 10 steps
per sec. for successive steps at
one continuous keystroke,
Supplemental
Information
For 100% modulation, the AM IN signal
amplitude is typically 4.5 Vp-p.
AM % modulation >30% from 10 Vp-p to
8 Vp-p output amplitude setting.
AM % modulation to 100% 1s over limit-
ed output amplitude ranges. See table
under 3.2.9, Inputs and Outputs,
AM INPUT.
Input resistance: 10k-chm nominal.
Slew rate: 0.1V per microsecond. Band-
width: de to 20 kHz.
An optional mode. See 3.2.8, Synthe-
sizer.
The minimum INCREMENT delta is au-
tomatically set to the least signifi
cant digit of the current range (if
the range changes, delta also chang-
es). If INCREMENT delta is set via
the front panel, it is locked to the
new value until it is again set to ©
via the front panel. If INCREMENT
delta is locked to in increment small-
er than the LSD of the range, an er-
ror is displayed in the front panel.
Instruction Manual
Specification —AFG 5101/5501
Table 1-3
FREQUENCY CHARACTERISTICS (STANDARD ANALOG FUNCTIONS)
Characteristics Performance Supplemental
Requirements Information
RANGE: 0.012 Hz to 12.0 MHz.
RESOLUTION: 3-1/2 digits (1200 counts). Synthesizer mode (Option 02): 12000
counts (4.5 digits).
ACCURACY: +0.2% of reading from 121 Hz to 5 With frequency lock off, accuracy is
MHZ in continuous mode. +10% from 0.1 Hz to 12 MHz.
0.5% of reading from 5 MHz to 12 0.01% accuracy can be obtained from
MHz in continuous mode. 0.001 Hz using predefined waveform
functions in arbitrary mode.
5% of reading from 0.1 Hz to 120
Hz in continuous mode. The systhesizer option offers 50 ppm
accuracy from 12.1 Hz to 12 MHz.
JITTER: <0.1% to 5 MHz.
STABILITY: {0.2% in continuous mode for all time
intervals,
0.5% for 24 hours in other modes.
REPEATABILITY: +1% for 24 hours in other than contin-
uous mode. In continuous locked mode,
repeatability is equal to frequency
accuracy listed above.
FREQUENCY LOCK MODE: Power-on/default setting is Frequencv
Lock On. Refer to Special Func-
tions in Section 2.
SETTLING TIME: Typically less than 2s,
1-6 Instruction Manual
Specification—AFG 5101/5501
Table 1-4
GENERAL OUTPUT CHARACTERISTICS
Characteristics Performance Supplemental
Requirements Information
OFFSET
Range: Absolute peak amplitude plus offset is limited to a maximum that is depen-
dent on the signal amplitude range. Open circuit values are 2 times the dis-
played values. See table below.
Offset Range and Resolution
Amplitude Peak | Resolution
Range Amplitude + into
Absolute Offset 58 ohms
into 50 ohms*
1V -9.99Vv 4.99V 10m V
0.1V - 0.999V 0.499V im V
0.01V - 0.099V 0.049\ 15::3%
Resolution: 3 digits. See table above.
Accuracy; 30.6% +20 mV into 50 ohms.
Repeatability: +1% +20 mV for 24 hours.
OUTPUT
Resistance: 50 ohms.
Protection: The instrument is nondestructively pro-
tected against short circuits or acci-
dental voltage of up to 100 V (de plus
peak ac) applied to the main output
connector.
LOW SIGNAL AMPLITUDE Total noise and ripple less than 3 mV
NOISE: p-p with 10 mV output amplitude sig-
nal.
Instruction Manual 17
Specification —AFG 5101/5501
Tabie 1-5
OUTPUT CHARACTERISTICS
Characteristics Performance Supplemental
Requirements Information
SINE WAVE
AMPLITUDE
Range: 10 mV to 9.99 V p-p into 50 ohms. 20 mV to 1998 V p-p from 50 ohms
into open circuit. Open circuit val-
ues are 2 times the displayed values.
Resolution: Amplitude Amplitude
Range Resolution
p-p into
50 ohms
1V -9.99V 10mV
0,1V - 0.999V imV
10m V - 99т У 10 М
Accuracy: 12.0% +20 mV of programmed value
for 1.0 to 9.99 V output at 20 to
30°C.
42.5% +20 mV of programmed value
for 1.0 to 9.99 V output; 3% +5 mV
for 10 mV to 999 mV output, speci-
fied for a sinewave output at 1
kHz over full amplitude and temper-
ature range.
Sine Distortion: <0.6% THD (RMS), 121 Hz to 120 kHz All harmonics less than -30 dB below
at 5V р-р amplitude at 20 to fundamental from 121 kHz to 1.0 MHz
30°C. at 5V p-p amplitude and 20 to 30°C.
<1% THD (RMS), 12 Hz to 120 kHz All harmonics -20 dB below fundamen-
over full temperature and ampli- tal from 121 kHz to 12 MHz over fuli
tude range. amplitude and temperature range.
Repeatability: +1% for 24 hours.
Flatness: 05 dB from 0.012 Hz to 120 kHz,
+2 dB to 1.2 MHz, +3 dB to 12 MHz
referenced to 1 kHz sinewave.
Instruction Mania!
Table 1-5 (Cont)
Specification —AFG 5101/5501
Characteristics Performance Supplemental
Requirements Information
SQUARE WAVE
AMPLITUDE
Range: 10 mV to 9.99 V p-p into 50 ohms. 20 mV to 1998 V p-p from 50 ohms
into open circuit. Open circuit val
ues are 2 times the displayed values.
Resolution: Amplitude Amplitude
Range Resolution
PP
50 ohms
1V-9.99V 10т У
0.1V-0.999V На М
10m У -99т V imv
Accuracy: +20% +20 mY of programmed value
for 10 to 999 V output at 20 to
30°C.
+25% +20 mV of programmed value
for 1.0 to 999 V output; +3% +5
mV for 10 mV to 999 mV output,
specified for a squarewave output
at 1 kHz,
Repeatability: +1% for 24 hours.
Flatness: 0.5 dB from 0.012 Hz to 120 kHz,
+2 dB to 1.2 MHz, +3 dB to 12 MHz
referenced to 1 kHz squarewave.
Time Symmetry: <0.5%, 121 Hz to 120 Hz,
+1%, 121 Hz to 1.2 MHz;
Transition Time:
Aberrations:
Instruciion Manual
+5%, 1.2 MHz to 12 MHz.
<15 ns 10% to 90% at full output
amplitude; elsewhere, <20 ns, 10%
to 90%.
<8% of p-p amplitude +20 mV from
34V to 999 Vp-p output ampli-
tude.
<10% of p-p amplitude below 3.34
Vp-p output amplitude.
1-9
Specification—AFG 5101/5501
Table 1-5 (Cont)
Characteristics Performance Supplemental
Requirements | information
TRIANGLE WAVE
AMPLITUDE 10 mV to 9.99 V p-p into 50 ohms. 20 mV to 1998 V p-p from 50 ohms
Range: | into open circuit. Open circuit val-
ues are 2 times the displayed values.
Resolution: Amplitude Amplitude
Range Resolution
р-р
50 ohms
1V-9.99V 10mV
0.1V-0.999V imV
10m V-09mV imV
Accuracy: 32.0% +20 mV of programmed value
for 1.0 to 9.99 V output at 20 to
30°C.
22.5% +20 mV of programmed value -
for 1.0 to 9.99 V output; +3% +5
mV for 10 mV to 9.99 mV output,
specified for a triangle wave out-
put at 1 kHz.
Triangle Linearity: 98% to 100 kHz measured from 10% to
90% on waveform.
Repeatability: +1% for 24 hours,
Flatness: 05 dB from 0.012 Hz to 120 kHz,
+2 dB to 1.2 MHz, +3 dB to 12 MHz
referenced to 1 kHz triangle wave.
1-10 Instruction Manual
Table 1-5 (Cont)
Specification—AFG 5101/5501
Characteristics Performance Supplemental
Requirements Information
DC
AMPLITUDE +10 mV to +4.99 Vdc into 50 ohms. +20 mV to +998 Vdc from 50 ohms into
Range: open circuit. Open circuit values
are 2 times the displayed values,
Resolution: Amplitude Amplitude
Range Resolution
p-p
50 ohms
1V-9.99V 10m V
0.1V-0,999V imV
10m V-99m V На У
Accuracy: +0.6% +20 mV into 50 ohms.
Repeatability: +1% for 24 hours.
Table 1-6
INTERNAL TRIGGER
Characteristics Performance Supplemental
Requirements Information
RANGE: Repetition rate 100 ns to 999.9 s.
RESOLUTION: 4 digits. 1 ns maximum resolution.
ACCURACY: 0.01%.
Instruction Manual
Specification—AFG 5101/5501
Table 1-7
ARBITRARY WAVEFORM CHARACTERISTICS
Characteristics Performance Supplemental
| Requirements Information
FUNCTIONS: User-defined, or resident sine, 0.01% frequency accuracy from 0.001
square, triangle, ramp up, and mHz to 10 kHz using resident waveform
ramp down. functions.
HORIZONTAL RESOLU- 8192 points for each waveform stor- See Point Duration, below, for hori-
TION: age memory. Resident functions zontal timing range.
are defined with 1000 points of
horizontal resolution.
VERTICAL RESOLUTION: — 12 bits, 4095 points.
SUPPLEMENTAL INFORMATION:
At the maximum amplitude setting of 9.99V, resolution is 2.44 mV per
vertical point.
ASCII:
Datapoint entered , Amplitude setting 1 Offset _ Output voltage
2047 | 2 voltage for data point
Binary Block:
Datapoint - 2047 Amplitude setting | Offset _ Output voltage
2047 2 voltage for data point
OUTPUT ACCURACY 22.5% +20 mY of programmed p-p am-
ARBITRARY MODE BAND-
WIDTH:
VERTICAL RANGE:
POINT DURATION (RATE):
RISE TIME:
1-12
plitude when arbitrary data point
peak values are +2047 to -2047 at
waveform frequencies of 1 kHz with
predefined waveform functions.
100 ns to 9999 s with 4 digits
resolution.
<150 ns 10% to 90% (with no filter-
ing).
3dB point typically >3 MHz. Measured
with a 2 point waveform from -2047 to
+2047 at 9.99 V amplitude.
Most Most
Neg. Pos.
Voltage Voltage
Front panel
(ASCH): -2047 2047
GPIB
(ASCID: -2047 2047
GPIB
(Binary Blk): 0 4095
Accuracy better than 0.01%.
Instruction Manual
Table 1-7 (Cont)
Specification—AFG 5101/5301
Characteristics Performance Supplemental
Requirements Information
SETTLING TIME: <300 ns to within 1% of final val-
ue with a full scale step (with no
filtering).
WAVEFORM STORAGE
MEMORIES: Two independently selectable memo- Non-volatile.
ry banks of 8192 points each.
WAVEFORM EXECUTION
START AND STOP POINTS: Waveform execution START and STOP
points may be defined at any ad-
dress within either of the two
8192-point waveform storage memo-
ries. The STOP point must be high-
er than the START point.
WAVEFORM EXECUTION 8192 points. The arburary waveform is generated
BUFFER: from the data values at sequential
FILTERS:(4 filters,
single-pole):
da LA Hd pa OO
SINE DISTORTION (Pre-
defined arbitrary wave-
forms):
addresses between the previously de-
fined START and STOP points in the
selected waveform storage bank.
3 dB cutoff frequency.
Filter off.
Typically 1 MHz + 20%.
Typically 100 kHz +20%.
Typically 11 kHz +20%.
Typically 1.3 kHz +20%.
distortion at 1
Can be im-
Typically 1.5% sine
kHz output frequency.
proved by use of filters.
Instruction Manual
bio
Specification--AFG 5101/5501
Table 1-8
FREQUENCY SWEEP
Characteristics Performance Supplemental
Requirements Information
SWEEP TYPES: Linear, logarithmic, arbitrary,
SWEEP TIME: 100 ns to 9999 s per point. 1 ns User-defined arbitrary sweeps may be
(4 digit) maximum resolution. (Lin- defined with up to 8192 horizontal
ear and logarithmic sweep only: 1 points (time base).
sweep equals 1000 points for the
time base.)
SWEEP WIDTH: 1200 : 1 maximum; start frequency If the highest frequency is less than
and stop frequency must be in the the top of the range, the ratio is
same range. See sweep ranges spect- less than 1200: 1.
fication.
SWEEP RANGES: 10 kHz to 12 MHz The highest frequency of the two
1 kHz to 1.2 MHz (START and STOP) determines the sweep
100 Hz to 120 kHz range. -
10 Hz to 12 kHz
1 Hz to 1.2 kHz
0.1 Hz to 120 Hz
0.012 Mz to 12 Hz
ACCURACY OF START/ +5% of highest frequency of range. 7
STOP FREQUENCIES: typical.
MARKER ACCURACY: +5% typical.
Table 1-9
SYNTHESIZER (OPTION 02)
Characteristics — Performance Supplemental
Requirements Information
RANGE: 12.1 Hz to 12 MHz.
RESOLUTION: Frequency resolution (LSD of dis-
play) is 10 mHz on lowest range
and 1 kHz on highest frequency
range (4.5 digits, or 12000
counts).
ACCURACY: #50 ppm averaged measurement.
STABILITY: +10 ppm/degree C or better.
SETTLING TIME: Typically less than 2 s plus 100 су-
cles.
1-14 Instruction Manual
Specification—AFG 5101/3501
Table 1-10
INPUTS AND QUTPUTS
Characteristics Performance Supplemental
Requirements Information
VCO/FM INPUT: 5 Y p-p for a 500:1 minimum fre- Input resistance: 10k ohm nominal.
A
TRIGGER IN:
A
AM INPUT;
A
ARBITRARY HOLD INPUT:
A
INPUT PROTECTION:
SYNC OUTPUT:
SWEEP OUTPUT:
Instruction Manual
quency change.
TTL compatible.
TTL compatible.
All mputs protected against up to
+50 Y (de plus peak ac) accidental
Input.
TTL level squarewave at programmed
frequency.
Source resistance is 600 ohms;
same wave shape as selected sweep.
Amplitude is dependent on start
and stop frequency and a 5V limit.
Slew rate: 0.1 V per microsecond.
Bandwidth: de to 20 kHz.
FM operation may require DC biasing
of the modulation signal +5 Vdc.
Nominal impedance: 10k ohms.
Maximum rate: 12 MHz.
Minimum width: 20 ns.
Input resistance: 10k ohm nominal.
Bandwidth: de to 20 kHz minimum. 5 V
p-p for 100% modulation, typical,
within allowable amplitude ranges.
AM % modulation >30% from 10 Vp-p 10
8 Vp-p output amplitude setting. AM
% modulation to 100% over hmited out-
put amplitude ranges:
10 mY to 23 mY p-p
34 mV to 45 mV p-p
100 mV to 230 mV p-p
334 mV to 450 mV p-p
1.00 Y to 2.3 У р-р
3.34 V to 4.5 V p-p.
When this signal is
trary output stops and the output
voltage remains at the level of the
last point output. When the signal
is brought low, the output of the ar-
high, the arbi-
bitrary waveform continues. Refer to
Fig. 1-2.
Resistance from 50 ohms, protected
against short circuit and up to +15 V
accidental input (for less than 1
minute).
In the arbitrary sweep mode, this out-
put reflects the amplitude of the ar-
bitrary waveform that drives the
sweep waveform,
1-15
Specification -AFG $101/5501
ARBITRARY
RAMP END
T=POINT RAMP
ARBITRARY ARBITRARY
WAVEFORM RAMP E puso
OUTPUT START
HOLD +5V |
INPUT |
O?
|
|
|
ARBITRARY!
RATE CLOCK
ARBITRARY
RAMP END
pr ran SE
eff paie ntm ja da dab ais
ria EE TE—"s meer. LL]
1
|
|
|
|
|
|
SAVE 7=POINT RAMP
| |
ARBITRARY WAVEFORM ARBITRARY | |
OUTPUT AFFECTED RAMP
BY HOLD INPUT START | |
| | |
| | |
| | |
| | |
+5V
HOLD |
INPUT o
Ван;
1-16
Fig. 1-2. Arbitrary HOLD timing diagram.
Instruction Manual
Table 1-10 (Cont)
Specification-—AFG 5101/5501
Characteristics Performance Supplemental
Requirements Information
MARKER QUT: Positive TTL level pulse, output
when the output frequency equals
the marker frequency. Pulse dura-
tion is equal to a minimum of one
period of the RATE setting.
Table 1-11
GPIB CHARACTERISTICS
Characteristics Performance Supplemental
Requirements Information
INTERFACE: Conforms to IEEE-488 1978. See sec-
Instruction Manual
tion 4.2 for information on the
supported subsets,
[17
Specification—AFG 5101/5501
Table 1.12
MISCELLANEOUS ELECTRICAL CHARACTERISTICS
Characteristics Performance Supplemental
Requirements Information
Internal Fuse Data: 1 fuse: 2A, 125V slow blow. (UL.
listed component.)
2 fuses: 1 A, 125 V slow blow. (U.L.
listed component.)
Power Consumption: 50 VA maximum, limited by internal
(AFG 5101) fuse.
Power Dissipation: 30 W,
(AFG 5101)
Recommended Adjustment
Interval: 1000 hours or 6 months, whichever
occurs first.
Warm-up Time: 30 minutes.
Memory Backup Battery
Life: 5 years, typical.
Table 1-13
SOURCE POWER REQUIREMENTS
AFG 5501 Only
Characteristics | Performance Supplemental
Requirements Information
Voltage Ranges: Selectable 100 V, 120 V, 220 Y, and
240 V nominal line + 10%.
Line Frequency: 50 - 60 Hz.
Maximum Power Consump-
tion: Approximately 90 W.
Fuse Data:
100 V, 120 V Ranges: 1.0 A, 3 AG, slow blow, 250 V,
220 V, 240 V Ranges: 0.5 A, 3 AG, slow biow, 250 V.
1-18 Instruction Manual
Specification—AFG 5101/5501
ENVIRONMENTAL CHARACTERISTICS
Table 1-14
ENVIRONMENTAL?
Characteristics Description
TEMPERATURE Meets MIL-T-28800D, class 3.
Operating: OC to +50%
Non-Operating: 20°C to +60°C Class 5 non-operating temperature ex-
ception due to internal keep-alive
battery and LCD display.
HUMIDITY: 95% RH, 0°C to 30°C Exceeds MIL-T-28800D, class 5,
75% RH to 40°C non-condensing.
45% RH to 50°C
ALTITUDE: Exceeds MIL-T-28800D, class 5.
Operating: 4.6 km (15,000 ft.)
Non-Operating:
15 km (50,000 ft.)
VIBRATION“ 0.38 mm (0.015°) peak-to-peak, 5 Meets MIL-T-28800D, class 5, when in-
Hz to 55 Hz, 75 minutes. stalled in qualified power mod-
ules.
SHOCK“ 30 gs (1/2 sine) 11 ms duration, Meets MIL-T-28800D, class 5 when in-
3 shocks in each direction along 3 stalled in qualified power mod-
major axes, 18 total shocks. ules.
BENCH HANDLINGY 12 drops from 45%, 4" or equilib- Meets MIL-T-28800D, class 5, when in-
rium, whichever occurs first. stalled in qualified power mod-
ules.
TRANSPORTATION Qualified under National Safe Transit Association Preshipment Test Proce-
dures 1A-B-1 and 1A-B-2.
EMC® Within limits of FCC Regulations Part 15, Subpart J, Class A; and
MIL-461B (1980) for REO1, REOZ, CEO1, CEO3, RSO1, RSO3, CSOL, CSO?, and
CS06.
ELECTRICAL DISHARGE
Operating Maximum
Test Voltage: 15 kV, 150 pF through 150 ohms.
Non-Operating Max.
Test Voltage:
20 kV, 150 pF through 150 ohms.
With power module.
Refer to TM 500/5000 power module specifications,
“Requires retainer clip.
Without power module.
e я - + =
System performance subject to exceptions of power module and/or other plug-ins,
Instruction Manual 1-19
Specification—AFG 5101/5501
Table 1-14 (Cont)
Characteristics Description
SAFETY SPECIFICATIONS: Shall meet the following safety standards:
USA. UL1244 (Electrical and Electronic measuring and test equipment).
Canada: CSA 556B (Electrical Bulletin).
International: IEC 348 (Electronic measuring apparatus).
PHYSICAL CHARACTERISTICS
Table 1-15
MECHANICAL
Characteristics Description
FINISH:
Front Panel: Polycarbonate.
Chassis: (AFG 5101) Chromate conversion-coated aluminum,
NET WEIGHT
AFG 5101: 1.7 kg (4.6 155)
AFG 5501; 5.3 kg (14.3 Ibs)
OVERALL DIMENSIONS
Height: 12.7 cm (S.0 in)
Width: 20.32 cm (8.0 in)
Length: 27,94 cm (11.0 in)
AFG 2201
Height: 14.0 cm (5.5 in)
Width: 23.4 cm (9.2 in)
Length: 43.2 em (17,0 in)
ENCLOSURE TYPE &
STYLE PER MIL-T-28800D
(AFG 5101 in Tektronix
TM 5000 Series power
module):
Type HI
Style: E (Style F with rackmount kit)
1-20 Instruction Manual
Section 2—AFG 5101/5501
OPERATING INSTRUCTIONS
Introduction
This section of the manual provides installation
and removal instructions and describes the func-
tions of the AFG 5101/5501 front-panel controls
and connectors. This information is provided as
an aid in understanding how to operate the
AFG 5101/5501 under local (manual) control only.
The information in this section assumes the in-
strument is not connected to the GPIB. Complete
information for programming the AFG 5101/5501 via
the GPIB (General Purpose Interface Bus) is found
in the Programming section of this manual.
Preparation for Use
Installation and Removal—AFG 5101 Only
NOTE
The AFG 5101 is designed to operate only
in a TM 5000-Series power module. Refer
to the power module instruction manual
before installing the AFG 5101
The AFG 5101 is calibrated and ready for use when
received. It operates in three compartments of
any TM 5000-Series GPIB compatible power module.
Refer to the power module instruction manual for
line voltage requirements and power module opera-
tion. LIL LILA
9 CAUTION |
To prevent damage to the AFG 5101, turn
the power module off before installation
or removal. Do not use excessive force
to install or remove.
Check to see that the plastic barriers on the in-
terconnecting jacks of the selected power module
compartments match the cutouts in the AFG 5101
circuit board edge connectors. If these do not
match, do not insert the instrument until the rea-
son is determined. When the units are properly
matched, align the AFG 5101 chassis with the up-
per and lower guides of the selected compart-
ments. Insert the AFG 5101 into the power module
Instruction Manual
and press firmly to seat the circuit board edge
connectors in the power module interconnecting
jacks. Apply power to the AFG 5101 by actuating
the power switch on the power module.
To remove the AFG 5101 from the power module,
pull both release latches on the front panel un-
til the interconnecting jack disengages. The in-
strument will then slide straight out.
Power Cords-—AFG 5501 Only
The AFG 5501 is shipped with the power cord op-
tion as ordered by the customer (see Fig. 2-1).
Verify that the instrument power cord is the prop-
er cord for use with the available power.
PLUG ; LINE REFERENCE OPTION
CONFIGURATION USAGE VOLTAGE STANDARDS NUMBER
UVa von NITO
wa, North ANSI C7311
Sa American 120V NENA 5-157
3 120/15A EC 83
Universal
Euro CEE (71H IV VR
240V/ 240v IEC 83 Al
10-164
UK
BS 1363
2407 280 AZ
134 IEC 83
AListranan
240: 240V AS C112 AS
1A
North
ANS! 273.20
American | z4ov NEMA 6-15-P As
240v/ IEC 83
?5A
Switzeriang
220V 220V SEV AL
ba
Fig. 2-1. Power cords.
Section 2-AFG 5101/5501
If the displayed voltage selection is incorrect
or the fuse needs replacement, perform the follow-
ing procedure. Refer to Fig, 2-2.
1. Make certain that the power switch (on rear of
unit) is turned off and the line cord is not
SELECTION plugged into the line voltage connector.
WINDOW
2. Remove the voltage selector/fuse holder by
pushing the latch/release bar toward the selec-
tion window. The selector/fuse holder should
PUSH AND HOLD release and move slightly out of the socket.
LATCH/RELEASE BAR = Remove the voltage selector/fuse holder from
the assembly.
3. Pull the fuse block and fuse from the voltage
selector/fuse holder, Remove the fuse from
the fuse block. Make certain a replacement
fuse has the proper ratings for the selected
line voltage (refer to Specifications for fuse
rating). Insert fuse into fuse block.
4. The line voltage selections are printed on the
VOLTAGE SELECTOR /FUSE end of the fuse box. Rotate the fuse box and
HOLDER ASSEMBLY reinstall it so that the proper line voltage
(removed from selection is visible through the selection win-
rear реле!) (6502.1)6759-11 dow.
Fig. 2-2. Line voltage selection /fuse 5. Reinstall the voltage selector /fuse holder.
replacement.
6. Verify that the correct line voltage value is
visible through the line voltage selector win-
Line Voltage Selection/Fuse dow.
Replacement—AFG 5501 Only
NOTE Turn-On Procedure
The AFG 5501 contains fuses in the voltage After completing the appropriate Preparation For
selector/fuse holder assembly located on the Use instructions, install the power cord and con-
rear panel. The instrument also contains nect it to the proper power outlet. Turn on the
internal fuses; refer qualified service per- power switch on the instrument rear panel.
sonnel to the Maintenance section of this
manual for information on intemal fuse re-
placement,
The line voltage selector is part of the line
cord plug assembly, located on the rear of the
power module. Verify that the voltage shown in
the selector window is correct for the line volt-
age available,
2-2 | Instruction Manual
IEEE 488 (GPIB) Connector—AFG 5501 Only
Figure 2-3 shows the pin assignments for the rear
panel GPIB connector.
“== N |
GND a) GND
GND 23 11 ATN
GND 22 1 SRG
GND 121 я EC
GND 120 a NDAC
GND 119 7 NRED
GND Na 6 DAV
REN 147 85 ЕО!
DIOS 16 4 0104
DIO7 18 3 DIO3
DIOS & 2 DIO
DIOS 13 4 DIO!
(
Rear panel GPIB connector viewed from rear
or power module (IEEE Standard No. 488).
6759-12
Fig. 2-3. Rear panel GPIB connector.
Instruction Manual
Operating Instructions—AFG 5101/5501
Repackaging For Shipment
If the instrument is to be shipped to a Tektronix
Service Center for service or repair, aitach a
tag showing: owner (with address) and the name of
an individual at your firm that can be contact-
ed. Include complete instrument serial number
and a description of the service required.
If the original package is unfit for reuse or un-
available, repackage the instrument as follows:
Wrap the instrument with polyethylene
sheeting or other suitable material to
protect the exterior finish. Obtain a
carton of corrugated cardboard of ade-
quate strength and having inside dimen-
sions no less than six inches more than
the dimensions of the instrument. Cush-
ion the instrument by ughtly packing
dunnage or urethane foam between the car-
ton and instrument, on all sides. Seal
the carton with shipping tape or use an
industrial stapler.
The carton test strength for your instrument is:
AFG 5101: 200 pounds per square inch
AFG 5501: 275 pounds per square inch
Operating Instructions-—AFG 5101/5501
Controls, Connectors, and Display
General Information
All controls and connectors used for local (manu.
al) operation of the AFG 5101/5501 are located on
the front panel. The front panel keys are used
to select a parameter, or function for the wave-
form output; to display the current value of the
parameter, or function; and to change its value,
if desired. Other keys select the trigger source
and mode. The DATA keypad is used to enter a dif-
ferent value for the selected key function. Some
keys have built-in LEDs that illuminate to indi-
cate that the associated function is active. On
all keys that include LEDs, the indicators light
only while a parameter or function is selected,
or is active.
Display Window, Changing Settings
The AFG 5101/5501 has a two-row LCD in the dis-
play window that cam show up to 16 characters per
row. When the AFG 5101/5501 is on, each row dis-
plays a function, parameter, etc, and its cur
rent setting. For example, the default display
shows the current setting for frequency and ampli-
tude. Depending on the key function, selection
allows the user to
* Display the current setting of a key func-
tion. For example, if frequency and ampli-
tude are displayed, press N BURST to see its
current setting,
Change the current setting of a key func
tion. For example, press N BURST, press a
DATA numeric key such as 6, press ENTER.
* Turn on, or enable the selected key function,
without changing its current setting. For
example, if DC was previously set to 1 V, but
1s now off (LED off), turn on the DC function
by pressing DC, ENTER.
Display the current setting of a key func.
tion, change that setting using the DATA key-
pad (numeric and units of measure keys), and
turn on or enable the function, ete, with
the new setting. For example, press SWEEP,
DATA key 4, ENTER. The output at the SWEEP
QUT connector 1s a logarithmic sweep.
2-4
(The other displayed characteristic or one that
is not displayed can be selected by pressing its
front panel key.)
“A right caret in the left display area indicates
which of the two displayed items is “selected”,
or “can be acted upon” using front panel keys.
Refer to Fig. 2-4, part A.
An asterisk 15 displayed in place of the right
caret when a DATA key 1s pressed (to change the
displayed numeric setting). Refer to Fig. 2-4,
part B. The DATA keys are used to change the dis-
played numeric setting; some DATA keys also can
change the units of measure (units are function
key dependent). The asterisk indicates that the
settings change is incomplete and must be conclud-
ed by pressing the ENTER key. Refer to Fig. 2-4,
part C.
A numeric settings change in process can be abort- .
ed by pressing any key other than DATA and
INST ID keys; also a timeout of about 9 seconds
will abort the incomplete change. When a set-
tings change is completed, the asterisk reverts
to a right caret.
>FREQ 1000 Hz
AMPL 2.00 V
A. Power-on display,
FREQ as selected.
*FREQ 500 Hz
AMPL. 5.00 V
B. FREQ setting change in process.
With FREQ selected, user pressed
— DATA keys 5, 0,9
>FREQ 300 Hz
AMPL 5.00 у
C. FREQ setting change complete.
User pressed ENTER.
ETS.
Fig. 2-4. Front panel numeric setting change.
Instruction Manual
are displayed
type of error.
scribed in Table 2-2.
Power-On Sequence
to verify internal circuit
self test error, internal
At power-on, the AFG 5101/5501 performs a self
operation.
error, or
error occurs, an error code and code mnemonics
to give some explanation of the
Error codes are listed and de-
If no error is found dur-
When
operating
self test, the instrument enters the local
state with the settings listed in Table 2-1.
Table 2-1
POWER-ON SETTINGS
Key/Function Setting
AMPL ЗУ
Amplitude Modulation off
Arbitrary ADRS 0000
Arbitrary ADRS Increment
(SPCL 310) on
Arbitrary Bank Select 1
Arbitrary Filter 0 (off)
Arbitrary PROG Mode off
Arbitrary START 0000
Arbitrary STOP 8191
DC ОУ
Device Trigger? off
FREQ 1 kHz
Frequency Lock (SPCL 230) on
Frequency Modulation off
Function SINE
MODE CONT
N BURST 2
OFFSET 0 Y (off)
Operation Complete? off
OUTPUT off
RATE 10 microseconds
RATE units (SPCL 210) time
Range Lock (SPCL 260) off
Request Service (ROS) on
SWEEP off
MARKER (SPCL 250) off
MARKER Freguency 0 Hz (off)
Sweep START Frequency 1 Hz
Sweep STOP Frequency 1200 Hz
TRIG MAN
User Service Request“ off
Settings used only when AFG 5101/5501 is
under program control.
Instruction Manual
Operating Instructions—AFG 5101/5501
GPIB Indicators
The REMOTE and ADRS indicators illuminate only
when the instrument is operating under remote pro-
gram control via the GPIB.
REMOTE -- Illuminates when the AFG 5101/5501
IS operating under remote program
control via the GPIB.
ADRS -- Hluminates when the AFG 5101/5501
is either “listening” or “talk-
ing” over the GPIB.
Controls and Connectors
The following description explains the function
of each front panel control and connector. The
number associated with each description pinpoints
the location of the key or connector on the front
panei in Fig, 2-5.
Operating Instructions-—AFG 5101/5501
LATOR
o E
ha —]
FAENA Fo" E GAN
TT nié Prrrrriérmairhlallr
AFS 1191 PROGRAM RT
у 0:0 0
©
Fe r a it
| a 8 DB
‘00/08
MT
P
©
~
aha
0108 @
B758%.2
Fig. 2-5. Controls and connectors.
Instruction Manual
2-6
(1) PARAMETER Keys
The PARAMETER keys are used to select a parameter
for the waveform selected for output from the
AFG 5101/5501; to display the current value of
the parameter; and to change its value and/or
units of measure using the DATA keypad. The PA-
RAMETER keys are mutually exclusive in operation.
FREQ Selects the FREQ parameter and
displays the current frequency of
the output function,
AMPL Selects the AMPL parameter and
displays the current amplitude of
the output function.
OFFSET Selects the OFFSET parameter and
displays the current offset; the
key LED lights if the offset volt-
age 1s a value other than zero
(0); а zero value disables OFF-
SET.
SPCL Selects any of 11 special func-
tions from a menu, using the se-
quence: SPCL key; press INCREMENT
to page through menu (displayed,
one function at a time) to the
desired function; or enter the
SPCL code (3 digits, using DATA
keypad) and press ENTER. Refer
to Special Functions in this
section of the manual for more
information. To exit a special
function, press any FUNCTION key.
RATE Selects the RATE parameter and
displays the current RATE set-
ting. RATE is function/mode de-
pendent; its setting controls the
rate at which the AFG 5101/5501
scans through arbitrary memory,
and/or controls the sweep rate
and sets the marker width, and
sets the internal trigger rate.
Units of measure can be set to
time or frequency using SPCL func-
tion 210,
N BURST Selects the N BURST parameter and
displays the current number of
cycles that will be generated in
BURST mode.
INCRSIZE Selects the INCR SIZE parameter
and displays the current step
size used for incrementing and
Instruction Manual
Operating Instructions —AFG 5101/5501
decrementing the selected parame-
ter (FREQ, AMPL, OFFSET, MARK-
ER, N BURST, DC, and RATE). If
INCR SIZE 1$ set to 0 (the
power-on default setting), then
the increment size 1s the least
significant digit of the selected
parameter range (displayed). If
INCR SIZE is set to a value less
than the least significant digit,
then an error is displayed (error
code 14) and the parameter re-
mains unchanged.
MARKER Selects the MARKER parameter and
displays the current frequency of
the sweep marker. MARKER pulse is
equal to a minimum of one period
of the RATE setting. The LED is
on only if the marker frequency
is other than zero. The MARKER
is off when the frequency is 0.
An error is generated if the MARK-
ER frequency is out of the START
and STOP frequency range. SPCL
function 250 also affects the
MARKER function.
(2) FUNCTION Keys
The FUNCTION keys are used to select the type of
waveform to be supplied as output from the
AFG 5101/5501. These keys are mutually exclusive
in operation. Some keys operate in either of two
modes. Also, START and STOP each have two
settings--one that is set in the Non-Prog Mode
and is used for standard sweep operations; anoth-
er that is set in the arbitrary waveform Prog
Mode and used to set the START and STOP addresses
in arbitrary waveform memory.
SINE Selects a sine-wave output (LED
on).
TRIANGLE Selects a triangle-wave output
(LED on).
SQUARE Selects a square-wave output (LED
on).
DC Selects a de-voltage output (LED
on) at the selected voltage.
Press ENTER to initiate output.
Operating Instructions—AFG 5101/5501
ARB
FILTER
START
. STOP
Selects arbitrary waveform out-
put, The waveform selected
depends on:
* The waveform memory bank
selected.
* The current START address.
* The current STOP address.
* The data stored at and be-
tween the START and STOP
addresses.
* The RATE setting.
When the ARB key is pressed, the
instrument copies the data that
resides in the selected arbitrary
waveform memory berween the START
and STOP addresses into the arbi-
trary waveform execution buffer
and initiates execution.
Selects or deselects one of four
fixed filters for application to
an arbitrary waveform output. To
select a new filter, press FIL-
TER, and the filter number (DATA
keypad numbers 1 through 4). Se-
lecting 0 disables filtering,
Filter No. Typical Cut-off
Frequency
1 1 MHz
2 100 kHz
3 11 kHz
4 1,3 kHz
(Non-PROG Mode) Selects the sweep
START frequency.
(Non-PROG Mode) Selects the sweep
STOP frequency.
PROG MODE. The following FUNCTION keys are used
in arbitrary waveform programming operations on-
ly,
PROG
2-8
Selects (LED on) and deselects
the arbitrary wavcform program-
ming modc and displays the cur-
rent arbitrary waveform memory
bank. With PROG on, arbitrary
The following keys function
waveform attributes can be modi-
fied; also, memory bank selection
can be changed (a bank selection
change sets the address pointer
(ADRS) to 0 in new bank), To en-
ter the PROG mode, press PROG;
the current data bank is dis-
played; change the current bank
selection, if desired; press EN-
TER,
Arbitrary waveform execution can-
not be started while PROG is se-
lected. However, with ARB PROG
on (SPCL function 330) and while
an arbitrary waveform is execut-
ing, the user can select PROG and
modify arbitrary waveform memory
data. The arbitrary waveform exe-
cution buffer is updated at the
end of the current execution cy-
cle.
as described only
while the arbitrary program mode is enabled (PROG
LED on).
ADRS
AUTOLINE
address is 0
(PROG Mode) Used to display the
current destination address in
the currently selected arbitrary
waveform memory bank for record-
ing a DATA point. (Also displays
the current data value stored at
the selected address.) Current
in new arbitrary
waveform memory bank when bank
selection is changed.) To change
the destination address, press
ADRS, enter the address (using
the DATA keypad), press ENTER.
The address can automatically in-
crement when a data point is en-
tered (SPCL function 310, PROG
mode). Address range: 0 to 8191.
(PROG Mode) AUTOLINE automatical-
ly calculates data values that
represent a straight line connect-
ing the two last-entered arbi-
trary waveform memory bank ad-
dresses, and writes that data be-
tween those addresses. Pressing
AUTOLINE displays the two
last-entered addresses; then,
pressing ENTER creates and stores
the line.
Instruction Manual
DATA
START
STOP
(PROG Mode) Used to enter a val-
ue for a data point at the ad-
dress (selected by ADRS) in the
arbitrary memory bank (selected
by PROG). To enter a data point,
press DATA, enter the data point
value (DATA keypad), press ENTER,
Data range: +2047 to -2047.
(PROG Mode) Displays the address
in arbitrary waveform memory at
which arbitrary waveform execu-
tion will start. To change the
START address, press START, enter
the START address (DATA keypad
numbers), press ENTER. Address
range: 0 - 8191.
(PROG Mode) Displays the address
in arbitrary waveform memory at
which the arbitrary waveform will
stop and then return to the START
address. To change the STOP ad-
dress, press STOP, enter the STOP
address (DATA keypad numbers),
press ENTER. Address range 0 -
8191.
(3) TRIG Keys
These keys select the trigger source used by the
TRIG, GATE, and BURST modes.
INT
EXT
MAN
EXEC
Selects internal trigger source.
INT can not be used in ARB or
Sweep modes (Error codes 207 and
208). The rate of the trigger
source is the last entered RATE
parameter.
Selects the external trigger sig-
nal applied to the front panel
TRIG IN bnc connector.
Selects a manual trigger/gate as
the trigger source.
If MAN trigger is selected, and
the MODE is:
* TRIG--pressing EXEC triggers a
signal one cycle in length.
* GATE--the output is enabled as
long as the EXEC button is
pressed.
Instruction Manual
Operating Instructions —AFG 5101/5501
* BURST--pressing EXEC triggers
an signal that 15 N BURST cy-
cles in length.
© MODE Keys
These buttons select the output mode. The CONT,
TRIG, GATE, and BURST modes are mutuaily exclu-
sive; the key LED flights to indicate the selected
mode.
CONT
TRIG
GATE
BURST
SWEEP
Selects a continuous output,
Selects generation of one com-
piete cycle of the selected wave-
form for each trigger received.
Refer to the TRIG KEYS descrip
tion.
Selects output of complete cycles
as long as the trigger source ap-
pied to the TRIG IN connector is
asserted.
Selects output of the number of
cycles specified by N BURST, for
each trigger received. The
N BURST range: 1 - 9999.
This key is used with the DATA
keypad (0, 1, 4, 7) and the START
and STOP keys to select a sweep
function, as follows: press
SWEEP, and one of the keypad num-
bers defined below, then ENTER.
The sweep signal is output at the
SWEEP OUT connector.
Key 0 (OFF)--turns the sweep
generator off. |
Key 1 (LIN)--generates a lin-
ear sweep between the selected
start and stop frequencies.
Key 4 (LOG)--generates a loga-
rithmic -sweep between the se-
lected start and stop frequen-
cies.
Key 7 (ARB)--uses a wavcform
in arbitrary waveform memory
to control the frequency of
the sweep signal,
2-9
Operating Instructions—AFG 5101/5501
AM Uses the signal applied to the AM
IN connector to amplitude-
modulate the output waveform.
FM Uses a signal applied to the
VCO/FM IN connector to control
the output waveform frequency,
allowing FM modulation.
SYNT (Option 02 only) When this key
is pressed, the instrument out.
puts a continuous waveform that
is frequency-locked to an inter-
nal standard.
(5) DATA Keys
The DATA keypad is used to enter numeric data.
Some keys are dual function (see the SWEEP key
description). Using the MHz/V microsecond,
the kHz/mV ms, and the Hz/s keys allows
the user to scale the input. A decimal point key
and minus key are also included. The ENTER key is
used to complete a numeric entry,
NOTE
If the function or parameter is select
ed, and no data is entered, the ENTER
key will terminate the selection with no
change to the value of the function or
parameter.
If data has been entered, but the ENTER
key has not been pressed, the operation
may be aborted by pressing any key ex-
cept DATA keys and INST ID.
(6) INCREMENT Keys
The INCREMENT keys (up-arrow and down-arrow) modi-
fy the displayed value of the selected parameter.
To use these keys to change a parameter value,
press the parameter key and the INCREMENT
up-arrow or down-arrow key. The step size is set
by the INCR SIZE parameter key for each parameter
(FREQ, AMPL, OFFSET, MARKER, N BURST, DC,
and RATE.
2-10
(7) SETUP Keys
These keys are used to save or recall front panel
settings.
STORE Used with the DATA keypad to
store the current front panel set-
tings in a settings buffer. To
store the current settings, press
STORE, enter the number of the
settings buffer (1-99) in which
you want to store the settings,
and press ENTER.
NOTE
Partially entered function or parameters
will not be stored by the STORE func-
tion.
RECALL Used with the DATA keypad to re-
call previously stored front pan-
el settings. To recall a stored
setting, press RECALL, enter the
number of settings buffer contain-
ing the desired settings, press
ENTER. Entering RECALL 0, re-
stores the front panel settings
to the power-on values.
INST ID Key
Causes the AFG 5101/5501 to dispiay its GPIB ad-
dress, EOI/LF terminator (and, if enabled, to gen-
erate a service request (SRQ) over the GPIB). То
display the GPIB address, press INST ID. To
change the address or terminator, use SPCL key
functions 240 and 241. Refer to Special Func-
tions.
(8) OUTPUT ON Key
Turns the main output of the instrument on (LED
on) or off.
Instruction Manual
Connectors
TRIG IN
SYNC OUT
MARKER OUT
GND
HOLD IN
Instruction Manual
Couples the input for the trig-
ger and gate functions.
Couples an internal TTL level
squarewave (at the programmed
frequency) for external use.
During a sweep, this connec-
tor supplies a pulse when the
marker frequency is reached.
Supplies a ground for the HOLD
input and the MARKER output.
Couples an external
TTL-compatible signal that
stops and restarts arbitrary
SWEEP OUT
VCO/FM IN
AM IN
OUTPUT
Operating Instructions—AFG 5101/5501
waveform execution. A TTL-high
signal holds the output; a
TTL-low signal releases it.
Outputs a sweep control volt-
age for use with devices such
as an xy plotter.
The input connector for the
frequency modulation signal or
the VCO input voltage.
The input connector for the AM
modulation signal.
The main generator output sig-
nal.
Operating Instructions-—AFG 5101/5501
Operating Considerations
General Operating Information
Allow 30 minutes warmup time for operation to
specified accuracy.
wl
>
; CAUTION ,
TP
Observe the specified maximum input
voltage ratings listed in the Electri-
cal Specifications, in this manual.
Instrument damage may occur if the maxi-
mum input ratings are exceeded.
Memory
The AFG 5101/5501 uses non-volatile internal memo-
ry to store arbitrary waveform memory bank data,
and to store up to 99 front panel setups. The
data is maintained in memory by internal battery
backup. The AFG 5101/5501 warns of a low battery
condition by displaying an error code in the dis-
play window. Since it is impossible to guarantee
that stored data can not be lost, it is recommend-
ed that you maintain a record of data stored in
memory so that you can manually restore such da-
ta, if necessary,
NOTE
Data stored in settings buffers and
arburary waveform memory banks can
also be sent to the controller and re-
stored over the GPIB.
Output Connections
The AFG 5101/5501 output circuits are designed to
operate as a 50 ohm voltage source working into a
50 ohm load. At higher frequencies, an untermi-
nated or improperly terminated output will cause
aberrations on the output waveform. Loads less
than 50 ohms will reduce the waveform amplitude;
loads more than 50 ohms will increase waveform
amplitude, ’
Excessive distortion or aberrations, due to im-
proper termination, are less noticeable at lower
frequencies (especially with sine and square wave-
forms). To ensure waveform purity, observe the
following precautions,
2-12
1. Use good quality 50 ohm coaxial cable and con-
nectors.
2. Make all connections tight and as short as pos-
sible.
3. Use good quality attenuators if it is neces-
sary to reduce waveform amplitudes applied to
sensitive circuits.
4. Use terminations or impedance-matching devices
to avoid reflections when using long cables
(six feet or more).
5. Ensure that attenuators, terminations, etc,
have adequate power handling capabilities for
the output waveform.
If there is a dc voltage across the output load,
use a coupling capacitor in series with the
load. The time constant of the coupling capaci-
tor and load must be long enough to maintain
pulse flatness.
Impedance Matching
If the AFG 5101/5501 is driving a high impedance
such as the 1 Meg-ohm input impedance (paralleled
by a stated capacitance) of an oscilloscope verti-
cal input, connect the transmission line to a
50-ohm attenuator, a 50-ohm termination, and then
the oscilloscope input. The attenuator isolates
the input «capacitance of the device, and the
AFG 5101/5501 is properly terminated.
Displayed Errors
When powered up, the AFG 5101/5501 performs a di-
agnostic self-test to check its functionality.
If an error is found, an error code and text will
be displayed in the display window. Other errors
occur when the user attempts to make an invalid
front panel setting, In this event, an error
code and descriptive phrase are shown in the dis-
play window; thc error can be cleared by pressing
any key except INST ID. The AFG 5101/5501 automat-
ically clears front panel errors after a timcoul
of about 9 seconds. Error code definitions are
listed in Table 2-2.
Instruction Manual
Table 2-2
FRONT PANEL ERROR CODES
Code Error Description
010 Incorrect syntax.
011 Increment step error.
012 Increment limit.
013 Decrement limit.
014 INCR/DECR error.
015 SPCL not exist.
016 Mode conflict.
204 Setting conflict.
205 Qut of range.
207 ARB Internal-Trig conflict.
208 SWEEP Internal-Trig conflict.
250 AMPL OFFSET conflict.
231 DATA out of range.
233 INCREMENT out of range,
255 Bad settings buffer.
256 ADRS out of range.
261 SWEEP operation error.
262 Synthesizer not installed (Option 02
only).
270 N BURST out of range.
271 RATE out of range.
272 MARKer out of range.
273 FREQ out of range.
274 AMPL out of range.
275 OFFSET out of range.
276 START out of range.
277 STOP out of range.
280 DC out of range.
290 SYNThesizer illegal parameter.
340 Save RAM failure.
650 Low battery.
660 Output overload.
If no error is found during self test, the instru-
ment enters the local state with the settings
listed in Table 2-1.
Store/Recall Settings
The AFG 5101/5501 can store 99 front-panel setups
in non-volatile memory; the stored setups can be
recalled (front panel settings are changed to
match the stored setup).
To store the current front pancl settings in a
settings buffer, press STORE, a settings buffer
number (using the DATA keypad), then press EN-
TER. Settings buffers are numbered O through 99;
settings buffer number 0 is a rcad-only buffer
Instruction Manual
Operating Instructions -—AFG 5101/5501
that contains the power-on settings listed in Ta-
ble 2-3. (At shipment, all buffers contain the
power-on settings.)
The following front panel settings are not stored
in settings buffers by the STORE function:
INCR SIZE
MARKER on/off (SPCL function 250)
The following settings are not stored in settings
buffers by the STORE function, but are retained
in non-volatile memory and used at power-on:
arbitrary waveform data (arbitrary waveform
data 1s stored in a separate memory).
Display intensity/backlight (SPCL
220)
GPIB address (SPCL function 240)
GPIB message terminator (SPCL function 241)
function
To recall a stored setup, press RECALL, the num-
ber of the buffer than contains the desired set-
up, and press ENTER.
Special Functions
The AFG 5101/5501 has a series of special func-
tions that allow the user to change additional
instrument settings. These functions are listed
in the table below.
Table 2-3
SPECIAL FUNCTIONS
Code Description
100 displays the instrument identification.
210 sets the units for the RATE parameter.
220 changes display intensity and turns
lighting on/off.
230 selects the frequency lock mode.
240 changes the GPIB address.
241 changes the GPIB message terminator.
250 turns frequency marker on/off.
260 turns the range lock mode on/off.
310 (PROG Mode only) Sets the automatic incre-
ment for the ADRS function on/off.
320 (PROG Mode oniy) Selects one of 3 pre-
defined arbitrary waveform functions.
330 (PROG Mode only) Turns PROGRAM ARB on/off,
510 For use by qualilicd service personnel on-
ly.
back-
Operating Instructions —AFG 5101/5501
To invoke a special function, press the SPCL key.
Then, select the desired function by using either
of the following methods:
- enter the special function code using the
DATA keypad, and press ENTER, or
- press one of the INCREMENT keys to page
through the displayed menu to the desired
function.
Both the function name and its numeric code
should now be displayed in the front panel win-
dow.
To use the selected special function, refer to
the function description below, listed by code.
To exit a special function, press any FUNCTION or
PARAMETER key.
100 Identifies the product type and displays
the product version number, the firmware
version number, and option number: TEK
AFG 5101 V81.1 F1.0 OPT02. OPTO2 indi-
cates that the Option 02 synthesizer is
installed; the option response is omitted
if the instrument has no options. Version
Fxx 1s the firmware version installed in
the instrument. -
210 Allows the user to change the units for
the RATE parameter. Units of measure can
be time or frequency. Press an INCREMENT
220
240
241
changed, the RATE parameter reverts to the
power-on value of the new units. Power-on
setting: seconds
Allows the user to change the intensity
level and enable or disable back-lighting;
use the INCREMENT up and down arrow keys
to increase or decrease the intensity of
the characters; backlighting automatically
toggles between ON and OFF each time the
user presses ENTER. The intensity scale
is 1 to 99. Settings are saved and used
when powered-on.
Frequency lock mode selection. Press ei-
ther INCREMENT key to toggle the frequency
lock status between ON and OFF. Power-on
setting: on.
This function allows the user to change
the GPIB address from the front panel
Use the INCREMENT keys to increment or dec-
rement the displayed address or use the
DATA keypad to enter the address. The ad-
dress selection is stored and used again
when the instrument is powered on. Facto-
ry set address: 7.
This function allows the user to change
the GPIB message terminator from the front
panel. Use the INCREMENT up and down arrow
keys to toggle between terminators. The
terminator selection is stored and used
again when the instrument is powered on.
key to change the units selection, then Factory set terminator: LF with EOL
exit. When the unit of measure is
SWEEP
| FREQUENCY
SWEEP SWEEP Display
CUT | QUT (on X-Y
| scope}
MARKER | MARKER MARKER |
OUT | QUT | | QUT ——————
SPCL 250 OFF SPCL 250 ON SPCL 250 ON
6759-14
Fig, 2-6. SPCL 250 example.
Instruction Manual
250 Toggles the sweep marker function. With
260
this function on, a horizontal line 15 in-
serted in the main output signal at the
MARKER frequency and a pulse is output at
the MARKER OUT connector; marker width is
set by RATE. With SPCL 250 displayed,
press either INCREMENT key to toggle the
status. Power-on setting: off. Refer to
Fig. 2-6.
Toggles the range lock function (to enable
external wide sweep). With SPCL 260 dis-
played, press either INCREMENT key to tog-
gle the statue. Power-on setting: off.
Program Mode SPCL Functions
310
320
Turns on or off auto-increment for ADRS
function. To turn the auto-increment on
or off, press PROG and press DATA key 1 or
2 (to select memory bank to receive arbi-
trary waveform data), and press ENTER.
Press SPCL and select function 310. The
window displays ARB AUTO INCR; press EN-
TER. Display shows AUTO INCR. ON or OFF;
press either INCREMENT key to change sta-
tus. Power-on setting: on.
Selects one of 5 predefined arbitrary wave-
form functions. The predefined function
(1000 points in length) is copied into ar-
bitrary waveform memory bank, beginning at
the last address entered. Key sequence:
PROG, key 1 or 2 to select arbitrary wave-
form memory bank 1 or 2, ENTER; select
START address; press SPCL, keys 320, EN-
TER; the window shows FUNC SELECT followed
by SIN, SQR, TRN, RUP, or RDN; press one
of the INCREMENT keys to change the dis-
played selection to the desired function,
press ENTER, PROG. To output the wave-
form, press ARB.
RE
; CAUTION
Copying a predefined waveform to a memory
bank will write over any arbitrary wave-
forn data already stored in memory, begin-
ning at the current arbitrary START ad-
dress.
330 Allows the user to modify data in an arbi-
trary waveform memory bank while an arbi-
trary waveform 1s executing from that
bank. With SPCL 330 on, the execution
buffer 1s automatically updated when the
Instruction Manual
Operating Instructions —-AFC 5101/5501
current execution cycle ends. This func-
tion must be tumed on/off in the PROG
mode; also, with SPCL 330 on, modification
of the memory bank data is done with PROG
on,
The memory bank selected for modification
must be the same bank from which the arbi-
trary waveform 1s being executed.
To effect the executing waveform, the ad-
dress of the modified data must be in the
range of the executing waveform.
Example: Bank 1 is selected; START ad-
dress 1s 100; STOP address 1s 200.
With PROGRAM ARB on, modifying data at
address 250 in bank 1 will not
change the executing waveform.
With PROGRAM ARB on, modifying address
150 in bank 2 will not affect the
executing waveform. -
With PROGRAM ARB on, modifying data in
bank 1, address 150 will change the
executing arbitrary waveform.
With SPCL 330 off, the contents of the execution
buffer are not updated (re-written from the memo-
ry bank) until the ARB key is pressed.
Stepping a Parameter Level
The AFG 5101/5501 allows the user to step the lev-
el of the following parameters/functions, while
the output waveform is being generated. Stepping
is done by selecting the parameter/function, and
pressing the INCREMENT up- or down-arrow key.
The step size is determined by the INCR SIZE set.
ting for the selected parameter.
FREQ steps the waveform frequency
AMPL steps the waveform amplitude
OFFSET steps the offset voltage
RATE steps the value used by RATE to con-
trol the sweep rate and the internal
trigger rate.
N BURST steps the number-in-burst value that
controls the number of cycles gener
ated in BURST mode.
Operating Instructions-—AFG 5101/5501
MARKER steps the frequency set for the mark-.
er parameter.
DC steps the output voltage of the DC
function.
The direction of step change is determined by the
user: pressing the INCREMENT up-arrow key steps
in a positive direction; the down-arrow key in a
negative direction.
INCR SIZE operates in two modes. In the default
mode, the AFG 5101/5501 automatically sets the
value of INCR SIZE to the least significant digit
of the range for the currently selected parame-
2-16
ter. When parameter selection changes, the value
of INCR SIZE automatically changes accordingly.
In the non-default mode, the value of INCR SIZE
is set by the user as follows: with the parameter
to be stepped selected, press INCR SIZE, enter a
step size using the DATA keypad, press ENTER. In
this mode, step size 1s locked to the
user-selected value until the user resets the
step size to 0. Note that setting INCR SIZE to a
value that is less than the least significant dig-
it for the currently selected parameter range gen-
erates an error when the INCREMENT key is
pressed.
Instruction АМапиа!
Operating Instructions—AFG 5101/5501
Generating a Standard Output Function
The AFG 5101/5501 provides four standard output selections are presented in the following list,
functions: sine-wave, triangle-wave, square-wave, by general characteristic. The list is a guide
and dc. To output a standard waveform function to setting the controls to define a basic
requires selecting the front-panel functions, ра. waveshape; additional settings are then described
rameters, modes, etc, and their values, that de- that add capabilities useful for special applica-
fine the waveshape of the output signal. These tions.
Table 2-4
GENERATING A STANDARD OUTPUT FUNCTION
Purpose Step 1 Step 2
Select Qut- SINE
put Function:
(Press one) TRIANGLE
SQUARE
DC Enter de voltage: (DATA numeric, units keys); press ENTER.
Skip to Select Trigger Source.
Select Output FREQ Enter frequency (DATA numeric, units keys); press ENTER.
Frequency:
Select Output AMPL Enter amplitude (DATA numeric, units keys); press ENTER.
Amplitude:
Select Trig- INT Set internal trigger rate: (RATE, DATA numeric, units keys),
ger Source: ENTER.
(Press one)
MAN
EXT
Select Output CONT
Mode: (Press
one) TRIG
GATED
SYNT
BURST Set number in burst: (N BURST, DATA numeric, units kevs), EN-
TER.
Turn on out- OUTPUT (LED on)
pul:
Instruction Manual | 2.17
Operating Instructions-—AFG 5101/5501
Modulation
Two kinds of modulation can be used to alter the
output waveform: frequency modulation, and ampli-
tude modulation.
nal signal is applied to a special connector on
the front panel. Refer to Specifications regard-
ing limitations on external signals applied to
the AM IN and VCO/FM connectors.
Frequency Modulation. A signal applied to
the VCO/FM IN connector can modulate the frequen-
cy of the output waveform; the output signal be-
comes the FM carrier or a voltage-controiled fre-
quency signal (VCF). The polarity of the exter-
nai input signal determines the direction in
which the output will deviate in frequency: a
positive-going input signal increases output sig-
nal frequency. The amplitude of the external in-
put signal determines the percent of frequency
change in the output signal. A modulating signal
will deviate the output frequency by approximate-
ly 1 percent per volt (maximum of 5 volts
peak-to-peak).
The selected output frequency (FREQ key setting)
is the "center" frequency above and below which
frequency modulation swings. Although the
AFG 5101/5501 is capable of three decades of
sweep, the full 1200 : 1 frequency modulation is
limited in that the generator can be swept only
to the top of the sweep range within which the
selected output signal frequency falls. The
AFG 5101/5501 frequency ranges change at 12 in
decade steps. For example, if the FREQ parameter
is set to 11 MHz, the maximum positive frequency
swing is 1 MHz.
In addition, the amount of deviation from the cen-
ter frequency depends upon the position of that
frequency in its range. For example, if the FREQ
parameter is set to 11.5 MHZ, the maximum frequen-
cy swing (in either direction) is 500 kHz
Range lock can allow a wider frequency swing when
using FM. or VCO. This is done by setting the
FREQ parameter to a frequency that is in a range
that includes the highest frequency that will be
output. Then turn on range lock (using SPCL func-
tion 260) to lock to the current range; the fre-
quency will automatically be set to the lowest
frequency in the range. Use the FM/VCO input sig-
nal to sweep the output frequency to the top of
the range.
2-18
For each, the appropriate exter-
To enable frequency modulation, press the FM key
(LED on).
Amplitude Modulation. A signal applied to
the AM IN connector modulates the amplitude of
the output waveform. Amphtude modulation effec-
tively sums the amplitudes of the generator and
the external signal applied to the AM IN connec.
tor.
A modulating signal of approximately 5 volts
peak-to-peak will cause 100-percent modulation of
the output if the output amplitude is set to 4.5
V peak-to-peak; if the output amplitude is great-
er than 4.5 V peak-to-peak, a 5 V modulating sig-
nal will cause clipping of the output signal
Refer to Table 1-10, AM INPUT, in the Specifica-
tions section.
To enable amplitude modulation, press the AM key
(LED on).
Offset
The offset parameter can add a positive or nega-
tive dc level to the output waveform. Refer to
the Electrical Specifications for combined out-
put/offset level limitations.
To use OFFSET, press the OFFSET key, enter the
offset voltage level, select units if appropri-
ate, press ENTER. The OFFSET key LED is on while
the offset level is not 0. To turn the offset
off, repeat the process described above, setting
the offset level to 0 (LED off). If an illegal
offset combination is entered, an error will be
generated.
Range Lock
. Range lock limits frequency generation to the max-
imum and minimum frequencies of a specific fre-
quency range. Range lock can be turned on or off
by SPCL function 260. The power-on setting is
range lock off.
To use range lock, set the FREQ parameter to a
frequency in the desired range. (Refer to the
Electrical Specifications in Section 1 of this
manual for frequency ranges.) Then turn on range
lock using the SPCL function.
Instruction Manual
Frequency Lock
With frequency lock on, internal circuitry im-
proves the generators frequency accuracy. For
operation to specified frequency accuracy, fre-
quency lock should be on. The default setting is
frequency lock on. Frequency lock can be turned
off by using a SPCL function. Refer to Special
Functions in this section of the manual,
Instruction Manual
Operating Instructions —AFG 5101/5501
Synthesizer
The synthesizer mode is available only on instru-
ments that include Option 02. The synthesizer
outputs a continuous waveform that is
frequency-locked to an internal quartz crystal.
The display allows 4.5 digit resolution.
2-19
Operating Instructions-—AFG 5101/5501
Storing an Arbitrary Waveform
The AFG 5101/5501 has two non-volatile memory
banks that store arbitrary waveform data. Each
memory is 3 k-points in length; each arbitrary
waveform point is stored as a data value at an
address in a memory bank. A series of data val-
ues in a memory bank comprise a waveshape that
can be executed to generate am output waveform.
The data value defines the relative amplitude of
a pont in an arbitrary waveform. The range of
data values is from -2047 to +2047. The address
range in cach arbitrary waveform memory bank is 0
through 8191.
At execution, the amplitude of the generated arbi-
trary waveform can be scaled by the AMPL setting.
An arbitrary waveform can be created by storing
each data value at an address in a memory bank,
one data value at a time, using front panel con-
trols. A waveform can also be created by writing
data values mathematically calculated by the
AFG 5101/5501, to a memory bank. Or, a combina-
tion of these two methods of creating an arbi
trary waveform can be used. The AFG 5101/5501
can calculate data values for 5 different wave
shapes: sine, square, triangle, ramp-up, and
ramp-down. These pre-defined waveshapes are 1000
points in length and consist of data values that
span the maximum data value range.
The following table lists the actions required to
store data values and predefined waveforms at
specified addresses in the selected memory bank.
Table 2-5
STORING AN ARBITRARY WAVEFORM
Purpose Step 1 Step 2
Select arbi- PROG Select memory bank: Enter the new bank number (1 or 2); EN-
trary PROG mode TER.
and memory bank:
Select arbitrary ADRS Enter address (DATA numeric keys); ENTER. (Range: 0 to
memory bank ad- 8191.)
dress:
Store data val-
ue. Choose meth-
od:
|. Write a data Input data val- Repeat two steps (set address, store data value) for
value to select- ue: (DATA numer- each non-adjacent data point; repeat store data for adja-
ed address: ic keys); EN- cent points.
TER. (Data
range: -2047 to
+2047)
2. Write a pre- Select waveform: Press INCREMENT to page through displayed menu to desired
defined waveform SPCL, 320, EN- waveform. Press ENTER to write a 1000-point waveform to the
to selected ad- TER. current memory bank, beginning at address previously entered
dress:
Exit PROG mode
when arbitrary
waveform program.
ming is done.
PROG (LED off)
via the ADRS key.
2-20
Instruction Afanual
Note that when the arbitrary waveform memory bank
selection is changed, the address pointer 1s set
to address 0.
Enabling/Disabling ADRS Auto-Increment
The ADRS auto-increment function is used when
storing data values in an arbitrary waveform memo-
ry bank. With auto-increment furned on, the ad-
dress pointer in the current memory bank incre-
ments to the next higher address after a data vai-
ue is stored at the current address.
Auto-increment can be turned on or off using SPCL
function 310,
Using Autoline
The autoline function calculates the data values
required to "draw a straight line between the
data values of the last two addresses entered and
writes those values to the arbitrary waveform mem-
ory bank. To use AUTOLINE, follow the sequence
listed below. (Italicized words identify front
panel keys.)
Enter PROG mode:
PROG
Check the dispiayed memory bank selection:
Change the selection, if desired.
ENTER
Select address at which line will begin:
ADRS
Enter address, using DATA numeric keys.
ENTER
Enter a data vajue at that address:
DATA
Enter a data value, using DATA numeric keys.
ENTER
Select address at which the line will end:
ADRS
Enter address, using DATA numeric keys.
ENTER
Enter a data value at the end address:
DATA
Enter a data value, using DATA numeric keys.
ENTER
Draw line in memory bank:
AUTOLINE
Instruction Manual
Operating Instructions —AFG 5101/5501
ENTER
Exit PROG mode:
PROG
When the modified part of the arbitrary waveform
is executed, the area between the two data pouis
entered will show a line from the first data val-
ue to the second. Note that the slope of the
line can be made positive or negative (slope 13
determined by the value of the two data points).
Arbitrary Waveform Programming Example
The following example steps through the actions
necessary to create an arbitrary waveform in a
memory bank. The example uses three methods to
store data: by storing individual data values, by
loading a predefined waveform, and by using AUTO-
LINE. Italicized words identify front panel
keys.
Arbitrary Waveform Programming Example
Enter PROG mode:
PROG
Set memory bank selection to bank 1:
i
ENTER
Set ADRS pointer to address 0:
ADRS
0
ENTER
Write predefined sinewave to memory bank, begin-
ning at address 0:
SPCL
3
2
0
ENTER
Display shows FUNC SEL SINE
ENTER
Draw line between addresses 250 and 750:
Enter first address:
ADRS
EG
$
в
a
Operating Instructions—AFG 5101/5501
Enter second address:
ADRS
7
5
0
ENTER
Draw line:
AUTOLINE
ENTER
Add pulse (data value +2047) at address 600:
ADRS
7 .
ENTE
Set start address to 0:
START
0
ENTER
Set stop address to 1000:
STOP
1
0
д
0
ЕМТЕК
Exit PROG mode:
PROG
Execute arbitrary waveform output:
ARR
ОСТ
When arbitrary waveform memory between addresses
0 and 1000 executed, the generated waveform will
resemble the waveform illustrated in Fig. 2-7.
To output the stored waveform, do the following
steps:
+2047 RAD. HC WEE MM se Emm GME sir GWT mA mie WEE AWW oS amas me
| PULSE AT
| DATA VALUE
PREDEFINED 2047
| SINEWAVE
DATA © Loro _—-———
VALUE
| AUTOLINE
LINE
I
! {
- 2047 7 |
0 250 500 600 750 1000
ADDRESS
57591
Fig. 2-7. Arbitrary waveform example final results,
2-22 Instruction Manual
Operating Instructions—AFG 5101/5501
Generating Arbitrary Waveform Output
After data values representing an arbitrary wave-
form are stored in a memory bank, all data in
that bank can be executed. Or, a part of the
stored arbitrary waveform data can be selected
for execution. The area in the current memory
bank that is defined for execution is copied to
an execution buffer when ARB is pressed in the
non-PROG mode, and then the waveform represented
by that data is generated and output.
Defimng a portion of arbitrary waveform data
stored in a memory bank for execution requires
setting the START and STOP addresses in PROG
mode. (Two values are associated with each of
these keys; one is a frequency set in the
non-PROG mode and used to define a sweep range;
the other values are addresses set in PROG mode
and used to define the area in arbitrary waveform
memory bank used for execution.)
The example below describes the steps required to
generate an arbitrary waveform. The example as-
sumes that data is already stored in a memory
bank, as described in the Arbitrary Waveform Pro-
gramming Example previously described.
Arbitrary Waveform Generation Example
Enter PROG mode and select memory bank:
PROG
1
ENTER
Set START address to 0:
START
0
Instruction Manual
ENTER
Set STOP address to 1000:
STOP
/
0
0
0
ENTER
Exit PROG mode:
PROG
Set amplitude:
AMPL
5
И
Set mode:
CONT
Turn main output on:
OUT (LED on)
Generate arbitrary waveform output:
ARB
Note that the INT trigger source can not be used
when executing an arbitrary waveform.
Fu
4
1-4
Las
Operating Instructions-—AFG 5101/5501
Using the Sweep Generator
The AFG 5101/5501 also provides a sweep generator
function that outputs the selected sweep waveform
at the SWEEP OUT connector. Three types of sweep
output are available: linear, logarithmic, or ar-
bitrary. The first two waveshapes are internally
calculated shapes. With a standard analog func-
tion selected for main output, any one of the
three sweep waveshapes can be selected. With an
arbitrary sweep selected, a scaled version of the
arbitrary sweep waveform is provided at the SWEEP
» OUT connector.
The sweep time is controlled by the RATE setting;
sweep width is controlled by the START and STOP
frequency settings. When a linear or logarithmic
sweep is selected, the instrument calculates the
waveshape with a 1000-point length, between the
current START and STOP frequencies. The
1000-point waveshape constitutes one sweep cycle;
each point of the 1000 points in the cycies
waveshape is output at the rate set by the RATE
function.
For example, a linear sweep with a START frequen-
cy of 10 kHz, a STOP frequency of 11 kHz, and a
2-24
RATE of 1 millisecond will generate a linear
sweep between 10 and 11 kHz with a cycle of 1 sec-
ond.
The START and STOP frequencies must be in the
same sweep range; refer to sweep specifications
in Section 1 for ranges. If START and STOP fre.
quencies are not in the same sweep range, an er-
ror (261) is generated.
To select a sweep output, press SWEEP; then press
1, for a linear sweep
4, for a logarithmic sweep, or
7, for an arbitrary waveform sweep (with ARB
on);
the press ENTER.
To turn off the sweep generator, select sweep out-
put 0.
The following table lists the items that must be
set to generate a sweep. |
Instruction Manual
Operating Instructions—AFG 5101/5501
Table 2-6
Using the Sweep Generator
Purpose Step 1 Step 2
Select sweep
starting fre- START Enter frequency at which sweep will start (DATA numeric, units
quency: keys), press ENTER.
NOTE: The sweep start and stop frequencies must be in the same
sweep range. See Specification section.
Select sweep STOP Enter frequency at which sweep will stop (DATA numeric, units
stopping fre- keys), press ENTER,
quency:
If the stop frequency is below the start frequency, the sweep
decrements.
Select sweep
rate: RATE Input rate value (DATA numeric, units keys); press ENTER
Select SWEEP |
mode: SWEEP
Select sweep
type: (Press LIN (DATA key 1,
one) press ENTER).
LOG (DATA key 4,
press ENTER).
ARB (DATA key 7
(pre-programming
required); press
ENTER).
No sweep (DATA
key 0, press EN-
TER).
Markers A dynamic marker is used to sweep a signal with
The AFG 5101/5501 produces two types of sweep ori-
ented markers: dynamic, and TTL.
For a TTL marker, the AFG 5101/5501 can be set to
output a pulse (at the MARKER OUT connector) when-
ever the output frequency reaches the frequency
set for thc marker. The marker pulse is a posi-
tive, TTL-level pulse, with a duration equal to a
minimum of one period of the RATE setting,
Instruction Manual
an x-y oscilloscope; the marker changes the shape
of the sweep signal at the SWEEP OUT connector,
causing an Intensified point at the marker fre-
quency.
To set the marker frequency, press MARKER; unter
the marker frequency using the DATA keypud numer-
ic and units keys; press ENTER, The marker fre-
quency must be within the selected sweep range
(START and STOP frequencies).
Section 3--AFCG 3101/5301
PROGRAMMING
Introduction
This manual section provides the information re-
quired for programming the TEKTRONIX
AFG 5101/5501 Programmable Arbitrary Function Gen-
erator via the IEEE-488 bus. The IEEE-488 inter-
face function subsets for the AFG 5101/5501 are
listed in Section 1. In this manual, the IEEE-488
digital interface is called the General Purpose
Interface Bus (GPIB). Message protocol over the
GPIB 1s specified and described in the
IEEE-Standard 488-1978, Standard Digital Inter-
face for Programmable Instrumentation,
The information in this section assumes that the
reader ts knowledgeable m GPIB bus communication
and has some experience in programming the sys-
tem.
IEEE-728 Standard (the IEEE recommended practice
for code and format conventions for use with
IEEE-488) is used in programming the
AFG 5101/5501. TM 5000 instruments are designed
to communicate with any bus-compatible controller
that can send and receive ASCH messages (com-
mands) over the IEEE-488 bus. These commands pro-
gram the instruments or request information from
the instruments.
Recommended controllers for use in programming
the AFG 5101/5501 are the Tektronix 4041; or an
IBM PC-compatible, such as the Tektronix PEP 301,
with the Tektronix GURU (GPIB User's Resource
Utility for the IBM P.C.) software and GPIB inter-
face card,
Commands for TM 5000 programmable instruments are
designed for compatibility among instrument
types. The same commands are used in different
instruments to control similar functions. In addi-
Instruction Manual
tion, commands are specified in mnemonics that
are related to the functions implemented. For ex-
ample, the INIT command initializes instrument
settings to their power-on states,
Instrument commands are presented in this manual
section in three formats:
* A front panel udustration~-showing command
relationships to front panel operation. See
Fig. 3-1.
divided
with brief descrip-
Command List-—a list
functional groups
* Functional
into
tions,
* Detailed Command List—an aiphabetical list-
ing of commands with compiete descriptions.
TM 5000 programmable instruments connect to the
GPIB through a TM 5000 power module. Refer to the
Operating Instructions section of this manual for
information on installing the instrument in the
power module. Also review this section for instru-
ment caution and warning statements and to become
famihar with {ront panel instrument functions.
The AFG 5101/5501 is shipped with the primary
GPIB address set to 7. TM 5000 instruments are
shipped with the message terminator set to LF
with EOI. (Message terminators are described in
Messages and Communications Protocol (in this sec-
tion) The address and terminator settings are
stored in non-volatile RAM. To display the cur-
rent address and terminator, press the INST ID
key. The GPIB primary address and message termina-
tor can be changed using SPCL Functions (SPCL
Functions are front panel key operations). For
information, refer to SPCL Functions in the Oper-
ating Instructions section in this manual.
3-1
id,
Programming—AFG 5101/5501
Commands
The instrument is controlled by the front panel
keys or via commands received from the control-
ler. These commands are of three types:
* Setting commands--contro! instrument set-
tings.
* Query/Output—request data.
* Operational—cause a particular action.
When the instrument is in the remote state, it
provides a response or executes all commands as
appropriate. In the local state, only que-
ry/output commands are executed; setting and oper-
ational commands generate error responses, since
instrument functions are under front panel con-
trol.
Command Functional Groups
The following list of commands is arranged by
functional group; some functional group lists are
also divided into sub-groups.
INPUT/OUTPUT CONTROL COMMANDS
AM ON|OFF
Enables/disables use of the signal applied to
the AM IN connector to amplitude-modulate the
main output signal.
AM?
Returns the amplitude modulation mode status.
Response: AM ON;, or AM OFF:
FM ONJOFF
Enables/disables the use of a signal applied to
the VCO/FM IN connector to modulate the frequen-
cy of the main output signal.
FM?
Returns the frequency modulation mode status.
Response: FM ON:, or FM OFF:
OUTput ONJOFF
Connects/disconnects the main output signal to
the front-panel OUTPUT connector.
OUTput FLOAT
Disconnects the main output signal from the
front panel OUTPUT connector and terminates it
into a high impedance (floating).
OUTput?
Returns the output signal status (OUT ON, OUT
OFF, or OUT FLOAT).
INSTRUMENT COMMANDS
Store/Recail
RECALL <bufnum>
Changes the instrument front panel settings to
those recalled from the specified settings buff-
er (bufnum). Buffer 0 is a read-only buffer
that contains the power-on settings. Bulffer
numbers: Q - 99,
SEND? <bufnum > [,<bufnum >]...
Returns the stored settings from the specified
buffer(s). Buffer 0 is a read-only buffer that
contains the power-on settings; attempting to
store settings in buffer 0 generates an error.
Query response: STORE <num>:<binblk>[ <num>:
<binblk>]...;
SEND? ALL
Returns the contents of all stored setting loca-
tions, beginning with buffer 0. Response: STORE
ALL: <binbik>...<binblk>;
STORe <bufnum > {:<binblk >|, <bufnum>: <binblk >]...
Saves the current front panel settings in a
specified buffer(s) (<bufnum>) for later
recall. Optionally stores the settings data de-
fined in binblk in the specified buffer.
<bufnum>: 1-99, |
STORe ALL: <binblk> ... <binblk >
Sequentially stores each front panel setup de-
fined in binbik in a settings buffer, begin-
ming with buffer 1.
Function
FUNCtion SINE
Selects the sine waveform for output.
Instruction Manual
FUNCtion SQUare
Selects the square waveform for output.
FUNCtion TRIAngle
Selects the triangle waveform for output.
FUNCtion DC
Selects dc output at the current value of the
DC parameter,
FUNCton ARBitrary
Selects the arbitrary waveform stored in the
currently selected arbitrary waveform memory
bank for output,
FUNC?
Returns the output waveform selection status.
Response: FUNC SINE;, FUNC SQUARE, FUNC
TRIANGLE;, FUNC DC; or FUNC ARBITRARY;
РС [<volts>] |
Selects dc output at the current value of the
DC parameter, or at the level specified by the
optional argument.
DC?
Returns the current setting of the DC output
function.
Parameter
AMPLitude <amplitude in volts >
Sets the peak-to-peak output voltage (into 50
ohms) to the value specified by the argument.
AMPL?
Returns the current output amplitude. Response:
AMPL <num>;
DISPlay < parameter > |
Changes the display to show the parameter speci-
fied in the argument and its current value.
Parameter: FREQuency, AMPLitude, OFFSet,
NBURst, or RATE.
DISPlay?
Returns the parameter that is currently shown
in the display window. Response: FREQ;, AMPL,
OFFS;, NBUR:, or RATE;
FREQueney <freg >|: <units>]
Sets the output frequency to the argument val-
ue.
Instruction Manual
Programming--AFG 5101/5501
FREQ?
Returns the current output frequency. Response:
FREQ <num>;
NBURst [<num >]
Sets the number of cycles for output in burst
mode.
NBURst?
Returns the current number of cycles set for
the NBURST command. Response: NBURST <num >;
OFFSet <offset in volts >
Sets the open-circuit offset voltage to the ar-
gument value in volts. Argument 0 turns the off-
set off. |
OFFSet?
Returns the current offset setting. Response:
OFFS <num>;
RATE <num>[<units>]
Sets the internal trigger interval,
RATE?
Returns the current internal trigger interval.
Response: RATE <num>:<units>;
Trigger Mode
FRQLck ON|OFF
Enables/disables internal software control of
the output frequency.
FRQLck?
Returns the status of the frequency lock mode.
Response: FRQL ON; or FRQL OFF;
MODE BURST
Selects the burst trigger mode,
MODE CONT
Selects continuous output mode.
MODE GATED
Selects the gated trigger mode.
MODE TRIG
Selects triggered output mode.
Programming—AFG 5101/5501
MODE SYNT
Selects the frequency lock mode (Option 02),
with continuous output only.
MODE?
Returns mode status. Response: MODE CONT;
MODE TRIG, MODE BURST;, MODE SYNT, or
MODE GATE:
Trigger Source
TRIG INT
Selects the internal trigger as trigger source.
TRIG EXT
Selects the external trigger as trigger source.
TRIG MANual
Selects the manual trigger function as the trig-
ger source.
TRIG?
Returns the trigger source setting. Response:
TRIG INT;, TRIG EXT; or TRIG MAN;
Sweep Function
FRQMARK <freq>[:<units> |
Sets the frequency at which a marker will be
output. A frequency of 0 disables the marker
output. Default units: Hz.
FROMARK?
Returns the marker frequency setting. Response:
- FRQMARK <num>;
FRQSTART <freq>[:<units>]
Sets the sweep start frequency. If the start
frequency is greater than the stop frequency, a
decrementing sweep in generated. Default units:
Hz.
FROSTART?
Returns the sweep start frequency in Hz. Re-
sponse: FRQSTART <num >;
FROSTOP <freg>[:<units>]
Sets the sweep stop frequency.
FROSTOP?
Returns the sweep stop frequency in Hz. Re-
sponse: FROSTOP <num>;
RNGLCK ON|OFF
Locks or unlocks the frequency range. When
3-4
RNGLCK ON is executed, the frequency range is
locked to the current range and the internal
output frequency is set to 0 Hz (or the lowest
frequency). Only RNGLCK OFF releases the fre-
quency lock.
RNGLCK?
Returns the range lock status. Response:
RNGLCK ON;, or RNGLCK OFF;
SWEEP LIN
Sets the sweep shape to linear,
SWEEP LOG
Sets the sweep shape to logarithmic.
SWEEP ARB
Sets the sweep shape to the arbitrary waveform
memory bank data defined by ARBSTART, ARBSTOP,
and ARBSEL,
SWEEP OFF
Disables the sweep operation.
SWEEP?
Returns the selected sweep output status. Re-
sponse: SWEEP LIN; SWEEP LOG;, SWEEP ARB;, or
SWEEP OFF;
Arbitrary Waveform
ARBADRS <address>
Moves the arbitrary waveform pointer to the
specified memory address in the currently se-
lected arbitrary waveform memory bank. Address
range: 0 - 8191.
ARBADRS?
Returns the current arbitrary waveform pointer
address in the currently selected arbitrary
waveform memory bank, Response: ARBADRS <ad-
dress>;
ARBCLR ALL | <start address >, <stop address >
Sets the data stored at all addresses, or at
all addresses between those specified, to 0 (in-
cluding start and stop addresses).
ARBDATA <data>[,<data>]...| <binbik data >
Sends data to the current arbitrary waveform
pointer address in the currently selected arbi-
trary waveform memory bank. Address automatical-
ly increments to store additional data points.
Instruction Manual
ARBDATA? [<number of points > ):<A |B>
Returns the data at the current arbitrary wave-
form address (set by ARBADRS) and optionally,
data for all points beginning at that address
and sequential addresses incremented up to <num-
ber of points>. Switch A returns data in
ASCII; B, in binary block format. Response:
ARBDATA <data>[,<data>]...| <binblk data>;
ARBHOLD ON|OFF
When the on argument is received, execution
of an arbitrary waveform stops. When of
ls subsequently received, execution restarts at
the stopping address plus 1.
ARBHOLD?
Returns the ARBHOLD status. Response: ARBHOLD
ON;, or ARBHOLD OFF,
ARBLOAD SINE
Loads a sine wave into the current arbitrary
waveform memory bank (1000 address points in
length), beginning at the current ARBADRS ad-
dress.
ARBLOAD SQUARE
Loads a square wave into the current arbitrary
waveform memory bank (1000 address points in
length), beginning at the current ARBADRS ad-
dress.
ARBLOAD TRIAngie
Loads a 1000 point triangle waveform into the
current arbitrary waveform memory bank, begin-
ning at the current ARBADRS address.
ARBLOAD UPRAMP
Loads a positive-going ramp (1000 points in
length) into the current arbitrary waveform mem-
ory bank, beginning at the current ARBADRS ad-
dress.
ARBLOAD DNRAMP
Loads a negative-going ramp (1000 points in
length) into the current arbitrary waveform mem-
ory bank, beginning at the current ARBADRS ad-
dress.
ARBPROG ONJOFF
Enables or disables the capacity to update an
executing arbitrary waveform when the arbitrary
memory 1s modified. When ARBPROG is ON, the
execution buffer is updated at the end of the
current execution cycle. With ARBPROG OFF, up-
date occurs when FUNC ARB is reccived.
ARBPROG?
Instruction Manual
Programming —AFG 5101/5501
Returns the current status of ARBPROG. Re-
sponse: ARBPROG ON;, or ARBPROG OFF;
ARBSELect <banknum >
Selects the arbitrary waveform memory bank (1
or 2) to be used in arbitrary waveform opera-
tions. Changing the memory bank selection also
sets the address pointer to address 0 (ARBADRS
0;).
ARBSELect?
Returns a number indicating which arbitrary
waveform memory bank is currently selected.
Response: ARBSEL <num>;
ARBSTART <address of start point >
Selects the address in the current arbitrary
waveform memory bank at which arbitrary wave-
form execution will start.
ARBSTART?
Returns the address in the current arbitrary
waveform memory bank at which arbitrary wave-
form execution will start. Response: ARBSTART
<address >;
ARBSTOP <address of stop point >
Seiects the address in the current arbitrary
waveform memory bank at which arbitrary wave-
form execution will stop.
ARBSTOP?
Returns the address in the current arbitrary
waveform memory bank at which arbitrary wave-
form execution will stop. Response: ARBSTOP
< address>;
AUTOLINE [[ <start address>, <start data>,]<end
address >, <end data>] |
Computes a “line” from the current ARBADRS ad-
dress and data value to the AUTOLINE argument
address and its data value; the computed line
data are stored in the current arbitrary wave-
form memory bank. Optionally computes a line
between the addresses specified in the argu-
ment, using the argument data. If no addresses
are given, the line is created between the two
last addresses entered and their data. If only
one address/data set is given, the line is com-
puted between this data and the last-entered
ARBADRS address/data set.
3-5
Programming—AFG 5101/5501
FILTER OFF|0111213i4
Selects one of four fixed, low-pass filters for
application to an arbitrary waveform output.
Argument Typical Cut-off
Frequency
OFF or 0 no filter.
1 1 МН?
2 100 kHz
3 11 kHz
4 1.3 kHz
FILTER?
Returns the current filter selection. Response:
FILTER <num>;
SYSTEM COMMANDS
DT TRIG
On receipt of a <GET> interface message, trig-
gers the instrument to output a one-cycle wave-
form if in TRIG mode, or a burst of cycles if
in BURST mode.
DT GATE
Toggles the gate setting on receipt of a <GET>
interface message when in the MODE GATE trigger
mode.
DT SET |
Causes the instrument to wait for a <GET> inter-
face message before updating the instrument set-
tings.
DT OFF
Disables Trigger and Gate <GET> function; no
response to <GET>; allows the instrument to up-
date its settings without waiting for < GET >.
DT?
Queries the device trigger status. Response:
DT GATE;, DT SET;, DT TRIG;, or DT OFF;
ERRor? or EVENT?
Returns an error code that matches the last SRO
that was polled with RQS ON, or the highest pri-
ority error in the error queue if RQS is OFF.
ERR 0 indicates that there are no errors in
the error queue. Response: ERR <num>; or EVENT
<num>,
ERRM?
Returns the error code and the associated text
shown in the front panel window that describes
the current error. The returned code and text
3-6
matches the last SRQ that was polled with RQS
ON, or the highest priority error in the error
queue if RQS is OFF. ERR 0 is returned if
there are no errors in the error queue. Re-
sponse: ERRM <error # >, <error message >;
HELP?
Returns all AFG 5101/5501 commands.
ID?
Returns the identification of the instrument in
the form: ID TEK/< model number>, < Tek Codes and
Format version>,<firmware version>,<installed
options >;
INIT
Returns all settings to the power-on state, ex-
cept: stored settings and arbitrary waveform
memory bank addresses and data.
SET?
Returns all instrument settings that can be set
and queried except: stored front panel set-
tings, and arbitrary waveform memory bank ad-
dresses and data.
TEST?
Executes internal checkout routines, Failure
produces an error code in the response. À re-
sponse of 0 indicates that the test was success-
ful; 1 indicates a failure. Response: TEST
<pum>;
STATUS COMMANDS
OPC ONIOFF
Enables/disables the Operation Complete service
request. If enabled and ROS is ON, and MODE
TRIG or MODE BURST is selected, the instrument
asserts SRQ at completion of an arbitrary wave-
form sweep, or of one execution of the arbi-
trary waveform execution buffer.
OPC?
Returns the Operation Complete service request
status. Response: OPC ON;, or OPC OFF;
RQS ONTOFF
Enables/disables service request operation, If
ROS is ON, errors are reported using SRQ at the
end of command execution; if OFF, errors are
queued until an error query is sent or until
ROS 15 turned back on.
Instruction Manual
ROS?
Returns the ROS status. Response: ROS ON;, or
ROS OFF;
USEReq ON|OFF
Enables/disables SRQ when the INST ID front pan-
el key 15 pressed.
Instruction Manual
Programming-—AFG 5101/5501
USER?
Returns the status of the USER REQUEST set-
ting. Response: USER ON;, or USER OFF;
Programming—AFG 5101/5501
Controi/Command Associations
Figure 3-1 shows the AFG 5101/5501 front panel
key and command relationships.
Detailed Command Descriptions
Each AFG 5101/5501 command, like those in all
TM 5000 instruments, begins with a header, which
is a word or acronym that describes the function
implemented. Following the header, many commands
require an argument, which is a word or number
that specifies the desired state for the func-
tion. The commands are presented alphabetically
on the following pages. In this presentation, the
following notations are used to represent ele-
ments of the IEEE-488 bus communications between
the AFG 5101/5501 and the controller.
<GET> -- The Group Execute Trigger interface
message (decimal code 8 transmitted
with attention asserted). Only ad-
dressed listeners respond to <GET >.
<num> — A number that can be transmitted or
accepted by the AFG 5101/5501. Num-
bers may be NR1 (integer), NR2 (deci-
mai), and NR3 (with exponent) for-
mats. (See ANSI Standard X3.42)
Carets (< and >) are not part of the
format; they are used in this manual
to enclose an element for which the
user must substitute the appropriate
characters.
-- Command argument link data. Data
that is linked to the previous argu-
ment uses the colon (:) as the delim-
iter.
3-8
< binblk >
[and]
Example:
STOR 3: <binblk>
The buffer number 3 is linked to the
buffer data { <binblk >).
A Binary Block of data in the format
specified in Tektronix Codes and For-
mats (V79.1). The binary block con-
sists of the percent sign (%, deci-
mal 37) followed by a two-byte bina-
ry count, the data bytes, and then
ends with a checksum byte. The
two-byte binary count (integer, most
significant byte first) specifies
the number of data bytes plus the
checksum byte. The checksum is the
two's complement of the modulo-256
sum of the preceding binary data
bytes and the binary count bytes,
but does not include the percent
sign. The format for the data
points is 2 bytes per point--high
byte followed by low byte.
Carets {< and >) are not part of the
format; they are used in this manual
to enclose an element for which the
user must substitute the appropriate
characters.
A vertical line is used in a series
of two or more units, to separate
the units; any one unit must be se-
lected and sent as part of the com-
mand message. Do not include the
line in the message,
Square brackets enclose an optional
message part. Do not include the
square brackets in the message.
Instruction Manual
Programming—AFG 5101/5501
FREC <freg>[: <units>]
FREQ?
AMPL <volts>
AMPL?
OFFS <voits>
QFFS?
RATE <num>f:<units>]
RATE?
NBUR [<num>]
NBUR?
FROMARK <freq>{: <units>]
, FRQOMARK?
FUNC SINE SQUITRIAIDC ARB
FUNC?
DC [<voits>>]
DC? ;
‚ TRIG?
TRIG INT EXT MAN
nn er re нана ННааНе
АРГО у РОС Я А мы АВЕ ай
MODE CONT! TRIG GATE | BURSTISYNT
{ MODE?
RECALL <bufnumz>
SEND? <bufnum>{ bufmum> i.
SEND? ALL
STOR <huinum >: <hinbik>{, <bufrum> <binbik > 1]...
, STOR ALL: <binbik> . <Dinbik >
j
}
107
USER ONTOFF
TRART Ton Ton CF | ERATOR USER?
FROSTART <tfreq>[ <urits>]
FROSTART?
FROSTOP <freg>[. <urits>]
FROSTOP?
SWEEP CINI LOG: ARBICPF
SWEEP?
X
\
N
ARBADRS <acdress >
ARBADAS?
ARBCLA ALLI <start address>,<stop address >
ARBDATA <data>{.<data>]... | <binbik data>
AM ONIOFF
AM?
FM?
ARBDATA? f<number of points>1:<A | B>
ARBHOLD ON OFF
ARBSHOLD?
ARBLOAD SINE! SQUARE! TRIA | UPRAMP | DNRAMP
ARBPROG ON: OFF
ARBPROG?
ARBSEL <hanknum>
ARBSEL?
ARBSTART <start address>
ARBSTART?
ARBSTOP «slop address>
ARBSTOP?
AUTOLINE [[-<start address > <start data>
<end address >,<and data>>]
FILTER CFF 1011121314
FILTER?
FM ONIQFF
N
"DT TRIG GATE | SET OFF
DT?
OPC ON QFF
OPC?
ROS ONTOFF
ROS?
ANGLCK ONTOFF
ANGLCK?
FAQL ON 1 OFF
FROL?
DISP <parameter >
Disp?
ERR?
EVENT?
EARM?
HELP?
INIT
SET?
TEST?
"OUT ON OFF | FLOAT
OUT?
57 59.3
Instruction Manual
Fig, 3-1. Command associations to controls.
Programming-—AFG 5101/5501
Detailed Command List
AM (Amplitude Modulation)
Command Type:
Setting or query
Setting Syntax:
AM ONJOFF
Examples:
AM ON
AM OFF
Query Syntax:
AM? |
Query Response:
AM ON;
AM OFF;
Discussion:
The on argument causes the instrument to use
the signal at the AM IN connector to
amplitude-modulate the main output signal. Ampli-
tude modulation effectively controls the
peak-to-peak amplitude of the main output using
the external signal applied to the AM IN connec-
tor.
A modulating signal of approximately 5 volts
peak-to-peak will cause 100-percent modulation of
a 45V p-p output signal; an external input sig-
nal over 5 volts peak-to-peak will distort the
main output. Refer to Electrical Specifications
for limitations on amplitude modulation and the
modulating signal.
The off argument turns off amplitude modula-
tion,
The query returns the status of amplitude modula-
tion.
3-10
AMPL (Amplitude)
Command Type:
Setting or query
Setting Syntax:
AMPLitude <amplitude in V p-p>
Examples:
AMPLITUDE 8
AMPL 2.5
Query Syntax:
AMPL?
Query Response:
AMPL <num>;
Discussion:
The AMPL command sets the peak-to-peak output
voltage into 50 ohms to the value specified by
tbe argument. The argument is specified in
volts. The power-on setting is 5 V.
The argument range is 10 mV to 9.99 V p-p into 30
ohms. The argument resolution is 1 mV when the
amplitude is less than 1.0V, and 10 mV when the
amplitude is greater than or equal to 1V.
Refer to the discussion on the OFFSET command for
a more complete description of the relationship
between amplitude and offset commands.
Instruction Manual
ARBADRS (Arbitrary Address)
Command Type:
Setting or query
Setting Syntax:
ARBADRS <address>
Examples:
ARBADRS 2130
Query Syntax:
ARBADRS?
Query Response:
ARBADRS «address>;
Discussion:
The ARBADRS command sets a pointer in the current
arbitrary waveform bank at the address specified
by the argument. Each bank has an address range
of 0 to 8191. This command is used to set the
target address for a data point or the starting
address for a series of data points. The power-on
pointer address 15 0.
If the argument is out of the address range, an
execution error occurs and the instrument asserts
SRO; the pointer location remains unchanged.
When the arbitrary waveform memory bank selection
is changed (using ARBSEL), the address pointer 15
automatically moved to address 0.
Instruction Manual
Programming -AFG 5101/5501
ARBCLR (Arbitrary Clear)
Command Type:
Setting
Setting Syntax:
ARBCLR ALL | <start address >, <stop address >
Examples:
ARBCLR ALL
ARBCLR 2150,2160
Discussion:
This command sets the data stored in the current
arbitrary waveform memory bank at the specified
addresses to 0, including the data at the start
and stop address points.
The ALL argument clears all data points in the
current arbitrary waveform memory bank (0
8191). |
Programming—AFG 5101/5501
ARBDATA (Arbitrary Data)
Command Type:
Setting or query
Setting Syntax:
ARBDATA <data>[,<data>]...] <binblk>
Examples: |
ARBDATA 0000,0100,0200,0300,0400,0500,0600
ARBDATA 0000,-0500,-1000,-1500,-2000,0000
ARBDATA % <bytecount > <data > <checksum >
Query Syntax:
ARBDATA? <number of points>:<A/B>
Query Response:
ARBDATA <data>[,<data>]...| <binblk>;
Discussion:
ARBDATA is used to enter data at the current ad-
dress in the current arbitrary waveform buffer.
If more than one data point in sent, the address
is automatically incremented until all data
points are stored. If the address increments out
of limits, that data point and any additional
data points are refused and SRQ is asserted after
the command is executed; data entered up to the
out-of-limits address remains in memory.
If the first character of the data stream is a %
(per cent) sign, the next data is accepted in bi-
nary block format.
The range of data is from +2047 to -2047 in
ASCII and 0 to 4095 in binary block format.
The query response is sent in ASCH if "A" is
sent; binary block format if "B" is sent. If data
for only one point is requested, the instrument
sends the data from the current pointer. address
in the current arbitrary waveform buffer; if
data for more than one point is requested, then
data is sent from the current pointer address and
sequential addresses (incremented) to supply the
number of points requested.
3-12
ARBADRS can be used to set the address pointer:
ARBSEL selects the arbitrary waveform buffer.
CAUTION |
If a front panel key is pressed during an ARB-
DATA transfer, that transfer will be terminat-
ed, the instrument will go to the Local state,
and the transferring waveform will be truncat-.
ed.
NOTE
If data is sent or received using binary
block, the GPIB termination should be EOI on-
dy. This terminator selection prevents a line
feed <LF> in the data from terminating the
transfer before all of the data is sent.
Instruction Manial
ARBHOLD (Arbitrary Hold)
Command Type:
Setting or query
Setting Syntax:
ARBHOLD ON OFF
Examples:
ARBHOLD ON
ARBHOLD OFF
Query Syntax:
ARBHOLD?
Query Response:
ARBHOLD ON;
ARBHOLD OFF,
Discussion:
The on argument stops execution of an arbi-
trary waveform without exiting the arbitrary wave-
form execution mode, Execution is stopped at the
arbitrary waveform buffer address being executed
when the ARBHOLD command is executed. The
off argument restarts arbitrary waveform exe-
cution at the stopped address. The next positive
transition of the RATE clock will output the next
arbitrary point. ARBHOLD is NOT reset to the
off state by sending FUNC ARB; only the ARB-
HOLD ON or ARBHOLD OFF, INIT, or RECALL commands
affect ARBHOLD status. Refer to Fig. 3-2.
Instruction Manual
Programming —AFG 5101/5501
ARBLOAD (Arbitrary Load)
Command Type:
Setting
Setting Syntax:
ARBLOAD SINE
ARBLOAD SQUARE
ARBLOAD TRIAngie
ARBLOAD UPRAMP
ARBLOAD DNRAMP
Examples:
ARBLOAD SINE
ARBLOAD SQUARE
ARBLOAD TRIA
ARBLOAD UPRAMP
ARBLOAD DNRAMP
Discussion:
This command loads the current arbitrary waveform
memory bank with a 1000-point waveform of the
type specified by the argument. The waveform data
values are from -2047 to +2047.
The START point is the address pointed to by AR-
BADRS. If the STOP point 15 greater than 8191,
the waveform is truncated and an error is generat-
ed.
3-13
Programming—AFG 5101/5501
ARBITRARY
RAMP END
7-POINT RAMP
ARBITRARY ARBITRARY
WAVEFORM RAMP
OUTPUT START
—
|
|
ARBITRARY/
RATE CLOCK
4 2 3 als 617 + 23 4 5
, | ||
| | ARBITRARY
| | RAMP END
- | ||
| | |
| |
| | | —
SAVE 7-POINT RAMP
ARBITRARY WAVEFORM ARBITRARY | |
OUTPUT AFFECTED RAMP
BY ARBHOLD START | |
ARBHOLD ARBHOLD
ON OFF
5509-18
Fig. 3-2. Relationship between arbitrary waveform output, ARBHOLD, and the RATE clock.
3-14 Instruction Manual
ARBPROG (Arbitrary Program Mode)
Command Type:
Setting or query
Setting Syntax:
ARBPROG ON
ARBPROG OFF
Examples:
ARBPROG ON
ARBPROG OFF
Query Syntax:
ARBPROG?
Query Response: (one of the following) -
ARBPROG ON;
ARBPROG OFF;
Discussion:
This command enables or disables the capability
to have changes to the current arbitrary waveform
execution buffer immediately reflected in an exe-
cuting waveform. For a change in data to show up
in an executing waveform with ARBPROG ON, the fol-
lowing conditions must be met:
* The address of the data must be between the
START and STOP addresses.
* And, the executing waveform must be derived
from the currently selected waveform memory
bank.
With ARBPROG ON, the execution buffer is automati-
cally updated when the current execution cycle
ends, except that the ARBSEL, ARBSTART, and ARB-
STOP commands do not cause an immediate update.
With ARBPROG OFF, the execution buffer is not up-
dated until the instrument receives FUNC ARB.
The query returns the status of the ARBPROG com-
mand.
Instruction Manual
Programming —AFG 5101/5501
ARBSELECT (Arbitrary Select)
Command Type:
Setting or query
Setting Syntax:
ARBSELect <banknum >
Examples:
ARBSEL1
ARBSELECT 2
Query Syntax:
ARBSel?
Query Response:
ARBS <num>;
Discussion:
This command selects one of the two arbitrary
waveform memory banks as the current (active)
bank. 1The current bank is used in all arbitrary
waveform operations.
When the bank selection is changed, the ARBADRS
pointer is reset to address 0.
The power-on/default setting is buffer 1.
Commands that operate on the current buffer are:
ARBCLR
ARBSTART
ARBSTOP
ARBADRS
GETARB
ARBLOAD
FUNC ARB
SWEEP ARB
Programming—AFG 5101/5501
ARBSTART (Arbitrary Start)
Command Type:
Setting or query
Setting Syntax:
ARBSTART <start point address>
Examples:
ARBSTART 1100
Query Syntax:
ARBSTART?
Query Response:
ARBSTART <num>;
Discussion:
This command selects the address in the current
arbitrary waveform memory bank that will be the
first point executed when arbitrary waveform out-
put is initiated,
The power-on/default setting is ARBSTART 0.
ARBSTOP selects the last point in the waveform.
3-16
ARBSTOP (Arbitrary Stop)
Command Type:
Setting or query
Setting Syntax:
ARBSTOP <stop point address>
Examples:
ARBSTOP 2047
Query Syntax:
ARBSTOP?
Query Response:
ARBSTOP <num>;
Discussion:
This command selects the address in the current
arbitrary waveform memory bank that will be the
last point executed in an arbitrary waveform.
The power-on/default setting is ARBSTOP 8191.
ARBSTART selects the first point in the waveform.
Instruction Manual
AUTOLINE
Command Type:
Setting
Setting Syntax:
AUTOLINE [[<start address>, <start data>] <end
address>, <end data>]
Examples:
AUTOLINE
AUTOLINE 8191,0
AUTOLINE 4000,2047,6000,-2047
Discussion:
This command computes a “line” in the current ar-
bitrary waveform memory bank from the current
pointer address (ARBADRS) to the AUTOLINE argu-
ment end address, and writes that data to the cur-
rent arbitrary waveform memory bank. To create a
ime from the last address entered to a new point
(Fig. 3-3, example 2), use:
AUTOLINE <end address >,<end data>;
The end address is the end of the "line" end
data is the data specified by the argument and
stored at the end address.
Optionally computes a line between the addresses
specified in the argument, using the argument da-
ta. (Refer to Fig. 3-3, example 3.)
If no argument is specified, AUTOLINE uses the
last two addresses (and data) stored. Refer to
Fig. 3-3, example 1.
After AUTOLINE is executed with arguments, the
pointer in the current arbitrary waveform memory
bank points at the end address of the line + 1.
Instruction Manual
Programming—AFG 5101/5501
EXAMPLE 1: AUTOLINE between last two addresses
sent using ARBADRS
ARBADRS 1000; ARBDATA - 1000:
ARBADRS 7000; ARBDATA 2000;
AUTOLINE:
2047 mr
7000, 2000
DATA
POINT o >
VALUE
Last two
1000, —1000 addresses sent
using ARBADRS
i ! ! | i | i
- 2047 1 ; Я Im !
1000 7000
MEMORY BANK ADDRESS
EXAMPLE 2: AUTOLINE between las! ARBADAS address and
AUTOLINE argument.
ARBADRS 4000: ARBOATA 1500:
AUTOLINE 8191, 0;
Last address sent
2047 A by ARBADRS
4000, 1500
DATA
POINT Q a
VALUE 8191, 0
"nun ara
Specified in
AUTOLINE argument
i !
— 2047 } I
4000 8191
MEMORY BANK ADDRESS
EXAMPLE 3: AUTOLINE using AUTOLINE argument address
and data values
AUTOLINE 4000, 2047, 6000, -2047;
2047 — 4000, 2047
Specified in
DATA AUTOLINE
POINT q argument
VALUE
5000, = 2047
2047 +
4000 6000
MEMORY BANK ADDRESS
Fig. 3-3. AUTOLINE examples.
3-17
Programming—AFG 5101/5501
DC
Command Type:
Setting or query
Setting Syntax:
DC [<volts >]
Examples:
DC
DC 3.45
DC 5E-2
DC 699E-2
Query Syntax:
DC?
Query Response:
DC <num >;
Discussion:
This command selects a dc output. If the argu-
ment is omitted, the output level is the current
level set for the DC parameter.
The response is returned in NR2 format.
3-18
DISPLAY
Command Type:
Setting or query
Setting Syntax:
DISPlay <parameter >
Examples:
DISP AMPL
DISPL FREQUENCY
DISPLA OFFSET
DISP NBURST
DISPLAY RATE
Query Syntax:
DISPlay?
Query Example:
DISPL?
DISPLA?
DISPLAY?
Query Response: (one of the following)
DISPL FREQ;
DISPL AMPL;
DISPL OFFS,
DISPL NBUR;
DISPL RATE;
Discussion:
The DISPL command changes the display window to
show the paramater specified in the argument.
The argument is limited to the following:
FREQuency
AMPLitude
OFFSet
NBURst
RATE
The query command returns the name of the parame-
ter that is currently shown in the display win-
dow.
Instruction Manual
DT (Device Trigger)
Command Type:
Setting or query
Setting Syntax:
DT TRIG
DT GATE
DT SET
DT OFF
Query Syntax:
DT?
Query Response (one of the following):
DT TRIG;
DT GATE;
DT SET;
DT OFF;
Discussion:
This command controls the instruments response
to the Group Execute Trigger <GET> interface mes-
sage.
When a <GET> interface message is received and
the DT TRIG mode is set, the instrument produces
one cycle of signal if it is in TRIG mode, or it
produces a burst of cycles if it is in BURST
mode.
If the trigger mode is set to GATE and <GET> is
received, the output is turned on until <GET> is
received again.
The SET argument causes the instrument to wait
for a <GET> interface message before updating its
settings.
The power-on setting is DT OFF; the instrument
updates its settings without waiting for <GET>.
Instruction Manual
Programming—AFG 5101/5501
ERROR? or EVENT?
Command Type:
Query
Query Syntax:
ERRor?
EVENT?
Examples:
ERR?
ERROR?
EVENT?
Query Response: (depends on query sent)
ERR <num>;
EVENT <num>;
Discussion:
This query returns the error code for the last
SRQ that was polled (with ROS ON), or 1 returns
the error code for the oldest error in the error
queue if ROS is OFF. Error code 0 is returned if
the error queue is empty.
3-19
Programming—AFG 5101/5501
ERRM? (Error Message)
Command Type:
Query -
Query Syntax:
ERRM?
Query Response:
ERRM <error%>,<error message >;
Discussion:
This query returns the error code and text that
is displayed in the front panel window. The que-
ry returns error information matching the last
SRQ that was polled with ROS ON, or the highest
priority in the error queue if ROS was OFF. ERR
G (Nothing to Report) is returned if there are no
errors in the error queue.
3-20
FILTER
Command Type:
Setting or Query
Setting Syntax:
FILTER OQFF{(|1]2|3]4
Query Syntax:
FILTER?
Examples:
FILTER 0
FILTER OFF
FILTER 1
Query Response: (one of the following)
FILTER 0;
FILTER 1;
FILTER 2;
FILTER 3;
FILTER 4;
Discussion:
This command selects one of four fixed, low-pass
filters for application to an arbitrary waveform
output. Argument off or 0 selects no fil
ter.
OFF No filter,
No filter,
Filter with 1 MHz cut-off frequency.
Filter with 100 kHz cut-off frequency.
Filter with 11 kHz cut-off frequency,
Filter with 1.3 kHz cut-off frequency.
fa LU VHC
Instruction Manual
FM (Frequency Modulation)
Command Type:
Setting or Query
Setting Syntax:
FM ON [OFF
Query Syntax:
FM?
Examples:
FM ON
FM OFF
Query Response:
FM ON;
FM OFF;
Discussion:
The on argument causes the instrument to use
the signal applied to the VCO/FM IN connector to
modulate the frequency of the main output signal.
The polarity of the external input signal deter-
mines the direction in which the output will devi-
ate in frequency: a positive-going input signal
increases output signal frequency. The amplitude
of the external input signal determines the per-
cent of frequency change in the main output sig-
nal.
The off argument terminates frequency modula-
tion.
The query returns the status of the FM command.
Instruction Manual
Programming—AFG 5101/5501
FREQUENCY
Command Type:
Setting or query
Setting Syntax:
FREQuency <frequency>[: <units>]
Examples:
FREQ 60
FREQ 11.99: MHZ
FREQ 11.99:kHz
FREQ 11E6
FREO 60E2:HZ
Query Syntax:
FREQ?
Query Response:
FREO<num>;
Discussion:
This command sets the output frequency to the val-
ue specified by the argument. The programmed val-
ue is rounded to the nearest increment of the fre-
quency generator,
The default unit of measure is Hz, choices are
HZ, KHZ, MHZ.
The power-on setting 1s FREQ i:kHz.
Frequency can be specified to 3% digits in nor-
mal mode; 4%: digits in synthesizer mode.
— The query returns the current frequency setting
in Hz.
3-21
Programming—AFG 5101/5501
FROLCK (Frequency Lock)
Command Type:
Setting or query
Setting Syntax:
FRQLck ON
FRQLck OFF
Examples:
FRQL ON
FRQLCK OFF
Query Syntax:
FRQLck?
Query Response: (one of the following)
FROL ON:
FRQL OFF:
Discussion:
With FRQL ON, internal circuitry and software im-
prove the generators frequency accuracy. For
operation to frequency accuracy (listed under
Electrical Specifications) FRQL must be on.
The power-on setting is FRQL ON.
3-22
FROMARK (Frequency Marker)
Command Type:
Setting or query
Setting Syntax:
FROMARK <freq>[;<units>]
Exampies:
FROMARK 60
FROMARK 10:MHZ
Query Syntax:
FROMARK?
Query Response:
FROMARK <num>:
Discussion:
This command sets the marker frequency, When the
marker frequency is encountered during a sweep,
the marker output is enabled while that frequency
is being output. Also, a marker is inserted in
the output waveform. The marker appears as an
intensified point on the waveshape.
default unit of
Resolution is 3% digits;
sure is Hz.
Units of measure can be HZ, KHZ, or MHZ.
The power-on setting is 0. When the frequency is
set to 0, the marker function is disabled.
The query returns the current setting of the fre-
quency marker in Hz.
Instruction Manual
mea-
FRQSTART (Frequency Start)
Command Type:
Setting or query
Setting Syntax:
FRQSTART <freq>[:<units>]
Examples:
FRQSTART 55.99
FROSTART 9.99: MHZ
Query Syntax:
FRQSTART?
Query Response:
FROSTART <num>;
Discussion:
This command sets the frequency at which a sweep
‚will begin. If the start frequency is greater
than the stop frequency, a decrementing sweep is
generated. Resolution is 3% digits; default
unit of measure is Hz.
The power-on setting is FROSTART 1 Hz.
Units of measure can be HZ, KHZ, or MHZ.
Instruction Manual
Programming—AFG 5101/5501
FRQSTOP (Frequency Stop)
Command Type:
Setting or query
Setting Syntax:
FROSTOP <freg>[:<units>]
Examples:
FRQSTOP 4700
FRQSTOP 11:MHZ
FROSTOP 1E6
Query Syntax:
FROSTOP?
Query Response:
FROSTOP <num>;
Discussion:
This command sets the frequency at which a sweep
will end. If the start frequency is greater than
the stop frequency, a decrementing sweep will oc-
cur.
The resolution is 3% digits; the default unit
of measure is Hz, Units of measure can be HZ,
KHZ, or MHZ.
The power-on setting is FROSTOP 1200 Hz.
Programming-—AFG 5101/5501
FUNCTION
Command Type:
Setting or query
Setting Syntax:
FUNCtion SINE
FUNC ion SQUare
FUNCtion TRIAngle
FUNCtion DC
FUNCtion ARBitrary
Examples:
FUNC SINE
FUNCT SQUARE
FUNCTION DC
FUNCT TRIANG
FUNC ARB
Query Syntax:
FUNC?
Query Response (one of the following):
FUNC SINE;
FUNC SQUARE;
FUNC TRIANGLE;
FUNC DC;
FUNC ARBITRARY;
Discussion:
This command selects the type of waveform for out-
put. FUNC SINE is the power-on setting.
When any of the standard waveform commands (SINE,
SQU, TRIA) is sent, the level of the output is
the current amplitude level. The DC level is set
by the DC function. When FUNC ARB is sent, the
amplitude level of the output is dependent upon
the value of the data points stored for the arbi-
trary waveform. The amplitude of the arbitrary
waveform output is scaled by the current ampli-
tude setting. See Electrical Specification in
Section 1 of this manual for more information on
arbitrary waveform amplitude.
When ARBitrary is selected, the arbitrary wave-
form must already be in waveform memory. The wave-
form information can be sent to the AFG 5101/5501
over the GPIB or the information can be input us-
ing front panel controls.
If FUNC ARB is received while an arbitrary wave-
form is executing, the waveform output is restart-
ed at the START address after the values of the
waveform are updated.
3-24
HELP?
Command Type:
Query
Query Syntax:
HELP?
Query Response:
<a string containing all AFG
mands >;
5101/5501 com-
Discussion:
The HELP query command returns a string that is a
list of all AFG 5101/5501 commands, The string
consists of the following:
HELP AM, AMPL, ARB, ARBADRS, ARBCLR, ARBDA-
TA, ARBHOLD, ARBLOAD, ARBPROG, ARBSEL, ARB-
START, ARBSTOP, AUTOLINE, DC, DISP, DT,
ERR, ERRM, EVENT, FILTER, FM, FREQ, FROL,
FROMARK, FROSTART, FROSTOP, FUNC, HELP, ID,
INIT, MODE, NBUR, OFFS, OPC, OUT, RATE,
REC, RNGLCK, ROS, SEND, SET, SINE, SQU,
STOR, SWEEP, TEST, TRIA, TRIG, USER;
Instruction Manual
ID? (Identify)
Command Type:
Query
Query Syntax:
ID?
Query Response:
ID TEK/ < model number >, < Tek Codes and Format ver-
sion>, < firmware version>,<options, if in-
stalled >;
Query Response Example:
TEK/AFGS101, V81.1,F1.0,OPT02;
Discussion:
The ID? query command returns identification in-
formation about the instrument. If the instru
ment has no options, option information is omit-
ted.
Instruction Manual
Programming-—AFG 5101/5501
INIT (Initialize)
Command Type:
Setting
Setting Syntax:
INIT
Discussion:
The INIT command restores all front panel set-
tings to the power-on states, except that the
INCR SIZE setting, setup buffer data, and arbi-
trary waveform memory are not changed.
Programming—AFG 5101/5501
MODE
Command Type:
Setting or query
Setting Syntax:
MODE CONT
MODE TRIG
МОРЕ BURST
MODE GATE
MODE SYNT
Examples:
MODE CONT
MODE TRIG
MODE BURST
MODE GATE
MODE SYNT
Query Syntax:
MODE?
Query Response (one of the following):
MODE CONT;
MODE TRIG;
MODE BURST;
MODE GATE;
MODE SYNT;
Discussion:
This command sets the trigger mode to the mode
specified by the argument.
CONT
TRIG
BURST
3-26
Sets the AFG 5101/5501 to generate
a continuous output signal. = Trig-
ger events are ignored. CONT is
the power-on setting.
Sets the AFG 5101/5501 to the trig-
gered output mode. One cycle of
the output signal is generated for
each trigger event. Trigger sourc-
es include an external trigger, in-
ternal trigger, manual trigger, or
Group Execute Trigger <GET> over
the GPIB. See also the TRIG and DT
command descriptions.
Sets the AFG 5101/5501 to the burst
mode. When a trigger occurs, the
instrument produces a burst of the
programmed output signal; the num-
ber of cycles is determined by the
N BURST parameter. All trigger
sources apply.
GATE
SYNT
Sets the AFG 5101/3501 to the gated
mode. Output is generated while
the MAN key is pressed or the trig-
ger/gate input is enabled. If the
gate signal on the trigger inpul is
removed in the middle of a cycle,
the cycle is completed.
This mode is available only on an
Option 02 instrument. It sets the
AFG 5101/5501 to the synthesizer
mode. If this mode 1s selected and
the instrument does not have the
option installed, an execution er-
ror is reported.
instruction Manual
corer
NBURST (Number of Burst Cycles)
Command Type:
Setting or query
Setting Syntax:
NBURST [ <number of cycles >]
Examples:
NBURST
NBURST 10
Query Syntax:
NBURST?
Query Response:
NBURST <number of cycles >;
Discussion:
This command sets the number of cycles that will
be output in burst mode. The power-on setting is
2 cycles; the range is 1 to 9999,
Instruction Manual
Programming—AFG 5101/5501
OFFSET
Command Type:
Setting or query
Setting Syntax:
OFFSet <offset voltage >
Examples:
OFFS 5
OFFSET 0.1
Query Syntax:
OFFS?
Query Response:
OFFS <voltage >;
Discussion;
This command sets the offset voltage of the out-
put signal to the value specified by the argu-
ment. The argument is specified in volts. The
absolute peak amplitude plus offset is limited to
a maximum that is dependent on the signal ampli-
tude range, as follows:
Amplitude Peak Resolution
Range Amplitude + into
Absolute Offset 50 ohms
into 50 ohms
1V - 9,99V 4,99V 10m V
0.1V - 0,999V 0.499V mV
0.01V - 0.099V 0.049V imV
This formula describes the relationship between
amplitude and offset:
Absolute
Dspid Amp. + Displayed = peak amplitude + offset
2 Offset into 50 ohms, for range
The power-on setting is OV (offset is disabled).
An OFFS query returns the programmed offset value
in volts.
3-27
Programming--AFG 5101/5501
OPC (Operation Complete)
Command Type:
Setting or query
Setting Syntax:
OPC ON
OPC OFF
Examples:
OPC ON
OPC OFF
Query Syntax:
OPC?
Query Response (one of the following):
OPC ON;
OPC CFF,
Discussion:
The OPC command enables or disables the operation
complete service request. If enabled and ROS is
ON, and MODE TRIG or MODE BURST is selected, the
instrument asserts SRQ at completion of an arbi-
trary waveform sweep, or after one execution of
arbitrary waveform memory. If RQS is off,
the operation complete is queried, as an event,
The power-on setting is OPC OFF.
3-28
OUTPUT
Command Type:
Setting or query
Setting Syntax:
OUTput ON
OUTput OFF
OUTput FLOAT
Examples:
OUT ON
OUTP FLOAT
OUTPUT OFF
Query Syntax:
OUTput?
Query Response (one of the following):
OUT ON:
OUT OFF;
OUT FLOAT;
Discussion;
The OUTPUT command controls the AFG 5101/5501 out-
put signal at the main OUTPUT connector.
ON Connects the AFG 5101/5501 output signal
to the main QUTPUT connector.
FLOAT Disconnects the AFG 5101/5501 output sig-
nal from the main OUTPUT connector and
terminates it into a high (floating) im-
pedance.
OFF Disconnects the AFG 5101/5501 output sig-
nal from the main OUTPUT connector. Out-
put is terminated into 50 ohms.
The power-on setting is OUTPUT OFF.
Instruction Manual
RATE
Command Type:
Setting or query
Setting Syntax:
RATE <num>[:<units>]
Examples:
RATE 999.9
RATE 100 NS
RATE 60 HZ
Query Syntax:
RATE?
Query Response:
RATE <NR3>:<units>;
Discussion:
This command sets the internal trigger interval.
The power-on setting 1s 10 microseconds; the
power-on units of measure is seconds. Units can
be specified in seconds or Hz (front-panei SPCL
function 210).
If the units of measure is set to Hz, all inputs
and output are specified in Hz until the units
are specified in seconds again.
The rate generator is used for internal trigger,
sweep rate, and arbitrary waveform output rate.
Instruction Manual
Programming —AFG 5101/5501
RECALL
Command Type:
Operational
Syntax:
RECall <num>
Examples:
REC3
RECALLS
Discussion:
This command changes the AFG 5101/5501 settings
to those stored in the settings buffer specified
in the argument, except for the following set-
tings which are not stored in settings buffers
and therefore remain unchanged:
ARBADRS
ROS
OPC
USER
Increment Size
SPCL function 220--Display intensity/backlight
SPCL function 240--GPIB address
SPCL function 241--GPIB message terminator
SPCL function 250--Frequency MARKER status
The argument range is 0 to 99. Buffer 0 к а
read-only buffer that contains the power-on set-
tings. (All other settings buffers contain the
power-on settings until they are changed by the
user.)
3-29
Programming—AF © 5101/5501
RNGLCK (Range Lock)
Command Type:
Setting or query
Setting Syntax:
RNGLCK ON
RNGLCK OFF
Examples:
RNGLCK ON
RNGLCK OFF
Query Syntax:
RNGLCK?
Query Response (one of the following):
RNGLCK ON;
RNGLCK OFF,
Discussion:
The on argument turns on the range lock func-
tion. This function limits the generators fre-
quency output range to the limits of the frequen-
cy range currently in use (determined by FREQ set-
ting). :
When RNGLCK is set on, the frequency change
iS locked and the output frequency is set to its
lowest value. Changing the frequency parameter
will not affect the range or output frequency.
When RNGLCK is set on, the maximum allowable
sweep range is allowed using an external sweep.
The power-on setting is RNGLCK OFF.
3-30
RQS (Request for Service)
Command Type:
Setting or query
Setting Syntax:
ROS ON
ROS OFF
Examples:
ROS ON
ROS OFF
Query Syntax:
RQS?
Query Response (one of the following):
RQS ON;
ROS OFF;
Discussion:
The ROS command controls the AFG 5101/5501 ser-
vice request operation, Valid arguments are:
ON Allows the AFG 5101/5501 to generate an SRO
to report an event or error.
OFF Prevents the AFG 5101/5501 from generating
an SRO to report an event or error.
An ROS query returns the current
request-for-service status. The ERR query can be
used while ROS is off to determine if any SRO con-
ditions have occurred. See Status and Error Re-
porting in this section for more information.
The power-on setting is ROS ON.
| Instruction Manual
SEND
Command Type:
Query
Query Syntax:
SEND? <bufnum>[,<buínum>1...
SEND? ALL
Examples:
SEND? 3,5
SEND? 80
SEND? ALL
Query Response: -
STOR <bufnum >: <binblk>{, <bufnum>:<binblk >]...;
or
STOR ALL: <binblk>...<binblk>; (99 settings)
Discussion:
In response to this command, the AFG 5101/5501
transmits over the GPIB, the contents of the
stored settings buffer(s) identified in the argu-
ment. Argument range is 1 to 99. The settings
data is sent in binary block format.
Instruction Manual
Programming—AFG 5101/5501
SET?
Command Type:
Query
Query Syntax:
SET?
Query Response Example:
FREQ 1.0E+3; AMPL 50; OFFS 0; DC 0; RATE
10.0E-6:S; NBUR 2; FRQSTART 1.0; FRQSTOP 1.2E +3;
FROMARK (; SWEEP OFF, ARBSEL 1; ARBADRS 0; ARB-
START 0; ARBSTOP 8191; FILTER OFF; FUNC SINE;
MODE CONT; TRIG MANUAL; AM OFF, FM OFF; OUT
OFF, FROL ON; RNGLCK OFF, ARBHOLD OFF; ARB-
PROG OFF; DT OFF; ROS ON; USER OFF OPC
OFF; DISP FREQUENCY;
Discussion:
This command returns the status of all instrument
settings that can be set and that respond to a
query command with the following exceptions:
stored front panel settings
arbitrary waveforms
3-31
Programming—AFG 5101/5501
STORE
Command Type:
Operational
Syntax:
STORe <aum>{:<binblk >{, <num >: <binblk >]...
STORe ALL: <binbik>... <binbik>
Discussion:
The current settings of the instrument are saved
in the settings buffer specified by the argument
(<num>). If the optional <binblk> argument is
included, the data stored in the specified set-
tings buffer is the data in the argument; if the
<binblk> argument is omitted, the data stored in
the settings buffer is the current front panel
settings data. Multiple arguments are allowed if
connected by a comma.
The following settings are not stored by the
STORE command:
ARBADRS
RQS
OPC
USER
Increment Size
SPCL function 220--Display intensity/backlight
SPCL function 240--GPIB address
SPCL function 241--GPIB message terminator
SPCL function 250--Frequency MARKER status
The STORE ALL command stores each binary block
settings packet received over the GPIB in a set-
tings buffer. The first binary block packet is
stored in settings buffer 1, the second packet in
settings buffer 2, and so on to 99. All buffers
must be present. |
If a binary block packet is longer or shorter
than required, the instrument reports an execu-
tion error. If a binary block packet has a bad
checksum byte, the instrument reports an execu-
tion error. If one packet in the argument is in
error, then an error is generated and that packet
and all succeeding packets are discarded; all
packets up to the discarded packet are stored.
The error number returned reflects the number of
the bad packet.
Settings buffer 0 is a read-only buffer that con-
tains the power-on settings. This buffer cannot
be stored into.
3-32
SWEEP
Command Type:
Operational or query
Syntax:
SWEEP LIN
SWEEP LOG
SWEEP ARB
SWEEP OFF
Query Syntax:
SWEEP?
Query Response (one of the following):
SWEEP LIN; |
SWEEP LOG;
SWEEP ARB;
SWEEP OFF;
Discussion:
This command sets the sweep to the shape speci-
fied by the argument.
LIN Sets the sweep shape to a linear sweep,
LOG Sets the sweep shape to a logarithmic
sweep.
ARB Sets the sweep shape to the arbitrary
waveform in the currently selected arbi-
trary waveform buffer. Use ARBSTART and
ARBSTOP to define the section of arbi-
trary memory to be used for the sweep
function.
OFF Disables the sweep operation.
The power-on setting 1s SWEEP OFF.
The sweep is generated by using the arbitrary
waveform generator and inserting a 1000-point
ramp. The value of the RATE parameter will deter-
mine the number of sweeps per second.
Instruction Manual
TEST?
Command Type:
Query
QuerySyntax:
TEST?
Query Response:
TEST <num>:;
Discussion:
This command causes the instrument to execute in-
ternal checkout routines, A code in the response
indicates the test results. If the instrument
successfully passes the test, the code number is
0; a failure is defined by the error code number
returned, as follows:
( - No error detected.
1 - An error was detected.
During the test, output is turned off and the
GPIB port remains active; output is resumed fol-
lowing test completion.
Instruction Manual
Programming—AFG 5101/5501
TRIG
Command Type:
Setting or query
Setting Syntax:
TRIG INT
TRIG EXT
TRIG MANual
Examples:
TRIG INT
TRIG EXT
TRIG MAN
Query Syntax;
TRIG?
Query Response (one of the following):
TRIG IN;
TRIG EXT;
TRIG MAN;
Discussion:
This command selects the trigger source as speci
fied by the argument.
INT Selects an internal trigger. This trig-
ger can not be used in arbitrary and
sweep modes.
EXT Selects an external trigger, The source
is the signal applied to the TRIG IN con-
necior,
MAN Selects the manual trigger source. — Press-
ing the MAN button generates a trigger.
The query returns the current trigger source se-
lection,
The power-on setting is TRIG MAN.
Programming—AFG 5101/5501
USEREQ
Command Type:
Setting or query
Setting Syntax:
USEReq ON
USEReq OFF
Examples:
USEREQ ON
USER OFF
Query Syntax:
USER?
Query Response (one of the following):
USER ON;
USER OFF;
Discussion:
The USER command enables the AFG 5101/5501 to as-
sert SRQ when the user presses the front panel
INST ID key. This provides a means of communica-
tion between the user and the controller through
the
AFG 5101/5501 for coordination of
AFG 5101/5501 operations. Valid arguments are:
ON
OFF
If RQS is ON, the AFG 5101/5501 asserts
SRQ when the user presses the INST ID
key. SRQ remains asserted until the sta-
tus is read by a serial poll, or until a
Device Clear (DCL) is performed by the
controller. The USER SRO is indicated by
a status byte of 67 or 83, and an error
query response of 403. If RQS is OFF,
the event can be detected via the ERR que-
ry.
‘Disables the USEREO function. SRO asser-
tion is disabled and no errors will be
reported.
A USER query returns the current status. The
power-on setting is USER OFF.
3-34
Instruction Manual
Programming—AFG 5101/5501
MESSAGES AND COMMUNCIATION PROTOCOL
Command Separator
A message consists of one command or a series of
commands, followed by a message terminator. Com-
mands in multiple command messages must be sepa-
rated by semicolons. A semicolon at the end of a
message is optional. For example, each line below
15 а message.
INIT
TEST?:INIT;RQS ON;USER OFF:ID?;SET?
TEST?
Address and Message Terminator Selection
Messages may be terminated with EOI or the ASCII
line feed (LF) character. Some controllers assert
EOI concurrently with the last data byte; others
use only the LF character as a terminator. The
instrument can be set to accept either termina-
tor. With EOI only selected as the terminator,
the instrument interprets a data byte received
with EOI asserted, as the end of the input mes-
sage; it also asserts ВОГ concurrently with the
last byte of the output messages. With the LF/EOI
setting, the instrument interprets the LF charac-
ter without EOI asserted (or any data byte re-
ceived with EOI asserted) as the end of an input
message; it transmits carriage return (CR) fol-
lowed by line feed (the LF with EOI asserted) to
terminate output messages.
NOTE
Do not use LF mode when transmitting or
receiving Binary Block data. See ARBDATA,
SEND?, STOR.
The AFG 5101/5501 is shipped from the factory
with a GPIB address of 7; the terminator is LF
with EOL
Both the GPIB primary address and the message ter-
minator are selected using front panel keys.
These selections are stored in non-volatile RAM.
The following steps outline the selection pro-
cess:
1. Press the INST ID key. The current GPIB ad-
dress and terminator are indicated in the dis-
play window (while the key is pressed).
2. To change the GPIB address, press the SPCL
Instruction Manual
key; press keypad numbers 240; press ENTER.
Press the keypad numbers for the new GPIB ad-
dress; press ENTER. The new address should be
shown in the display window.
The legal values are 0 to 31. Address 31 dis-
connects the AFG 5101/5501 from bus communica-
tion.
3. To change the terminator selection, press the
SPCL key; press keypad numbers 241; press EN-
TER; press the INCREMENT up- or down-arrow 10
change the terminator selection. The new ter-
minator selection should be indicated in the
display window.
Formatting a Message
Commands sent to TM 5000 instruments must have
the proper format (syntax) to be understood; how-
ever, this format is flexible in that many varia-
tions are acceptable. The following describes the
format and the acceptable variations.
The instruments expect all commands to be encoded
in ASCII, with either upper or lower case ASCII
characters acceptable. All data output is im up-
per case (see Fig. 3-1). As previously discussed,
a command consists of a header, followed if neces-
sary, by arguments, A command with arguments must
have a header delimiter, which is the space char-
acter (SP) between the header and the argument.
The space character (SP), carriage return (CR),
and line feed (LF) are shown as subscript in the
following examples.
RQS ¿ON
If extra formatting characters SP, CR, and LF
(the LF cannot be used for format in the LF/EOI
terminator mode) are added between the header de-
limiter and the argument, those characters are
ignored by the instrument. |
Example 1: | КОЗ ОМ;
Example 2: ROScp <pON;
Example 3: ROS Rf
SP spON
3-35
Programming-—AFG 5101/5501
In general, these formatting characters are ig-
nored after any delimiter and at the beginning
and end of a message. For example:
sp ROS pON CR LF
<pUSER „OFF
In the command list, some headers and arguments
are listed in two forms, a full-length version
and an abbreviated version. The instrument ac-
cepts any header or argument containing at least
the characters listed in the short form; any char-
acters added to the abbreviated version must be
those given in the full-length version. For docu-
mentation of programs, the user may add alpha
characters to the full-length version. Alpha char-
acters may alsobe added to a query header, provid-
ed the question mark is at the end.
USER?
USERE?
USEREQ?
USEREQUEST?
Multiple arguments are separated by a comma; how-
ever, the instrument will also accept a space or
spaces as a delimiter.
>
sp?
SP”
+2 Yo
NOTE
In the last example, the space is treat-
ed as a format character because it fol-
lows the comma (the argument delimit-
er).
Number Formats
The instrument accepts the following kinds of num-
bers for any of the numeric arguments,
NR1 Signed or unsigned integers (including +0
and -0). Unsigned integers are interpreted
as positive.
Examples: +1, 2, -1, -10.
NR2 Signed or unsigned decimal numbers. Un-
signed decimal numbers are interpreted as
nositive,
3-30
Examples: -3.2, +5.0, 1.2
NR3 Floating point numbers expressed in scien-
tific notation. |
Examples: +1.0E-2, LOE2, 1.E-2, 0.01E+0
Link arguments can be used in place of sa-
entific notation.
Examples: +10:MHZ, -.25:V, 2:KHZ.
Rounding of Numeric Arguments
The instrument rounds numeric arguments to the
nearest unit of resolution and then checks for
out-of-range conditions.
Message Protocol
Upon receipt by the instrument, a message is
stored in the Input Buffer, then processed, and
executed. Processing a message consists of decod-
ing commands, detecting delimiters, and checking
syntax. For setting commands, the instrument
then stores the indicated changes in the Pending
Settings Buffer. If an error is detected during
processing, the instrument asserts SRQ, ignores
the remainder of the message, and resets the Pend-
ing Settings Buffer. Resetting the Pending Set-
tings Buffer avoids undesirable states that could
occur if some setting commands are executed
while others in the same message are not.
Executing a message consists of performing the
actions specified by its command(s). For
setting commands, this involves updating the
instrument settings and recording these updates
in the Current Settings Buffer. The setting com-
mands are executed in groups--that is, a series
of setting commands is processed and recorded
in the Pending Settings Buffer before execution
takes place. This allows the user to specify a
new instrument state without having to consider
whether a particular sequence would be valid. Nor-
mally, execution of the settings occurs when the
instrument processes the message terminator,
query-output command, or an operational com-
mand in a message. The normal execution of set-
tings is modified by the Device Trigger (DT) set-
ting command.
Instruction Manual
When the instrument processes a query-output
command in a message, i executes any preceding
setting commands to update the state of the
instrument. It then executes the query-output
command by retrieving the appropriate informa-
tion and putting it in the Output Buffer. Process-
ing and execution then continue for the remainder
of the message. The data are sent to the control
ler when the instrument is made a talker.
When the instrument processes an operational
command in a message, it executes any preceding
setting commands before executing the
operational command.
Multiple Messages
The Input Buffer has finite capacity and thus a
single message may be long enough to fill it. In
this case, a portion of the message is processed
before the instrument accepts additional input.
During command processing, the instrument holds
off additional data (by asserting NRFD) until
space 1s available in the buffer. When space is
available, the instrument can accept a second mes-
sage before the first has been processed. Howev-
er, it holds off additional messages with NRFD
until it completes processing the first.
After the instrument executes a query-outpui
command in a message, it holds the response in
its Output Buffer until the controller makes the
instrument a talker. If the instrument receives a
new messasge before all of the output from the
previous message is read, i clears the Output
Buffer before executing the new message. This pre-
vents the controller from getting unwanted data
from old messages.
One other situation may cause the instrument to
delete output. The execution of a long message
might cause both the Input and Output Buffers to
become full. When this occurs, the instrument can-
not fmish executing the message because it is
waiting for the controller to read the data it
has generated; but the controller cannot read the
data because it is waiting to finish sending its
message. Because the instrument Input Buffer is
full and it is holding off the rest of the con-
trollers message with NRFD, the system is hung
up with the controlier and instrument waiting for
each other. When the instrument detects this con-
dition, 1 gencrates an error, asserts SRQ and
Instruction Manual
Programming--AFG 5101/5501
deletes the data in the Output Buffer. This ac-
tion allows the controller to transmit the rest
of the message, and informs the controller that
the message was executed and that the output was
deleted.
A TM 5000 instrument can be made a talker without
having received a message that specifies the out
put. Im this case, an acquisition instrument (a
counter or a multimeter) returns a measurement if
one is ready. If no measurement is ready, it re-
turns a single byte message with all bits equal
to 1 (with message terminator). Non-acquisition
TM 5000 instruments will return only this mes-
sage.
Instrument Response to IEEE-488 Interface
Messages
Interface messages and the effects of those mes-
sages on the instrument interface functions are
defined in IEEE Standard 488-1978. Abbreviations
from the standard are used in this discussion,
which describes the effects of interface messages
on instrument operation. Where appropriate, the
GPIB code 15 listed, in decimal.
UNL—Unlisten (63 with ATN))
UNT—Untalk (95 with ATN)
When the UNL command 1s received, the instrument
listener function goes to its idle state (unad-
dressed). In the idle state, the instrument will
not accept instrument commands from the IEEE-488
bus.
The talker function goes to its idle state when
the instrument receives the UNT command. In this
state, the instrument cannot supply output data
via the bus,
The addressed indicator is off when both the taik-
er and listener functions are idle. If the instru-
ment is either talk-addressed or
listen-addressed, the indicator is on.
IFC— Interface Clear (Bus pin 9)
This uniline message has the same effect as both
the UNT and UNL messages. The front panel AD-
DRESSED indicator 15 off.
3-37
Programming—AFG 5101/5501
DCL— Device Clear (20 with ATN)
The Device Clear message reinitializes communica-
tion between the instrument and controller, In
response to DCL, the instrument clears any input
and output messages and any unexecuted settings
in the Pending Settings Buffer. Also cleared are
any errors or events waiting to be reported, ex-
cept the power-on event. If the SRQ line is as-
serted for any reason other than power-on when
DCL 1s received, SRQ 1s unasserted.
SDC-—Selected Device Clear (4 with ATN)
This message performs the same function as DCL;
however, only instruments that are
listen-addressed respond to SDC.
GET—Group Execute Trigger (8 with ATN)
The instrument responds to <GET> only if it is
listen-addressed and the instrument device trig-
ger function has been enabled by the Device Trig-
ger command (DT). The <GET> message is ignored
and an SRO generated if the DT function is dis-
abled (DT OFF), the instrument is in the local
state, or if a message is being processed when
<GET> is received.
SPE—Serial Poll Enable (24 with ATN)
The SPE message enables the instrument to supply
output serial poli status bytes when it is talk
addressed.
SPD—Serial Poll Disable (25 with ATN)
The SPD message switches the instrument back to
its normal operation of sending the data from the
Qutput Buffer,
MLA—-My Listen Address (Address + 32)
MTA-—My Talk Address (Address + 64)
The primary listen and talk addresses are estab-
lished by the instrument IEEE-488 bus address
(set by front-panel key sequence). The current
setting of the bus address ID displayed on the
front panel when the INST ID key is pressed. When
the instrument is addressed to talk or listen,
the front panel ADDRESSED indicator is lighted.
3-38
LLO Local Lockout (17 with ATN)
In response to LLO, the instrument changes to a
lockout state--from LOCS to LWLS or from REMS to
RWLS.
REN—Remote Enable (GPIB pin 17)
If REN 1s true, the instrument may change to a
remote state (from LOCS to REMS if the internal
message returm-to-local (rti) is false, or from
LWLS to RWLS) when its listen address is re-
ceived. REN false causes a transition from any
state to LOCS; the mstrument stays in LOCS as
long as REN is false.
A REN transiton may occur after message process
ing has begun. In this case, execution of the mes-
sage being processed is not affected by a transi
tion,
GTL—Go To Local (1 with ATN)
Only instruments that are listen-addressed re-
spond to GTL by changing to a local state.
Remote-to-local trnasitions caused by GTL do not
affect the execution of the message being pro-
cessed when GTL was received.
Remote-Local Operation
The preceding discussion of interface messages
describes the state transitions caused by GTL and
REN. Most front panel controls cause a transition
from REMS to LOCS by asserting a message called
return-to-local (rtl). This transition may occur
during message execution; but, in contrast to GTL
and REN transitions, a transition initiated by
ril does affect message execution. In this case,
the instrument generates an error if there are
any unexecuted setting or operational com-
mands. Front panel controls that change only
the display (such as INST ID) do not affect the
remote-local states--oniy front panel controls
that change settings assert rtl. The rti message
remains asserted while multiple keystroke set-
tings are entered, and it 1s unasserted after the
execution of the settings. Since rtl prevents
transition to REMS, the instrument unasserts rt!
if a multiple key sequence 15 not completed in a
reasonable length of time (approximately S to 10
seconds).
Instruction Manual
The instrument maintains a record of its settings
in the Current Settings Buffer and new settings
from the front panel or the controller update
these recorded settings. In addition, the front
panel is updated to reflect setting changes caus-
es by commands. Instrument settings are unaffect-
ed by transitions among the four remote-local
states. The REMOTE indicator 1s lighted when the
instrument 1s in REMS or RWLS,
Local State (LOCS)
In LOCS, instrument settings are controlled by
the operator via front panel keys. When in LOCS,
only bus commands that do not change instrument
settings are executed (query-output com-
mands.) All other bus commands (setting and
operational) generate an error since those
functions are under front panel control.
Local Without Lockout State (LWLS)
The instrument operates the same as it does in
LOCS, except that rti will not inhibit a transi
tion to remote.
Remote State (REMS)
In this state, the instrument executes all instru-
ment commands. For commands having associated
front panel indicators, the front panel is updat-
ed when the commands are executed.
Remote With Lockout State (RWLS)
Instrument operation is similar to REMS operation
except that the rti message is ignored. (The
front panel is locked out.) |
Status and Error Reporting
Through the Service Request function (defined in
the IEEE-488 Standard), the instrument may alert
the controller that it requires service. This ser-
vice request is also a means of indicating that
an event (a change in status or an error) has oc
curred. To service a request, the controller per-
forms a Serial Poll. In response, the instrument
returns a Status Byte (STB), which indicates
Instruction Manual
Programming—AFG 5101/5501
whether it was requesting service or not. The STB
can also provide a limited amount of information
about the request. The format of the information
encoded in the STB is given in Fig. 3-4. Note
that, when data bit 8 is set, the STB conveys De-
vice Status information, which is contained in
bits 1 through 4,
Because the STB conveys limited information about
an event, the events are divided into classes;
the Status Byte reports the class. The classes of
events are defined as follows:
Command Error--Indicates that the instrument
has received a command which it cannot understand
or implement under any circumstances. The com-
mand will not affect the state of the instrument.
Execution Error--Indicates that the instru
ment has received a command that is cannot exe-
cute. (This is caused by out-of-range arguments
or settings that conflict.)
Internal Error-Indicates that the instrument
has detected a hardware condition or firmware
problem that prevents operation.
System Events--Events that are common to in-
struments in a system (e.2., Power On, User Re-
quest, etc.).
Execution Warning--Indicates that the instru-
ment is operating, but that the user should be
aware of potential problems.
Internal Warning--Indicates that the instru-
ment has detected a problem (e.g, out of cahbra-
tion). (The instrument remains operational, but
the problem should be corrected.)
Device Status--Device dependent events. The
instrument can provide additional information
about many of the events, particularly the errors
reported in the Status Byte. After determining
that the instrument requested service (by examin-
ing the STB), the controller may request the addi-
tional information by sending an ERR query
(ERR”?). In response, the instrument returns a
code that defines the event. These codes are de-
scribed in Table 3-1. Note that some errors are
also shown in the front panel display window.
(Refer to Table 3-2 for a list of errors that are
reported only on the front panei dispiay.)
3-39
Programming—AFG 5101/5501
Table 3-1 (Cont.)
НО, 878 indicates event class Error Serial
if 1, STB indicates device status Description Query Poll
1 if requesting service Response Response?
[| Indicates an abnormal event Execution Errors (200 Series) (Cont.)
1 if message processor is busy INCREMENT out of range 2539 98
Define Events Bad settings buffer 255 98
ADDR out of range 256 98
SWEEP operation error 261) 98
Status Byte | a Pi | SYNT not installed 262, 28
Example) 18/7 16/5 4 31211 Buey Busy NBURST out of range 270, 98
Power RATE out of range 271, 98
On ojttofxiofala!: 55 | a1 MARK out of range 272 98
FREQ out of range 273) 98
DATA BITS DECIMAL AMPL outof range 274 98
6759—4 OFST out of range 275) 98
START out of range — 276 98
Fig. 3-4. Definition of STB bits. STOP out of range 277° 98
ARBCLR start/stop is out of range — 278 98
DC out of range 280° — 98
Table 3-1 SYNT illegal parameter 2909 98
ERROR QUERY AND STATUS INFORMATION Store binary block error 801-
(Bus Reportable) 899 98
* Internal Errors (300 Series)
Error Serial Save RAM failure 340° 99
Description Query Poli SYNT out of lock 350 99
| ResponseResponse
Normal Events
Abnormal Events
Command Errors (100 Series) System Events (400 Series)
Command header error 101 97 Power on 401 65
Header delimiter error 102 97 Operation complete 402 66
Command argument error 103 97 User request 403 67
Argument delimiter error 104 97
Missing argument 106 97 Internal Warnings (600 Series)
Invalid message unit delimiter 107 97 Low battery 650° 102
Checksum error 108 97 Output overload — 660 102
Bytecount error 109 97 |
*I the instrument is busy, it returns a
Execution Errors (200 Series) decimal number 16 higher than the number listed.
Command not executable in local 201 98 DThis error is also displayed in the front
Setting lost due to rtl 202 98 panel display window.
Output buffer full 203 98
Settings conflict 204? 98
Out of range 205° 98
Group Execute Trigger ignored 206 98
ARB I-TRIG conflict 207° 98
SWEEP I-TRIG conflict 208° 08
AMPL-OFFSET conflict 250° 98
DATA out of range 251 98
3-40 Instruction Manual
Table 3-2
FRONT PANEL ERROR CODES
(Non-Bus Reportable)
Code Error Description
010 incorrect syntax.
011 Increment step error.
012 Increment limit.
013 Decrement limit.
014 INCR/DECR error.
015 SPCL not exist.
016 Mode conflict.
204 Setting conflict,
205 Out of range.
207 ARB Internal-Trig conflict.
208 SWEEP Internal-Trig conflict.
250 AMPL OFFSET conflict.
231 DATA out of range.
253 INCREMENT out of range.
255 Bad settings buffer.
256 ADRS out of range.
261 SWEEP operation error.
262 Synthesizer not installed (Option 02).
270 N BURST out of range.
271 RATE out of range.
272 MARKer out of range.
273 FREQ out of range.
274 AMPL out of range.
275 OFFSET out of range,
276 START out of range.
277 STOP out of range.
280 DC out of range.
290 SYNThesizer illegal parameter.
340 Save RAM failure.
650 Low battery.
660 Output overload.
If there is more than one event to be reported,
the instrument continues to assert SRQ until it
reports all events. (SRO “stacking” consists of
reporting only the latest event of each priority
level.) Each event is automatically cleared when
it is reported via Serial Poll. The Device Clear
(DCL) interface message may be used to clear all
events except Power-On.
Commands are provided to control the reporting of
some individual events and to disable all service
requests. For example, the User Request command
(USER) provides individual control over the re-
porting of the user request event that occurs
when the front panel INST ID key is pressed. The
Request for Service command (ROS) controis wheth-
er the instrument reports any events with SRQ.
Instruction Manual
Programming—AFG 5101/5501
ROS OFF inhibits all SRO's. When ROS 1s OFF, the
ERR query allows the controller to find out about
events without first performing a Serial Poll
With ROS OFF, the controller may send the ERR que-
ry at any time and the instrument will return an
event waiting to be reported. The controller can
clear all events by sending the ERR query until a
ERR 0 code is returned, or clear all events ex-
cept Power-On through the DCL interface message.
With ROS OFF, the controller may perform a Serial
Poll, but the Status Byte contains only Device
Dependent Status information. With ROS ON, the
STB contains the class of the event and a subse-
quent. error query returns additional information
about the previous event reported in the STB.
Sending Interface Control Messages
Interface messages and the effects of those mes-
sages on the AFG 5101/5501 interface functions
are defined in IEEE Standard 488-1978. Abbrevia-
tions from that standard are used in this descrip-
tion of the effects on instrument operation.
Bus interface control messages are sent as
low-level commands through the use of WBYTE con-
troller commands. Higher level commands are also
available for the user. For the following com-
mands, A is 32 plus the instruments GPIB ad-
dress, В is 64 plus the address, and C is the m-
strument’s GPIB address.
Listen (MLA) wbyte atn(A)
Unlisten (UNL) wbyte atn(unl)
Talk (MTA) wbyte atn(B)
Untalk wbyte atn(unt)
Untalk-Unlisten wbyte atn(uni,unt)
Device Clear (DCL) wbyte del
Selective Device Clear(SDC) wbyte sdce(C)
Go To Local (GTL) wbyte gti(C)
Remote with Lockout (RWLS) — wbyte atn(A),
llo,atn{unl)
wbyte llo
wbyte get(C)
Local Lockout (LLO)
Group Execute Trigger (GET)
These commands are for the Tektronix 4041 control-
ler and may be representative for some other con-
troilers.
3-4]
Programming—AFG 5101/5501
Power-On Sequences and
Default Settings
Each time power is applied to the AFG 5101/5501,
the internal microprocessor performs a self-test
diagnostic routine to check the instrument RAM
and ROM functionality. If no RAM or ROM error is
found, the microprocessor performs further rou-
tines that check the functionality of other in-
strument hardware.
If a RAM or ROM error is found, an error code
will be displayed on the front panel readout. In
this error state, the AFG 5101/5501 will not re-
spond to input from the front panel or the
IEEE-488 bus interface. Internal errors detected
after the RAM and ROM tests have been completed
successfully will be reported at the front panel
and over the IEEE-488 bus. In this error state,
the AFG 5101/5501 will respond to input and will
attempt to operate despite the error. An error
code may be removed from the display be pressing
the front panel INST ID button, by starting a nu-
meric entry, by incrementing the selected parame-
ter, by pressing the CLEAR key, or by a transi
tion into the remote state (REMS).
When the self-test has been completed, the
AFG 5101/5501 enters the local state (LOCS) and
assumes the following default settings:
3-42
Table 3-3
POWER-ON DEFAULT SETTINGS
Key/Function Setting
AMPL sv
Amplitude Modulation off
Arbitrary ADRS 0000
Arbitrary ADRS Increment
(SPCL 310) on
Arbitrary Bank Select 1
Arbitrary Filter off
Arbitrary PROG Mode off
Arbitrary START 0000
Arbitrary STOP 8191
DC ОУ
Device Trigger“ off
FREQ 1 kHz
Frequency Lock (SPCL 230) on
Frequency Modulation off
Frequency marker off
Function SINE
MODE CONT
N BURST 2
OFFSET 0 V (off)
Operation Complete* off
OUTPUT off
RATE 10 microsec.
RATE units time
Range Lock (SPCL 260) off
Request Service (ROS) on
SWEEP off
Sweep MARKER Frequency 0 Hz (off)
Sweep START Frequency 1 Hz
Sweep STOP Frequency 1200 Hz
TRIG MAN
User Service Request? off
Settings used only when AFG 5101/5501 is
under program control,
The SRQ line on the GPIB 1s also asserted unless
the GPIB address is set to 31 (ignore GPIB com-
mands}. If the instrument is polled by the con-
troller, the status byte returned will be 0100
0001 (65 decimal; power-on SRQ).
Instruction Manual
Instruction Manual
Programming—AFG 5101/5501
ASCII a GPIB CODE CHART
97 q a ÿ a 1 1 1 1
86 Fr g 1 1 E 3 1 1
85 8 1 3 В 1 Я 1
BITS
NUMBERS
CONTROL SYMBOLS UPPER CASE | LOWER CASE
84 83 8261
0 20 40 g | sû 163 100 gi 120 186 145 91 +60 16
# 8 y si NUL | DLE | SP 0 @ P ‘
ü gi 18 9 20 32 } 30 48 § 40 64 | 50 BOE 50 96 1 70 117
1 STE] 21 LLOSA! 118 170101 +[ 121 178 141 + | 361 1?
2 4 9 11 SOM | DCI ! 1 A q a q
1 t {11 17 21 33 134 45 4 41 651 51 Вы! 97 E71 +13
2 22 42 2 167 188 107 21 122 188 142 2 | 162 18
8 3 1 si STX DC2 i 2 В В b r
2 2 52 18322 14 ; 32 50847 66 | 52 den 62 sa : 72 114
3 23 43 3162 :98 103 31 123 19] 143 33163 19
8 8 11) ETX | DC3 # 3 С $ с $
3 3133 19523 35 13а 51 F443 87 | #3 AS E 63 99 | 77 115
4° 5060124 DCL § 44 à | 64 208 104 ai 124 208 144 4 | 164 20
в 1 9 51 EOT | DCA $ 4 D T d t
d 4 ] id 20524 36 134 57 fad Ва | 54 4 E 64 ton | 74 t:6
5 PPC | 25 Poi; § 45 5 165 21 R105 5] 12% 218 145 & | 165 21
#1 8 1} ENQ | NAK % 5 E U e u
5 511% 2* F 25 37 FIS 53 Pas &9 1 55 As gas 101 | 76 РЕ
e 26 dé в |656 27 E 106 6] 126 22 E T46 E | 166 27
#1 1 g] ACK | SYN & 6 Е у 1 Y
6 6116 22 76 38 136 54 E 46 707} 56 86 § 66 102 | 76 t:A
7 27 47 7 167 238107 | 197 238 147 7 | 167 23
’
#2 +11] BEL | ETB 7 G w g w
7 Tea? 23 EZ 39 137 55 a? Thé 87 1 67 WILT 119
+0 GET | 0 SPE ESO 8 170 241110 а! 139 24 150 8 } 170 24
120 9] BS |CAN | ( 8 H X h x
8 а 18 24 #28 40 138 56 § 48 77 58 88 8 68 104 [78 120
11 TCT | 31 SPO ESE a 171 25411! gf 13 20 ff 151 [171 2%
19981) HT EM ) 9 I Y i y
g 91% 25 § 29 41 139 57 §49 73 ; 59 49269 195 [79 tet
12 32 52 10 172 264112 101 132 28 152 10 | 172 26
181289) LF | SUB * : J zZ j z
A 10 à 1A 26 f 2A 42 {3A sh § 44 74 | SA $0 À GA 106 | 7A 127
ta 33 53 14 173 27 E13 111 133 а7 В 153 44 173 27
18111 VT | ESC + : K [ k {
a +1 | 18 27 28 43 138 45548 5158 91 FSE 107 178 123
tá 34 54 12 |74 288114 12] 134 2861 154 121174 28
11 # #| FF ES , < L = i |
с 12 {1C 28 §2C 44 13C 80 §4C 78; 5C 92 E 6C 108 175 124
15 35 55 13 [75 298118 131 135 29 Ё 155 +4 1175 25
1181] CR GS | = = | M ] |_m )
D 13110 29 § 20 45 [30 Я наб 77150 933 § B80 109 170 125
16 36 se 14 [78 30 F 116 14 | 135 А 208 +56 14 [176 =. 30
1 + 1 al SO RS . > N n
E 14 { 1E 30 1 7E 46 | IE Be F4E 79 ; 5E 94 § 6E t10 [7E 176
17 3? $7 15 [77 ume. 177 15 5137 UNT E 157 18 1177 ou
1 #1 1 1 Si US / ? о — O (RUBOUT)
F Sia 11 Ez 47 [AF 83 Far 79 i oF 95 E 6F 111 P7É TET
ADDRESSED UMIVERSAL LISTEN TALK SECOMDARY ADDRESSES
COMMANDS COMMANDS ADDRESSES ADDRESSES OR COMMANDS
(PRE) {PPD
KEY on some keyboards or systems
mn
octal 125 PPU | GPIB code Tektronpc
CLA ED TO CILA
N A K ASCII character
[EEE STD 488-1978
ISO STD 646-1973
TEKTRONE STO 062-5435-00 à SEP AG
COPYRIGHT <, 1979 T9B0 TEXTRONIX, INC ALL AIGHTS RESEAVED
Fig, 3-5. ASCH and IEEE (GPIB) Code Chart.
3-43
Programming—AFG 5101/5501
Talker Listener Programs
The following sample programs allow a user to send any of the commands listed in the Functional Command
List and to receive the data generated.
Talker Listener Program For Tektronix 4041 Controllers
100 Rem AFG 5101/5501 TALKER/LISTENER
110 Rem AFG PRIMARY ADDRESS 7
120 Init all
130 On srg then gosub srghdl
140 Enable srg
150 Dim respons$ to 300
160 Input prompt "ENTER MESSAGE(S): ":message$
170 Print #7:message$
180 Rem input from device
190 Input $7:respons$ |
200 Print "RESPONSE: ";respons$
210 Goto 160
220 Rem SERIAL POOL ROUTINE
230 Srghdl: pell stb,pri
2490 Resume
250 End
6759-15
3-44 Instruction Manual
Programming—AFG 5101/5501
Talker Listener Program For Tektronix PEP 301 Controllers
$e e e de e de le e td 4 le la de te de 2 e e RNR AR RR RAR ERE ERR AAR RAR RAR AR RRA RRR RR RR RAR RE RRA
| ttttréhhèkèäwké AFG 5101/5501 TALKER/LISTENER PROGRAM dk Cd di ak
Fr ara di dir dr le le lr e de le lor lr die de loli delo ar de dir dir le die dr di e ddr e el e AA ddr de le de e ld de de de de ie ie el ale deh k
' THIS PROGRAM REQUIRES THAT THE AFG 5101/5501 ADDRESS TO BE SET
' TO THE FACTORY DEFAULT OF 7.
COMMON SHARED IBSTAS, IBERR%, IBCNTS
IDS = "TEKDEV1!
CALL iBFIND(IDS, BD%)
AFGE = 7
CALL IBPAD(BDt, AFG3%)
IDS = "GPIBO"
CALL IBFIND(IDS, GP)
REMOTES = 1
CALL IBSRE(GP%, REMOTE)
CLS
DOOVER:
PRINT Y de de e le e e ale le e de de e de de e e de dde de de de le de de de de de le de e de de dr de de de e E dr e E CENA NAAA ARE
PRINT "ek AFG 5101/5501 TALKER LISTENER PROGRAM dk ok dk
PRINT 1 da a di e e e de de e e le de e le e lr ii de de de de dde lo e ck a a a kA ke ke 12
PRINT "RETURN TO EXIT: "
INPUT "ENTER MESSAGE(5)"; WRTS
CALL IBWRT(BD%, WRTS)
GOSUB CHECKGPIB
IF WRTS = “9% THEN GOTQ TERMINATE
| ecke kr INPUT FROM DEVICE Glinde dk ii ki a ak a
REPLYS = SPACES (300)
CALL IBRD({BD%, REPLYS)
GOSUB CHECKGPIB
GOSUB CHECKAFG
PRINT : PRINT "INSTRUMENT REPLY ”; REPLYS
PRINT : PRINT "Returned status byte:"; SPR%,
PRINT : PRINT ERRMS
GOTO DOOVER
ESA A ARACENA AAA ERROR ROUTINES hh e A lle de de dd er e A Ad AA A À ER À
CHECKAFG:
ERRMS = SPACES (50)
CALL IBRSP(BD%, SPR%)
CALL IBWRT(BD%, "ERRM?")
CALL IBRD(BD%, ERRMS)
RETURN
CHECKGPIB:
IF IBSTAL >= O AND BD% >= C AND IBSTAS < &H4000 AND IBERR$ <> 6 THEN RETURN
'no error to report
IT BD% < O THEN PRINT "device not installed - use IBCONF then reboot"
IF IBSTA% > O AND IBSTAL >= &H4000 THEN PRINT "timeout”
IF IBERR = 6 THEN PRINT "Cimeout"
PRINT "gpib error "; IBERR%
17 IBERR% = O THEN PRINT "DOS error device not installed"
IF ISERRS = 1 THEN PRINT "function requires GPIB-PC to be CIC"
IF IBERRT = 2 THEN PRINT "no listener on write function"
IF IBERR% = 3 THEN PRINT "GPIB-PC not addressed correctly”
IF IBERR% = 4 THEN PRINT "invalid argument to function call"
IF IBERR% = 5 THEN PRINT "GPIB-PC not system controller as required"
IF IBERRY = 6 THEN PRINT "I/O operation aborted"
IF IBERRY # 7 THEN PRINT "non-existent GPIB-PC board"
IF TBERRY = 10 THEN PRINT "I/O started before previous operation completed”
IF IBERR% = 11 THEN PRINT "no capability for operation"
IF IBERRY = 12 THEN PRINT "file system error”
IF IBERR% = 14 THEN PRINT "command error during device call"
IF IBERRY = 15 THEN PRINT "serial poll status byte lost"
IF TBERR% = 16 THEN PRINT "8RQ stuck in on position"
INPUT "[ENTER] TO CONTINUE"; AS' if helpS$ then
RETURN
RANA AMARA R ER ARARERARIRER TERMINATE PROGRAM SRA NAR AR SAR Ak REA RA RRR Rk 2d ok Kk 2k
TERMINATE:
REMOTE = ©
CALL IBSRE(GPE, REMOTE?)
PRINT "PROGRAM TERMINATED,"
END | 6759.15
Instruction Manual 3-45
Section 4——AFCG 5101/5501
MAINTENANCE
Introduction
This section of the manual provides information
on changing internal fuses, and on obtaining in-
strument’ servicing.
Calibration /Adjustment
Instrument calibration should be checked every 6
months or after 1000 hours of use, whichever oc-
curs first.
Adjustment of internal circuits to specified accu-
racy, and/or calibration check should be per-
formed at the factory. Before returning your in-
strument for any servicing, please contact your
nearest Tektronix Service Center.
Battery Replacement
When the instrument display indicates that inter-
nal battery power is low, please contact your
nearest Tektronix Service Center to arrange bat-
tery replacement.
Internal Fuse Replacement —AFG 5501
WARNING |
Before beginning this fuse replacement proce-
dure, tum off the AFG 5501, and disconnect
the power cord from the power source.
On the bottom front edge of the cabinet, remove
the Phillips screw just to the left of the cabi-
net bottom seam, as you face the front of the
AFG 5501.
Pull on both release latches on the front panel;
the generator assembly should move forward, out
of the cabinet. Remove the generator assembly.
Instruction Manual
The fuses are located under the cover on the
right side of the AFG 5501 (as you face the front
of the unit). The side cover snaps onto the met-
al rails. Along each long edge of the cover,
there are cutouts about one-half inch in length,
Insert tweezers or a small straight-edge screw-
driver into the cutout near the back edge of the
cover, and carefully pry the cover away from the
metal rails. Remove the cover.
Three fuses are located toward the rear of the
exposed circuit board, mounted in fuse holders.
To remove a fuse, carefully pull it out of the
fuse holder.
WARNING |
To avoid fire hazard, use only the fuse of
correct type, voltage rating, and current
rating as specified in the Specification sec-
tion of this manual.
After fuse replacement, re-install the side cov-
er, as follows. Insert the front edge of the cov-
er into the groove along the front edge of the
unit. Then press the cover down over the rails.
To re-install the generator assembly, stand the
cabinet up on ts rear panel. Insert the assem-
bly into the cabinet, taking care to align the
assembly rear edge connectors with the connectors
inside the cabinet. When these are aligned,
press the generator assembly firmly into the cabs
net to seat the connectors,
Reinstall the retaining screw in the bottom front
edge of the AFG 5501.
4-1
Maintenance—AFG 5101/5501
Fuse Replacement—AFG 5101
Remove the AFG 5101 from the power module. The
fuses are located under the cover on the right
side of the AFG 5101 (as you face the front of
the unit. The side cover snaps onto the metal
rails, Along each long edge of the cover, there
are cutouts about one-balf inch in length. In-
Sert tweezers or a small straight-edge screwdriv-
er into the cutout near the rear edge of the cov-
er, and carefully pry the cover away from the met-
al rails. Remove the cover.
Three fuses are located toward the rear of the
exposed circuit board, mounted in fuse holders.
To remove a fuse, carefully pull it out of the
fuse holder.
WARNING |
To avoid fire hazard, use only the fuse of
correct type, voltage rating, and current
rating as specified in the Specification sec-
tion of this manual.
After fuse replacement, re-install the side cov-
er, as follows. Insert the fromt edge of the cov-
er into the groove along the front edge of the
unit. Then press the cover down over the rails.
Instruction Manual
OPTIONS
The following options are available for the AFG 5101/5501.
AFG 5101 Options:
Option 02--adds an internal, frequency-lock synthesizer.
AFG 5501 Options:
Option 02--adds an internal, frequency-lock synthesizer,
The following are AFG 5501 power options:
Section 5—AFG 5101/5501
Option Al—changes the power to Universal European {220 Volt, 16 Amp, 50 Hz).
Option A2—changes the power to United Kingdom (240 Volt, 13 Amp, 50 Hz).
Option A3—changes the power to Australian (240 Volt, 10 Amp, 50 Hz).
Option A4--changes the power to North American (240 Volt, 15 Amp, 60 Hz).
Option AS—changes the power to Switzerland (220 Volt, 10 Amp, 50 Hz).
Instruction Manual
5-1
Section 6 ~ AFG 5101/5501
REPLACEABLE PARTS
PARTS ORDERING INFORMATION
Replacement parts are available from or through your local
Tektronix, inc. Field Office or representative.
Changes to Tektronix instruments are sometimes made to
accommodate improved components as they become available,
and to give you the benefit of the latest circuit improvements
developed In our engineering department. It is therefore
important, when ordering parts, to include the following
information in your order: Part number, instrument Туре or
number, serial number, and modification number if applicable
Ма part you have ordered has been replaced with a new or
improved part, your local Tektronix, Inc. Field Office or
representative will contact you concerning any change in part
number.
Change information, if any, is located at the rear of this
manual.
ITEM NAME
in the Parts List. an [tem Name is separated from the
description by a colon (:}. Because of space limitations, an Item
Name may sometimes appear as incomplete. For further Нет
Name identification, the U.S. Federal Cataloging Handbook H6-1
tan be utilized where possible.
FIGURE AND INDEX NUMBERS
tens in this section are referenced by figure and index
INDENTATION SYSTEM
This mechanical parts fist is indented to indicate item
relationships. Following is an example of the indentation system
used in the description column,
1223248 Name & Description
Assembly and/or Component
Attaching parts for Assembly and/or Component
“er END ATTACHING PARTS ****
Detail Part ot Assembly and/or Component
Attaching parts for Deta: Pari
vt END ATTACHING PARTS "***
Parts of Detail Part
Attaching parts for Parts of Detail Part
END ATTACHING PARTS «+
Attaching Parts always appear in the same indentation as
the item it mounts, whiie the detail Darts are indented to the right.
indented items are part of. and included with, the next higher
indentation,
Attaching parts must be purchased separately, uniess otherwise
specified.
numbers to the iilustrations.
ABBREVIATIONS
INCH ELCTAN ELECTACN
# NUMBER SIZE ELEC ELECTRICAL
ACTA ACTUATOR ELCTLT ELECTROLYTIC
ADPTR ADAPTER ELEM ELEMENT
ALIGN ALIGNMENT EPL ELECTRICAL PARTS LIST
AL AL UMINLIM ECPT EQUIPMENT
ASSEM ASSEMBLED EXT EXTERNAL
ASSY ASSEMBLY FIL FILLISTER HEAD
ATTEN ATTENUATOR FLEX FLEX!BLE
AWG AMERICAN WIRE GAGE Fit FLAT HEAD
BO BOARD FLTH FILTER
BRKT BRACKET FA FRAME or FRONT
BRS BRASS FSTNR FASTENER
вв? BRONZE FT FOOT
85HG BUSHING FXD FIXED
CAB CABINET GSKT GASKET
CAP CAPACITOR MDL HANDLE
CER CERAMIC HE X HEXAGON
CHAS CHASSIS MEX HO HEXAGONAL MEAD
CKT CIRCUIT HEX SOC HEXAGONAL SOCKET
COMP COMPOSITION MLCPS HELICAL COMPRESSION
CONN CONNECTOR HLEXT HELICAL EXTENSION
Cov COVER pty HIGH VOLTAGE
СВО COUPLING Fs INTEGRATED CHRACINT
CRT CATHODE RAY TUBE 1D INSIDE DIAMETER
DEG DEGREE ¡DENT IDENTIFICATION
we DRAWER IMPLR IMPELLER
IN INCH SE SINGLE END
INCAND INCANDESCENT SECT SECTION
INSUL INSULATOR SEMICONO SEMICONDUCTOR
INTL INTERNAL SHLD SHIELD
LPHEDA LAMPMOLOER SHLDA SHOULDERED
MACH MACHINE SKT SOCKET
MECH MECHANICAL Si SLIDE
MTG MOUNTING SLFLKG SELF-LOCKING
NER NIPPLE SLYG SLEEVING
NON WIRE NOT WIRE WOUND SFR SPRING
ово ORDER BY DESCRIPTION 50 SQUARE
Op OUTSIDE DIAMETER 557 STAINLESS STEEL
ve OVAL HEAD STL STEEL
PH BAZ PHOSPHOR BRONZE Sw SWITCH
PL PLAIN or PLATE T TUBE
PLSTC PLASTIC TERM TERMINAL
PN PART NUMBER THD THREAD
PNH PAN HEAD THK THICK
WH POWER THEN TENSION
ACPT RECEPTACLE TRG TAPPING
RES RESISTOR TRH TRUSS HEAD
EGO AIGID Y VOLTAGE
ALF RELIEF VAR VARIABLE
RTNR AETAINER We WITH
SCA SOCKET HEAD SHA WASHER
SCOPE OSCHLOSCOPE XE MR TRANSFORMER
SCH SCREW XSTR TRANSISTOR
6-1
Replaceable Parts - AFG 5101/5501
Mfr.
Code
16428
70803
71400
80008
53109
1K1373
CROSS INDEX - MFR. CODE NUMBER TO MANUFACTURER
Manufacturer Address
COOPER BELDEN ELECTRONIC VIRE AND CA Ni N ST
SUB CF COOPER INDUSTRIES INC
CUOPER BELDEN ELECTRONICS WIRE AND C 2000 S BATAVIA AVE
SUB OF COOPER INDUSTRIES INC
BUSSMANN 114 OLD STATE RD
DIV OF COOPER INDUSTRIES INC PO BOX 14460
TEKTRONIX INC 14150 SW KARL BRAUN DR
PO BOX 500
FELLER ASA ADOLF AG STOTZWEID
CH8810
PATELEC-CEM (ITALY) 10156 TORINO
City, State, Zip Cale
RICHMOND IN 47374
GENEVA IL 60134-3325
ST LOUIS MO 63178
BEAVERTON OR 87707-0001
HORGEN SWITZERLAND
VAICENTALLO 62/455 ITALY
Replaceable Parts - AFG 5101/5501
Code Mfr. Part No.
159-0107-00
159-0302-00
CH8481, FH8481
MOL 1
86511000
159-0032-00
TK1373 24236
Fig. %
Index — Tektronix Serial/Assembly Ho. Mfr
No. Part No. Effective Dscont Qty 12345 Name & Description
i- 159-0107-00 2 FUSE,CARTRIDGE:DIN,2A,250VAC,TIME LAG 80008
159-0302-00 1 FUSE,CARTRIDGE:1A SLOW,DIN METRIC 80009
161-0066-00 1 CABLE ASSY,PWR,:3,184WG,115V,88.0 L 16428
(AFG 5501 ONLY)
159-0019-00 1 FUSE,CARTRIDGE:3AG, 1A, 250V, SLOW BLOW 71400
(AFG 5501 STANDARD ONLY)
161-0066-09 1 CABLE ASSY, PAR, :3,0.75M4 SO, 220V,99.0 L $3109
(AFG 5501 OPTION Al EUROPEAN)
159-0032-00 1 FUSE, CARTRIDGE :3AG,0.54,250V, SLOW BLOW 80009
(AFG 5501 OPTION Al)
161-0066-10 1 CABLE ASSY,PWR,:3,0.75MM SO,240V,96.0 L
(AFG 5501 OPTION A2 UNITED KINGDOM)
159-0032-00 1 FUSE,CARTRIDGE:3AG,0. 5A, 250V, SLOW BLOW 80009
(AFG 5501 OPTION AZ)
161-0066-11 1 CABLE ASSY, PWR, :3,0.75MM,240V,96.0 L 53109
(AFG 5501 OPTION A3 AUSTRALIAN)
159-0032-00 1 FUSE,CARTRIDGE:3AG,0.5A,250V,SLOW BLOW 80009
(AFG 5501 OPTION A3)
161-0066-12 1 CABLE ASSY,PWR,:3,18 AWG,250V,99.0 L 70803
(AFG 5501 OPTION A4 NORTH AMERICAN)
159-0032-00 1 FUSE,CARTRIDGE:3AG,0.5A,250V, SLOW BLOW 80009
(AFG 5501 OPTION A4}
161-0154-00 1 CABLE ASSY,PWR,:3,0.75MM SQ,240V,6A,2.5M L $3108
{AFG 5501 OPTION AS SWITZERLAND)
159-0032-00 1 FUSE,CARTRIDGE:3AG,0.5A,250V, SLOW BLOW 80009
(AFG 5501 OPTION AS)
STANDARD ACCESSORIES
070-6759-00 1 MANUAL, TECH: INSTR, AFES101/5501 80009
070-6761 -00 1 MANUAL TECH:REF GUIDE, AF6S101/5501 80009
070-6930-00 1 MANUAL, TECH:AFGS101/5501 80009
159-0032-00
ORDER BY DESCR
159-0032-00
CH-77893
159-0032-00
86515000
159-0032-00
070-6759-00
070-6761-00
070-6930-00
6-3
MANUAL CHANGE INFORMATION
At Tektronix, we continually strive to keep up with latest electronic developments
by adding circuit and component improvements to our instruments as soon as they
are developed and tested.
Sometimes, due to printing and shipping requirements, we can't get these
changes immediately into printed manuals. Hence, your manual may contain new
change information on following pages.
A singie change may affect several sections, Since the change information sheets
are carried in the manual until all changes are permanently entered, some
duplication may occur. If no such change pages appear following this page, your
manual is correct as printed.
NOILYINHO ANT IDNVYHD
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement