The Anritsu product(s) listed on the title page is (are) warranted against defects in materi
als and workmanship for one year from the date of shipment.
Anritsu’s obligation covers repairing or replacing products which prove to be defective
during the warranty period. Buyers shall prepay transportation charges for equipment re
turned to Anritsu for warranty repairs. Obligation is limited to the original purchaser.
Anritsu is not liable for consequential damages.
LIMITATION OF WARRANTY
The foregoing warranty does not apply to Anritsu connectors that have failed due to normal wear. Also, the warranty does not apply to defects resulting from improper or inadequate maintenance by the Buyer, unauthorized modification or misuse, or operation
outside the environmental specifications of the product. No other warranty is expressed or
implied, and the remedies provided herein are the Buyer’s sole and exclusive remedies.
TRADEMARK ACKNOWLEDGEMENTS
MS-DOS, Windows, and Windows for Workgroups are registered trademarks
of the Microsoft Corporation.
Site Master and Cable Mate are trademarks of Anritsu Company.
NOTICE
Anritsu Company has prepared this manual for use by Anritsu Company personnel and
customers as a guide for the proper installation, operation, and maintenance of Anritsu
Company equipment and computer programs. The drawings, specifications, and informa
tion contained herein are the property of Anritsu Company, and any unauthorized use or
disclosure of these drawings, specifications, and information is prohibited; they shall not
be reproduced, copied, or used in whole or in part as the basis for manufacture or sale of
the equipment or software programs without the prior written consent of Anritsu Com
-
pany.
-
-
Index
How To Use This Manual ...................................1
general concepts for programming the Spectrum Analyzer,
go to the Programming Overview.
If you want to find out
how to perform a task,
go to the Functional Description.
If you want to find out
what the syntax of a control byte is,
go to the Control Byte Description.
Programming Manual Organization
Programming Overview
How to Use this Manual
This section contains general information about programming the Spectrum Analyzer. It is an introduction
and helps you get started.
Functional Descriptions
This section includes a complete list of tasks you can control via the serial port. These are high level descriptions. Each task refers you to the appropriate individual control byte for details.
Control Byte Descriptions
This section contains detailed explanations for each of the control bytes.
MS2711A PM1
Programming Overview
This programming manual is written exclusively for the Anritsu Hand-Held Spectrum Analyzer Model
MS2711Awith firmware Version 1.30 and above. For information on firmware upgrade, please contact your
local Anritsu service center.
General Description
The MS2711Amust first be set into “remote” mode for communication with a computer. Remote mode differs
from normal continuous sweep and single-sweep modes. During remote mode, the Spectrum Analyzer sus
pends normal operations and attends to the serial port. The front panel display indicates when the Spectrum
Analyzer is in remote mode.
Once in remote mode, you send a series of control bytes and associated data to the Spectrum Analyzer. These
control byte sequences command the unit to perform various functions and activities. The serial port sup
ports virtually all features accessible from the keypad. The only exception is the printer, which requires con
nection to the same 9 pin connector on the MS2711Arear panel.
-
-
-
To complete the communication session, send the control byte to exit remote mode. Spectrum Analyzer re
sumes normal operations. You may also exit the remote mode by using the <ESCAPE> key.
-
Cabling
Serial communications take place via the 9 pin connector on the back of the MS2711A. The Spectrum Analyzer is a DTE-type serial device and therefore requires a “null modem” cable for communication with a computer, which is also a DTE device. A serial “null modem” interface cable is provided with your MS2711A.
Serial Communication Parameters
The Spectrum Analyzer communicates at a baud rate of 9600. It uses no parity bits, 8 data bits, and 1 stop
bit (N-8-1). No hardware handshaking is used.
Communications Error Checking
Since there is no hardware handshaking, byte level error handling must be done by the controlling program.
The expected number of response bytes for each control byte (listed in the control byte description section of
this manual) works well for responses coming from the Spectrum Analyzer. For data streams going to the
MS2711A, the “watch dog timer” protects against interrupted transmissions by aborting a control byte se
quence if the inter-byte time limit is exceeded.
-
Parameter Validation
The MS2711Avalidates input parameters for each control byte sequence. If the input parameters are out of
range or invalid, the Spectrum Analyzer notifies the computer by sending Parameter Error Byte #224 (E0h).
The Spectrum Analyzer discards the received data and waits for the next control byte.
2MS2711A PM
Entering Remote Mode
Send the Enter Remote Mode Byte #69 (45h) to the Spectrum Analyzer to enter remote mode at the end of a
sweep. Send the Enter Remote Mode Immediately byte #70 (46h) to enter remote mode in the middle of a
sweep.
The MS2711A’s serial port buffer is one byte wide. No internal buffer exists, so waiting is essential. If the
Spectrum Analyzer is not in remote, sending a second byte overwrites the original byte commanding it to go
into remote. If you send control byte #69, you must wait until the end of the sweep. If you send control byte
#70, the unit will enter remote mode as it receives the byte. Note that this means the data stored for the cur
rent sweep may be incomplete.
Once you receive the response string from Spectrum Analyzer, you’re in remote mode.
Exiting Remote Mode
Send the Exit Remote control byte #255 (FFh) to the MS2711A. The Spectrum Analyzer sends a response
byte of 255 (FFh) then exits remote mode.
Lifetime of Changes to Spectrum Analyzer Operating Parameters
System parameters changed during remote mode remain changed for normal operation. They are not automatically written to the non-volatile EEPROM. Turning off power erases the changed settings.
-
If you want the changes saved, you must save the change to one of the setup memories. Use either the
run-time setup (location 0, which holds the power-on defaults) or one of the ten saved setups. See control
byte #18 (12h) for details. You can also use control byte #64 to specify that the runtime setup be automatically saved to setup location 0 when exiting remote mode.
Write Cycle Limitation of EEPROM
The EEPROM, used to store setups, has a guaranteed lifetime of at least 100,000 write cycles and an unlim
ited number of read cycles. The write cycle limitation is for a specific location. For example, you can store
setup #1 100,000 times and setup #2 100,000 times, etc.
It is for this reason we do not automatically store the changed system parameters to EEPROM. Instead, we
provide a means of changing the operating parameters independent of this limitation.
Be aware of the EEPROM write cycle limitation when programming the MS2711A. Keep the number of
write cycles to a minimum.
-
MS2711A PM3
Functional Description
INITIALIZE
Enter remote mode - see control byte #69 (45h)
The Spectrum Analyzer must be in remote mode for further control byte command sequences to be
accepted. Remember to wait until the Spectrum Analyzer responds before issuing further control
byte sequences.
Enter remote mode immediately - see control byte #70 (46h)
CONFIGURE SYSTEM
LCD backlight -see control byte #1 (01h)
LCD backlight helps in adverse lighting conditions.
Watch dog timer - see control byte #12 (0Ch)
Used to guard against interrupted data transfers to the Spectrum Analyzer.
Serial port echo - see control byte #10 (0Ah)
Use this to synchronize the Spectrum Analyzer sweep and computer requests for current trace data.
The Spectrum Analyzer goes into single sweep mode. It sends the sweep complete byte #192 (C0h)
after the completion of each sweep. You must send the sweep trigger byte #48(30h) for the Spectrum
Analyzer to perform another sweep. Retrieve the trace data using control byte #17 (11h).
Sweep mode select - see control byte #108 (6Ch)
Sweep mode is selectable as single sweep or continuous sweep mode.
Printer type - see control byte #30 (1Eh)
Printer type is selectable.
Automatically save runtime setup - see control byte #64 (40h)
Return sweep time -see control byte #114 (72h)
AM/FM demodulation - see control byte #112 (70h)
Set Sweep Averaging - see control byte #118 (76h)
CONFIGURE MEASUREMENT
Measurement mode select - see control byte #3 (03h)
Measurement mode is selectable as tracking generator mode, spectrum analyzer mode, or power
monitor mode.
4MS2711A PM
CONFIGURE POWER MONITOR
The power monitor is available as an option.
Get Power levels - see control byte #39 (27h)
Querying the Spectrum Analyzer gives the raw and corrected power levels plus information about
the configuration.
Power Monitor Units of measure - see control byte #40 (28h)
Relative Mode - see control byte #41 (29h)
Offset Mode - see control byte #42 (2Ah)
Zero Mode - see control byte #43 (2Bh)
CONFIGURE FREQUENCY
Start frequency - see control byte 99 (63h)
Stop frequency - see control byte #99 (63h)
Center frequency - see control byte #100 (64h)
Frequency span - see control byte #100 (64h)
CONFIGURE DISPLAY
Display mode - see control byte #3 (03h)
Selectable as spectrum analyzer or power monitor.
Ref level - see control byte #101 (65h)
dB/div - see control byte #101 (65h)
CONFIGURE MARKERS
Marker (on/off) - see control byte #102 (66h)
Marker Delta Status (on/off) - see control byte #102 (66h)
Marker value - see control byte #102 (66h)
Marker to Peak - see control byte #109 (6Dh)
Marker to Center - see control byte #110 (6Eh)
MS2711A PM5
CONFIGURE SINGLE LIMITS
Limit (on/off) - see control byte #103 (67h)
Limit beep (on/off) - see control byte #103 (67h)
Limit beep (if data above/below limit line) - see control byte #103 (67h)
Limit value - see control byte #103 (67h)
CONFIGURE MULTIPLE LIMITS
Limit (on/off) - see control byte #113 (71h)
Limit beep (on/off) - see control byte #113 (71h)
Limit value - see control byte #113 (71h)
CONFIGURE A/B TRACE
A/B trace select - see control byte #34 (22h)
Set up A and B trace definitions.
UTILITY
ASCII text strings, which are stored with each sweep, help identify the stored traces. Use these control bytes
to modify the strings before storing the trace.
Time set - see control byte #8 (08h)
Date set - see control byte #8 (08h)
Reference number set - see control byte #9 (09h)
Read Time - see control byte #7 (07h)
Read Date - see control byte #7 (07h)
ACTION
Trigger sweep - see control byte #48 (30h)
Both serial port echo and single sweep modes use this byte to trigger a Spectrum Analyzer sweep. If
the Spectrum Analyzer is not in one of those modes, this byte is ignored.
Save system setup - see control byte #18 (12h)
Recall system setup - see control byte #19 (13h)
6MS2711A PM
Save sweep - see control byte #16 (10h)
Query trace names - see control byte #24 (18h)
Query trace memory - see control byte #27 (1Bh)
Download sweep trace - see control byte #26 (1Ah)
Delete sweep trace - see control byte #25 (19h)
Write Antenna - see control byte #82 (52h)
Recall Antenna - see control byte #83 (53h)
DATA
Recall sweep - see control byte #17 (11h)
Use this control byte to obtain stored traces or the current measurement data from the Spectrum An
alyzer. All traces and modes use the same trace data format.
MEASUREMENT
Measure OCC BW % of Power - see control byte #96 (60h)
Measure OCC BW dB Down - see control byte #99 (63h)
Set Max Hold - see control byte #105 (69h)
Set Resolution BW Frequency - see control byte #106 (6Ah)
Set Video BW Frequency - see control byte #107 (6Bh)
Set Attenuation - see control byte #111 (6Fh)
Set field strength measurement - see control byte #84 (54h)
Set channel power - see control byte #85 (55h)
Read channel power - see control byte #86 (56h)
-
Set adjacent channel power - see control byte #87 (57h)
Read adjacent channel power - control byte #88 (58h)
MS2711A PM7
STATUS
Query system status - see control byte #20 (14h)
The system status contains virtually all information about the current Spectrum Analyzer system
state. It is a powerful and complete “snapshot” of the system.
Some control bytes affect multiple system parameters. Use the response from this control byte for
preserving any of the system parameters you wish to remain unchanged.
Self-test Trigger - see control byte #21 (15h)
Upon receiving this control byte the Spectrum Analyzer runs self-test. After completion of the
self-test, the Spectrum Analyzer sends the results via the serial port.
Battery status - see control byte #50 (32h)
Returns the smart battery status.
CLOSE
Exit remote mode - see control byte #255 (FFh)
Ends communication with the Spectrum Analyzer. “Exiting remote mode” returns the Spectrum Analyzer to normal operation.
Setup systemSets system status flags and switchesYes
Select measurement modeSets measurement modeYes
Read time/dateReads time and date from the real time clock––
Set time/dateSets the real time clock time and dateYes
Set reference numberSets reference number for a sweep traceYes
Serial port echo On/OffAllows synchronization of the Spectrum Analyzer and request from
computer for sweep trace
Watch-dog timer On/OffEnable or disable the watch-dog timer—Store sweep traceSave current trace data to EEPROMYes
Recall sweep traceQueries the MS2711A for sweep trace dataYes
Save system setupSave current system setup parameters to EEPROMYes
Recall system setupRecall system setup parameters from EEPROMYes
Query system statusQueries the MS2711A for current system settings—Trigger self-testTriggers a self-test—Query trace namesReturns list of all saved traces—-
WD
Timer?
Yes
25 (19h)
26(1Ah)
27(1Bh)
30 (1Eh)
34(22h)
39 (27h)
40 (28h)
41 (29h)
42 (2Ah)
43 (2Bh)
48 (30h)
50 (32h)
64 (40h)
69 (45h)
Delete sweep traceDelete single or all stored sweep tracesYes
Download sweep traceDownloads a sweep trace to the MS2711AYes
Query sweep memoryQueries percentage of memory available for trace storage––
Select printer typeSelect printer typeYes
Set A/B traceSet up A and B trace definitionsYes
Query Power LevelReturn Power Level at Detector Port—Set Power Monitor UnitSet Power Monitor displaying unitYes
Set Relative ModeEnable or disable Power Monitor Relative ModeYes
Set Offset ModeEnable or disable Power Monitor Offset ModeYes
Set Zero ModeEnable or disable Power Monitor Zeroing ModeYes
Trigger sweepStarts the next sweep—Check Battery StatusReturn smart battery status—Auto Save Runtime SetupAutomatically save the runtime setup when exiting remote mode—Enter remote modeEnters remote mode at the end of the sweep and returns model number
and firmware version
—-
MS2711A PM9
Loading...
+ 34 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.