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 nor
mal wear. Also, the warranty does not apply to defects resulting from improper or inade
-
quate 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
Spectrum Master is a trademark 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 information 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 Company.
-
UPDATES
Updates to this manual, if any, may be downloaded from the Anritsu internet site at:
www.us.anritsu.com.
October 200410580-00098
Copyright ã 2004 Anritsu Co.Revision: C
NOTE: This programming manual is written exclusively for the Anritsu Spectrum Master MS2711D. For
information on firmware upgrades, contact your local Anritsu Service Center. Commands listed in this
manual are not all backward-compatible with earlier Anritsu models.
General Description
The Spectrum Master must first be set into “remote” mode for communication with a computer. Remote mode differs from
normal repetitive sweep and single-sweep modes. During remote mode, the Spectrum Master suspends normal operations and
attends to the serial port. The front panel display indicates when the Spectrum Master is in remote mode.
Once in remote mode, a series of control bytes and associated data are sent to the Spectrum Master to perform various func
tions and activities. The serial port supports virtually all features accessible from the keypad with the exception of the
printer. The printer requires connection to the same 9-pin connector on the Spectrum Master rear panel used for remote com
munication.
To complete the communication session, send the control byte to exit remote mode and the Spectrum Master will resume nor
mal operations. You may also exit the remote mode by pressing the ESCAPE/CLEAR key on the Spectrum Master front
panel.
-
Interface Cable Installation
The Spectrum Master is a DTE-type serial device. Communication between the Spectrum Master and a PC is accomplished
over a null modem serial cable provided with the Spectrum Master (Anritsu part number 800-441). Connect the cable to the
Serial Interface connector on the Spectrum Master test connector panel and to the appropriate COM port connector on the
PC.
Serial Communication Parameters
The Spectrum Master begins communication at 9600 bps when first powered on. It uses no parity bits, 8 data bits, and 1 stop
bit (N-8-1). No hardware handshaking is used. The Set Baud Rate Control Byte #197 (C5h) serial command can be used to
change the baud rate to 19,200, 38,400, 56,000 or 115,200. An invalid setting returns the rate to 9600.
Communications Error Checking
Since there is no hardware handshaking, byte level error handling must be done by the controlling program. Use the expected
number of response bytes (listed in the control byte description section of this manual) when waiting for feedback from the
Spectrum Master. For data streams going to the Spectrum Master, the “watch dog timer” protects against interrupted trans
missions by aborting a control byte sequence if the inter-byte time limit is exceeded.
-
-
-
Parameter Validation
The Spectrum Master validates input parameters for each control byte sequence. If the input parameters are out of range or
invalid, the Spectrum Master notifies the computer by sending Parameter Error Byte #224 (E0h). The Spectrum Master dis
cards the received data and waits for the next control byte.
-
Entering Remote Mode
Send the Enter Remote Mode Byte #69 (45h) to the Spectrum Master to enter remote mode at the end of the current sweep.
Send the Enter Remote Mode Immediately byte #70 (46h) to enter remote mode in the middle of a sweep.
The Spectrum Master serial port buffer is one byte wide. No internal buffer exists, so waiting for the response from the unit is
essential. If the Spectrum Master is not in remote mode, sending a second byte overwrites the original byte commanding it to
enter remote mode. If control byte #69 is sent, the Spectrum Master will enter remote mode at the end of the current sweep. If
control byte #70 is sent, the unit will enter remote mode as soon as it receives the byte. This means that data stored for the
Spectrum Master PM1
Page 7
current sweep may be incomplete. Once a response string is received from the Spectrum Master, the unit is ready to accept
additional control bytes.
Exiting Remote Mode
To exit remote mode, send the Exit Remote Control byte #255 (FFh) to the Spectrum Master. The Spectrum Master sends a
response byte of 255 (FFh) then exits remote mode. Remote mode can also be exited by pressing the ESCAPE/CLEAR
front panel key.
Remote Mode Changes to Spectrum Master Operating Parameters
System parameters changed during remote mode remain changed for normal operation after the unit exits remote mode.
However, the changes are not automatically written to the non-volatile EEPROM. Turning off the Spectrum Master power
erases the changed settings.
To retain the changes, the setup must be saved to one of the setup memory locations. Use either the run-time setup location 0,
(which holds the power-on defaults) or one of the nine other setup locations. Control byte #64 (40h) sets the auto-save flag
which commands the Spectrum Master to automatically save the changes to the run-time setup location upon exiting remote
mode. See the Spectrum Master User’s Guide or information in this manual on control byte #18 (12h) for further details.
Write Cycle Limitation of EEPROM
The EEPROM, used to store calibrations, setups and traces has a guaranteed lifetime of at least 100,000 write cycles and an
unlimited number of read cycles. The write cycle limitation is for a specific location. For example, setup #1 can be stored
100,000 times and setup #2 can be stored 100,000 times, etc. Because of this, the Spectrum Master does not automatically
store the changed system parameters to the EEPROM. Be aware of the EEPROM write cycle limitation when programming
the Spectrum Master and keep the number of write cycles to a minimum.
Documentation Conventions
Throughout this manual, the following conventions will be observed:
Numeric Representation
Hexadecimal numbers are represented with the suffix h. For example, the decimal number 255 is represented in hexadecimal
as FFh.
Binary numbers are represented with the suffix b. For example, the decimal number 2 is represented in binary as 10b.
Decimal numbers are represented with the prefix # when referring to a control byte (command byte) and without a prefix or
suffix in all other cases.
Bit Positions
When enumerating bits in a byte, bit 0 will always be the least significant bit (LSB).
Mode References
The term “SPA” in reference to a command denotes Spectrum Analyzer mode. All other modes are referenced individually.
2Spectrum Master PM
Page 8
Control Byte Summary
Control
Byte #
1 (01h)Setup SystemSets system status flags and switchesYes
3 (03h)Select Measurement ModeSets current Spectrum Master measurement modeYes
7 (07h)Read Time/DateReads the current time and date from the real time clock—-
8 (08h)Set Time/DateSets time and date of the Spectrum MasterYes
9 (09h)Set Reference NumberSets reference number (trace name) for a sweep traceYes
10 (0Ah)Serial Port Echo On/Off
12 (0Ch)Watch-dog Timer On/OffEnables or disables the watch-dog timer—-
16 (10h)Store Sweep TraceSaves current trace data to EEPROM—-
17 (11h)Recall Sweep TraceSpectrum Master sends the sweep data associated with a trace (obsolete)Yes
18 (12h)Save System SetupSaves system setup parameters to EEPROMYes
19 (13h)Recall System SetupRecalls system setup parameters from EEPROMYes
20 (14h)Query System StatusGets the current system settings (obsolete)—-
21 (15h)Trigger Self-TestTriggers a self test—-
22 (16h)Read Fail CountersReturns the values of the lock-fail counters—-
23 (17h)Clear Fail CountersResets the Lock Fail counters—-
24 (18h)Query Trace NamesReturns list of all saved traces—-
25 (19h)Delete Sweep TraceDeletes single or all stored sweep tracesYes
26 (1Ah)Upload SPA Sweep TraceUploads a spectrum analyzer sweep trace to Spectrum Master (obsolete)Yes
27 (1Bh)Query Sweep Memory
29 (1Dh)Query System StatusQueries the Spectrum Master for current system settingsYes
Turn OFF Transmission Mode Calibration (Option 21 only)—-
Watchdog
—-
—-
—-
Timer
NOTES: Power Meter commands are available with Option 29 only. External frequency converter module commands are availble with Option 6 only. Transmission Mode commands are available with Option
21 only.
6Spectrum Master PM
Page 12
Control Byte Descriptions
Setup System – Control Byte #1 (01h)
Description: Sets system status flags and switches. The current value of the flags can be obtained by executing command
#29, Query System Setup, and parsing the values from the appropriate bytes. The Spectrum Master acts on the entire byte, so
the state of each of the bits must be defined every time the command is issued. See control byte #29 (1Dh) response bytes
275 and 276 for the current Spectrum Master configuration.
Bytes to Follow: 1 byte
1) Status Byte 1
bit 0: RBW Coupling (to span) (1b = auto 0b = manual)
bit 1: VBW Coupling (to RBW) (1b = auto 0b = manual)
bit 2: LCD Back Light On/Off (1b = On, 0b = Off)
bit 3-4 = Logarithmic Amplitude units (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV)
bits 5-6 = Detection algorithm (00b = positive peak 01b = RMS averaging 10b = negative peak
11b = sample detection)
bit 7 = Attenuation Coupling (to ref level) (1b = auto 0b = manual)
Description: Reads the current time and date from the real time clock.
This Time/Date is stamped into all stored sweeps (for users' reference). The real time clock time and date can be set using
control byte #8.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 7 bytes
1)Hour
2)Minute
3)Month
4)Day
Spectrum Master PM7
Page 13
5)Year (higher byte)
6)Year (lower byte)
7)Daylight Saving (01h=On, 00h=Off)
Set Time/Date – Control Byte #8 (08h)
Description: Sets the current time and date.
This Time/Date is stamped into all stored sweeps (for users’ reference).
The Spectrum Master stores bytes as ASCII text. Recommended time form is “hh:mm:ss” (hour:minute:sec). Recommended
date format is “mm/dd/yyyy” (month/day/year).
The current time setting can be found by using control byte #33 to recall trace 0 and examining response bytes 31-38.
The current date setting can be found by using control byte #33 to recall trace 0 and examining response bytes 21-30.
Description: Stores a Reference Number with the sweep trace.
The reference number is also known as the trace name. It is any combination of 16 letters, numbers and the characters “-“,
“,”, “.” and “+”. This command stores a trace name with the sweep trace.
The current reference number is found by recalling trace 0 and examining response bytes 39 to 54.
Description: Sets the serial port echo mode On/Off.
Serial Port Echo Mode uses the single sweep mode (see control byte #108 (6Ch)). At the end of each sweep cycle, the
Spectrum Master sends a Sweep Complete Byte #192 (C0h) to the serial port.
This mode activates once the Spectrum Master exits from the remote mode. Serial Port Echo status can’t be saved to or
recalled from saved setups. Cycling power resets the Serial port echo status to Off.
The Serial Port Echo Mode allows run-time handshaking between the Spectrum Master and computer by doing the following:
8Spectrum Master PM
Page 14
1) Enter remote mode. Set Serial Port Echo Mode On. Exit remote mode.
2) The Spectrum Master sweeps once and then sends the Sweep Complete Byte.
3) After you receive it. Enter remote mode. Recall sweep 0 (last sweep trace in RAM).
4) Exit remote mode. Send Sweep Triggering Byte #48 (30h) and wait for the next sweep cycle.
5) Repeat steps 2-4
Bytes to Follow: 1 byte
1) Serial Port Echo Status
00h = Off
01h=On
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Invalid serial port echo status
238 (EEh) Time-out Error
Watch-Dog Timer On/Off – Control Byte #12 (0Ch)
Description: Enables or disables the Watch-dog timer. Default is Disabled.
The Spectrum Master incorporates a watch-dog timer for higher reliability in serial communication. In selected control bytes
(see Control Byte Summary), the Spectrum Master checks for the time interval between each byte received from the
computer. If the time interval exceeds the set time limit (0.5 sec), the Spectrum Master notifies the computer by sending
Time-out Byte #238 (EEh). The Spectrum Master discards the data it just received and then waits for the next control byte
sequence.
Description: Saves current trace to the next available memory location. Trace name can be set using control byte #9, “Set
Reference Number” before executing this command.
224 (E0h) Out of memory (Memory full)
238 (EEh) Time-out Error
Spectrum Master PM9
Page 15
Recall Sweep Trace – Control Byte #17 (11h)
NOTE: This command exists for backward compatibility with MS2711B models. To access the new fea
tures, use Control Byte #33 (21h). This command cannot be used with a frequency converter module
(Option 6 required) attached.
Description: Queries the Spectrum Master for sweep trace data.
Note: Before you can recall a sweep stored in non-volatile memory (trace numbers 1-200) you must build a trace table in the
Spectrum Master’s RAM. Use Control Byte #24 to build the trace table. Since the trace table exists in RAM, Control Byte
#24 must be executed every time the Spectrum Master’s power is cycled.
Bytes to Follow: 1 byte
0 = Last sweep trace before entering remote mode (sweep trace in RAM)
1- 200 = Specific saved sweep number (stored sweeps in Flash memory)
Spectrum Master Returns: 1950 bytes
1-2) # of following bytes (1948 for a valid sweep)
3-4) Model ID (16h for the MS2711D)
5-11) Model Number (7 bytes in ASCII)
12-15) Software Version (4 bytes in ASCII)
16) Measurement Mode
1
17-20) Time/Date (long integer format)
21-30) Date in String Format (mm/dd/yyyy)
31-38) Time in String Format (hh:mm:ss)
39-54) Reference Number/Trace Name (16 bytes in ASCII)
55-56) # data points (400)
57) Start Frequency (in Hz) (highest byte)
58) Start Frequency (in Hz)
59) Start Frequency (in Hz)
60) Start Frequency (in Hz) (lowest byte)
61) Stop Frequency (in Hz) (highest byte)
62) Stop Frequency (in Hz)
63) Stop Frequency (in Hz)
64) Stop Frequency (in Hz) (lowest byte)
65) Center Frequency (in Hz) (highest byte)
66) Center Frequency (in Hz)
67) Center Frequency (in Hz)
68) Center Frequency (in Hz) (lowest byte)
69) Frequency Span (in Hz) (highest byte)
70) Frequency Span (in Hz)
71) Frequency Span (in Hz)
72) Frequency Span (in Hz) (lowest byte)
73) Minimum Frequency Step Size (in Hz) (highest byte)
74) Minimum Frequency Step Size (in Hz)
75) Minimum Frequency Step Size (in Hz)
76) Minimum Frequency Step Size (in Hz) (lowest byte)
77) Ref Level
2
(highest byte)
78) Ref Level
79) Ref Level
1See Control Byte #3 for available measurement modes.
2“value” sent as (value in dBm * 1,000) + 270,000
10Spectrum Master PM
Page 16
80) Ref Level (lowest byte)
81) Scale per div
3
(highest byte)
82) Scale per div
83) Scale per div
84) Scale per div (lowest byte)
85) Frequency Marker 1
4
(higher byte)
86) Frequency Marker 1 (lower byte)
87) Frequency Marker 2 (higher byte)
88) Frequency Marker 2 (lower byte)
89) Frequency Marker 3 (higher byte)
90) Frequency Marker 3 (lower byte)
91) Frequency Marker 4 (higher byte)
92) Frequency Marker 4 (lower byte)
93) Frequency Marker 5 (higher byte)
94) Frequency Marker 5 (lower byte)
95) Frequency Marker 6 (higher byte)
96) Frequency Marker 6 (lower byte)
97) Single Limit
5
(highest byte)
98) Single Limit
99) Single Limit
100) Single Limit (lowest byte)
101) Multiple Upper Limit 1 Start X (Frequency in Hz) (highest byte)
102) Multiple Upper Limit 1 Start X (Frequency in Hz)
103) Multiple Upper Limit 1 Start X (Frequency in Hz)
104) Multiple Upper Limit 1 Start X (Frequency in Hz) (lowest byte)
109) Multiple Upper Limit 1 End X (Frequency in Hz) (highest byte)
110) Multiple Upper Limit 1 End X (Frequency in Hz)
111) Multiple Upper Limit 1 End X (Frequency in Hz)
112) Multiple Upper Limit 1 End X (Frequency in Hz) (lowest byte)
113) Multiple Upper Limit 1 End Y (Power Level
7
) (highest byte)
114) Multiple Upper Limit 1 End Y (Power Level)
115) Multiple Upper Limit 1 End Y (Power Level)
116) Multiple Upper Limit 1 End Y (Power Level) (lowest byte)
117-260) Multiple Upper Limits 2-5, Multiple Lower Limits 1-5 (see bytes 101-116 for format)
261) RBW Setting (Frequency in Hz) (highest byte)
262) RBW Setting (Frequency in Hz)
263) RBW Setting (Frequency in Hz)
264) RBW Setting (Frequency in Hz) (lowest byte)
265) VBW Setting (Frequency in Hz) (highest byte)
266) VBW Setting (Frequency in Hz)
3“value” sent as (value * 1,000)
4Display/Data Point
To convert from “point” to frequency:
((span / (#data points-1)) * point) + start frequency
where span is stored in bytes 69-72 and #data points is stored in bytes 55-56
5“value” sent as (value in dBm * 1,000) + 270,000
6“value” sent as (value in dBm * 1,000) + 270,000
7“value” sent as (value in dBm * 1,000) + 270,000
Spectrum Master PM11
Page 17
267) VBW Setting (Frequency in Hz)
268) VBW Setting (Frequency in Hz) (lowest byte)
269) OCC BW Method (00h = % of power, 01h = dB down)
270) OCC BW % Value (0-99) (highest byte)
271) OCC BW % Value (0-99)
272) OCC BW % Value (0-99)
273) OCC BW % Value (0-99) (lowest byte)
274) OCC BW dBc (0–120) (highest byte)
275) OCC BW dBc (0–120)
276) OCC BW dBc (0–120)
277) OCC BW dBc (0–120) (lowest byte)
278) Attentuation
8
(highest byte)
279) Attentuation
280) Attentuation
281) Attentuation (lowest byte)
282-297) Antenna Name (16 bytes in ASCII)
00h=50W
0Ah=75W, adapter 12N50-75B
0Ch=75W, other adapter offset
11 “value” sent as (value * 1,000)
12Spectrum Master PM
Page 18
bits 1-2 : Detection alg (00b = pos. peak 10b = neg. peak 11b = RMS averaging)
bits 3-4 : Logarithmic Amplitude Units (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV)
bit 5 : Channel Power On/Off
bit 6 : Adjacent Channel Power On/Off
bit 7 : Occupied Bandwidth On/Off
318) Status Byte 4: (0b = Off/LOWER limit, 1b = On/UPPER limit)
(LSB)bit 0 : Limit Type (0b = Single, 1b = Multiple)
bit 1 : Not Used
bit 2 : Single Limit On/Off
bit 3 : Single Limit Level UPPER/ LOWER
bit 4 : Multiple Limit Upper Segment 1 Status On/Off
bit 5 : Multiple Limit Upper Segment 1 Limit Level UPPER / LOWER
bit 6 : Multiple Limit Upper Segment 2 Status On/Off
bit 7 : Multiple Limit Upper Segment 2 Limit Level UPPER / LOWER
bit 1 : Multiple Limit Lower Segment 2 Limit Level UPPER / LOWER
bit 2 : Multiple Limit Lower Segment 3 Status On/Off
bit 3 : Multiple Limit Lower Segment 3 Limit Level UPPER / LOWER
bit 4 : Multiple Limit Lower Segment 4 Status On/Off
bit 5 : Multiple Limit Lower Segment 4 Limit Level UPPER / LOWER
bit 6 : Multiple Limit Lower Segment 5 Status On/Off
bit 7 : Multiple Limit Lower Segment 5 Limit Level UPPER / LOWER
321) Status Byte 7
(LSB)bits 0-6 : Number of Sweeps to Average (1-25, 1 implies averaging Off)
bit 7 : Reserved
322) Status Byte 8: (0b = Off, 1b = On
(LSB)bit 0 : Preamp On/Off
bit 1 : Normalization On/Off
bit 2 : Bias Tee On/Off
bit 3 : Scale Type (0b = Log, 1b = Linear)
bit 4 : Linear Units (0b = Watts, 1b = Volts)
bits 5-7 : Date Format (000b = MMDDYYYY, 001b = DDMMYYYY, 010b = YYYYMMDD)
323) N/A
324) N/A
325-350) Not Used
351-1950) Sweep Data (400 points * 4 bytes/point = 1600 bytes)
1-2) Number of following bytes (9 bytes for invalid sweep recall)
3-4) Model # (unsigned integer, 16h for Spectrum Master MS2711D)
5-11) Extended Model # (7 bytes in ASCII)
Description: Saves current system setup parameters to a specific setup store location.
The Spectrum Master saves all parameters described in Query System Status - control byte #29 (1Dh), (except Serial Port
Echo Status) to the specified store location. Store location 0 is the run-time setup of the Spectrum Master. It holds the
power-on defaults of the Spectrum Master.
Bytes to Follow: 1 byte
1)Location to save system setup parameters:
0 – 10 for Spectrum Analyzer and Transmission Measurement (Option 21) Modes
0 – 5 for Power Meter Mode (Option 29 only)
Description: Recalls system setup parameters from a specific store location. Storage locations depend on the measurement
mode of the current setup.
The Spectrum Master recalls all parameters described in Query System Status - control byte #29 (1Dh), (except Serial Port
Echo Status) from the specified store location. The recalled setup does not automatically become the power-on runtime setup
when exiting remote.
You may want to save the recalled setup as the run-time setup by saving it to setup location 0 (which holds the power-on
runtime setup). See control byte #18 (12h) for details.
Bytes to Follow: 1 byte
1) Location from which to recall system setup parameters:
0 = Run time setup for all measurement modes
1 - 10 = Saved setups for Spectrum Analyzer and Transmission Measurement (Option 21) Modes
1 - 5 = Saved setups for Power Meter mode (Option 29 only)
254 = Default setup, current mode
255 = Default setup, all modes
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Invalid store location or no saved setup
227 (E3h) Frequency Mismatch Error
238 (EEh) Time-out Error
14Spectrum Master PM
Page 20
Query System Status – Control Byte #20 (14h)
NOTE: This command exists for backward compatibility with the MS2711B. To access the new features
use Control Byte #29 (1Dh). This command cannot be used with a frequency converter module (Option
6 required) attached.
Description: Queries the Spectrum Master for current system settings.
The current state of the Spectrum Master represents the state after the last successful remote control operation. For example,
change the start frequency to another valid frequency while in remote mode, then execute control byte #29. The new start
frequency will be returned in bytes 4-7, even though no sweep has been performed with that frequency.
Bytes to Follow: 0 bytes
Spectrum Master Returns:310 bytes
1)Measurement Mode
2-3) Number of Data Points (400)
4)Start Frequency (in Hz) (highest byte)
5)Start Frequency (in Hz)
6)Start Frequency (in Hz)
7)Start Frequency (in Hz) (lowest byte)
8)Stop Frequency (in Hz) (highest byte)
9)Stop Frequency (in Hz)
10) Stop Frequency (in Hz)
11) Stop Frequency (in Hz) (lowest byte)
12) Center Frequency (in Hz) (highest byte)
13) Center Frequency (in Hz)
14) Center Frequency (in Hz)
15) Center Frequency (in Hz) (lowest byte)
16) Frequency Span (in Hz) (highest byte)
17) Frequency Span (in Hz)
18) Frequency Span (in Hz)
19) Frequency Span (in Hz) (lowest byte)
20) Minimum Frequency Step Size (in Hz) (highest byte)
21) Minimum Frequency Step Size (in Hz)
22) Minimum Frequency Step Size (in Hz)
23) Minimum Frequency Step Size (in Hz) (lowest byte)
24) Ref Level
13
(highest byte)
25) Ref Level
26) Ref Level
27) Ref Level (lowest byte)
28) Scale per div
29) Scale per div
30) Scale per div
31) Scale per div (lowest byte)
32) Marker 1
15
(higher byte)
33) Marker 1 (lower byte)
12
14
(highest byte)
12 See Control Byte #3 for available measurement modes.
13 “value” sent as (value in dBm * 1,000) + 270,000
14 “value” sent as (value * 1,000)
15 Display/Data Point. To convert from “point” to frequency: (span / (#data points-1)) * point + start frequency
where span is stored in bytes 16-19 and #data points is stored in bytes 2-3.
Spectrum Master PM15
Page 21
34) Marker 2 (higher byte)
35) Marker 2 (lower byte)
36) Marker 3 (higher byte)
37) Marker 3 (lower byte)
38) Marker 4 (higher byte)
39) Marker 4 (lower byte)
40) Marker 5 (higher byte)
41) Marker 5 (lower byte)
42) Marker 6 (higher byte)
43) Marker 6 (lower byte)
44) Spectrum Analyzer Single Limit
16
(highest byte)
45) Spectrum Analyzer Single Limit
46) Spectrum Analyzer Single Limit
47) Spectrum Analyzer Single Limit (lowest byte)
48) Multiple Upper Limit 1 Start X (Frequency in Hz) (highest byte)
49) Multiple Upper Limit 1 Start X (Frequency in Hz)
50) Multiple Upper Limit 1 Start X (Frequency in Hz)
51) Multiple Upper Limit 1 Start X (Frequency in Hz) (lowest byte)
bit 1 : Preamp On/Off
bit 2 : N/A
bit 3 : Dynamic Attenuation On/Off
bit 4 : Normalization On/Off
bit 5 : Bias Tee On/Off
bit 6 : Scale Type (0b = Log, 1b = Linear)
bit 7 : Linear Units (0b = Watts, 1b = Volts)
277) N/A
278) N/A
279) N/A
280) N/A
281) N/A
282) N/A
283) N/A
284) N/A
285) N/A
286) N/A
10
10
18Spectrum Master PM
Page 24
287) N/A
288) N/A
289) N/A
290) RTC Battery Voltage
291) RTC Battery Voltage (lower byte)
292) Motherboard PCB ID
24
(higher byte)
25
(higher byte)
293) Motherboard PCB ID (lower byte)
294) N/A
295) N/A
296-310) Not Used
Trigger Self-Test – Control Byte #21 (15h)
Description: Triggers a self test on the Spectrum Master.
Battery Voltage in 1/10th of a Volt (e.g., 124 = 12.4 Volts)
Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) or degree Fahrenheit (e.g., 934 = 93.4°F), depending on the
current measurement unit (Metric or English) selected.
Read Fail Counter – Control Byte #22 (16h)
Description: Reads the Fail Counter. Values are integer numbers of failures.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 6 bytes
1)Value of SA Lock Fail Counter (higher byte)
2)Value of SA Lock Fail Counter (lower byte)
3)Reserved
4)Reserved
24 “value” sent as (value in Volts * 10)
25 “value” sent as (value in Volts * 1000)
Spectrum Master PM19
Page 25
5)Value of SA Fatal Error Counter (higher byte)
6)Value of SA Fatal Error Counter (lower byte)
Clear Fail Counters - Control Byte #23 (17h)
Description: Resets the Lock Fail Counter and Integrator Fail Counter and spectrum analyzer Fatal Error Counter.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
Query Trace Names – Control Byte #24 (18h)
Description: Returns a list of all saved traces.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 3 + (41 x number of saved traces) bytes
1-2) # of saved traces
For each trace:
1-2)Trace Index
3)Measurement Mode (refer to Control Byte #3)
4-21)Date/Time in string format (“MM/DD/YYYYHH:MM:SS”)
22-25)Date/Time as Unsigned Long Integer (Seconds Since January 1, 1970)
26-41)Trace Name (16 bytes)
255 (FFh) Operation Complete Byte
Delete Sweep Trace – Control Byte #25 (19h)
Description: Delete single trace or all stored sweep traces in Spectrum Master.
Bytes to Follow: 1 byte
1)0 - Delete all traces
X - Delete single trace #X
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
Upload SPA Sweep Trace – Control Byte #26 (1Ah)
NOTE: This command exists for backward compatibility with the MS2711B. To access the new features
use Control Byte #36 (24h). This command cannot be used with a frequency converter module (Option 6
required) attached.
Description: Uploads a spectrum analyzer sweep trace to Spectrum Master.
For data formats, refer to the footnotes listed beside the return bytes.
Bytes to Follow: 1930 bytes
20Spectrum Master PM
Page 26
1-2) # of following bytes (1928)
3)Measurement Mode
26
4-7) Time/Date (long integer format)
8-17)Date in String Format (mm/dd/yyyy)
18-25)Time in String Format (hh:mm:ss)
26-41)Reference Number/Trace Name (16 bytes in ASCII)
42-43)# of data points (400)
44) Start Frequency (in Hz) (highest byte)
45) Start Frequency (in Hz)
46) Start Frequency (in Hz)
47) Start Frequency (in Hz) (lowest byte)
48) Stop Frequency (in Hz) (highest byte)
49) Stop Frequency (in Hz)
50) Stop Frequency (in Hz)
51) Stop Frequency (in Hz) (lowest byte)
52) Center Frequency (in Hz) (highest byte)
53) Center Frequency (in Hz)
54) Center Frequency (in Hz)
55) Center Frequency (in Hz) (lowest byte)
56) Frequency Span (in Hz) (highest byte)
57) Frequency Span (in Hz)
58) Frequency Span (in Hz)
59) Frequency Span (in Hz) (lowest byte)
60) Ref Level
27
(highest byte)
61) Ref Level
62) Ref Level
63) Ref Level (lowest byte)
64) Scale per div
28
(highest byte)
65) Scale per div
66) Scale per div
67) Scale per div (lowest byte)
68) Marker 1
29
(higher byte)
69) Marker 1 (lower byte)
70) Marker 2 (higher byte)
71) Marker 2 (lower byte)
72) Marker 3 (higher byte)
73) Marker 3 (lower byte)
74) Marker 4 (higher byte)
75) Marker 4 (lower byte)
76) Marker 5 (higher byte)
77) Marker 5 (lower byte)
78) Marker 6 (higher byte)
79) Marker 6 (lower byte)
80) Single Limit
30
(highest byte)
81) Single Limit
26 See Control Byte #3 for available measurement modes.
27 “value” sent as (value in dBm * 1,000) +270,000
28 “value” sent as (value * 1,000)
29 Display/Data Point
To convert from “point” to frequency: (span / #data points) * point + start frequency where span is stored in bytes 69-72
and #data points is stored in bytes 55-56
30 “value” sent as (value in dBm * 1,000) +270,000
Spectrum Master PM21
Page 27
82) Single Limit
83) Single Limit (lowest byte)
84) Multiple Upper Limit 1 Start X (Frequency in Hz) (highest byte)
85) Multiple Upper Limit 1 Start X (Frequency in Hz)
86) Multiple Upper Limit 1 Start X (Frequency in Hz)
87) Multiple Upper Limit 1 Start X (Frequency in Hz) (lowest byte)
308-330) Not Used
331-1930) Sweep Data (400 points * 4 bytes/point = 1600 bytes)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
bit 7 : Reserved
bit 1 : Normalization On/Off
bit 2 : Bias Tee On/Off
bit 3 : Scale Type (0b = Linear, 1b = Log)
bit 4 : Linear Units (0b = Watts, 1b = Volts)
bits 5-7 : Date Format (000b = MMDDYYYY, 001b = DDMMYYYY, 010b = YYYYMMDD
4 bytes for each data point
224 (E0h) Parameter Error: Not enough bytes transferred
225 (E1h) Memory Error: Not enough memory to store data
238 (EEh) Time-out Error
38
1. dBm
2. dBm
3. dBm
4. dBm (lowest byte) Sweep Data
(highest byte)
Query Sweep Memory – Control Byte #27 (1Bh)
Description: Queries Spectrum Master for percentage of memory that is available for trace storage.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
1)% of memory currently available (0 to 100)
Query System Status – Control Byte #29 (1Dh)
NOTE: This command is new to the MS2711D. Use it instead of Control Byte #20 to access new fea
tures.
Description: Queries the Spectrum Master for current system settings. Unlike Control Byte #20, this command returns only
data that is valid for the active mode, plus system settings, such as the defined printer.
The current state of the Spectrum Master represents the state after the last successful remote control operation. For example,
change the start frequency to another valid frequency while in remote mode, then execute control byte #29. The new start
frequency will be returned in the defined bytes, even though no sweep has been performed with that frequency.
bit 1 : Spectrum Analyzer Mode Marker 2 On/Off
bit 2 : Spectrum Analyzer Mode Marker 3 On/Off
bit 3 : Spectrum Analyzer Mode Marker 4 On/Off
bit 4 : Spectrum Analyzer Mode Marker 5 On/Off
bit 5 : Spectrum Analyzer Mode Marker 6 On/Off
bits6-7:NotUsed
271) Status Byte 2: (0b = Off, 1b = On)
(LSB)bit 0 : Not Used
bit 1 : Spectrum Analyzer Mode Marker 2 Delta On/Off
bit 2 : Spectrum Analyzer Mode Marker 3 Delta On/Off
bit 3 : Spectrum Analyzer Mode Marker 4 Delta On/Off
bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto)
bit 5 : Pre Amp Status On/Off
bit 6 : Dynamic Attenuation On/Off
bit 7: Normalization On/Off
272) Status Byte 3: (0b = Off/Beep if data is BELOW line , 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : SPA Limit Type (0b = Single, 1b = Multiple)
bit 1 : SPA Single Limit Beep On/Off
bit 2 : SPA Single Limit Status On/Off
bit 3 : SPA Single Limit Beep Level ABOVE/BELOW
bit 4 : SPA Multiple Limit Upper Segment 1 Status On/Off
bit 5 : SPA Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
60
bit 6 : SPA Multiple Limit Upper Segment 2 Status On/Off
bit 7 : SPA Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
273) Status Byte 4 : (0b = Off/Beep if data is BELOW line , 1b = On/Beep if data is ABOVE line)
56 VBW frequency sent in Hz.
57 00h=%ofpower, 01h = dB down
58 0 – 99%
59 0 – 120 dBc
60 Beep level is always 1b for upper segmented limit line
bit 1 : SPA Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW
bit 2 : SPA Multiple Limit Upper Segment 4 Status On/Off
bit 3 : SPA Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW
bit 4 : SPA Multiple Limit Upper Segment 5 Status On/Off
bit 5 : SPA Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW
bit 6 : SPA Multiple Limit Lower Segment 1 Status On/Off
bit 7 : SPA Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
61
274) Status Byte 5 : (0b = Off/Beep if data is BELOW line , 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : SPA Multiple Limit Lower Segment 2 Status On/Off
bit 1 : SPA Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW
bit 2 : SPA Multiple Limit Lower Segment 3 Status On/Off
bit 3 : SPA Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW
bit 4 : SPA Multiple Limit Lower Segment 4 Status On/Off
bit 5 : SPA Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW
bit 6 : SPA Multiple Limit Lower Segment 5 Status On/Off
bit 7 : SPA Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
71 Scaled by Frequency Scale Factor (bytes 321-322)
72 Value sent as ((value in Hz) – 10,000)
73 In number of Hz
74 Scaled by Frequency Scale Factor (bytes 321-322)
Spectrum Master PM29
Page 35
325) Frequency Range Minimum
326) Frequency Range Minimum (lowest byte)
327) Frequency Range Maximum
75
(highest byte)
328) Frequency Range Maximum
329) Frequency Range Maximum
330) Frequency Range Maximum (lowest byte)
331) Marker Type (00h = Regular Marker, 01h = Noise Marker)
332-400) Not Used
For Power Meter Mode (Option 29 only):
26) Power Meter Start Freq
76
(highest byte)
27) Power Meter Start Freq
28) Power Meter Start Freq
29) Power Meter Start Freq
77
(lowest byte)
30) Power Meter Stop Freq (highest byte)
31) Power Meter Stop Freq
32) Power Meter Stop Freq
33) Power Meter Stop Freq (lowest byte)
34) Power Meter Center Freq
78
(highest byte)
35) Power Meter Center Freq
36) Power Meter Center Freq
37) Power Meter Center Freq (lowest byte)
38) Power Meter Span (highest byte)
79
39) Power Meter Span
40) Power Meter Span
41) Power Meter Span (lowest byte)
42) Signal Standard
43) Signal Standard (lower byte)
44) Channel Selection
80
(higher byte)
81
(higher byte)
45) Channel Selection (lower byte)
46) Power Meter Offset (highest byte)
47) Power Meter Offset
48) Power Meter Offset
49) Power Meter Offset (lowest byte)
50) Power Meter Relative (highest byte)
82
51) Power Meter Relative
52) Power Meter Relative
53) Power Meter Relative (lowest byte)
54) Power Meter Status (00h = Off, 01h = On)
55) Power Meter Unit (00h = Watts, 01h = dBm)
56) Power Meter Relative Status (00h = Off, 01h = On)
57) Power Meter Offset Status (00h = Off, 01h = On)
75 Scaled by Frequency Scale Factor (bytes 321-322)
76 Scaled by Frequency Scale Factor (bytes 59-60)
77 Scaled by Frequency Scale Factor (bytes 59-60)
78 Scaled by Frequency Scale Factor (bytes 59-60)
79 Scaled by Frequency Scale Factor (bytes 59-60)
80 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
81 “No Channel” is sent as FFFEh
82 Value as ((value in dBm * 1000) + 100)
30Spectrum Master PM
Page 36
58) Power Meter RMS Averaging Level (00h = Off, 01h = Low, 02h = Medium, 03h = High)
59) Frequency Scale Factor
60) Frequency Scale Factor (lower byte)
61) Frequency Range Minimum
83
(higher byte)
84
(highest byte)
62) Frequency Range Minimum
63) Frequency Range Minimum
64) Frequency Range Minimum (lowest byte)
65) Frequency Range Maximum
85
(highest byte)
66) Frequency Range Maximum
67) Frequency Range Maximum
68) Frequency Range Maximum (lowest byte)
69-120) Not Used
Select Printer Type – Control Byte #30 (1Eh)
Description: Select Printer Type.
Bytes to Follow: 1 byte
1)Printer ID
0 – Epson Stylus Models
1 – Epson LQ Models
2 – Citizen PN Models
3 – NEC Superscript Models
4 – NEC Silentwriter Models
5 – Seiko DPU 411, 414 Models
6 – Canon BJC 50
7 – Canon BJC 80
8 – Canon BJC 250
9 – Canon BJC 4400
10 – HP DJ 300 Series
11 – HP DJ 400 Series
12 – HP DJ 500 Series
13 – HP DJ 600 Series
14 – HP DJ 800 Series
15 – HP DJ 1120
16 – HP LJ 6L, 6P, 4000
17 – Epson Esc/P Compatible
18 – Epson Esc/P2 Compatible
19 – Epson Esc/P Raster Compatible
20 – HP PCL3 Compatible
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
83 In number of Hz
84 Scaled by Frequency Scale Factor
85 Scaled by Frequency Scale Factor
Spectrum Master PM31
Page 37
Recall Sweep Trace – Control Byte #33 (21h)
NOTE: This command is new to the MS2711D. Use it instead of Control Byte #17 to access new fea
tures.
Description: Queries the Spectrum Master for sweep trace data.
NOTE: Before you can recall a sweep stored in non-volatile memory (trace numbers 1-200) you must
build a trace table in the Spectrum Master’s RAM. Use Control Byte #24 to build the trace table. Since
the trace table exists in RAM, Control Byte #24 must be executed every time the Spectrum Master’s
power is cycled.
Bytes to Follow: 1 byte
0 = Last sweep trace before entering remote mode (sweep trace in RAM)
1- 200 = Specific saved sweep number (stored sweeps in Flash memory)
Spectrum Master Returns:
1-2) # of following bytes (total length - 2)
3)Current Instrument Date Format
86
4)Not Used
5-11)Model Number (7 bytes in ASCII)
12-15)Software Version (4 bytes ASCII)
16) Measurement Mode
87
17-20)Time/Date (in Long Integer88)
21-30)Date in String Format (mm/dd/yyyy)
31-38)Time in String Format (hh:mm:ss)
39-54)Reference number stamp (16 bytes in ASCII)
55-56)# data points (401)
For Spectrum Analyzer Mode/Transmission Mode (Option 21):
(Linear) – (00b = Watts 01b = Volts)
bit 5 : Channel Power On/Off
bit 6 : Adjacent Channel Power On/Off
bit 7 : Units Type (0b = Log 1b = Linear)
295) Status Byte 4
103
(0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : Limit Type (0b = Single, 1b = Multiple)
bit 1 : Not Used
100 % value is 0-99
101 dBc value 0 – 120 dBc
102 Value sent as ( value in dB * 1000 )
103 For bits 2, 1 and 0 (“X” is “don’t care): 0X0=no limit, 1X0=single limit, 0X1=multiple limit, 1X1=multiple limit.
34Spectrum Master PM
Page 40
bit 2 : Single Limit On/Off
bit 3 : Single Limit Beep Level ABOVE/BELOW
bit 4 : Multiple Limit Upper Segment 1 Status On/Off
bit 5 : Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
104
bit 6 : Multiple Limit Upper Segment 2 Status On/Off
bit 7 : Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
296) Status Byte5(0b=Off/Beep if data is below line, 1b = On/Beep if data is above line)
(LSB)bit 0 : Multiple Limit Upper Segment 3 Status On/Off
bit 1 : Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW
bit 2 : Multiple Limit Upper Segment 4 Status On/Off
bit 3 : Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW
bit 4 : Multiple Limit Upper Segment 5 Status On/Off
bit 5 : Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW
bit 6 : Multiple Limit Lower Segment 1 Status On/Off
bit 7 : Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
105
297) Status Byte 6 (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW
bit 2 : Multiple Limit Lower Segment 3 Status On/Off
bit 3 : Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW
bit 4 : Multiple Limit Lower Segment 4 Status On/Off
bit 5 : Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW
bit 6 : Multiple Limit Lower Segment 5 Status On/Off
bit 7 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
298) Status Byte 7
(LSB)bits 0-6: Number of sweeps to average (1-25, 1 implies averaging OFF)
111 Scaled by Frequency Scale Factor (bytes 335-336)
Spectrum Master PM35
Page 41
317-320) Reserved
321) Trigger Type
112
322) Trigger Position (0 – 100%)
323) Min Sweep Time (in ms) (highest byte)
324) Min Sweep Time (in ms)
325) Min Sweep Time (in ms)
326) Min Sweep Time (in ms) (lowest byte)
327) Video Trigger Level
113
(highest byte)
328) Video Trigger Level
329) Video Trigger Level
330) Video Trigger Level (lowest byte)
331) Status Byte 8 (0b = Off, 1b = On)
(LSB)bits 0-1: Trace Math Operation (00b = A only, 01b = A-B, 10b = A+B)
bit 2: Max Hold On/Off
bit 3: Min Hold On/Off
bit 4: Transmission Calibration On/Off (Option 21 only)
bit 5: Bias Tee On/Off (Option 10 only)
bit 6: Occupied BW Measurement On/Off
bit 7: Not Used
NOTE: This command is included for compatibility with the MS2711B. To access the new features, use
Control Byte #35.
Description: Defines traces "A" and "B".
Trace A is always the currently measured data (with or without trace math). It is always visible.
Trace B is always stored data and may come from a saved sweep or a previous "A" trace. There is no default for trace B.
Trace B can be ON (visible) or OFF.
Bytes to Follow: 3 bytes
1) "A" trace display (00h = A only, 01h = A-B, 02h = A+B)
2) "B" trace status (00h = OFF, 01h = ON)
3) "B" trace number
0 = save current "A" data into "B" buffer, use that as "B"
1-200 = trace number
255 = no "B" trace defined
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Incorrect "A" or "B" trace, "B" trace requested to be used in calculations or
238 (EEh) Time-out Error
displayed, but no trace or invalid trace specified.
Set Spectrum Analyzer A/B Trace – Control Byte #35 (23h)
NOTE: This command is new to the MS2711D. Use it instead of Control Byte #34 to access the new
features.
Description: Defines traces “A” and “B” for Spectrum Analyzer mode.
Trace A is always the currently measured data (with or without trace math). It is always visible.
Trace B is always stored data and may come from a saved sweep or a previous “A” trace. There is no default for trace B.
Trace B can be ON (visible) or OFF.
0 = save current “A” data into “B” buffer, use that as “B”
Spectrum Master PM39
Page 45
1-200 = trace number
255 = no “B” trace defined
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Not enough bytes transferred, “B” trace requested to be used in calculations
or displayed, but no trace or invalid trace specified
238 (EEh) Time-out Error
Upload Sweep Trace – Control Byte #36 (24h)
This command is new to the MS2711D. Use it, instead of Control Byte #26 to access the new features.
Description: Uploads a sweep trace to the Spectrum Master.
Bytes to Follow:
For All Modes:
1-2) # of following bytes
3)Measurement Mode
140
4-7) Time/Date (in Long Integer)
8-17)Date in String Format (MM/DD/YYYY)
18-25)Time in String Format (HH:MM:SS)
26-41)Reference number stamp (16 ASCII bytes)
42-43)# of data points (401)
For Spectrum Analyzer Mode:
44) Start Frequency
141
(highest byte)
45) Start Frequency
46) Start Frequency
47) Start Frequency (lowest byte)
48) Stop Frequency
142
(highest byte)
49) Stop Frequency
50) Stop Frequency
51) Stop Frequency (lowest byte)
52) Center Frequency
143
(highest byte)
53) Center Frequency
54) Center Frequency
55) Center Frequency (lowest byte)
56) Frequency Span (highest byte)
144
57) Frequency Span
58) Frequency Span
59) Frequency Span (lowest byte)
60) Ref Level
145
(highest byte)
140 See Control Byte #3 “Set Measurement Mode” for available measurement modes.
141 Scaled by Frequency Scale Factor (bytes 318-319)
142 Scaled by Frequency Scale Factor (bytes 318-319)
143 Scaled by Frequency Scale Factor (bytes 318-319)
144 Scaled by Frequency Scale Factor (bytes 318-319)
11b = dBuV) (Linear) – (00b = Watts 01b = Volts)
bit 5: Channel Power On/Off
bit 6: Adjacent Channel Power Ratio On/Off
bit 7 : Units Type (0b = Log 1b = Linear)
278) Status Byte 4 (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : Limit Type (0b = Single, 1b = Multiple)
bit 1 : Single Limit On/Off
bit 2 : Single Limit Beep Level (0b = beep when data is below line 1b = above)
bit 3 : Not Used
bit 4 : Multiple Limit Upper Segment 1 Status On/Off
bit 5 : Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
bit 6 : Multiple Limit Upper Segment 2 Status On/Off
bit 7 : Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
279) Status Byte 5 (0b = Off/Beep if data is BELOW line, 1b =On/Beep if data is ABOVE line)
(LSB)bit 0 : Multiple Limit Upper Segment 3 Status On/Off
bit 1 : Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW
bit 2 : Multiple Limit Upper Segment 4 Status On/Off
bit 3 : Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW
bit 4 : Multiple Limit Upper Segment 5 Status On/Off
bit 5 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
152 Valid frequencies (in Hz) are 100, 300, 1,000, 3,000, 10,000, 30,000, 100,000, 300,000
153 Value sent as (value * 1000)
42Spectrum Master PM
Page 48
bit 6 : Multiple Limit Lower Segment 1 Status On/Off
bit 7 : Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
280) Status Byte 6 (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW
bit 2 : Multiple Limit Lower Segment 3 Status On/Off
bit 3 : Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW
bit 4 : Multiple Limit Lower Segment 4 Status On/Off
bit 5 : Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW
bit 6 : Multiple Limit Lower Segment 5 Status On/Off
bit 7 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
281) Status Byte 7
(LSB)bits 0-6: Number of Sweeps to Average (1-25, 1 implies averaging OFF)
167 Value sent as ( value in dBm * 1000 ) + 270,000
168 If Status Byte 9, bytes 1-3 equal 111b, then value will be calculated power for the Interference – NB FHSS trace.
Otherwise, these bytes represent the calculated Carrier power.
169 Value sent as ( value in dBm * 1000 ) + 270,000
170 If Status Byte 9, bytes 1-3 equal 111b, then value will be calculated power for the Interference – WB FHSS trace.
Otherwise, these bytes should be ignored.
171 Value sent as ( value in dBm * 1000 ) + 270,000
172 If Status Byte 9, bytes 1-3 equal 111b, then value will be calculated power for the Interference – Broadband trace.
Otherwise, these bytes should be ignored.
44Spectrum Master PM
Page 50
341) C/I Calculated Power (Interference – Broadband) (lowest byte)
342) Marker Type (00h = Regular Marker, 01h = Noise Marker)
343-400) Not Used
401-2004) Sweep Data
(401 points * 4 bytes/point = 1604 bytes)
4 bytes for each data point
1. dBm
173
(highest byte)
2. dBm
3. dBm
4. dBm (lowest byte)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Not enough bytes transferred
225 (E1h) Memory Error: Not enough memory to store data
238 (EEh) Time-out Error
Get Options – Control Byte #37 (25h)
Description: Queries the option(s) installed on the Spectrum Master, returns a list as an ASCII string.
Bytes to Follow: 0 bytes
Site Master Returns: Number of bytes depends on the option(s) installed:
Option 3:“3/”
Option 6:“6/”
Option 10:“10/”
Option 21:“21/”
Option 29:“29/”
If no options are installed: “None”
Query Power Level – Control Byte #39 (27h)(Option 29 only)
Description: Return Power Level at the RF In port. Also returns power meter settings.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 30 bytes
1) Status Byte # 1(0b = Off, 1b = On)
(LSB)bit 0 : Unit (0b - Watt/%, 1b - dBm/dB)
bit 2 : Relative Mode On/Off
bit 3: Offset Mode On/Off
bit 4: Zero Mode On/Off
bits 5-7: Not Used
2)RMS Averaging Status
3 - 6)Relative Mode Reference Power Level in dBm
7 - 10)Offset Mode Power Level
11 - 14)Zero Mode Power Level
15 - 18)Absolute Power Level
19 - 22)Power
23 - 26)Center Frequency (Scaled by frequency scale factor)
173 Value sent as (Value in dBm * 1000 ) + 270,000
Power Meter Center Freq and Span Setup – Control Byte #45 (2Dh)(Option 29 only)
Description: Sets the center frequency and span frequency for the Power Meter mode.
If Option 6 is installed and the frequency converter module is attached, the center frequency should be scaled by the scale
factor of the module. If the module is not attached, the center frequency is sent in Hz. Use Control Word A203 to determine
whether a module is attached and the appropriate scale factor.
Bytes to Follow: 8 bytes
1)Center Frequency (highest byte)
2)Center Frequency
3)Center Frequency
4)Center Frequency (lowest byte)
5)Span Frequency (highest byte)
6)Span Frequency
7)Span Frequency
8)Span Frequency (lowest byte)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid frequency range
238 (EEh) Time-out Error
Trigger Sweep – Control Byte #48 (30h)
Description: Causes the Spectrum Master to perform a sweep if it is in single sweep mode.
This command works only when the Spectrum Master is NOT in remote mode. Send this command, receive the “Operation
Complete Byte” and then wait for the “Sweep Complete Byte” to signify the end of the sweep.
Bytes to Follow: 0 bytes
Spectrum Master PM47
Page 53
Spectrum Master Returns: 2 bytes
1)255 (FFh) Operation Complete Byte (when the command is received)
2)192 (C0h) Sweep Complete Byte (at the end of the sweep)
Sweep Data Echo On/Off - Control Byte #49 (31h)
Description: Sets the sweep data echo mode On/Off.
Sweep Data Echo Mode behaves much like the Serial Port Echo Mode (see Control Byte #10). It automatically puts the unit
into single sweep mode. At the end of each sweep cycle, the Spectrum Master sends a Sweep Complete Byte #192 (C0h) to
the serial port. At this time, sweep data can be queried (see Control Byte #33) without having to enter remote mode first or
exit remote mode when done. Depending on the value of the second following byte, the next sweep can be automatically
triggered after the sweep data has been sent.
This mode activates once the Spectrum Master exits from the remote mode. Sweep Data Echo status can not be saved to or
recalled from saved setups. Cycling power resets the Sweep Data Echo status to Off.
The Sweep Data Echo Mode allows run-time handshaking between the Spectrum Master and computer by doing the
following:
1) Enter remote mode. Set Sweep Data Echo Mode On. Exit remote mode.
2) The Spectrum Master sweeps once and then sends the Sweep Complete Byte.
3) After you receive it: Recall sweep 0 (last sweep trace in RAM).
4) If using auto triggering, repeat steps 2-3. If using manual triggering, go to step 5.
5) Send Sweep Triggering Byte #48 (30h) and wait for the next sweep cycle.
6) Repeat steps 2-5.
NOTE: To execute commands other than #33, you must use the traditional Enter Remote, Send Commands, Exit Remote communication sequence.
Bytes to Follow: 2 bytes
1)Sweep Data Echo Status
2)Next Sweep Trigger
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
00h : Off
01h:On
00h : Manual
01h : Automatic
224 (E0h) Parameter Error : Invalid sweep data echo status
238 (EEh) Time-out Error
Check Battery Status – Control Byte #50 (32h)
Description: Return Smart Battery status.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 17 bytes
1-2) Battery Status flags ( Refer to Smart Battery Data Spec 5.1.2.1)
3-4) State of Charge (unsigned integer 0 to 100(%)Full)
5-6) Battery Voltage (unsigned integer 0 to 65535 in mV)
7-8) Battery Current (signed integer -32,768 to +32,7687 mA, positive = Charging)
9-10)Battery Average current (signed integer -32,768 to +32,7687 mA, positive = Charging)
48Spectrum Master PM
Page 54
11-12)Average time to empty (unsigned integer 0 to 65535 minute)
13-14)Battery Charge Cycle Count (unsigned integer 0 to 65535 cycles)
15-16)Battery Capacity at Full Charge in mA Hours (unsigned integer 0 to 65535 cycles)
17) Unit under battery power (1 = YES;0=NO)
Set SPA Minimum Sweep Time - Control Byte #53 (35h)
Description: Sets the minimum sweep time (in ms) for the spectrum analyzer when the span is 0.
bit 1 : Spectrum Analyzer Mode Marker 2 On/Off
bit 2 : Spectrum Analyzer Mode Marker 3 On/Off
bit 3 : Spectrum Analyzer Mode Marker 4 On/Off
bit 4 : Spectrum Analyzer Mode Marker 5 On/Off
bit 5 : Spectrum Analyzer Mode Marker 6 On/Off
bits6-7:NotUsed
251) Status Byte 2: (0b = Off, 1b = On)
(LSB)bit 0 : Not Used
bit 1 : Spectrum Analyzer Mode Marker 2 Delta On/Off
bit 2 : Spectrum Analyzer Mode Marker 3 Delta On/Off
bit 3 : Spectrum Analyzer Mode Marker 4 Delta On/Off
bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto)
bit 5 : Pre Amp Status On/Off
bit 6 : Dynamic Attenuation On/Off
bit 7 : Normalization On/Off
252) Status Byte 3: (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : SPA Limit Type (0b = Single, 1b = Multiple)
bit 1 : SPA Single Limit Beep On/Off
bit 2 : SPA Single Limit Status On/Off
bit 3 : SPA Single Limit Beep Level ABOVE/BELOW
bit 4 : SPA Multiple Limit Upper Segment 1 Status On/Off
bit 5 : SPA Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
194
bit 6 : SPA Multiple Limit Upper Segment 2 Status On/Off
bit 7 : SPA Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
253) Status Byte 4 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : SPA Multiple Limit Upper Segment 3 Status On/Off
bit 1 : SPA Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW
bit 2 : SPA Multiple Limit Upper Segment 4 Status On/Off
bit 3 : SPA Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW
189 RBW frequency sent in Hz.
190 VBW frequency sent in Hz.
191 00h=%ofpower, 01h = dB down
192 0 – 99%
193 0 – 120 dBc
194 Beep level is always 1b for upper segmented limit line
52Spectrum Master PM
Page 58
bit 4 : SPA Multiple Limit Upper Segment 5 Status On/Off
bit 5 : SPA Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW
bit 6 : SPA Multiple Limit Lower Segment 1 Status On/Off
bit 7 : SPA Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
254) Status Byte 5 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : SPA Multiple Limit Lower Segment 2 Status On/Off
bit 1 : SPA Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW
bit 2 : SPA Multiple Limit Lower Segment 3 Status On/Off
bit 3 : SPA Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW
bit 4 : SPA Multiple Limit Lower Segment 4 Status On/Off
bit 5 : SPA Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW
bit 6 : SPA Multiple Limit Lower Segment 5 Status On/Off
bit 7 : SPA Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
220 Scaled by Frequency Scale Factor (bytes 244-245)
221 Scaled by Frequency Scale Factor (bytes 244-245)
222 Value sent as (value in dBm * 1000) + 270,000)
223 Value sent as (value * 1000)
224 Value sent as data point on the display. Equivalent frequency = (point * span/(#data points–1))+start frequency.
225 Value sent as ( value in dBm * 1000 ) + 270000
226 Scaled by Frequency Scale Factor (bytes 244-245)
227 Value sent as ( value in dBm * 1000 ) + 270000
228 Scaled by Frequency Scale Factor (bytes 244-245)
56Spectrum Master PM
Page 62
70) Multiple Upper Limit 1 End X
71) Multiple Upper Limit 1 End X
72) Multiple Upper Limit 1 End X (lowest byte)
73) Multiple Upper Limit 1 End Y (Power Level) (highest byte)
229
74) Multiple Upper Limit 1 End Y (Power Level)
75) Multiple Upper Limit 1 End Y (Power Level)
76) Multiple Upper Limit 1 End Y (Power Level) (lowest byte)
77-220) Multiple Upper Limits 2-5, SA Multiple Lower Limits 1-5 (see bytes 61-76 for format)
221) RBW Setting (highest byte)
230
222) RBW Setting
223) RBW Setting
224) RBW Setting (lowest byte)
225) VBW Setting (highest byte)
231
226) VBW Setting
227) VBW Setting
228) VBW Setting (lowest byte)
229) Attenuation
230) Status Byte 1: ( 0b = Off , 1b = On)
(LSB)bit 0 : Marker 1 On/Off
bit 1 : Marker 2 On/Off
bit 2 : Marker 3 On/Off
bit 3 : Marker 4 On/Off
bit 4 : Marker 5 On/Off
bit 5 : Marker 6 On/Off
bits6-7:NotUsed
231) Status Byte 2: (0b = Off, 1b = On)
(LSB)bit 0 : S21 Spa Cal Status (0 – Cal OFF, 1 – Cal ON)
bit 1 : Marker 2 Delta On/Off
bit 2 : Marker 3 Delta On/Off
bit 3 : Marker 4 Delta On/Off
bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto)
bit 5 : Pre Amp Status On/Off
bit 6 : Dynamic Attenuation On/Off
bit 7 : Not Used
232) Status Byte 3: (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : Limit Type (0b = Single, 1b = Multiple)
bit 1 : Single Limit Beep On/Off
bit 2 : Single Limit Status On/Off
bit 3 : Single Limit Beep Level ABOVE/BELOW
bit 4 : Multiple Limit Upper Segment 1 Status On/Off
bit 5 : Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
232
bit 6 : Multiple Limit Upper Segment 2 Status On/Off
bit 7 : Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
233) Status Byte 4 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : Multiple Limit Upper Segment 3 Status On/Off
bit 1 : Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW
bit 2 : Multiple Limit Upper Segment 4 Status On/Off
bit 3 : Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW
bit 4 : Multiple Limit Upper Segment 5 Status On/Off
bit 5 : Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW
bit 6 : Multiple Limit Lower Segment 1 Status On/Off
229 Value sent as ( value in dBm * 1000 ) + 270000
230 RBW frequency sent in Hz.
231 VBW frequency sent in Hz.
232 Beep level is always 1b for upper segmented limit line
234) Status Byte 5 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW
bit 2 : Multiple Limit Lower Segment 3 Status On/Off
bit 3 : Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW
bit 4 : Multiple Limit Lower Segment 4 Status On/Off
bit 5 : Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW
bit 6 : Multiple Limit Lower Segment 5 Status On/Off
bit 7 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
235) Status Byte 6: (0b = Off, 1b = On)
(LSB)bit 0 : Not Used
bit 1 : Bias Tee On/Off (Option 10)
bit 2 : External Reference Freq On/Off
bits 3-4 : Amplitude Units
242) Status Byte 7
(LSB)bits 0-6: Number of sweeps to average (1-25, 1 implies averaging OFF)
bit 7: Not Used
243) Status Byte 8: (0b = Off, 1b = On)
(LSB)bits 0-1: Trace Math Operation (00b = A only, 01b = A-B, 10b = A+B)
bit 2: Max Hold On/Off
bit 3: Min Hold On/Off
bit 4: RBW Coupling (1b = Auto, 0b = Manual)
bit 5: VBW Coupling (1b = Auto, 0b = Manual)
bit 6: Attenuation Coupling (1b = Auto, 0b = Manual)
bit 7: View B On/Off
244) Frequency Scale Factor
245) Frequency Scale Factor (lower byte)
246) Frequency Range Minimum
238
(higher byte)
239
(highest byte)
247) Frequency Range Minimum
248) Frequency Range Minimum
249) Frequency Range Minimum (lowest byte)
250) Frequency Range Maximum
240
(highest byte)
251) Frequency Range Maximum
252) Frequency Range Maximum
253) Frequency Range Maximum (lowest byte)
233 Beep level is always 0b for lower segmented limit line
234 1 byte in MHz (i.e. 20 = 20MHz)
235 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
236 “No Channel” is sent as FFFEh
237 Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
238 In number of Hz
239 Scaled by Frequency Scale Factor (bytes 244-245)
240 Scaled by Frequency Scale Factor (bytes 244-245)
58Spectrum Master PM
Page 64
254) Marker Type
255) Trace B Trace Id
241
242
256) Status Byte 9
(LSB)bit 0: Reserved
bits 1-7: Not Used
257-400) Not Used
For Power Meter Mode (Option 29 only):
21) Power Meter Start Freq
243
(highest byte)
22) Power Meter Start Freq
23) Power Meter Start Freq
24) Power Meter Start Freq
244
(lowest byte)
25) Power Meter Stop Freq (highest byte)
26) Power Meter Stop Freq
27) Power Meter Stop Freq
28) Power Meter Stop Freq (lowest byte)
29) Power Meter Center Freq
245
(highest byte)
30) Power Meter Center Freq
31) Power Meter Center Freq
32) Power Meter Center Freq (lowest byte)
33) Power Meter Span
246
(highest byte)
34) Power Meter Span
35) Power Meter Span
36) Power Meter Span (lowest byte)
37) Signal Standard
38) Signal Standard (lower byte)
39) Channel Selection
40) Channel Selection (lower byte)
41) Power Meter Offset
247
(higher byte)
248
(higher byte)
249
(highest byte)
42) Power Meter Offset
43) Power Meter Offset
44) Power Meter Offset (lowest byte)
45) Power Meter Relative (highest byte)
46) Power Meter Relative
47) Power Meter Relative
48) Power Meter Relative (lowest byte)
49) Not Used
50) Power Meter Unit (00h = Watts, 01h = dBm)
51) Power Meter Relative Status (00h = Off, 01h = On)
250
241 00h = Regular Marker, 01h = Noise Marker
242 FFh indicates no trace selected
243 Scaled by Frequency Scale Factor (bytes 54-55)
244 Scaled by Frequency Scale Factor (bytes 54-55)
245 Scaled by Frequency Scale Factor (bytes 54-55)
246 Scaled by Frequency Scale Factor (bytes 54-55)
247 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
248 “No Channel” is sent as FFFEh
249 Value sent as (value in dB * 1000)
250 Value sent as ((value in dBm * 1000) + 100)
Spectrum Master PM59
Page 65
52) Power Meter Offset Status (00h = Off, 01h = On)
53) Power Meter RMS Averaging Level (00h = Off, 01h = Low, 02h = Medium, 03h = High)
54) Frequency Scale Factor
55) Frequency Scale Factor (lower byte)
56) Frequency Range Minimum
251
(higher byte)
252
(highest byte)
57) Frequency Range Minimum
58) Frequency Range Minimum
59) Frequency Range Minimum (lowest byte)
60) Frequency Range Maximum
253
(highest byte)
61) Frequency Range Maximum
62) Frequency Range Maximum
63) Frequency Range Maximum (lowest byte)
64) Zero Status (00h = Off, 01h = On)
65) Zero Value
254
(highest byte)
66) Zero Value
67) Zero Value
68) Zero Value (lowest byte)
69-120) Not Used
Upload Setup – Control Byte #66 (42h)
Description: Receives parameters defining a setup and saves them in the memory location associated with the specified setup
number. Since different modes have different numbers of setup locations available, the command requires the mode be
specified as well as the setup number.
Setup numbers as follows:
0= Run time setup
1 – 10= Saved setups for Spectrum Analyzer/Transmission Measurement modes
1 – 5= Saved setups for Power Meter mode (Option 29 only)
Bytes to Follow: 2 bytes
For All Modes:
1)Number of Following Bytes (higher byte)
2)Number of Following Bytes (lower byte)
3)Measurement Mode
255
4)Setup Number in which to store setup
5-20)Not Used
For Spectrum Analyzer Mode:
21) Spectrum Analyzer Start Frequency
256
(highest byte)
22) Spectrum Analyzer Start Frequency
23) Spectrum Analyzer Start Frequency
24) Spectrum Analyzer Start Frequency (lowest byte)
251 In number of Hz
252 Scaled by Frequency Scale Factor
253 Scaled by Frequency Scale Factor
254 Value sent as ((value in dBm * 1000) + 100)
255 Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
256 Scaled by Frequency Scale Factor (bytes 301-302)
60Spectrum Master PM
Page 66
25) Spectrum Analyzer Stop Frequency
257
(highest byte)
26) Spectrum Analyzer Stop Frequency
27) Spectrum Analyzer Stop Frequency
28) Spectrum Analyzer Stop Frequency (lowest byte)
29) Spectrum Analyzer Center Frequency
258
(highest byte)
30) Spectrum Analyzer Center Frequency
31) Spectrum Analyzer Center Frequency
32) Spectrum Analyzer Center Frequency (lowest byte)
33) Spectrum Analyzer Frequency Span
259
(highest byte)
34) Spectrum Analyzer Frequency Span
35) Spectrum Analyzer Frequency Span
36) Spectrum Analyzer Frequency Span (lowest byte)
37) Ref Level (highest byte)
260
38) Ref Level
39) Ref Level
40) Ref Level (lowest byte)
41) Scale per div (highest byte)
261
42) Scale per div
43) Scale per div
44) Scale per div (lowest byte)
45) Spectrum Analyzer Frequency Marker 1 (higher byte)
262
46) Spectrum Analyzer Frequency Marker 1 (lower byte)
47) Spectrum Analyzer Frequency Marker 2 (higher byte)
48) Spectrum Analyzer Frequency Marker 2 (lower byte)
49) Spectrum Analyzer Frequency Marker 3 (higher byte)
50) Spectrum Analyzer Frequency Marker 3 (lower byte)
51) Spectrum Analyzer Frequency Marker 4 (higher byte)
52) Spectrum Analyzer Frequency Marker 4 (lower byte)
53) Spectrum Analyzer Frequency Marker 5 (higher byte)
54) Spectrum Analyzer Frequency Marker 5 (lower byte)
55) Spectrum Analyzer Frequency Marker 6 (higher byte)
56) Spectrum Analyzer Frequency Marker 6 (lower byte)
57) Spectrum Analyzer Single Limit (highest byte)
263
58) Spectrum Analyzer Single Limit
59) Spectrum Analyzer Single Limit
60) Spectrum Analyzer Single Limit (lowest byte)
61) SPA Multiple Upper Limit 1 Start X
264
(highest byte)
62) SPA Multiple Upper Limit 1 Start X
63) SPA Multiple Upper Limit 1 Start X
64) SPA Multiple Upper Limit 1 Start X (lowest byte)
bit 1 : Spectrum Analyzer Mode Marker 2 On/Off
bit 2 : Spectrum Analyzer Mode Marker 3 On/Off
bit 3 : Spectrum Analyzer Mode Marker 4 On/Off
bit 4 : Spectrum Analyzer Mode Marker 5 On/Off
bit 5 : Spectrum Analyzer Mode Marker 6 On/Off
bits6-7:NotUsed
251) Status Byte 2: (0b = Off, 1b = On)
(LSB)bit 0 : Not Used
bit 1 : Spectrum Analyzer Mode Marker 2 Delta On/Off
bit 2 : Spectrum Analyzer Mode Marker 3 Delta On/Off
bit 3 : Spectrum Analyzer Mode Marker 4 Delta On/Off
bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto)
bit 5 : Pre Amp Status On/Off
bit 6 : Dynamic Attenuation On/Off
bit 7 : Normalization On/Off
252) Status Byte 3: (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : SPA Limit Type (0b = Single, 1b = Multiple)
bit 1 : SPA Single Limit Beep On/Off
266 Scaled by Frequency Scale Factor (bytes 301-302)
267 Value sent as ( value in dBm * 1000 ) + 270000
268 RBW frequency sent in Hz.
269 VBW frequency sent in Hz.
270 00h=%ofpower, 01h = dB down
271 0 – 99%
272 0 – 120 dBc
62Spectrum Master PM
Page 68
bit 2 : SPA Single Limit Status On/Off
bit 3 : SPA Single Limit Beep Level ABOVE/BELOW
bit 4 : SPA Multiple Limit Upper Segment 1 Status On/Off
bit 5 : SPA Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
bit 6 : SPA Multiple Limit Upper Segment 2 Status On/Off
bit 7 : SPA Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
253) Status Byte 4 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : SPA Multiple Limit Upper Segment 3 Status On/Off
bit 1 : SPA Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW
bit 2 : SPA Multiple Limit Upper Segment 4 Status On/Off
bit 3 : SPA Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW
bit 4 : SPA Multiple Limit Upper Segment 5 Status On/Off
bit 5 : SPA Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW
bit 6 : SPA Multiple Limit Lower Segment 1 Status On/Off
bit 7 : SPA Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
254) Status Byte 5 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : SPA Multiple Limit Lower Segment 2 Status On/Off
bit 1 : SPA Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW
bit 2 : SPA Multiple Limit Lower Segment 3 Status On/Off
bit 3 : SPA Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW
bit 4 : SPA Multiple Limit Lower Segment 4 Status On/Off
bit 5 : SPA Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW
bit 6 : SPA Multiple Limit Lower Segment 5 Status On/Off
bit 7 : SPA Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
73) Multiple Upper Limit 1 End Y (Power Level) (highest byte)
308
74) Multiple Upper Limit 1 End Y (Power Level)
75) Multiple Upper Limit 1 End Y (Power Level)
76) Multiple Upper Limit 1 End Y (Power Level) (lowest byte)
77-220) Multiple Upper Limits 2-5, SA Multiple Lower Limits 1-5 (see bytes 67-82 for format)
221) RBW Setting (highest byte)
309
222) RBW Setting
223) RBW Setting
224) RBW Setting (lowest byte)
225) VBW Setting (highest byte)
310
226) VBW Setting
227) VBW Setting
228) VBW Setting (lowest byte)
229) Attenuation
230) Status Byte 1: ( 0b = Off , 1b = On)
(LSB)bit 0 : Marker 1 On/Off
bit 1 : Marker 2 On/Off
bit 2 : Marker 3 On/Off
bit 3 : Marker 4 On/Off
bit 4 : Marker 5 On/Off
bit 5 : Marker 6 On/Off
bits6-7:NotUsed
231) Status Byte 2: (0b = Off, 1b = On)
(LSB)bit 0 : S21 Spa Cal Status (0 – Cal OFF, 1 – Cal ON)
bit 1 : Marker 2 Delta On/Off
bit 2 : Marker 3 Delta On/Off
bit 3 : Marker 4 Delta On/Off
bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto)
bit 5 : Pre Amp Status On/Off
bit 6 : Dynamic Attenuation On/Off
bit 7 : Not Used
232) Status Byte 3: (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : Limit Type (0b = Single, 1b = Multiple)
bit 1 : Single Limit Beep On/Off
bit 2 : Single Limit Status On/Off
bit 3 : Single Limit Beep Level ABOVE/BELOW
305 Scaled by Frequency Scale Factor (bytes 244-245)
306 Value sent as ( value in dBm * 1000 ) + 270000
307 Scaled by Frequency Scale Factor (bytes 244-245)
308 Value sent as ( value in dBm * 1000 ) + 270000
309 RBW frequency sent in Hz.
310 VBW frequency sent in Hz.
Spectrum Master PM67
Page 73
bit 4 : Multiple Limit Upper Segment 1 Status On/Off
bit 5 : Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
311
bit 6 : Multiple Limit Upper Segment 2 Status On/Off
bit 7 : Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
233) Status Byte 4 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : Multiple Limit Upper Segment 3 Status On/Off
bit 1 : Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW
bit 2 : Multiple Limit Upper Segment 4 Status On/Off
bit 3 : Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW
bit 4 : Multiple Limit Upper Segment 5 Status On/Off
bit 5 : Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW
bit 6 : Multiple Limit Lower Segment 1 Status On/Off
bit 7 : Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
312
234) Status Byte 5 : (0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB)bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW
bit 2 : Multiple Limit Lower Segment 3 Status On/Off
bit 3 : Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW
bit 4 : Multiple Limit Lower Segment 4 Status On/Off
bit 5 : Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW
bit 6 : Multiple Limit Lower Segment 5 Status On/Off
bit 7 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
235) Status Byte 6: (0b = Off, 1b = On)
(LSB)bit 0 : External Reference Frequency On/Off
bit 1 : Bias Tee On/Off (Option 10)
bit 2 : Amplitude Units (Linear) – 00b = Watts 01b = Volts
bits 3-4 : Amplitude Units (Log) - 00b = dBm 01b = dBV 10b = dBmV 11b = dBuV
bits 5-6 : Detection Alg (00b=pos. peak 01b=RMS Avg 10b=neg. peak 11b=Sampling Mode)
bit 7 : Units Type (0b = Log 1b = Linear)
236) External Reference Frequency
237) Signal Standard
238) Signal Standard (lower byte)
239) Channel Selection
240) Channel Selection (lower byte)
241) Trigger Type
314
(higher byte)
315
316
(higher byte)
313
242) Status Byte 7
(LSB)bits 0-6: Number of sweeps to average (1-25, 1 implies averaging OFF)
bit 7: Not Used
243) Status Byte 8: (0b = Off, 1b = On)
(LSB)bits 0-1: Trace Math Operation (00b = A only, 01b = A-B, 10b = A+B)
bit 2: Max Hold On/Off
bit 3: Min Hold On/Off
bit 4: RBW Coupling (1b = Auto, 0b = Manual)
bit 5: VBW Coupling (1b = Auto, 0b = Manual)
bit 6: Attenuation Coupling (1b = Auto, 0b = Manual)
bit 7: View B On/Off
244) Frequency Scale Factor
317
(higher byte)
245) Frequency Scale Factor (lower byte)
311 Beep level is always 1b for upper segmented limit line
312 Beep level is always 0b for lower segmented limit line
313 1 byte in MHz (i.e. 20 = 20MHz)
314 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
315 “No Channel” is sent as FFFEh
316 Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
317 In number of Hz
68Spectrum Master PM
Page 74
246) Frequency Range Minimum
247) Frequency Range Minimum
248) Frequency Range Minimum
249) Frequency Range Minimum (lowest byte)
250) Frequency Range Maximum
251) Frequency Range Maximum
252) Frequency Range Maximum
253) Frequency Range Maximum (lowest byte)
254) Marker Type
255) Trace B Trace Id
320
321
256) Status Byte 9
(LSB)bit 0: Reserved
bits 1-7: Not Used
257-400) Not Used
For Power Meter Mode (Option 29 only):
21) Power Meter Start Freq
322
(highest byte)
22) Power Meter Start Freq
23) Power Meter Start Freq
24) Power Meter Start Freq
323
(lowest byte)
25) Power Meter Stop Freq (highest byte)
26) Power Meter Stop Freq
27) Power Meter Stop Freq
28) Power Meter Stop Freq (lowest byte)
29) Power Meter Center Freq
324
30) Power Meter Center Freq
31) Power Meter Center Freq
32) Power Meter Center Freq (lowest byte)
33) Power Meter Span
325
(highest byte)
34) Power Meter Span
35) Power Meter Span
36) Power Meter Span (lowest byte)
37) Signal Standard
38) Signal Standard (lower byte)
39) Channel Selection
40) Channel Selection (lower byte)
41) Power Meter Offset
326
(higher byte)
327
(higher byte)
328
(highest byte)
42) Power Meter Offset
318
(highest byte)
319
(highest byte)
(highest byte)
318 Scaled by Frequency Scale Factor (bytes 244-245)
319 Scaled by Frequency Scale Factor (bytes 244-245)
320 00h = Regular Marker, 01h = Noise Marker
321 FFh indicates no trace selected
322 Scaled by Frequency Scale Factor (bytes 54-55)
323 Scaled by Frequency Scale Factor (bytes 54-55)
324 Scaled by Frequency Scale Factor (bytes 54-55)
325 Scaled by Frequency Scale Factor (bytes 54-55)
326 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
327 “No Channel” is sent as FFFEh
328 Value sent as (value in dB * 1000)
Spectrum Master PM69
Page 75
43) Power Meter Offset
44) Power Meter Offset (lowest byte)
45) Power Meter Relative (highest byte)
329
46) Power Meter Relative
47) Power Meter Relative
48) Power Meter Relative (lowest byte)
49) Not Used
50) Power Meter Unit (00h = Watts, 01h = dBm)
51) Power Meter Relative Status (00h = Off, 01h = On)
52) Power Meter Offset Status (00h = Off, 01h = On)
53) Power Meter RMS Averaging Level (00h = Off, 01h = Low, 02h = Medium, 03h = High)
54) Frequency Scale Factor
55) Frequency Scale Factor (lower byte)
56) Frequency Range Minimum
330
(higher byte)
331
(highest byte)
57) Frequency Range Minimum
58) Frequency Range Minimum
59) Frequency Range Minimum (lowest byte)
60) Frequency Range Maximum
332
(highest byte)
61) Frequency Range Maximum
62) Frequency Range Maximum
63) Frequency Range Maximum (lowest byte)
64) Zero Status (00h = Off, 01h = On)
65) Zero Value
333
(highest byte)
66) Zero Value
67) Zero Value
68) Zero Value (lowest byte)
69-120) Not Used
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
Query Saved Setups – Control Byte #68 (44h)
Description: Returns a list of setups saved for the specified measurement mode. Modes that are stored in the same table (i.e.
Spectrum Analyzer and Transmission Measurement modes) will be returned by this command when either mode is specified.
Frequency Scale Factor is defined as the number of Hz.
Start and Stop frequencies are sent scaled by the Frequency Scale Factor.
Bytes to Follow: 1 byte
1)Measurement Mode
Spectrum Master Returns:
329 Value sent as ((value in dBm * 1000) + 100)
330 In number of Hz
331 Scaled by Frequency Scale Factor
332 Scaled by Frequency Scale Factor
333 Value sent as ((value in dBm * 1000) + 100)
334 Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
334
70Spectrum Master PM
Page 76
For All Modes:
1)Number of Following Bytes (higher byte)
2)Number of Following Bytes (lower byte)
3)Number of Setups
For Each Setup:
1)Setup Number
2)Attributes
bit 0: Read Only Status (00h = Write-able, 01h = Read Only)
bits 1-7: Not Used
Description: Enter remote mode at the end of a sweep then send model number and firmware version to the computer.
The computer sends Enter Remote mode byte #69 (45h) to the Spectrum Master and waits for response.
Since the Spectrum Master polls its serial port buffer at the end of each sweep, the computer must wait until the Spectrum
Master sends the return bytes before sending a new control byte. Otherwise, the new control byte overwrites the old one
(saying enter remote) and the Spectrum Master does not respond as expected.
Once in remote mode, the Spectrum Master stops sweeping. A Remote Mode Indicator appears on the LCD.
The Spectrum Master sends its model and software version numbers to the computer. The Spectrum Master is now able to
take multiple control bytes. It waits for the next control byte.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 13 bytes
1-2) Model # (unsigned integer, 16h for Spectrum Master MS2711D)
3-9) Extended Model # (7 bytes in ASCII)
10-13) Software Version - 4 bytes (ASCII)
Enter Remote Mode Immediately – Control Byte #70 (46h)
Description: Enter remote mode in the middle of a sweep, then send the model number and firmware version to the
computer.
The computer sends Enter Remote Mode Immediately byte #70 (46h) to the Spectrum Master and waits for a response. This
control byte causes the unit to enter remote mode immediately. Note that this could result in incomplete sweep data. Use
control byte #69 if complete data is required.
335 Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
Spectrum Master PM71
Page 77
Once in remote mode, the Spectrum Master stops sweeping. A Remote Mode Indicator appears on the LCD.
The Spectrum Master sends its model and software version numbers to the computer. The Spectrum Master is now able to
take multiple control bytes. It waits for the next control byte.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 13 bytes
1-2) Model # (unsigned integer, 16h for Spectrum Master MS2711D)
3-9) Extended Model # (7 bytes in ASCII)
10-13) Software Version (4 bytes in ASCII)
Write Protect Setup – Control Byte #71 (47h)
Description: Makes a saved setup either read-only or write-able.
Setup numbers as follows:
255= All Setups in the Specified Mode
1 – 10= Saved setups for Spectrum Analyzer/Transmission Measurement modes
1 – 5= Saved setups for Power Meter mode (Option 29 only)
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
Clear Setup Memory Location – Control Byte #72 (48h)
Description: Clears a setup memory location such that it appears as <EMPTY> in the Recall Setup list.
Setup numbers as follows:
255= All Setups in the Specified Mode
1 – 10= Saved setups for Spectrum Analyzer/Transmission Measurement modes
1 – 5= Saved setups for Power Meter mode (Option 29 only)
Bytes to Follow: 2 bytes
1)Measurement Mode
2)Setup Number
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
337
336 Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
337 Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
72Spectrum Master PM
Page 78
Write Antenna – Control Byte #82 (52h)
Description: Receives an antenna to the Spectrum Master via the serial port.
An antenna is described with an index into the list (1-10) and an ASCII name that appears in the list on the Spectrum Master.
Each antenna can have up to 60 antenna factors. Each antenna factor has an associated frequency and value. These are
specified one at a time.
Frequencies are sent in Hz, scaled by the scale factor.
The value of the antenna factor should be sent as (value * 100).
Bytes to Follow: 26 – 380, depending on the number of antenna factors
1)Antenna List Index (1-10)
2-17)Antenna Name (in ASCII)
18) Number of Antenna Factors (max = 60)
19-20) Frequency Scale Factor (in Hz)
For each antenna factor:
1)Frequency (highest byte)
2)Frequency
3)Frequency
4)Frequency (lowest byte)
5)Antenna Factor (higher byte)
6)Antenna Factor (lower byte)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
Recall Antenna – Control Byte #83 (53h)
Description: Sends an antenna from the Spectrum Master via the serial port.
An antenna is described with an index into the list (1-10) and an ASCII name that appears in the list on the Spectrum Master.
Each antenna can have up to 60 antenna factors. The number of antenna factors will be sent before the actual values are sent.
Each antenna factor has an associated frequency and value. These are specified one at a time.
Frequencies are sent in Hz, scaled by the scale factor.
The value of the antenna factor should be sent as (value * 100).
Bytes to Follow: 1 byte
1) Antenna List index (1-10)
Spectrum Master Returns: (28-382 bytes, depending on the number of antenna factors)
1)Maximum Antenna Number (10)
2-17)Antenna Name (in ASCII)
18)Number of Antenna Factors (max = 60)
19-20) Frequency Scale Factor (in Hz)
21-22)Number of Following Bytes
For each antenna factor:
1)Frequency (highest byte)
2)Frequency
3)Frequency
4)Frequency (lowest byte)
Spectrum Master PM73
Page 79
5)Antenna Factor (higher byte)
6)Antenna Factor (lower byte)
Set Field Strength Measurement – Control Byte #84 (54h)
Description: Sets the state of the measurement (ON or OFF) and the antenna index for the field strength measurement.
Antennas 1-10 are custom antennas. Antennas 11-15 are standard antennas. The standard antennas are:
If the FCN4760 frequency converter module is attached, the standard antenna is:
11. Anritsu # 2000-1361 (5725-5825 MHz)
Note that if the field strength measurement is turned ON, all other measurements (channel power, adjacent channel power)
are turned OFF.
Bytes to Follow: 2 bytes
1) Field Strength Measurement State (On/Off)
2) Antenna List index (1-15)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid state or index
238 (EEh) Time Out Error
Set Channel Power – Control Byte #85 (55h)
Description: Sets the state of the measurement (ON or OFF), and the setup parameters to perform the channel power
measurement.
Send a 0 (zero) following the command to set the channel power measurement in the current setup.
Send a 1 (one) to set the channel power associated with the trace that was most recently uploaded by command #36, Upload
Sweep Trace.
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of
the module. If the module is not attached, frequencies are sent in Hz. Use Control Word A203 to determine whether a module
is attached and the appropriate scale factor.
Note that if the channel power measurement is turned ON, all other measurements (field strength, adjacent channel power)
are turned OFF.
Bytes to Follow: 14 bytes
1) Channel Power Location (0 = current setup, 1 = last uploaded trace)
2) Channel Power Measurement State (On/Off)
3-6) Center Frequency
7-10) Integration Bandwidth
11-14) Span Frequency
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
74Spectrum Master PM
Page 80
Read Channel Power – Control Byte #86 (56h)
Description: Read the current channel power or the channel power of a stored trace.
Send a 0 (zero) following the command to read the current channel power measurement (i.e. the one that is updated as the
unit is sweeping).
Send 1-200 to read the channel power associated with a stored trace (use Query Trace Names, #24, to obtain trace numbers).
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of
the module. If the module is not attached, frequencies are sent in Hz. Use Control Word A203 to determine whether a module
is attached and the appropriate scale factor.
Bytes to Follow: 1 byte
1)Channel Power Location (0 = current measured value, 1-200 = value in stored trace)
Spectrum Master Returns: 21 bytes
1) Channel Power On/Off
2-5) Channel Center Frequency
6-9) Integration Bandwidth
10-13) Channel Span Frequency
14-17) Channel Power (= (power in dBm * 100) + 270000)
18-21) Channel Power Density (= (density in dBm/Hz * 100) + 270000)
Set Adjacent Channel Power Ratio (ACPR) – Control Byte #87 (57h)
Description: Sets the state of the measurement (ON or OFF), the center frequency, the main channel bandwidth, the adjacent
channel bandwidth and the channel spacing.
Send a 0 (zero) following the command to set the channel power measurement in the current setup.
Send a 1 (one) to set the adjacent channel power associated with the trace that was most recently uploaded by command #36,
Upload Sweep Trace.
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of
the module. If the module is not attached, frequencies are sent in Hz. Use Control Word A203 to determine whether a module
is attached and the appropriate scale factor.
Note that if the ACPR measurement is turned ON, all other measurements (field strength, channel power) are turned OFF.
Bytes to Follow: 18 bytes
1) Adjacent Channel Power Location (0 = current setup, 1 = last uploaded trace)
2) Adjacent Channel Power Measurement State (On/Off)
3-6) Center Frequency
7-10) Main Channel Bandwidth
11-14) Adjacent Channel Bandwidth
15-18) Channel Spacing
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
Spectrum Master PM75
Page 81
Read Adjacent Channel Power Ratio (ACPR) – Control Byte #88 (58h)
Description: Read the current adjacent channel power or the adjacent channel power of a stored trace.
Send a 0 (zero) following the command to read the current adjacent channel power measurement (i.e. the one that is updated
as the unit is sweeping).
Send 1-200 to read the channel power associated with a stored trace (use Query Trace Names, #24, to obtain trace numbers).
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of
the module. If the module is not attached, frequencies are sent in Hz. Use Control Word A203 to determine whether a module
is attached and the appropriate scale factor.
Bytes to Follow: 1 byte
1)Adjacent Channel Power Ratio Location (0 = current measured value, 1-200 = value in stored trace)
Spectrum Master Returns: 29 bytes
1) ACPR On/Off
2-5) Main Channel Center Frequency
6-9) Main Channel Bandwidth
10-13) Adjacent Channel Bandwidth
14-17) Channel Spacing
18-21) Main Channel Power (= (power in dBm * 100) + 270000)
22-25) Lower Adjacent Channel Power (= (power in dBm * 100) + 270000)
26-29) Upper Adjacent Channel Power (= (power in dBm * 100) + 270000)
Read Signal Standard Name – Control Byte #89 (59h)
Description: Returns the name corresponding to the desired signal standard index as an ASCII string in English.
Spectrum Master Returns: 2 bytes + number of bytes in string (or 1 byte on error)
1)String length (in number of bytes - referred to as “X” on the next line)
2-(X+1)) Standard Name in ASCII
X+2)255 (FFh) Operation Complete Byte
or
1)224 (E0h) Parameter Error
238 (EEh) Time Out Error
Measure OCC BW % of Power – Control Byte #96 (60h)
Description: Measure OCC BW with % of Power method.
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of
the module. If the module is not attached, frequencies are sent in Hz. Use Control Word A203 to determine whether a module
is attached and the appropriate scale factor.
Bytes to Follow: 4 bytes
1)% of Power (highest byte)
2)% of Power
3)% of Power
4)% of Power (lowest byte) (in 100th of %, 9123 = 91.23% )
76Spectrum Master PM
Page 82
Spectrum Master Returns: 16 bytes
1-4) Occupied Bandwidth (in Hz)
5-8) Measure dB down (dB * 100,000)
9-12) Low Frequency OCC BW
13-16) High Frequency OCC BW
Measure OCC BW dB Down – Control Byte #97 (61h)
Description: Measure OCC BW with dB down method.
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of
the module. If the module is not attached, frequencies are sent in Hz. Use Control Word A203 to determine whether a module
is attached and the appropriate scale factor.
Bytes to Follow: 4 bytes
1-4) dB down (in 100th of dB, 1234 = 12.34dB)
Spectrum Master Returns: 16 bytes
1-4) OCC BW (frequency in Hz)
5-8) Measure % of Power (% of power * 100)
9-12) Low Frequency OCC BW
13-16) High Frequency OCC BW
Set Bias Tee Function - Control Byte #98 (62h)(Option 10 only)
Description: Set the Bias Tee function On/Off. If the Bias Tee is turned on, the Spectrum Master returns the results of Bias
Tee.
Bytes to Follow: 1 byte
00h - Turns the Bias Tee Off
01h - Turns the Bias Tee On
NOTE: Due to the hardware delay, the Spectrum Master does not return the results of the Bias Tee until
approximately three seconds after the Bias Tee is turned on.
Set Spectrum Analyzer Start/Stop Frequency – Control Byte #99 (63h)
Description: Sets the spectrum analyzer start and stop frequencies.
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of
the module. If the module is not attached, the frequencies are sent in Hz. Use Control Word A203 to determine whether a
module is attached and the appropriate scale factor.
Bytes to Follow: 8 bytes
1) Start Frequency (highest byte)
2) Start Frequency
3) Start Frequency
4) Start Frequency (lowest byte)
5) Stop Frequency (highest byte)
6) Stop Frequency
7) Stop Frequency
8) Stop Frequency (lowest byte)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid frequency range
238 (EEh) Time Out Error
Set Spectrum Analyzer Center Freq./Span – Control Byte #100 (64h)
Description: Sets the spectrum analyzer center frequency and span.
If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale factor of
the module. If the module is not attached, the frequencies are sent in Hz. Use Control Word A203 to determine whether a
module is attached and the appropriate scale factor.
Bytes to Follow: 8 bytes
1) Center Frequency (highest byte)
2) Center Frequency
3) Center Frequency
4) Center Frequency (lowest byte)
5) Frequency Span (highest byte)
6) Frequency Span
7) Frequency Span
8) Frequency Span (lowest byte)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid frequency range
238 (EEh) Time Out Error
Set Spectrum Analyzer Scale – Control Byte #101 (65h)
Description: Sets the reference level and the number of dB represented by each graph division.
Ref Level will be the “top” scale of the graph, and there are total of 10 divisions, so bottom scale can be determined by : Ref
level + 10 x dB/div.
78Spectrum Master PM
Page 84
Bytes to Follow: 8 bytes
1)Ref Level (highest byte)
2)Ref Level
3)Ref Level
4)Ref Level (lowest byte)
5)dB/div (highest byte)
6)dB/div
7)dB/div
8)dB/div (lowest byte)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid scale
238 (EEh) Time Out Error
Notes:
Ref Level is sent as the (Ref Level * 1000) + 270,000 (0 dBm = 270,000, 20 dBm = 290000, -120 dBm = 150,000)
Scale should be sent as (dB * 1000) (e.g., 10.00 dB = 10000)
Set Spectrum Analyzer Marker – Control Byte #102 (66h)
Description: Sets an individual Spectrum Analyzer marker.
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid VBW Index
238 (EEh) Time Out Error
Set Spectrum Analyzer Sweep Mode – Control Byte #108 (6Ch)
Description: Enables or disables the Single Sweep Mode during Spectrum Analyzer mode of operation.
Single Sweep Mode activates once the Spectrum Master exits from the remote mode.
Bytes to Follow: 1 byte
1)Sweep Mode
00h – Single Sweep
01h – Continuous Sweep
02h – Video Trigger (Span must be 0)
03h – External Trigger (Span must be 0)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid Mode
238 (EEh) Time Out Error
Set Spectrum Analyzer Marker to Peak – Control Byte #109 (6Dh)
Description: Sets the specified marker to the peak value of the sweep.
Bytes to Follow: 1 byte
1)Marker Number (1-6)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid Marker Number
238 (EEh) Time Out Error
Set Spectrum Analyzer Marker to Center – Control Byte #110 (6Eh)
Description: Sets the center frequency equal to the frequency of the specified marker.
Bytes to Follow: 1 byte
1)Marker Number (1-4)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid Marker Number
238 (EEh) Time Out Error
Set Spectrum Analyzer Attenuation – Control Byte #111 (6Fh)
NOTE: This command exists for backward compatibility with the MS2711B. To access new video
bandwidths use Control Byte #143 (8Fh).
Description: Sets the attenuation for the Spectrum Master Spectrum Analyzer mode. Send a value of 255 (FFh) to enable
dynamic attenuation.
Spectrum Master PM81
Page 87
Automatic control couples the attenuation to the reference level. Note that setting the attenuation using this command
automatically sets the attenuation coupling to “MANUAL”, thereby allowing it to be defined independently of the reference
level.
224 (E0h) Parameter Error: Invalid Attenuation Value
238 (EEh) Time Out Error
Set Spectrum Analyzer Multiple Limit – Control Byte #113 (71h)
Description: Sets the position and ON/OFF Status of a limit segment.
Multiple limits are defined by multiple limit segments, each with a different finite slope. The single limit is a single,
horizontal line that can be defined to act as an upper limit or as a lower limit. See control byte #103 for information about the
single limit.
The limit types are mutually exclusive. That is, you cannot have both single and multiple limits at the same time. Note that
setting a limit segment ON automatically makes the limit type "MULTIPLE."
One segment is defined each time this command is sent to the Spectrum Master. The first two bytes of the command specify
which segment is being defined. There are 5 upper limits and 5 lower limits available in Spectrum Analyzer mode. Byte 1
selects the segment number. Byte 2 specifies whether it is an upper limit or a lower limit. Byte 3 turns the segment ON or
OFF. Byte 4 specifies whether the error beep sounds when the bound set by the segment is exceeded by the measured data.
The segment location is defined by its endpoints. The "Start" endpoint must appear to the left of the "End" endpoint on the
graph. That is, Start X < End X. If Start X = End X then Start Y must equal End Y. Vertical segments are not allowed.
Bytes to Follow: 20 bytes
1)Segment number (1-5)
2)Segment type (00h = LOWER limit, 01h = UPPER limit)
3)Limit Line ON/OFF (01h = On, 00h = Off)
4)Limit Beep ON/OFF (01h = On, 00h = Off)
5)Limit Value Start X
338
(highest byte)
6)Limit Value Start X
7)Limit Value Start X
8)Limit Value Start X (lowest byte)
9)Limit Value Start Y
339
(highest byte)
10) Limit Value Start Y
11) Limit Value Start Y
12) Limit Value Start Y (lowest byte)
338 If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale
factor of the module. If the module is not attached, the frequencies are sent in Hz. Use Control Word A203 to
determine whether a module is attached and the appropriate scale factor.
339 ( Value in dBm * 1000 ) + 270,000
82Spectrum Master PM
Page 88
13) Limit Value End X
340
(highest byte)
14) Limit Value End X
15) Limit Value End X
16) Limit Value End X (lowest byte)
17) Limit Value End Y
341
(highest byte)
18) Limit Value End Y
19) Limit Value End Y
20) Limit Value End Y (lowest byte)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid limit segment, status or value
238 (EEh) Time Out Error
Set Return Spectrum Analyzer Sweep Time – Control Byte #114 (72h)
Description: If this is enabled, the duration of the current sweep (in milliseconds) will be returned as 4 bytes via the serial
port at the end of the sweep. If Serial Echo Status is enabled, the 4 bytes will be returned AFTER the sweep complete byte.
Bytes to Follow: 1 byte
1)Return SPA Sweep Time flag state
00h = Don’t Return Sweep Time
01h = Return Sweep Time
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid state
238 (EEh) Time Out Error
Set Reference Level Offset – Control Byte #115 (73h)
Description: Set the value of the reference level offset.
The reference level offset allows the user to view the result of trace math (A+B, A-B) even if it is greater than +20 dBm or
less than –120 dBm. The offset is a constant that is subtracted from the reference level.
Note that the valid range is –100 to +100 dB.
Send the value as (value in dB * 1000) + 270,000.
For example, to compensate for a 30 dB attenuator, the reference level offset should be –30 dB. That value would be sent
over the serial port as (–30 * 1000) + 270,000 = 240,000.
Bytes to Follow: 4 bytes
1)Reference Level Offset (highest byte)
2)Reference Level Offset
3)Reference Level Offset
4)Reference Level Offset (lowest byte)
Spectrum Master Returns: 1 byte
340 If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale
factor of the module. If the module is not attached, the frequencies are sent in Hz. Use Control Word A203 to
determine whether a module is attached and the appropriate scale factor.
341 ( Value in dBm * 1000 ) + 270,000
Spectrum Master PM83
Page 89
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
Set Spectrum Analyzer Impedance - Control Byte #116 (74h)
Description: Set the impedance and the loss value due to an adapter.
The MS2711D can automatically compensate for the effects of impedance adapters. The impedance of the MS2711D is 50W,
so there is no need for an adapter in this case. The loss for the Anritsu 75W adapter 12N50-75B is known by the MS2711D.
This control byte also allows for the specification of the impedance and the loss due to an adapter the system does not know.
In either case, 5 bytes must be sent to the unit. If the impedance is 50W or one of the known adapters is specified, bytes 2-5
are ignored. If an unknown adapter is specified, the unit uses bytes 2-5 to correct for the adapter.
Bytes to Follow: 5 bytes
1) Impedance Adapter
2) Impedance Loss
342
343
(highest byte)
3) Impedance Loss
4) Impedance Loss
5) Impedance Loss (lowest byte)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
Read Marker Value – Control Byte #117 (75h)
Description: Returns the frequency location of the specified marker, and the value at that location.
If Option 6 is installed and the frequency converter module is attached, the frequency will be scaled by the scale factor of the
module. If the module is not attached, the frequency is sent in Hz. Use Control Word A203 to determine whether a module is
attached and the appropriate scale factor.
Bytes to Follow: 1 byte
1)Marker number (1-6)
Spectrum Master Returns: 8 bytes (1 byte if an error occurs)
If markers are set to be noise markers, convert the returned dBm value to dBm/Hz using this formula (only if detection
method is RMS Average):
marker (in dBm/Hz) = marker value (in dBm) – 10 * log10(RBW) – 0.13
Set Sweep Averaging – Control Byte #118 (76h)
Description: Sets the number of sweeps to average. The maximum number is 25. Sending a 1 turns averaging off.
Bytes to Follow: 1 byte
1)Number of sweeps to average (1-25)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
Normalize Spectrum Analyzer - Control Byte #130 (82h)
Description: Performs Normalization of SPA graph.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
238 (EEh) Time Out Error
Set Spectrum Analyzer Normalization Status - Control Byte #131 (83h)
Description: Turns Normalization On/Off.
Bytes to Follow: 1 bytes
1) Normalization Status (00h = Off, 01h = On)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
Set / Reset Spectrum Analyzer External Reference – Control Byte #133 (85h)
Description: Sets the external reference frequency for the spectrum analyzer in increments of 1 MHz from2–20MHz. The
frequencies are sent in Hz.
Bytes to Follow: 1 byte if turning the reference OFF, 5 bytes if turning the reference ON
Turn OFF the external reference:
1)00h - Turn OFF the frequency reference
or
Turn ON the external reference (the reference frequency is also sent):
1)01h - Turn ON the frequency reference
2)External Reference Frequency (in Hz) (highest byte)
3)External Reference Frequency (in Hz)
4)External Reference Frequency (in Hz)
5)External Reference Frequency (in Hz) (lowest byte)
Spectrum Master PM85
Page 91
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
Check Spectrum Analyzer External Reference – Control Byte #134 (86h)
Description: Checks to see if Spectrum Analyzer external reference is present. If it is, it then checks to see if it is at the
correct frequency for PLL locking.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
On Success:
1)00h – Reference present and at the correct frequency (PLL functioning)
01h – Reference is not present
02h – Reference is present, but internal PLL and external frequency do not match up.
or
On Error:
1)224 (E0h) Parameter Error – Not in External reference mode
238 (EEh) Time-out Error.
Set Spectrum Analyzer Preamp State (On/Off/Auto) – Control Byte #136 (88h)
Description: Sets the state of Spectrum Analyzer preamplifier.
Setting the preamp state to ON or OFF sets the preamp coupling to manual. That is, the preamplifier state is controlled
independently of all other parameters.
Setting the preamp state to AUTO couples the preamp state to the reference level and the attenuation. If the attenuation is
automatically coupled to the reference level, the preamp will turn on when the reference level is set less than -26 dBm. If the
attenuation is manually coupled to the reference level, the preamp will turn on when the value of (attenuation – reference
level) >= 51.
Bytes to Follow: 1 byte
1)Mode (00h = Off, 01h = On, 02h = Auto)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid state
238 (EEh) Time Out Error
Set Spectrum Analyzer Units – Control Byte #140 (8Ch)
Description: Sets the scale type (logarithmic or linear) and the units.
Set Spectrum Analyzer Resolution Bandwidth – Control Byte #141 (8Dh)
NOTE: This command is new to the Spectrum Master MS2711D models. Use it instead of Control Byte
#106 to access the RBW.
Description: Sets the resolution BW frequency for the Spectrum Analyzer.
Bytes to Follow: 4 bytes
1)Resolution Bandwidth (frequency in Hz) (highest byte)
2)Resolution Bandwidth (frequency in Hz)
3)Resolution Bandwidth (frequency in Hz)
4)Resolution Bandwidth (frequency in Hz) (lowest byte)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid RBW
238 (EEh) Time Out Error
Set Spectrum Analyzer Video Bandwidth – Control Byte #142 (8Eh)
NOTE: This command is new to the Spectrum Master MS2711D models. Use it instead of Control Byte
#107 to access the VBW.
Description: Sets the video BW frequency for the Spectrum Analyzer.
Bytes to Follow: 4 bytes
1)Video Bandwidth (frequency in Hz) (highest byte)
2)Video Bandwidth (frequency in Hz)
3)Video Bandwidth (frequency in Hz)
4)Video Bandwidth (frequency in Hz) (lowest byte)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid VBW
238 (EEh) Time Out Error
Spectrum Master PM87
Page 93
Set Spectrum Analyzer Attenuation – Control Byte #143 (8Fh)
NOTE: This command is new to the Spectrum Master MS2711D models. Use it instead of Control Byte
#111 to access the Attenuation.
Description: Sets the attenuation of the Spectrum Analyzer. Send a value of 255 (FFh) to enable dynamic attenuation.
Automatic control couples the attenuation to the reference level. Note that setting the attenuation using this command
automatically sets the attenuation coupling to “MANUAL”, thereby allowing it to be defined independently of the reference
level.
Bytes to Follow: 1 byte
1)Attenuation (0 – 51)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid attenuation
238 (EEh) Time Out Error
Set AM/FM Demodulation – Control Byte #145 (91h)
Description: Sets the AM/FM/SSB Demodulation state. This command is also used to set the type of Modulation, volume,
Demodulation Frequency, BFO Adjust (SSB only) and the Demodulation time. On turning demodulation ON, after exiting
remote, at the end of every sweep, demodulation is performed at the Demodulation frequency for a period of time specified in
the Demod Time.
Bytes to Follow: 16 bytes
1)Set AM/FM/SSB Demod On/Off
2)Demodulation Type
345
3)Speaker Volume (higher byte)
4)Speaker Volume (lower byte)
5)Demodulation Time
347
6)Demodulation Time
7)Demodulation Time
8)Demodulation Time (lowest byte)
9)Demodulation Frequency
10) Demodulation Frequency
11) Demodulation Frequency
12) Demodulation Frequency (lowest byte)
13) SSB BFO Adjust
349
(highest byte)
14) SSB BFO Adjust
344 00h = Off, 01h = On
345 00h = FM Wideband, 01h = FM Narrowband, 02h = AM, 03h = SSB Lower, 04h = SSB Upper
346 Speaker Volume is from 0 to 100 in steps of 10
347 Demodulation time in milliseconds from 100 millisec to 500 seconds
348 If Option 6 is installed and the frequency converter module is attached, the frequencies should be scaled by the scale
factor of the module. If the module is not attached, the frequencies are sent in Hz. Use Control Word A203 to
determine whether a module is attached and the appropriate scale factor.
349 BFO Valid Values are -10 kHz to +10 kHz. Send value as BFO(in Hz) + 10,000. For Example -10 kHz would be sent
as 0, 0 would be sent as 10000 and +10 kHz would be 20000
344
346
(highest byte)
348
(highest byte)
88Spectrum Master PM
Page 94
15) SSB BFO Adjust
16) SSB BFO Adjust (lowest byte)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
Set Baud Rate – Control Byte #197 (C5h)
Description: Set baud rate for this session. An invalid setting returns the baud rate to 9600.
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid baud rate index
238 (EEh) Time Out Error
Set Language – Control Byte #198 (C6h)
Description: Set the Spectrum Master display language.
Bytes to Follow: 1 byte
1)Language Index
00h = English
01h = French
02h = German
03h = Spanish
04h = Chinese
05h = Japanese
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid language index
238 (EEh) Time Out Error
Query Time – Control Byte #208 (D0h)
Description: Queries the Spectrum Master for the current time in ASCII format.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 8 bytes (HH:MM:SS)
1)Hour (higher byte)
2)Hour (lower byte)
3):
4)Minute (higher byte)
5)Minute (lower byte)
Spectrum Master PM89
Page 95
6):
7)Second (higher byte)
8)Second (lower byte)
Read ASCII Serial Number – Control Byte #225 (E1h)
Description: Reads and returns the Spectrum Master serial number as 8 ASCII bytes.
Bytes to Follow: 1 byte
1)Serial number storage location
01h = Main (External) Serial Number,
02h = Secondary (Motherboard) Serial Number
Spectrum Master Returns: 8 bytes
1-8) Serial Number (in ASCII)
Exit Remote Mode – Control Byte #255 (FFh)
Description: Spectrum Master exits remote mode.
The computer sends the Exit Remote command #255 (FFh) to the Spectrum Master. Spectrum Master returns a confirm flag
(FFh). The Spectrum Master resumes sweeping, either continuously or singly.
You may also press the “ESCAPE” key on the Spectrum Master key pad to exit from remote mode (given that the serial
communication is still in sync). In this case, the Spectrum Master does not return a confirm byte to the serial port.
When exiting remote mode, system parameters changed during remote mode are used immediately.
System parameters changed during remote mode are not written to the non-volatile EEPROM.
You may want to save the changes to the run-time setup (saved setup location 0, which holds the power-on setup) or one of
the saved setups for the current measurement mode. See control byte #18 (12h) for details.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete
Select Spectrum Analyzer/Power Meter Signal Standard - Control Word (A103h)
Description: Selects a Signal Standard. Use this command for both Spectrum Analyzer and Power Meter modes. See the
“Signal Standards” section for a list of standards and their indices.
Bytes to Follow: 1 byte
1)Signal Standard - See the “Signal Standards” section for a list of standards and their indices.
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid signal standard
238 (EEh) Time Out Error
Select Spectrum Analyzer/Power Meter Channel - Control Word (A104h)
Description: Selects a channel within the range of the currently selected signal standard. Use this command for both
Spectrum Analyzer and Power Meter modes. See the “Signal Standards” section for a list of valid channels for the selected
channel.
90Spectrum Master PM
Page 96
Bytes to Follow: 2 bytes
1)Channel (higher byte)
2)Channel (lower byte)
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid channel
238 (EEh) Time Out Error
Read External Module Name – Control Word (A201h)(Option 6 only)
Description: Returns the name of the attached external converter module (Option 6).
For example, module name “FCN4760” will be received as: c,46,43,4e,34,37,36,30,0,0,0,0,0,ff
Bytes to Follow: 0 bytes
Spectrum Master Returns: 14 bytes (success) OR 1 byte (failure)
1)Length of Name (12)
2-13) Module Name
14) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Module not attached
238 (EEh) Time Out Error
or
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Module not attached
238 (EEh) Time Out Error
Read External Module Serial Number – Control Word (A202h)(Option 6 only)
Description: Sets the serial number of the attached external converter module (Option 6).
For example, serial number 12345678 will be received as: 8,1,2,3,4,5,6,7,8,ff
Bytes to Follow: 0 bytes
Spectrum Master Returns: 10 bytes
1)Length of Serial Number (8)
2-9) Serial Number
10) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Module not attached
238 (EEh) Time Out Error
or
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Module not attached
238 (EEh) Time Out Error
Read External Module Frequency Range – Control Word (A203h)(Option 6 only)
Description: Sets the frequency range of the attached external converter module (Option 6). Frequency values are scaled by
the scale factor value.
For example, the frequency range of the FCN4760 is as follows:
Scale factor: 10
Input Start Frequency: 4700 MHz (scaled, this number is 470 MHz)
Spectrum Master PM91
Page 97
Input End Frequency: 6000 MHz (scaled, this number is 600 MHz)
Output Start Frequency: 450 MHz (scaled, this number is 45 MHz)
Output End Frequency: 1750 MHz (scaled, this number is 175 MHz)
So the response will look like: 12,0,a,1c,3,a1,80,23,c3,46,0,2,ae,a5,40,a,6e,49,c0,ff
Bytes to Follow: 0 bytes
Spectrum Master Returns: 20 bytes (success) or 1 byte (failure)
1)Length of Frequency Data (18)
2-3) Scale Factor (in Hz)
4-7) Input Start Frequency (scaled by Scale Factor)
8-11) Input End Frequency (scaled by Scale Factor)
12-15) Output Start Frequency (scaled by Scale Factor)
16-19) Output End Frequency (scaled by Scale Factor)
20) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Module not attached
238 (EEh) Time Out Error
or
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Module not attached
238 (EEh) Time Out Error
Read Module Fail Counter – Control Word (A204h)(Option 6 only)
Description: Returns the value of the module lock fail counter.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 2 bytes (success) or 1 byte (failure)
1)Fail Counter (higher byte)
2)Fail Counter (lower byte)
3)255 (FFh) Operation Complete Byte
or
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Module not attached
238 (EEh) Time Out Error
Clear Module Fail Counter – Control Word (A205h)(Option 6 only)
Description: Sets the module lock fail counter to 0.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Module not attached
238 (EEh) Time Out Error
Perform Transmission Mode Calibration – Control Word (A301h)(Option 21 only)
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid channel
238 (EEh) Time Out Error
Turn OFF Transmission Mode Calibration – Control Word (A302h)(Option 21 only)
Description: Turn OFF Transmission Mode Calibration
Bytes to Follow: 0 bytes
Spectrum Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
238 (EEh) Time Out Error
Remote Self Test – Control Word (AA15h)
Description: Trigger the equivalent of a “key press” selftest.
Note: The response bytes will not all be returned immediately. The first 12 will be returned, then there will be a slight delay
before the next 14 are returned, then a final delay while the final 12 bytes are returned.
Bytes to Follow: 0 bytes
Spectrum Master Returns:
No Options or Option 10 and/or Option 29: 22 bytes
1) Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) (higher byte)
2) Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) (lower byte)
3) Memory Check (01h: Pass, 00h: Fail)
4) RTC Voltage Check (01h: Pass, 00h: Fail)
5) Power Voltage in 1/10ths of a Volt (e.g., 124 = 12.4 Volts) (higher byte)
6) Power Voltage in 1/10ths of a Volt (e.g., 124 = 12.4 Volts) (lower byte)
7) Reserved
8) Reserved
9) Reserved
10) Reserved
11) SPA LO Failure Counter (higher byte)
12) SPA LO Failure Counter (lower byte)
13) H/W Config - Mother Board ID
14) H/W Config - SPA Board ID
15) Reserved
16) H/W Config - PLD1 ID
17) H/W Config - PLD2 ID
18) Reserved
19) SPA LO Test - Status (01h: Pass, 00h: Fail, FFh: SPA board not installed)
1) Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) (higher byte)
2) Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) (lower byte)
3) Memory Check (01h: Pass, 00h: Fail)
4) RTC Voltage Check (01h: Pass, 00h: Fail)
5) Power Voltage in 1/10ths of a Volt (e.g., 124 = 12.4 Volts) (higher byte)
6) Power Voltage in 1/10ths of a Volt (e.g., 124 = 12.4 Volts) (lower byte)
7) VNA Lock Failure Counter (higher byte)
8) VNA Lock Failure Counter (lower byte)
9) VNA Integrator Failure Counter (higher byte)
10) VNA Integrator Failure Counter (lower byte)
11) SPA LO Failure Counter (higher byte)
12) SPA LO Failure Counter (lower byte)
13) H/W Config - Mother Board ID
14) H/W Config - SPA Board ID
15) Reserved
16) H/W Config - PLD1 ID
17) H/W Config - PLD2 ID
18) Reserved
19) VNA PLL Lock Failure Test - Status (01h: Pass, 00h: Fail)
20) VNA PLL Lock Failure Test - Failed data point # (Ignore this byte if the Lock Fail Test Status was Pass)
21) VNA PLL Lock Failure Test - Failed PLL # (Ignore this byte if the Lock Fail Test Status was Pass)
22) VNA Integration Test - Status (01h: Pass, 00h: Fail)
23) VNA Integration Test - Failed data point # (Ignore this byte if the Integration Test Status was Pass)
24) VNA Integration Test - Reserved
25) SPA LO Test - Status (01h: Pass, 00h: Fail, FFh: SPA board not installed)
26) SPA LO Test - Failed data point #
27) SPA LO Test - Failed LO #
28) Module PLD Version
29) Module Attached
30) Module Lock (01h = Locked, 00h = Not Locked)
31) Module Lock Fail Counter (higher byte)
32) Module Lock Fail Counter (lower byte)
33) End of Data (FFh)
Trigger Sweep – Control Word (AA30h)
Description: Causes the Spectrum Master to perform a sweep if it is in single sweep mode.
This command works only when the Spectrum Master is NOT in remote mode. Send this command, receive the “Operation
Complete Byte” and then wait for the “Sweep Complete Byte” to signify the end of the sweep.
Bytes to Follow: 0 bytes
Spectrum Master Returns: 2 bytes
1)255 (FFh) Operation Complete Byte (when the command is received)
2)192 (C0h) Sweep Complete Byte (at the end of the sweep)
Spectrum Master PM95
Loading...
+ 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.