Site Master is the preferred cable and antenna analyzer of
wireless providers, contractors and installers.
Site Master
™
S331D/S332D
Cable and Antenna Analyzer
MS2712
MS2712
MS2712
SiteMaster
SpectrumMaster
CellMaster
MS2711D
Spectrum Master
S331D
Site Master
SiteMaster
SpectrumMaster
MT8212A
Cell Master
CellMaster
Color display option shown
Programming Manual
WARRANTY
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
Site 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:
http://www.us.anritsu.com.
March 200410580-00100
Copyright ã 2003-2004 Anritsu Co.Revision: B
VNA Signal Standards.....................................123
ivSite Master PM
Programming Overview
NOTE: This programming manual is written exclusively for Anritsu Site Master Models S331D and
S332D. 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 Site 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 Site Master suspends normal operations and attends to
the serial port. The front panel display indicates when the Site Master is in remote mode.
Once in remote mode, a series of control bytes and associated data are sent to the Site Master to perform various functions
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 Site Master rear panel used for remote communication.
To complete the communication session, send the control byte to exit remote mode and the Site Master will resume normal
operations. You may also exit the remote mode by pressing the ESCAPE/CLEAR key on the Site Master front panel.
Interface Cable Installation
The Site Master is a DTE-type serial device. Communication between the Site Master and a PC is accomplished over a null
modem serial cable provided with the Site Master (Anritsu part number 800-441). Connect the cable to the Serial Interface
connector on the Site Master test connector panel and to the appropriate COM port connector on the PC.
Serial Communication Parameters
The Site 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
Site Master. For data streams going to the Site Master, the “watch dog timer” protects against interrupted transmissions by
aborting a control byte sequence if the inter-byte time limit is exceeded.
Parameter Validation
The Site Master validates input parameters for each control byte sequence. If the input parameters are out of range or invalid,
the Site Master notifies the computer by sending Parameter Error Byte #224 (E0h). The Site Master discards the received
data and waits for the next control byte.
Entering Remote Mode
Send the Enter Remote Mode Byte #69 (45h) to the Site 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 Site Master serial port buffer is one byte wide. No internal buffer exists, so waiting for the response from the unit is es
sential. If the Site 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 Site 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 current
sweep may be incomplete. Once a response string is received from the Site Master, the unit is ready to accept additional con
trol bytes.
-
-
Site Master PM1
Exiting Remote Mode
To exit remote mode, send the Exit Remote Control byte #255 (FFh) to the Site Master. The Site 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 Site 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 Site 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 Site Master to automatically save the changes to the run-time setup location upon exiting remote mode.
See the Site 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 Site Master does not automatically store the
changed system parameters to the EEPROM. Be aware of the EEPROM write cycle limitation when programming the Site
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 “VNA” in reference to a command denotes Return Loss, SWR, Cable Loss and DTF modes. The term “SPA” in
reference to a command denotes Spectrum Analyzer mode. All other modes are referenced individually.
2Site Master PM
Control Byte Summary
Control Byte
#
1 (01h)Setup SystemSets system status flags and switchesYes
2 (02h)Set VNA FrequencySets Site Master VNA frequency rangeYes
3 (03h)Select Measurement ModeSets current Site Master measurement modeYes
4 (04h)Set VNA ScaleSets Site Master VNA scale valuesYes
5 (05h)Set VNA MarkerSets position and on/off status of Site Master markers in VNA modesYes
6 (06h)Set VNA Single LimitSets position and on/off status of the Site Master single limit in VNA modesYes
7 (07h)Set DTF ParametersSets Distance to Fault parametersYes
8 (08h)Set Time/DateSets time and date of the Site MasterYes
9 (09h)Set Reference NumberSets reference number (trace name) for a sweep traceYes
10 (0Ah)Serial Port Echo On/OffAllows synchronization of Site Master and request from computer for sweep trace Yes
11 (0Bh)VNA Single Sweep On/OffEnables or disables single sweep operation in VNA modesYes
12 (0Ch)Watch-dog Timer On/OffEnables or disables the watch-dog timer—-
13 (0Dh)Sequence SM CalibrationTriggers a calibration stepYes
14 (0Eh)Set Site Master Data Points Sets number of measurement data points for Site Master VNA modesYes
15 (0Fh)Set SM Calibration ModeSets the Site Master calibration mode to OSL Cal (standard) or FlexCalYes
16 (10h)Store Sweep TraceSaves current trace data to EEPROM—-
17 (11h)Recall Sweep TraceSite 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 and integrator 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 Site Master (obsolete)Yes
27 (1Bh)Query Sweep MemoryQueries Site Master for percentage of memory that is available for trace storage—-
28 (1Ch)Upload VNA Sweep TraceUploads a Site Master VNA mode sweep trace to the Site Master (obsolete)Yes
29 (1Dh)Query System StatusQueries the Site Master for current system settingsYes
54 (36h)Set Trigger PositionSets the trigger position for the SPA when the span is 0Yes
55 (37h)Set Video Trigger LevelSets the trigger level for the SPA in video trigger modeYes
64 (40h)Auto Save Runtime SetupAutomatically save the runtime setup when exiting remote modeYes
69 (45h)Enter Remote Mode
70 (46h)
80 (50h)Write Custom CableWrites Custom Cable data to Site MasterYes
81 (51h)Recall Custom CableRecalls Custom Cable data from Site MasterYes
82 (52h)Write AntennaWrites custom antenna data to the Site Master via the serial portYes
83 (53h)Recall AntennaRecalls custom antenna data from the Site Master via the serial portYes
84 (54h)
85 (55h)Set Channel PowerSets the Channel Power measurement state and the setup parametersYes
86 (56h)Read Channel PowerReads the current channel power or the channel power of a stored traceYes
87 (57h)Set ACPRSets the ACPR measurement state and parametersYes
88 (58h)Read ACPR
89 (59h)
96 (60h)
97 (61h)
98 (62h)Set Bias Tee FunctionSet the Bias Tee function On/Off (Option 10 only)Yes
99 (63h)
100 (64h)
101 (65h)
102 (66h)
103 (67h)
105 (69h)
Power Meter RMS
Averaging On/Off
Power Meter Center
Frequency and Span
Set SPA Minimum Sweep
Time
Enter Remote Mode
Immediately
Set Field Strength
Measurement
Read Signal Standard
Name
Measure OCC BW % of
Power
Measure OCC BW dB
Down
Set Spectrum Analyzer
Start/Stop Frequency
Set Spectrum Analyzer
Center Freq./Span
Set Spectrum Analyzer
Scale
Set Spectrum Analyzer
Marker
Set Spectrum Analyzer
Single Limit
Set Spectrum Analyzer Max
Hold
NameDescription
Sets Power Meter RMS Averaging.Yes
Sets the center frequency and span frequency for the Power Meter modeYes
Sets the min sweep time for the SPA when the span is 0Yes
Enters remote mode at the end of the sweep and returns model number and
firmware version
Enters remote mode immediately and returns model number and firmware
version
Sets the field strength measurement state and the antenna indexYes
Reads the current adjacent channel power or the adjacent channel power of a
stored trace
Returns the signal standard name in EnglishYes
Measures OCC BW with % of Power methodYes
Measures OCC BW with dB down methodYes
Sets the Spectrum Analyzer Start and Stop frequenciesYes
Sets the Spectrum Analyzer center frequency and frequency spanYes
Sets the Spectrum Analyzer reference level and scale valueYes
Sets position and on/off status of a Spectrum Analyzer markerYes
Sets position and on/off status of Spectrum Analyzer single limit lineYes
Enables or disables the Spectrum Analyzer Max Hold featureYes
Watchdog
Timer
—-
—-
Yes
4Site Master PM
Control Byte
#
106 (6Ah)
107 (6Bh)
108 (6Ch)
109 (6Dh)
110 (6Eh)
111 (6Fh)
112 (70h)
113 (71h)
114 (72h)
115 (73h)Set Reference Level OffsetSets the value of the reference level offsetYes
117 (0x75)Read Marker Value
118 (76hSet Sweep AveragingSets the number of sweeps to averageYes
120 (78h)Field InstaCalInitiates an InstaCal calibration—-
124 (7Ch)
129 (81h)
133 (85h)
134 (86h)
136 (88h)Set SPA Preamp StateSets the state of the SPA preampYes
140 (8Ch)Set SPA UnitsSets the scale type (logarithmic or linear) and the unitsYes
141 (8Dh)
142 (8Eh)Set SPA Video BandwidthSets the video BW frequency for the Spectrum AnalyzerYes
143 (8Fh)Set SPA AttenuationSets the attenuation for the Spectrum AnalyzerYes
145 (91h)Set AM/FM DemodSets the AM/FM/SSB Demodulation stateYes
197 (C5h)Set Baud RateSets the serial communication baud rate for this sessionYes
198 (C6h)Set LanguageSets the Site Master display languageYes
208 (D0h)Query TimeQueries the Site Master for the current time in ASCII format—-
221 (DDh)Read Main Serial NumberReturns the Main (External) Serial Number as four bytesYes
255 (FFh)Exit Remote ModeEnds serial communications—-
A001hSet T1 Transmission LevelSets the transmission level of T1 measurement modeYes
A002hSet T1/E1 Clock SourceSets the Clock Source of T1/E1 measurement modeYes
A003hSet T1/E1 PatternSets the data pattern of T1/E1 measurement modeYes
Set Spectrum Analyzer
Resolution Bandwidth Freq
Set Spectrum Analyzer
Video Bandwidth Freq
Set Spectrum Analyzer
Sweep Mode
Set Spectrum Analyzer
Marker to Peak
Set Spectrum Analyzer
Marker to Center
Set Spectrum Analyzer
Attenuation
Set VNA Segmented Limit
Lines
Set Spectrum Analyzer
Multiple Limit
Set Return Spectrum
Analyzer Sweep Time
Read InstaCal Module
ASCII Serial Number
Set Site Master Marker
(Peak/Valley)
Set/Reset SPA External
Reference
Check External SPA
Reference
Set SPA Resolution
Bandwidth
NameDescription
Sets the Spectrum Analyzer resolution BW frequency (obsolete)Yes
Sets the Spectrum Analyzer video BW frequency (obsolete)Yes
Sets the Spectrum Analyzer sweep modeYes
Sets specified marker to peak value of the sweepYes
Sets the center frequency equal to the frequency of the specified markerYes
Sets the attenuation for the Site Master Spectrum Analyzer mode (obsolete)Yes
Sets the position and On/Off status of the segmented limit lines for the VNA
modes
Sets the position and On/Off Status of a limit segment for the SPA modeYes
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
Returns the frequency location of the specified marker, and the value at that
location
Returns the InstaCal Module serial number in ASCIIYes
Sets an individual marker in current measurement mode to either peak
(maximum) signal or valley (minimum) signal
Sets the external reference frequency for the spectrum analyzerYes
Returns the state of the SPA external reference—-
Sets the resolution BW frequency for the Spectrum AnalyzerYes
Watchdog
Timer
Yes
Yes
Yes
Yes
Site Master PM5
Control Byte
#
A004h
A005hSet T1/E1 Framing ModeSets the Framing Mode of T1/E1 measurementYes
A006h
A007h
A008hGet T1/E1 PatternReturns the current pattern for T1 and E1 modes—-
A009h
A00Ah
A00BhGet T1/E1 Carrier StatusReturns the carrier status for T1 and E1 modes—-
A00Ch
A00Dh
A00EhSet E1 Impedance OptionsSets the impedance for the E1 modeYes
A00Fh
A013h
A014h
A015hSet T1/E1 Data LoggingEnables/disables data logging in T1/E1 modesYes
A016hRead T1/E1 dBdsxInitiates a voltage measurement and returns the result in dBdsx—-
A017hRead T1/E1 FrequencyReturns the last T1/E1 frequency measurement result in Hz if available—-
A018hRead T1/E1 Freq CalReturns the current T1/E1 frequency calibration setting—-
A019hSet T1/E1 Frequency CalSets the T1/E1 frequency calibration valueYes
A103h
A201h
A202h
A203h
A204hRead Module Fail CounterReturns the value of the module lock fail counter (Option 6 only)—-
A205hClear Module Fail CounterSets the module lock fail counter to 0 (Option 6 only)—-
A104h
AA30hTrigger SweepCauses the Site Master to perform a sweep if it is in single sweep mode—-
AA15hRemote Self TestTrigger the equivalent of a "key press" selftest.—-
Set T1/E1 Error Insert
Type/Value
Start and Stop T1/E1
Measurement
Insert Error for T1/E1
Measurement
Get T1/E1 Frame Sync
Status
Get T1/E1 Pattern Sync
Status
Get T1/E1 Error Type and
Number
Set T1/E1 Line Coding
Options
Read T1 Volts
Peak-to-Peak
Set T1/E1 Receive Input
Configuration Options
Set T1/E1 Measurement
Duration
Select SPA/Power Meter
Signal Standard
Read External Module
Name
Read External Module
Serial Number
Read External Module
Frequency Range
Select SPA/Power Meter
Channel
NameDescription
Sets the Insertion Error type and the number of errorsYes
Toggles state of T1 and E1 measurements—-
Inserts the error defined into the data flow—-
Returns the current frame sync status for T1 and E1 modes—-
Returns the current pattern sync status for T1 and E1 modes—-
Returns the error type and numbers for T1 and E1 modes—-
Sets line coding options for T1 and E1 modesYes
Returns the Vpp measurement result—-
Sets the Rx input configuration for T1 and E1 modesYes
Sets T1 and E1 measurement durationYes
Selects a Signal StandardYes
Returns the name of the attached external block converter module (Option 6
only)
Returns the serial number of the attached external block converter module
(Option 6 only)
Returns the frequency range of the attached external block converter module
(Option 6 only)
Selects a channel within the range of the currently selected signal standardYes
Watchdog
Timer
—-
—-
—-
NOTES: T1/E1 commands are available with Option 50 only. Power Meter commands are available with
Option 29 only.
6Site Master PM
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 Site 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 byte 170
(VNA mode) or response bytes 275 and 276 (SPA mode) for current Site Master configuration.
Bytes to Follow: 2 bytes
1) Status Byte 1
bit 0: Fixed CW Mode On/Off (1b = On, 0b = Off)
bit 1: Not Used
bit 2: LCD Back Light On/Off (1b = On, 0b = Off)
bit 3: Measurement Unit Metric/English (0b = English, 1b = Metric)
bits 4-7: Not Used
2) Status Byte 2
bit 0: RBW Coupling (to span) (1b = Auto 0b = Manual)
bit 1: VBW Coupling (to RBW) (1b = Auto 0b = Manual)
bit 2: Not Used
bits 3-4: Amplitude Units (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV)
bits 5-6: Detection Algorithm (00b = Positive Peak 01b = RMS Average 10b = Negative Peak
11b = Sampling Mode)
bit 7: Attenuation Coupling (to ref level) (1b = Auto 0b = Manual)
Set Site Master VNA Frequency – Control Byte #2 (02h)
Description: Sets the Site Master frequency range. Start and stop frequencies are given in terms of 1 Hz steps. (e.g. 1000.3
MHz would be sent as 1000300000 = 1,000,300,000 Hz.)
Valid range is 25 MHz – 4000 MHz.
See control byte #29 (1Dh) response bytes 28 to 35 for current Site Master start and stop frequencies.
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)
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Invalid frequency range
238 (EEh) Time-out Error
1Set the Metric/English flag to the proper value before sending distance information.
Site Master PM7
Select Measurement Mode – Control Byte #3 (03h)
Description: Sets the measurement mode of the Site Master. The response byte will not be sent until the mode change is
complete.
See control byte #29 (1Dh) response byte 3 for the current Site Master measurement mode.
Bytes to Follow: 1 byte
1) Measurement Mode
00h: RL Frequency
01h: SWR Frequency
02h: Cable Loss Frequency
10h: RL Distance
11h: SWR Distance
30h: Spectrum Analyzer Mode
31h: Transmission Mode (Option 21 only)
40h: Power Meter Mode (Option 29 only)
60h: T1 Tester Mode (Option 50 only)
70h: E1 Tester Mode (Option 50 only)
Set Site Master VNA Marker – Control Byte #5 (05h)
Description: Sets an individual marker position and status in the current VNA measurement mode. See Control Byte #102 to
set markers in Spectrum Analyzer mode.
The Site Master sets the position of a marker by its relative position on the graph. The lowest position is 0 at the start
frequency (or distance). The highest position is the data point number at the stop frequency (or distance). For example, for a
resolution of 130, the first frequency is at position 0. The last frequency is at 129.
To calculate the data point from a frequency (or distance):
Set Site Master VNA Single Limit – Control Byte #6 (06h)
Description: Sets the position and On/Off status of the Single Limit Line for the VNA modes. See control byte #103 to set
the single limit for spectrum analyzer mode.
The single limit is a single, horizontal line. It can be set to On/Off in any Site Master mode. If Limit Beep is set to ON, the
Site Master will give an error beep when sweep data appears above the limit line in SWR or Return Loss mode, or when
sweep data appears below the limit line in Cable Loss mode.
The single limit and multiple limit types are mutually exclusive. That is, setting the single limit ON automatically turns
multiple limit lines OFF. See control byte #112 (70h) for information about multiple limits. See control byte #29 (1Dh)
response bytes 56-59, and byte 164 for current Site Master configuration.
2This byte is not applicable for markers 5 and 6. It will be ignored by the Site Master.
Site Master PM9
Notes:
Return Loss & Cable Loss:
Limit should be sent as ( dB * 1000 )
Maximum value sent is 60000 which represents 60.00 dB
Minimum value sent is 0 which represents 0.0 dB
SWR:
Limit is in thousandths (of ratio), so it should be sent as ( ratio * 1000 )
Maximum value sent is 65530 which represents 65.53
Minimum value sent is 1000 which represents 1.00
Set DTF Parameter – Control Byte #7 (07h)
Description: Sets Distance to Fault parameters.
Be aware using this control byte. The distance to fault parameters are all inter-related. Consequently, the control byte must
change all of those parameters at the same time to properly set them.
Enter Start and Stop distances in hundred-thousandths of a meter or foot (12.34m would be sent as 1234000).
Relative Propagation Velocity is in hundred-thousandths (a Relative Propagation Velocity of 0.850 will be sent as 85000).
Cable Loss is in hundred-thousandths of dB/m or dB/ft (–0.345 dB/m would be sent as 34500).
See control byte #29 (1Dh) response bytes 130-137 (Distance), 150-157 (Propagation Velocity & Cable Loss) for current Site
Master configuration.
Bytes to Follow: 16 bytes
1) Start Distance (highest byte)
2) Start Distance
3) Start Distance
4) Start Distance (lowest byte)
5) Stop Distance (highest byte)
6) Stop Distance
7) Stop Distance
8) Stop Distance (lowest byte)
9) Relative Propagation Velocity (highest byte)
10) Relative Propagation Velocity
11) Relative Propagation Velocity
12) Relative Propagation Velocity (lowest byte)
13) Cable Loss (highest byte)
14) Cable Loss
15) Cable Loss
16) Cable Loss (lowest byte)
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Parameter(s) out of range
238 (EEh) Time-out Error
10Site Master PM
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 Site 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.
Bytes to Follow: 16 bytes (ASCII text string)
Site Master Returns: 1 byte
Description: Sets the serial port echo mode On/Off.
Serial Port Echo Mode uses the single sweep mode (see control byte #11 (0Bh)). At the end of each sweep cycle, the Site
Master sends a Sweep Complete Byte #192 (C0h) to the serial port.
This mode activates once the Site 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 Site Master and computer by doing the following:
1) Enter remote mode. Set Serial Port Echo Mode On. Exit remote mode.
2) The Site 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
Site Master PM11
Bytes to Follow: 1 byte
1) Serial Port Echo Status
00h = Off
01h=On
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Invalid serial port echo status
238 (EEh) Time-out Error
Site Master VNA Single Sweep Mode On/Off – Control Byte #11 (0Bh)
Description: Enables or disables the Single Sweep Mode during Site Master VNA modes of operation. For Single Sweep
Mode during Spectrum Analyzer mode of operation, see control byte #108 (6Ch). Single Sweep Mode activates once the Site
Master exits from the remote mode.
When the Site Master returns to local mode, the Site Master stops sweeping, waits for either the Run/Hold Key of the Site
Master keypad or triggering byte #48 (30h).
Site Master also checks for the Enter Remote byte #69 (45h) at the end of each sweep. If present in the buffer, Site Master
returns to remote mode.
Bytes to Follow: 1 byte
1) Single Sweep Mode Status
00h = Off
01h=On
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Invalid single sweep mode 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 Site Master incorporates a watch-dog timer for higher reliability in serial communication. In selected control bytes (see
Control Byte Summary), the Site 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 Site Master notifies the computer by sending Time-out Byte #238 (EEh).
The Site Master discards the data it just received and then waits for the next control byte sequence.
Sequence Site Master Calibration – Control Byte #13 (0Dh)
Description: Initiates a calibration step. The Site Master must be calibrated to give accurate measurements.
The command sequence must be sent in correct order. i.e. Open -> Short -> Load. You can also abort the calibration by
command – “Abort” before the command - “Load” is sent. Once command - “Load” is sent, calibration is completed, and the
old calibration data is lost.
The unit under test returns #255(FFh) upon receiving the command, and return #240 (F0h) when the calibration of the
connected component is completed, then waits for further commands to complete the whole calibration process.
This command is designed to be executed step by step: open, short, load. Issuing any other command during this command
sequence will cause undesired results.
Bytes to Follow: 1 byte
1) Calibration Step to trigger
01h = Open
02h = Short
03h = Load
04h = Not Used
05h = Abort
Site Master Returns: 2 bytes
1)255 (FFh) Operation Complete Byte
224 (E0h) Error : Invalid Cal Operation or Cal Incomplete
238 (EEh) Time-out Error
2)240 (F0h) Calibration step is completed
Set Site Master Data Points – Control Byte #14 (0Eh)
Description: Set number of measurement data points for Site Master VNA modes.
Bytes to Follow: 1 byte
1) Number of Data Points
00h = 130 Points
01h = 259 Points
02h = 517 Points
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Invalid number of data points
238 (EEh) Time-out Error
Set Site Master Calibration Mode – Control Byte #15 (0Fh)
Description: Set the Site Master calibration mode to OSL Cal (standard) or FlexCal.
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.
Bytes to Follow: 0 bytes
Site Master Returns: 5 bytes
224 (E0h) Out of memory (Memory full)
238 (EEh) Time-out Error
Recall Sweep Trace – Control Byte #17 (11h)
NOTE: This command exists for backward compatibility with the S33xC models. Features new to the
S33xD models are not available here. To access the new features, use Control Byte #33 (21h). This
command cannot be used with a frequency converter module attached (Option 6 required).
Description: Queries the Site 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
Site 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 Site 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)
Site Master Returns:
1-2) # of following bytes (total length - 2)
3-4)Not Used
5-11)Model Number (7 bytes in ASCII)
12-15)Software Version (4 bytes ASCII)
16) Measurement Mode
3
17-20)Time/Date (in Long Integer4)
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 (130, 259, 517 or 400)
For all Site Master Modes:
57) Start Frequency
5
(highest byte)
58) Start Frequency
59) Start Frequency
60) Start Frequency (lowest byte)
61) Stop Frequency (highest byte)
62) Stop Frequency
3Refer to Control Byte #3 “Select Measurement Mode” for detailed value.
4Time/Date long integer representation is in seconds since January 1, 1970
5Frequency units are Hz
14Site Master PM
63) Stop Frequency
64) Stop Frequency (lowest byte)
65) Minimum Frequency Step Size (highest byte)
66) Minimum Frequency Step Size
67) Minimum Frequency Step Size
68) Minimum Frequency Step Size (lowest byte)
69) Scale Top
6
(highest byte)
70) Scale Top
71) Scale Top
72) Scale Top (lowest byte)
73) Scale Bottom (highest byte)
74) Scale Bottom
75) Scale Bottom
76) Scale Bottom (lowest byte)
77) Frequency Marker 1
7
(highest byte)
78) Frequency Marker 1 (lowest byte)
79) Frequency Marker 2 (highest byte)
80) Frequency Marker 2 (lowest byte)
81) Frequency Marker 3 (highest byte)
82) Frequency Marker 3 (lowest byte)
83) Frequency Marker 4 (highest byte)
84) Frequency Marker 4 (lowest byte)
85) Frequency Marker 5 (highest byte)
86) Frequency Marker 5 (lowest byte)
87) Frequency Marker 6 (highest byte)
88) Frequency Marker 6 (lowest byte)
89) Single Limit
8
(highest byte)
90) Single Limit
91) Single Limit
92) Single Limit (lowest byte)
93) Multiple Limit Segment # (1)
94) Multiple Limit Segment Status
95) Multiple Limit Start X
9
(highest byte)
96) Multiple Limit Start X
97) Multiple Limit Start X
98) Multiple Limit Start X (lowest byte)
99) Multiple Limit Start Y (highest byte)
100) Multiple Limit Start Y (lowest byte)
101) Multiple Limit End X (highest byte)
102) Multiple Limit End X
103) Multiple Limit End X
104) Multiple Limit End X (lowest byte)
105) Multiple Limit End Y (highest byte)
106) Multiple Limit End Y (lowest byte)
107–162) Repeat bytes 93-106 for segments 2-5
163) Start Distance
10
(highest byte)
6See Control Byte #4 “Set Site Master Scale” for data format
7marker point = (# of data points–1)*(marker freq – start freq)/(stop freq – start freq ) where # of data points can
be found in bytes 55-56, start freq is in bytes 57-60, and stop freq is in bytes 61-64.
8See Control Byte #6 “Set Site Master Single Limit” for data format.
9See Control Byte #112 “Set Site Master Segmented Limit Lines” for data format.
10 Distance data uses units 1/100,000m (or feet)
Site Master PM15
164) Start Distance
165) Start Distance
166) Start Distance (lowest byte)
167) Stop Distance (highest byte)
168) Stop Distance
169) Stop Distance
170) Stop Distance (lowest byte)
171) Distance Marker 1
11
(highest byte)
172) Distance Marker 1 (lowest byte)
173) Distance Marker 2 (highest byte)
174) Distance Marker 2 (lowest byte)
175) Distance Marker 3 (highest byte)
176) Distance Marker 3 (lowest byte)
177) Distance Marker 4 (highest byte)
178) Distance Marker 4 (lowest byte)
179) Distance Marker 5 (highest byte)
180) Distance Marker 5 (lowest byte)
181) Distance Marker 6 (highest byte)
182) Distance Marker 6 (lowest byte)
183) Relative Propagation Velocity
12
(highest byte)
184) Relative Propagation Velocity
185) Relative Propagation Velocity
186) Relative Propagation Velocity (lowest byte)
187) Cable Loss
13
(highest byte)
188) Cable Loss
189) Cable Loss
190) Cable Loss (lowest byte)
191) 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
bits 6-7 : Not Used
192) Status Byte 2: (0b = Off, 1b = On)
(LSB)bit 0 : Not Used
bit 1 : Marker 2 Delta On/Off
bit 2 : Marker 3 Delta On/Off
bit 3 : Marker 4 Delta On/Off
bits 4-7 : Not Used
193) Status Byte 3: ( 0b = Off , 1b = On)
(LSB)bit 0 : Single Limit On/Off
bit 1: CW On/Off
bit 2-3 : Not Used
bit 4 : InstaCal On/Off
26 For bits 2 and 0, 00=no limit, 10=single limit, 01=multiple limit, 11=multiple limit.
27 Upper limits always trigger an error beep if data is ABOVE the limit segment, for example, this bit is always 1b.
Site Master PM19
300) 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 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
303) 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
304)Status Byte 7
bits 0-6: Number of sweeps to average (1-25, 1 implies no averaging)
bit 7: Not Used
1-2) Number of following bytes (9 bytes for invalid sweep recall)
3-4) Model # (unsigned integer, 14h for Site Master S33xD)
5-11) Extended Model # (7 bytes in ASCII)
Site Master Returns (Invalid sweep location): 1 byte
Description: Saves current system setup parameters to a specific setup store location.
The Site 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 Site Master. It holds the power-on defaults
of the Site Master.
28 LOWER limits always trigger an error beep if data is BELOW the limit segment, for example, this bit is always 0b.
29 Value sent as ( value in dBm * 1000 ) + 270,000
30 Value sent as ( value in dBm * 1000 ) + 270,000
20Site Master PM
Bytes to Follow: 1 byte
1)Location to save system setup parameters:
0 – 10 for SWR Mode, Return Loss Mode, Cable Loss Mode and DTF Mode
0 – 5 for Spectrum Analyzer Mode, Transmission Mode (Option 21) and Power Meter Mode (Option 29)
0 – 5 for T1/E1 Modes (Option 50)
Description: Recalls system setup parameters from a specific store location. Storage locations depend on the measurement
mode of the current setup. When the current mode is Spectrum Analyzer, Spectrum Analyzer setups (1-5) can be recalled.
When the current mode is one of the Site Master VNA modes (SWR, RL, CL, DTF), one of the 10 VNA mode setups can be
recalled. When the current mode is T1/E1, one of the T1/E1 setups can be recalled (1-5).
The Site 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 Site Master VNA modes SWR, RL, CL, DTF
1 – 5= Saved setups for SPA Mode, Transmission Mode (Option 21) and Power Meter Mode (Option 29)
1 – 5= Saved setups for T1/E1 modes (Option 50)
255= Default setup
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Invalid store location or no saved setup
238 (EEh) Time-out Error
Query System Status – Control Byte #20 (14h)
NOTE: This command exists for backward compatibility with the S33xC models. Features new to the
S33xD models are not available here. To access the new features, use Control Byte #33 (21h). This
command cannot be used with a frequency converter module attached (Option 6 required).
Description: Queries the Site Master for current system settings.
The current state of the Site 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 #20. 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
Site Master Returns:434 bytes
1)Measurement Mode
2)Site Master Mode Data Points (higher byte)
31 Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
31
Site Master PM21
3)Site Master Mode Data Points (lower byte)
4)Start Frequency (Frequency in Hz) (highest byte)
5)Start Frequency
6)Start Frequency
7)Start Frequency (lowest byte)
8)Stop Frequency (Frequency in Hz) (highest byte)
9)Stop Frequency
10) Stop Frequency
11) Stop Frequency (lowest byte)
12) Scale Start (highest byte)
32
13) Scale Start
14) Scale Start
15) Scale Start (lowest byte)
16) Scale Stop (highest byte)
17) Scale Stop
18) Scale Stop
19) Scale Stop (lowest byte)
20) Frequency Marker 1 (higher byte)
33
21) Frequency Marker 1(lower byte)
22) Frequency Marker 2 (higher byte)
23) Frequency Marker 2 (lower byte)
24) Frequency Marker 3 (higher byte)
25) Frequency Marker 3 (lower byte)
26) Frequency Marker 4 (higher byte)
27) Frequency Marker 4 (lower byte)
28) Frequency Marker 5 (higher byte)
29) Frequency Marker 5 (lower byte)
30) Frequency Marker 6 (higher byte)
31) Frequency Marker 6 (lower byte)
32) Site Master Single Limit (highest byte)
34
33) Site Master Single Limit
34) Site Master Single Limit
35) Site Master Single Limit (lowest byte)
36) Multiple Limit Segment # (1)
37) Multiple Limit Segment Status (0h = Off, 01h = On )
38) Multiple Limit Segment Start X (highest byte)
35
39) Multiple Limit Segment Start X
40) Multiple Limit Segment Start X
41) Multiple Limit Segment Start X (lowest byte)
42) Multiple Limit Segment Start Y (higher byte)
43) Multiple Limit Segment Start Y (lower byte)
44) Multiple Limit Segment End X (highest byte)
45) Multiple Limit Segment End X
46) Multiple Limit Segment End X
47) Multiple Limit Segment End X (lowest byte)
48) Multiple Limit Segment End Y (higher byte)
49) Multiple Limit Segment End Y (lower byte)
50-105) Repeat bytes 36 – 49 for segments2-5
32 See “Set Site Master Scale” Control Byte #4 for data format.
188) Multiple Upper Limit 1 End X (Frequency in Hz) (highest byte)
189) Multiple Upper Limit 1 End X (Frequency in Hz)
190) Multiple Upper Limit 1 End X (Frequency in Hz)
191) Multiple Upper Limit 1 End X (Frequency in Hz) (lowest byte)
192) Multiple Upper Limit 1 End Y (Power Level) (highest byte)
46
193) Multiple Upper Limit 1 End Y (Power Level)
194) Multiple Upper Limit 1 End Y (Power Level)
195) Multiple Upper Limit 1 End Y (Power Level) (lowest byte)
196-339) Multiple Upper Limits 2-5, Multiple Lower Limits 1-5 (see bytes 180-195 for format)
41 Value sent as (value in dBm * 1000) + 270,000)
42 Value sent as (value * 1000)
43 Value sent as data point on the display. Equivalent frequency = (point * span/(#data points–1))+start frequency.
44 Value sent as ( value in dBm * 1000 ) + 270000
45 Value sent as ( value in dBm * 1000 ) + 270000
46 Value sent as ( value in dBm * 1000 ) + 270000
24Site Master PM
340) RBW Setting (highest byte)
47
341) RBW Setting
342) RBW Setting
343) RBW Setting (lowest byte)
344) VBW Setting (highest byte)
48
345) VBW Setting
346) VBW Setting
347) VBW Setting (lowest byte)
348) OCC BW Method
349) OCC BW % Value (highest byte)
49
50
350) OCC BW % Value
351) OCC BW % Value
352) OCC BW % Value (lowest byte)
353) OCC BW dBc (highest byte)
51
354) OCC BW dBc
355) OCC BW dBc
356) OCC BW dBc (lowest byte)
357) Attenuation (highest byte)
52
358) Attenuation
359) Attenuation
360) Attenuation (lowest byte)
361) Antenna Index (0-14)
362-377) Antenna Name (16 bytes in ASCII)
246) Status Byte 1: ( 0b = Off , 1b = On)
(LSB)bit 0 : Site Master Marker 1 On/Off
bit 1 : Site Master Marker 2 On/Off
bit 2 : Site Master Marker 3 On/Off
bit 3 : Site Master Marker 4 On/Off
bit 4 : Site Master Marker 5 On/Off
bit 5 : Site Master Marker 6 On/Off
bits 6- 7 : Not Used
247) Status Byte 2: (0b = Off, 1b = On)
(LSB)bit 0 : Not Used
bit 1 : Site Master Marker 2 Delta On/Off
bit 2 : Site Master Marker 3 Delta On/Off
bit 3 : Site Master Marker 4 Delta On/Off
bits 4-7: Not Used
249) Status Byte 4: (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
bits 4-7: Not Used
250) Status Byte 5: ( 0b = Off , 1b = On)
(LSB)bit 0 : Site Master Limit Type (0b = Single, 1b = Multiple)
bit 1 : Site Master Limit Beep ON/OFF
bit 2 : FREQ-SWR Multiple Limit Segment 1 Status On/Off
bit 3 : FREQ-SWR Multiple Limit Segment 2 Status On/Off
bit 4 : FREQ-SWR Multiple Limit Segment 3 Status On/Off
bit 5 : FREQ-SWR Multiple Limit Segment 4 Status On/Off
bit 6 : FREQ-SWR Multiple Limit Segment 5 Status On/Off
bit 7 : Not Used
251) Status Byte 6: (0b = Off, 1b = On)
(LSB)bits 0-1: Not Used
bit 2 : FREQ-RL Multiple Limit Segment 1 Status On/Off
bit 3 : FREQ-RL Multiple Limit Segment 2 Status On/Off
bit 4 : FREQ-RL Multiple Limit Segment 3 Status On/Off
bit 5 : FREQ-RL Multiple Limit Segment 4 Status On/Off
bit 6 : FREQ-RL Multiple Limit Segment 5 Status On/Off
bit 7 : Not Used
252) Status Byte 7: (0b = Off, 1b = On)
(LSB)bits 0-1: Not Used
bit 2 : FREQ-CL Multiple Limit Segment 1 Status On/Off
bit 3 : FREQ-CL Multiple Limit Segment 2 Status On/Off
bit 4 : FREQ-CL Multiple Limit Segment 3 Status On/Off
bit 5 : FREQ-CL Multiple Limit Segment 4 Status On/Off
bit 6 : FREQ-CL Multiple Limit Segment 5 Status On/Off
bit 7 : Not Used
253) Status Byte 8: (0b = Off, 1b = On)
(LSB)bits 0-1: Not Used
bit 2 : DIST-SWR Multiple Limit Segment 1 Status On/Off
bit 3 : DIST-SWR Multiple Limit Segment 2 Status On/Off
bit 4 : DIST-SWR Multiple Limit Segment 3 Status On/Off
bit 5 : DIST-SWR Multiple Limit Segment 4 Status On/Off
bit 6 : DIST-SWR Multiple Limit Segment 5 Status On/Off
bit 7 : Not Used
254) Status Byte 9: (Ob = Off, 1b = On)
(LSB)bits 0-1: Not Used
bit 2 : DIST-RL Multiple Limit Segment 1 Status On/Off
bit 3 : DIST-RL Multiple Limit Segment 2 Status On/Off
bit 4 : DIST-RL Multiple Limit Segment 3 Status On/Off
bit 5 : DIST-RL Multiple Limit Segment 4 Status On/Off
bit 6 : DIST-RL Multiple Limit Segment 5 Status On/Off
bit 7 : Not Used
255) Status Byte 10: (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 6 : SPA Multiple Limit Upper Segment 2 Status On/Off
bit 7 : SPA Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
256) Status Byte 11 : (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
54
257) Status Byte 12 : (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
394) Status Byte 13:
(LSB)bits0-1:DTFWindowing Mode
bit: 1 0
||
0 0 - Rectangular (No Windowing)
0 1 - Nominal Side Lobe
1 0 - Low Side Lobe
1 1 - Minimum Side Lobe
bits2–7:NotUsed
395) Status Byte 14: (0b = Off, 1b = On )
(LSB)bit 0 : Fixed CW Mode On/Off
bit 1 : Site Master Cal On/Off
bit 2 : LCD Back Light On/Off
bit 3 : Measurement Unit Metric/English (0b = English, 1b = Metric)
bit 4 : InstaCal On/Off
bits 5 -7 : Not Used
bit 1 : Not Used
bit 2 : SPA Cal Status On/Off
bits 3-4 : Amplitude Units (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV)
bits 5-6 : Detection alg (00b = pos. peak 01b = average 10b = neg. peak, 11b= sampling mode)
bit 7 : Not Used
397) Status Byte 16: (0b = Off, 1b = On)
(LSB)bit 0: Serial Port Echo Status On/Off
bit 1: Return Sweep Time On/Off
bit 2: RBW Coupling (1b = auto, 0b = manual)
bit 3: VBW Coupling (1b = auto, 0b = manual)
bit 4: Attenuation Coupling (1b = auto, 0b = manual)
53 Beep level is always 1b for upper segmented limit line
54 Beep level is always 0b for lower segmented limit line
Site Master PM27
bit 5: Channel Power On/Off
bit 6: Adjacent Channel Power On/Off
bit 7: Not Used
56 Value sent as Volts * 10. For example, 2.7V = 27.
57 This value is for internal use only.
58 Value sent as (value in dBm * 1000) + 270,000
28Site Master PM
Notes:
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
Site Master Returns: 8 bytes
1)Value of SM Lock Fail Counter (higher byte)
2)Value of SM Lock Fail Counter (lower byte)
3)Value of Integration Fail Counter (higher byte)
4)Value of Integration Fail Counter (lower byte)
5)Value of SA Lock Fail Counter (higher byte)
6)Value of SA Lock Fail Counter (lower byte)
7)Value of SA Fatal Error Counter (higher byte)
8)Value of SA Fatal Error Counter (lower byte)
Query Trace Names – Control Byte #24 (18h)
Description: Returns a list of all saved traces.
Bytes to Follow: 0 bytes
Site 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 Site Master.
Bytes to Follow: 1 byte
1)0 - Delete all traces
X - Delete single trace #X
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
Site Master PM29
Upload SPA Sweep Trace – Control Byte #26 (1Ah)
NOTE: This command exists for backward compatibility with the S33xC models. Features new to the
S33xD models are not available here. To access the new features, use Control Byte #33 (21h). This
command cannot be used with a frequency converter module attached (Option 6 required).
Description: Uploads a spectrum analyzer sweep trace to Site Master.
For data formats, refer to the footnotes listed beside the return bytes.
Bytes to Follow: 1921 bytes
1-2) # of following bytes (1919)
3)Measurement Mode
4-7)Time/Date (long integer format60)
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)# 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
61
(highest byte)
61) Ref Level
62) Ref Level
63) Ref Level (lowest byte)
64) Scale per div
65) Scale per div
66) Scale per div
67) Scale per div (lowest byte)
68) Marker 1
63
(higher byte)
69) Marker 1 (lower byte)
70) Marker 2 (higher byte)
59
62
(highest byte)
59 See Control Byte #3 “Select Measurement Mode” for measurement modes.
60 Time/Date long integer representation is in seconds since January 1, 1997.
61 Value sent as (value in dBm * 1000) + 270,000
62 Value sent as (value * 1000)
63 Marker values are sent as # of data point on display.
30Site Master PM
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
64
(highest byte)
81) Single Limit
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)
284) 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)
285) 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
286) 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
287) Status Byte 7
(LSB)bits 0-6: Number of Sweeps to Average (1-25, 1 implies no averaging)
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
bits 6-7: Not Used
bit 1 : Marker 2 Delta On/Off
bit 2 : Marker 3 Delta On/Off
bit 3 : Marker 4 Delta On/Off
bits 4-7: Not Used
bits 1-2 : Detection alg (00b = pos. peak 01b = average 10b= neg. peak)
bits 3-4 : Amplitude Units (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV)
bit 5: Channel Power On/Off
bit 6: Adjacent Channel Power Ratio On/Off
bit 7: Not Used
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
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
bit 6 : Multiple Limit Lower Segment 1 Status On/Off
bit 7 : Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
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
bit 7 : Not Used
32Site Master PM
288) Reference Level Offset68(highest byte)
289) Reference Level Offset
290) Reference Level Offset
291) Reference Level Offset (lowest byte)
292-321) Not Used
322-1921) Sweep Data
(400 points * 4 bytes/point = 1600 bytes)
4 bytes for each data point
1. dBm
69
(highest byte)
2. dBm
3. dBm
4. dBm (lowest byte)
Site 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
Query Sweep Memory – Control Byte #27 (1Bh)
Description: Queries Site Master for percentage of memory that is available for trace storage.
Bytes to Follow: 0 bytes
Site Master Returns: 1 byte
1)% of memory currently available (0 to 100)
Upload Site Master VNA Sweep Trace – Control Byte #28 (1Ch)
NOTE: This command exists for backward compatibility with the S33xC models. Features new to the
S33xD models are not available here. To access the new features use Control Byte #36 (24h).
Description: Uploads a Site Master VNA Mode (SWR, return loss, cable loss, DTF) sweep trace to the Site Master.
Bytes to Follow: 1255, 2287, or 4351 bytes (depending on resolution)
1-2) # of following bytes
3)Measurement Mode
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
44) Start Frequency (highest byte)
45) Start Frequency
46) Start Frequency
47) Start Frequency (lowest byte)
68 Value sent as (Value in dBm * 1000 ) + 270,000
69 Value sent as (Value in dBm * 1000 ) + 270,000
70 See Control Byte #3 “Set Measurement Mode” for available measurement modes.
78 Relative Propogation Velocity uses units 1/100,000
79 Cable Loss uses units 1/100,000 dB/m or 1/100,000 dB/ft
80 Bits (4,5) are as follows: (0,0)=Cal Off, (0,1)=OSL Cal, (1,0) = Impossible, (1,1) = InstaCal
Site Master PM35
bit 5 : Cal On/Off
bit 6 : Limit Type ( 0b = Single; 1b = Multiple)
bit 7 : Unit of measurement (1b = Metric, 0b = English)
181) Status Byte 4:
(LSB)bit0-1:DTFWindowing Mode
bit: 1 0
||
0 0 - Rectangular (No Windowing)
0 1 - Nominal Side Lobe
1 0 - Low Side Lobe
1 1 - Minimum Side Lobe
bits2–7:NotUsed
182-215) Not Used
216-1255) Sweep Data (130 points * 8 bytes/point= 1040 bytes)
216-2287) (259 points * 8 bytes/point= 2072 bytes)
216-4351) (517 points * 8 bytes/point= 4136 bytes)
8 bytes for each data point
1. Gamma
81
MSB
2. Gamma
3. Gamma
4. Gamma LSB
5. Phase
82
MSB
6. Phase
7. Phase
8. Phase LSB
Site 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
Notes:
return loss = - 20* ( log(Gamma) / log(10) )
VSWR = (1+Gamma)/(1-Gamma)
Phase compares the reflected to the incident (reference)
Query System Status – Control Byte #29 (1Dh)
NOTE: This command is new to the S33xD. Use it instead of Control Byte #20 to access new features.
Description: Queries the Site 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 Site 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.
93 Relative Propagation Velocity uses units 1/100,000.
94 Cable loss uses units 1/100,000 dB/m or 1/100,000 dB/ft.
38Site Master PM
156) Cable Loss
157) Cable Loss (lowest byte)
158) Average Cable Loss
95
(highest byte)
159) Average Cable Loss
160) Average Cable Loss
161) Average Cable Loss (lowest byte)
162) Status Byte 1: ( 0b = Off , 1b = On)
(LSB)bit 0 : Site Master Marker 1 On/Off
bit 1 : Site Master Marker 2 On/Off
bit 2 : Site Master Marker 3 On/Off
bit 3 : Site Master Marker 4 On/Off
bit 4 : Site Master Marker 5 On/Off
bit 5 : Site Master Marker 6 On/Off
bits 6- 7 : Not Used
163) Status Byte 2: (0b = Off, 1b = On)
(LSB)bit 0 : Not Used
bit 1 : Site Master Marker 2 Delta On/Off
bit 2 : Site Master Marker 3 Delta On/Off
bit 3 : Site Master Marker 4 Delta On/Off
bits 4-7: Not Used
164) Status Byte 3: ( 0b = Off , 1b = On)
(LSB)bit 0 : Site Master Limit Type (0b = Single, 1b = Multiple)
bit 1 : Site Master Limit Beep On/Off
bit 2 : FREQ-SWR Multiple Limit Segment 1 Status On/Off
bit 3 : FREQ-SWR Multiple Limit Segment 2 Status On/Off
bit 4 : FREQ-SWR Multiple Limit Segment 3 Status On/Off
bit 5 : FREQ-SWR Multiple Limit Segment 4 Status On/Off
bit 6 : FREQ-SWR Multiple Limit Segment 5 Status On/Off
bit 7 : Site Master Single Limit Status On/Off
165) Status Byte 4: (0b = Off, 1b = On)
(LSB)bits 0-1: Not Used
bit 2: FREQ-RL Multiple Limit Segment 1 Status On/Off
bit 3: FREQ-RL Multiple Limit Segment 2 Status On/Off
bit 4: FREQ-RL Multiple Limit Segment 3 Status On/Off
bit 5: FREQ-RL Multiple Limit Segment 4 Status On/Off
bit 6: FREQ-RL Multiple Limit Segment 5 Status On/Off
bit 7: Not Used
166) Status Byte 5: (0b = Off, 1b = On)
(LSB)bits 0-1: Not Used
bit 2: FREQ-CL Multiple Limit Segment 1 Status On/Off
bit 3: FREQ-CL Multiple Limit Segment 2 Status On/Off
bit 4: FREQ-CL Multiple Limit Segment 3 Status On/Off
bit 5: FREQ-CL Multiple Limit Segment 4 Status On/Off
bit 6: FREQ-CL Multiple Limit Segment 5 Status On/Off
bit 7: Not Used
167) Status Byte 6: (0b = Off, 1b = On)
(LSB)bits 0-1: Not Used
bit 2 : DIST-SWR Multiple Limit Segment 1 Status On/Off
bit 3 : DIST-SWR Multiple Limit Segment 2 Status On/Off
bit 4 : DIST-SWR Multiple Limit Segment 3 Status On/Off
bit 5 : DIST-SWR Multiple Limit Segment 4 Status On/Off
bit 6: DIST-SWR Multiple Limit Segment 5 Status On/Off
95 Average Cable Loss is dB * 1000.
Site Master PM39
bit 7 : Not Used
168) Status Byte 7: (0b = Off, 1b = On)
(LSB)bits 0-1: Not Used
bit 2: DIST-RL Multiple Limit Segment 1 Status On/Off
bit 3: DIST-RL Multiple Limit Segment 2 Status On/Off
bit 4: DIST-RL Multiple Limit Segment 3 Status On/Off
bit 5: DIST-RL Multiple Limit Segment 4 Status On/Off
bit 6: DIST-RL Multiple Limit Segment 5 Status On/Off
bit 7: Not Used
169) Status Byte 8:
(LSB)bits0-1:DTFWindowing Mode
bit: 1 0
||
0 0 - Rectangular (No Windowing)
0 1 - Nominal Side Lobe
1 0 - Low Side Lobe
1 1 - Minimum Side Lobe
bit 2 : Serial Port Echo Status On/Off
bits3–7:NotUsed
170) Status Byte 9: (0b = Off, 1b = On )
(LSB)bit 0 : Fixed CW Mode On/Off
bit 1 : Site Master VNA Cal On/Off
bit 2 : LCD Back Light On/Off
bit 3 : Measurement Unit Metric/English (0b = English, 1b = Metric)
bit 4 : InstaCal On/Off
bits 5-6: Not Used
bit 7 : Cal Mode (0b = OSL Cal, 1b = FlexCal)
171) VNA Signal Standard
96
(higher byte)
172) VNA Signal Standard (lower byte)
173-300) Not Used
For Spectrum Analyzer and Transmission Measurement (Option 21) Modes:
26) Spectrum Analyzer Mode Data Points (higher byte)
27) Spectrum Analyzer Mode Data Points (lower byte)
28) Spectrum Analyzer Start Frequency
97
(highest byte)
29) Spectrum Analyzer Start Frequency
30) Spectrum Analyzer Start Frequency
31) Spectrum Analyzer Start Frequency (lowest byte)
32) Spectrum Analyzer Stop Frequency (highest byte)
33) Spectrum Analyzer Stop Frequency
34) Spectrum Analyzer Stop Frequency
35) Spectrum Analyzer Stop Frequency (lowest byte)
36) Spectrum Analyzer Center Frequency (highest byte)
37) Spectrum Analyzer Center Frequency
38) Spectrum Analyzer Center Frequency
39) Spectrum Analyzer Center Frequency (lowest byte)
40) Spectrum Analyzer Frequency Span (highest byte)
41) Spectrum Analyzer Frequency Span
42) Spectrum Analyzer Frequency Span
43) Spectrum Analyzer Frequency Span (lowest byte)
44) Spectrum Analyzer Minimum Frequency Step Size (highest byte)
96 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
97 Scaled by frequency scale factor (bytes 321-322)
40Site Master PM
45) Spectrum Analyzer Minimum Frequency Step Size
46) Spectrum Analyzer Minimum Frequency Step Size
47) Spectrum Analyzer Minimum Frequency Step Size (lowest byte)
48) Ref Level (highest byte)
98
49) Ref Level
50) Ref Level
51) Ref Level (lowest byte)
52) Scale per div (highest byte)
99
53) Scale per div
54) Scale per div
55) Scale per div (lowest byte)
56) Spectrum Analyzer Frequency Marker 1 (higher byte)
100
57) Spectrum Analyzer Frequency Marker 1 (lower byte)
58) Spectrum Analyzer Frequency Marker 2 (higher byte)
59) Spectrum Analyzer Frequency Marker 2 (lower byte)
60) Spectrum Analyzer Frequency Marker 3 (higher byte)
61) Spectrum Analyzer Frequency Marker 3 (lower byte)
62) Spectrum Analyzer Frequency Marker 4 (higher byte)
63) Spectrum Analyzer Frequency Marker 4 (lower byte)
64) Spectrum Analyzer Frequency Marker 5 (higher byte)
65) Spectrum Analyzer Frequency Marker 5 (lower byte)
66) Spectrum Analyzer Frequency Marker 6 (higher byte)
67) Spectrum Analyzer Frequency Marker 6 (lower byte)
68) Spectrum Analyzer Single Limit (highest byte)
101
69) Spectrum Analyzer Single Limit
70) Spectrum Analyzer Single Limit
71) Spectrum Analyzer Single Limit (lowest byte)
72) SPA Multiple Upper Limit 1 Start X
102
(highest byte)
73) SPA Multiple Upper Limit 1 Start X
74) SPA Multiple Upper Limit 1 Start X
75) 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
271) Status Byte 2: (0b = Off, 1b = On)
(LSB)bit 0 : Transmission Mode Cal Status On/Off (Option 21)
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: Reserved
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
106 RBW frequency sent in Hz.
107 VBW frequency sent in Hz.
108 00h=%ofpower, 01h = dB down
109 0 – 99%
110 0 – 120 dBc
42Site Master PM
bit 4 : SPA Multiple Limit Upper Segment 1 Status On/Off
bit 5 : SPA Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW
111
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)
(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
112
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
276) Status Byte 7: (0b = Off, 1b = On)
(LSB)bit 0: Serial Port Echo Status On/Off
bit 1: Return Sweep Time On/Off
bit 2: RBW Coupling (1b = Auto, 0b = Manual)
bit 3: VBW Coupling (1b = Auto, 0b = Manual)
bit 4: Attenuation Coupling (1b = Auto, 0b = Manual)
bit 5: Channel Power On/Off
bit 6: Adjacent Channel Power On/Off
bit 7: Not Used
277) Reference Level Offset
113
(highest byte)
278) Reference Level Offset
279) Reference Level Offset
280) Reference Level Offset (lowest byte)
281) External Reference Frequency
282) Signal Standard
283) Signal Standard (lower byte)
284) Channel Selection
115
(higher byte)
116
(highest byte)
114
285) Channel Selection (lowest byte)
111 Beep level is always 1b for upper segmented limit line
112 Beep level is always 0b for lower segmented limit line
113 Value sent as (value in dBm * 1000) + 270,000
114 1 byte in MHz (i.e. 20 = 20MHz)
115 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
116 “No Channel” is sent as FFFEh
Site Master PM43
286) Trigger Type
287) Interference Analysis Frequency
117
118
(highest byte)
288) Interference Analysis Frequency
289) Interference Analysis Frequency
290) Interference Analysis Frequency (lowest byte)
291) Trigger Position (0 – 100%)
292) Min Sweep Time (in ms) (highest byte)
293) Min Sweep Time (in ms)
294) Min Sweep Time (in ms)
295) Min Sweep Time (in ms) (lowest byte)
296) Video Trigger Level
119
(highest byte)
297) Video Trigger Level
298) Video Trigger Level
299) Video Trigger Level (lowest byte)
300) Status Byte 8
(LSB)bit 0: Input Power Status (1b = Input Power Too High, 0b = Input Power Ok)
bits 1-7: Not Used
301) Status Byte 9
(LSB)bits 0-6: Number of sweeps to average (1-25, 1 implies averaging OFF)
bit 7: Not Used
302) Status Byte 10: (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
bits 4-7: Not Used
PRBS-20(O.153), 06h: PRBS-23, 07h: QRSS, 08h: 1 in 8, 09h: 2 in 8, 0Ah: 3 in 8, 0Bh: All Ones, 0Ch: All
Zeros, 0Dh: T1-DALY, 0Eh: User Defined)
37) T1 Pattern Invert Status (00h: Non-Inverted, 01h: Inverted)
38) T1 Display Type (00h: Histogram, 01h: Raw Data)
39) T1 Impedance
40 - 55)First User Defined Loop Code Down (16 bytes)
56 - 71)Second User Defined Loop Code Down (16 bytes)
72 - 87)First User Defined Loop Code Up (16 bytes)
88 - 103) Second User Defined Loop Code Up (16 bytes)
104 - 135) User Defined Pattern (32 bytes)
136) T1 1
st
User Defined Loop Up (higher byte)
135 In number of Hz
136 Scaled by Frequency Scale Factor
137 Scaled by Frequency Scale Factor
138 Value sent as ((value in dBm * 1000) + 100)
46Site Master PM
137) T1 1stUser Defined Loop Up (lower byte)
138) T1 2
139) T1 2
140) T1 1
141) T1 1
142) T1 2
143) T1 2
nd
User Defined Loop Up (higher byte)
nd
User Defined Loop Up (lower byte)
st
User Defined Loop Down (higher byte)
st
User Defined Loop Down (lower byte)
nd
User Defined Loop Down (higher byte)
nd
User Defined Loop Down (lower byte)
144) T1 User Defined Pattern (highest byte)
145) T1 User Defined Pattern
146) T1 User Defined Pattern
147) T1 User Defined Pattern (lowest Byte)
148) T1 Bit Error Insert Value (1-1000) (higher byte)
149) T1 Bit Error Insert Value (lower byte)
150) T1 Frame Error Insert Value (1-1000) (higher byte)
151) T1 Frame Error Insert Value (lower byte)
152) T1 BPV Error Insert Value (1-1000) (higher byte)
38) E1 Display Type (00h: Histogram, 01h: Raw Data)
39) E1 Impedance (01h: 75W, 02h: 120W)
40 - 55)First User Defined Loop Code Down (16 bytes)
56 - 71)Second User Defined Loop Code Down (16 bytes)
72 - 87)First User Defined Loop Code Up (16 bytes)
88 - 103) Second User Defined Loop Code Up (16 bytes)
104 - 135) User Defined Pattern (32 bytes)
DTF windowing allows you to make a trade off between side lobe height and resolution.
Bytes to Follow: 1 byte
1)Windowing Method
00h = Rectangular (finest resolution, highest side lobes)
01h = Nominal Side Lobe (balance between resolution and side lobes)
02h = Low Side Lobe
03h = Minimum Side Lobe
NOTE: This command is new to the S33xD. Use it instead of Control Byte #17 to access new features.
Description: Queries the Site 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 Site 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 Site Master’s power is cy
cled.
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)
Site Master Returns:
1-2) # of following bytes (total length - 2)
-
Site Master PM49
3)Current Instrument Date Format
143
4)Not Used
5-11)Model Number (7 bytes in ASCII)
12-15)Software Version (4 bytes ASCII)
16) Measurement Mode
17-20)Time/Date (in Long Integer
144
145
)
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 (130, 259 or 517 or 401 or 100)
153 Relative Propagation Velocity uses units 1/100,000
154 Cable Loss uses units 1/100,000 dB/m or 1/100,000 dB/ft.
Site Master PM51
189) Cable Loss
190) Cable Loss (lowest byte)
191) Average Cable Loss
155
(highest byte)
192) Average Cable Loss
193) Average Cable Loss
194) Average Cable Loss (lowest byte)
195) 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
bits 6-7 : Not Used
196) Status Byte 2: (0b = Off, 1b = On)
(LSB)bit 0 : Marker 2 Delta On/Off
bit 1 : Marker 3 Delta On/Off
bit 2 : Marker 4 Delta On/Off
bits 3-7 : Not Used
197) Status Byte 3: ( 0b = Off , 1b = On)
(LSB)bit 0 : Single Limit On/Off
bit 1: CW On/Off
bit 2: Trace Math On/Off
bits 3-5 : Not Used
bit 6 : Limit Type ( 0b = Single; 1b = Multiple)
bit 7 : Unit of Measurement (1b = Metric, 0b = English)
198) Status Byte 4:
(LSB)bit0-1:DTFWindowing Mode
bit: 1 0
||
0 0 - Rectangular (No Windowing)
0 1 - Nominal Side Lobe
1 0 - Low Side Lobe
1 1 - Minimum Side Lobe
bits2–7:NotUsed
199) Status Byte 5 (Cal Status):
00h : Calibration Off
01h : Standard Calibration On
02h : InstaCal Calibration On
03h : Standard FlexCal On
04h : InstaCal FlexCal On
200) VNA Signal Standard
156
(higher byte)
201) VNA Signal Standard (lower byte)
202-324) Not Used
325-1364) Sweep Data (130 points * 8 bytes/point = 1040 bytes)
325-2396) Sweep Data (259 points * 8 bytes/point = 2072 bytes)
325-4460) Sweep Data (517 points * 8 bytes/point = 4136 bytes)
8 bytes for each data point
1. gamma
157
(highest byte)
155 Average Cable Loss is dB * 1000.
156 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
157 Gamma data uses 1/10,000 units.
52Site Master PM
2. gamma
3. gamma
4. gamma (lowest byte)
5. phase
158
(highest byte)
6. phase
7. phase
8. phase (lowest byte)
Notes:
return loss = –20* (log(gamma) / log(10))
VSWR = (1+gamma)/(1-gamma)
phase compares the reflected to the incident (reference)
For Spectrum Analyzer and Transmission Measurement (Option 21) Modes:
57) Start Frequency
159
(highest byte)
58) Start Frequency
59) Start Frequency
60) Start Frequency (lowest byte)
61) Stop Frequency (highest byte)
62) Stop Frequency
63) Stop Frequency
64) Stop Frequency (lowest byte)
65) Center Frequency (highest byte)
66) Center Frequency
67) Center Frequency
68) Center Frequency (lowest byte)
69) Frequency Span (highest byte)
70) Frequency Span
71) Frequency Span
72) Frequency Span (lowest byte)
73) Minimum Frequency Step Size (highest byte)
74) Minimum Frequency Step Size
75) Minimum Frequency Step Size
76) Minimum Frequency Step Size (lowest byte)
77) Ref Level
160
(highest byte)
78) Ref Level
79) Ref Level
80) Ref Level (lowest byte)
81) Scale per div
161
(highest byte)
82) Scale per div
83) Scale per div
84) Scale per div (lowest byte)
85) Frequency Marker 1
162
(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)
158 Phase data uses 1/10 degree unit.
159 Scaled by Frequency Scale Factor (bytes 335-336)
160 Value sent as ( Value in dBm * 1000 ) + 270,000
161 Value sent as ( Value * 1000 )
162 Value sent as data point on display. Freq = ( Point * Span / ( Total Data Points–1))+Start Freq
113) Multiple Upper Limit 1 End Y (Power Level) (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)
267) VBW Setting (Frequency in Hz)
268) VBW Setting (Frequency in Hz) (lowest byte)
269) OCC BW Method (0b = % of power, 1b = dB down)
270) OCC BW % Value
271) OCC BW dBc
272) Attenuation
167
168
169
(highest byte)
273) Attenuation
274) Attenuation
275) Attenuation (lowest byte)
276-291)Antenna Name(16 bytes in ASCII)
163 Value sent as ( Value in dBm * 1000 ) + 270,000
164 Scaled by Frequency Scale Factor (bytes 335-336)
165 Value sent as ( value in dBm * 1000 ) + 270,000
166 Scaled by Frequency Scale Factor (bytes 335-336)
167 % value is 0-99
168 dBc value 0 – 120 dBc
169 Value sent as ( value in dB * 1000 )
54Site Master PM
292) 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
bits 6-7: Not Used
293) Status Byte 2: ( 0b = Off , 1b = On)
(LSB)bit 0 : Not Used
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: Reserved
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
170
(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
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
bit 6 : Multiple Limit Upper Segment 2 Status On/Off
bit 7 : Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
296) 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 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
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)
171
172
170 For bits 2, 1 and 0 (“X” is “don’t care): 0X0=no limit, 1X0=single limit, 0X1=multiple limit, 1X1=multiple limit.
171 Upper limits always trigger an error beep if data is ABOVE the limit segment, for example, this bit is always 1b.
172 LOWER limits always trigger an error beep if data is BELOW the limit segment, for example, this bit is always 0b.
316) Interference Analysis Frequency (lowest byte)
317-320) Reserved
321) Trigger Type
179
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
180
(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
bit7: Not Used
Description: Defines traces “A” and “B” for SPA 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.
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 S33xD. Use it, instead of Control Bytes #26 and #28, to access the new
features.
Description: Uploads a sweep trace to the Site Master.
Bytes to Follow:
For All Modes:
1-2) # of following bytes
3)Measurement Mode
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 (130, 259, 517 or 401 or 100)
For VNA Modes:
44) Start Frequency (highest byte)
45) Start Frequency
46) Start Frequency
47) Start Frequency (lowest byte)
48) Stop Frequency (highest byte)
49) Stop Frequency
50) Stop Frequency
51) Stop Frequency (lowest byte)
52) Minimum Frequency Step Size (highest byte)
53) Minimum Frequency Step Size
54) Minimum Frequency Step Size
55) Minimum Frequency Step Size (lowest byte)
56) Scale Top (highest byte)
57) Scale Top
58) Scale Top
59) Scale Top (lowest byte)
60) Scale Bottom (highest byte)
61) Scale Bottom
62) Scale Bottom
63) Scale Bottom (lowest byte)
64) Frequency Marker 1 (higher byte)
65) Frequency Marker 1 (lower byte)
66) Frequency Marker 2 (higher byte)
212
213
214
215
212 See Control Byte #3 “Set Measurement Mode” for available measurement modes.
213 Frequency in Hz
214 See Control Byte #4, “Set Site Master VNA Scale” for data format.
215 Marker point = (Number of data points – 1) * (marker freq – start freq) / (stop freq – start freq)
bit 1 : Marker 3 Delta On/Off
bit 2 : Marker 4 Delta On/Off
bits 3-7: Not Used
184) Status Byte 3: (0b = Off , 1b = On)
(LSB)bit 0 : Single Limit On/Off
bit 1: CW On/Off
bit 2: Trace Math On/Off
bits 3-5: Not Used
bit 6 : Limit Type ( 0b = Single; 1b = Multiple)
bit 7 : Unit of measurement (1b = Metric, 0b = English)
185) Status Byte 4:
(LSB)bit0-1:DTFWindowing Mode
bit: 1 0
||
0 0 - Rectangular (No Windowing)
0 1 - Nominal Side Lobe
1 0 - Low Side Lobe
1 1 - Minimum Side Lobe
bits2–7:NotUsed
186) Status Byte 5 (Cal Status) :
00h : Calibration Off
01h : Standard Calibration On
02h : InstaCal Calibration On
03h : Standard FlexCal On
04h : InstaCal FlexCal On
187) VNA Signal Standard
223
(higher byte)
220
220 Relative Propagation Velocity uses units 1/100,000
221 Cable Loss uses units 1/100,000 dB/m or 1/100,000 dB/ft
222 Average Cable Loss is dB * 1000.
223 Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
64Site Master PM
188) VNA Signal Standard (lower byte)
189-314) Not Used
315-1354) Sweep Data (130 points * 8 bytes/point= 1040 bytes)
315-2386) (259 points * 8 bytes/point= 2072 bytes)
315-4450) (517 points * 8 bytes/point= 4136 bytes)
8 bytes for each data point
1. Gamma
224
(highest byte)
2. Gamma
3. Gamma
4. Gamma (lowest byte)
5. Phase
225
(highest byte)
6. Phase
7. Phase
8. Phase (lowest byte)
Notes:
return loss = - 20* ( log(Gamma) / log(10) )
VSWR= (1+Gamma)/(1-Gamma)
Phase compares the reflected to the incident (reference)
For Spectrum Analyzer and Transmision Measurement (Option 21) Modes:
44) Start Frequency
226
(highest byte)
45) Start Frequency
46) Start Frequency
47) Start Frequency (lowest byte)
48) Stop Frequency
227
(highest byte)
49) Stop Frequency
50) Stop Frequency
51) Stop Frequency (lowest byte)
52) Center Frequency
228
(highest byte)
53) Center Frequency
54) Center Frequency
55) Center Frequency (lowest byte)
56) Frequency Span
229
(highest byte)
57) Frequency Span
58) Frequency Span
59) Frequency Span (lowest byte)
60) Ref Level
230
(highest byte)
61) Ref Level
62) Ref Level
63) Ref Level (lowest byte)
64) Scale per div
231
(highest byte)
65) Scale per div
224 Gamma uses units scaled to 1/10,000
225 Phase is transmitted in 1/10ths of a degree
226 Scaled by Frequency Scale Factor (bytes 318-319)
227 Scaled by Frequency Scale Factor (bytes 318-319)
228 Scaled by Frequency Scale Factor (bytes 318-319)
229 Scaled by Frequency Scale Factor (bytes 318-319)
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
bits 6-7: Not Used
276) Status Byte 2: (0b = Off, 1b = On)
(LSB)bit 0 : Not Used
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 : Reserved
(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
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
238 Value sent as (value * 1000)
Site Master PM67
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)
101) User Defined Pattern (convert to binary for pattern) (highest byte)
102) User Defined Pattern
103) User Defined Pattern
104) User Defined Pattern (lowest byte)
105 – 112) Measurement Start Time String (ASCII string: “HH:MM:SS”)
113 – 123) Measurement Stop Time String (ASCII string: “DD:HH:MM:SS”)
124 – 134) Elapsed Time String (ASCII string: “DD:HH:MM:SS”)
135 – 142) Bit Error Rate String (ASCII string in engineering format: x.xxE-xx)
143 – 642) 100 data points with 5 bytes for each data point.
st
1
byte has information about Carrier Loss, Frame Loss, BPV and CRC
Following 4 bytes corresponds to the Bit Error Count
Break down of the 1
st
byte:
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Not UsedNot UsedNot UsedCarrier LossFrame LossBPV Error
643) Vpp or dBdsx (higher byte)
644) Vpp or dBdsx (lower byte)
645) T1 or E1 Receive Frequency in Hz (highest byte)
646) T1 or E1 Receive Frequency in Hz
647) T1 or E1 Receive Frequency in Hz
648) T1 or E1 Receive Frequency in Hz (lowest byte)
649 – 750) Not Used
Site 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 Site 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/”
CRC/E-bit
Error
Any Error
Site Master PM71
Option 6:“6/”
Option 10:“10/”
Option 21:“21/”
Option 29:“29/”
Option 50:“50/”
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
Site 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
27 - 30)Span Frequency
263
Notes:
Power is returned as (dBm * 1000)
Relative power is returned as (dB * 1000)
Offset is returned as (dB * 1000)
Frequencies are scaled by the scale factor
Set Power Meter Units – Control Byte #40 (28h)(Option 29 only)
Description: Set Power Meter units to Watts or dBm.
Bytes to Follow: 1 byte
1)Units
00h = Watt (% if in relative mode)
01h = dBm (dB if in relative mode)
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)
Site 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 Site Master to perform a sweep if it is in single sweep mode.
This command works only when the Site 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
Site Master Returns: 1 byte
1)192 (C0h) Sweep Complete Byte (at the end of the sweep)
Trigger Sweep – Control Word (AA30h)
Description: Causes the Site Master to perform a sweep if it is in single sweep mode.
This command works only when the Site 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
Site 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)
Check Battery Status – Control Byte #50 (32h)
Description: Return Smart Battery status.
Bytes to Follow: 0 bytes
74Site Master PM
Site 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)
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.
Automatically Save Runtime Setup – Control Byte #64 (40h)
Description: Automatically save the runtime setup when exiting remote mode.
This flag must be set once per power cycle of the Site Master. It returns to its default value when the unit is turned off. The
default value is (0), DO NOT automatically save the runtime setup.
Bytes to Follow: 1 byte
1) Save runtime setup On/Off
00h = Off (default)
01h=On
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
238 (EEh) Time Out Error
Enter Remote Mode – Control Byte #69 (45h)
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 Site Master and waits for response.
Since the Site Master polls its serial port buffer at the end of each sweep, the computer must wait until the Site 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 Site Master does not respond as expected.
Once in remote mode, the Site Master stops sweeping. A Remote Mode Indicator appears on the LCD.
The Site Master sends its model and software version numbers to the computer. The Site Master is now able to take multiple
control bytes. It waits for the next control byte.
Bytes to Follow: 0 bytes
Site Master Returns: 13 bytes
1-2) Model # (unsigned integer, 14h for Site Master S331D, 15h for Site Master S332D)
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 Site 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.
Once in remote mode, the Site Master stops sweeping. A Remote Mode Indicator appears on the LCD.
The Site Master sends its model and software version numbers to the computer. The Site Master is now able to take multiple
control bytes. It waits for the next control byte.
Bytes to Follow: 0 bytes
Site Master Returns: 13 bytes
76Site Master PM
1-2) Model # (unsigned integer, 14h for Site Master S331D, 15h for Site Master S332D)
3-9) Extended Model # (7 bytes in ASCII)
10-13) Software Version (4 bytes in ASCII)
Write Custom Cable – Control Byte #80 (50h)
Description: Write a cable parameter in the custom cable list.
Bytes to Follow: 25 bytes
1)Not Used
2)Cable List index (0 - 49)
3 – 17) Cable Description (string)
18) Propagation Velocity (highest byte)
19) Propagation Velocity
20) Propagation Velocity
21) Propagation Velocity (lowest byte)
22) Insertion Loss (highest byte)
23) Insertion Loss
24) Insertion Loss
25) Insertion Loss (lowest byte)
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
264
265
Recall Custom Cable – Control Byte #81 (51h)
Description: Query a cable in the custom cable list.
Bytes to Follow: 2 bytes
1)Not Used
2)Cable list index (0-49)
Site Master Returns: 24 bytes
1)Upper bound of Custom Cable Index
2 – 16) Cable Description (string)
17) Propagation Velocity (highest byte)
18) Propagation Velocity
19) Propagation Velocity
20) Propagation Velocity (lowest byte)
21) Insertion Loss (highest byte)
22) Insertion Loss
23) Insertion Loss
24) Insertion Loss (lowest byte)
264 Cable loss uses units 1/100,000 dBm or 1/100,000 dB/ft.
265 Relative Propagation Velocity uses units 1/100,000.
266 Relative Propagation Velocity uses units 1/100,000.
267 Cable loss uses units 1/100,000 dB/m or 1/100,000 dB/ft.
266
267
Site Master PM77
Write Antenna – Control Byte #82 (52h)
Description: Receives an antenna to the Site 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 Site 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)
Site 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 Site 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 Site 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)
Site 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)
78Site Master PM
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)
Site 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
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
Site Master PM79
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)
Site 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 * 1000) + 270000)
18-21) Channel Power Density (= (density in dBm/Hz * 1000) + 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
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
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.
80Site Master PM
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)
Site 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 * 1000) + 270000)
22-25) Lower Adjacent Channel Power (= (power in dBm * 1000) + 270000)
26-29) Upper Adjacent Channel Power (= (power in dBm * 1000) + 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.
Site 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% )
Site Master Returns: 16 bytes
1-4) Occupied Bandwidth (in Hz)
5-8) Measure dB down (dB * 100,000)
Site Master PM81
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)
Site 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 Site 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 Site Master does not return the results of the Bias Tee until ap
proximately three seconds after the Bias Tee is turned on.
-
82Site Master PM
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)
Site 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)
Site 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.
Bytes to Follow: 8 bytes
1)Ref Level (highest byte)
2)Ref Level
Site Master PM83
3)Ref Level
4)Ref Level (lowest byte)
5)dB/div (highest byte)
6)dB/div
7)dB/div
8)dB/div (lowest byte)
Site 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 (dBm * 1000) (e.g., -12.34 dBm = -12340)
Set Spectrum Analyzer Marker – Control Byte #102 (66h)
Description: Sets an individual Spectrum Analyzer marker.
3)Marker Delta Status On/Off (01h = On, 00h = Off)
4)Marker Value (higher byte)
5)Marker Value (lower byte)
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid marker number, status or position
238 (EEh) Time Out Error
Note: Marker Value is between 0 and 400, inclusive: Point = (400 * (marker freq - start freq)) / span
Set Spectrum Analyzer Single Limit – Control Byte #103 (67h)
Description: Sets the position and On/Off Status of the Limit Line.
Bytes to Follow: 6 bytes
1)Limit Number (1 for Site Master)
2)Limit Line On/Off (01h = On, 00h = Off)
3)Beep at Limit On/Off (01h = On, 00h = Off)
4)Limit Value (highest byte)
5)Limit Value
6)Limit Value
7)Limit Value (lowest byte)
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid limit number, status or value
238 (EEh) Time Out Error
Note: Limit Value is sent as the (Limit Value * 1000) + 270,000 (0 dBm=270,000, 20 dBm=290000, -120 dBm=150,000)
84Site Master PM
Set Spectrum Analyzer Peak Hold – Control Byte #105 (69h)
Description: Sets the max hold and min hold settings on the Spectrum Analyzer.
Bytes to Follow: 1 byte
1)Peak Hold State
00h – Peak Hold Off
01h – Max Hold On
02h – Min Hold On
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid state
238 (EEh) Time Out Error
Set Spectrum Analyzer Resolution Bandwidth – Control Byte #106 (6Ah)
NOTE: This command exists for backward compatibility with the S33xC models. Features new to the
S33xD models are not available here. To access the new features use Control Byte #141 (8Dh).
Description: Sets the resolution BW frequency for the Spectrum Analyzer.
224 (E0h) Parameter Error: Invalid RBW Index
238 (EEh) Time Out Error
Set Spectrum Analyzer Video Bandwidth – Control Byte #107 (6Bh)
NOTE: This command exists for backward compatibility with the S33xC models. Features new to the
S33xD models are not available here. To access the new features use Control Byte #142 (8Eh).
Description: Sets the video BW frequency for the Spectrum Analyzer.
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 Site Master exits from the remote mode.
For Single Sweep Mode during Site Master VNA modes of operation see control byte #11 (0Bh).
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)
Site 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)
Site 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)
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid Marker Number
238 (EEh) Time Out Error
86Site Master PM
Set Spectrum Analyzer Attenuation – Control Byte #111 (6Fh)
NOTE: This command exists for backward compatibility with the S33xC models. Features new to the
S33xD models are not available here. To access the new features use Control Byte #143 (8Fh).
Description: Sets the attenuation for the Site Master Spectrum Analyzer mode. 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 Index
00h–0dB
01h–10dB
02h–20dB
03h–30dB
04h–40dB
05h–50dB
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid Attenuation Value
238 (EEh) Time Out Error
Set Site Master VNA Segmented Limit Lines – Control Byte #112 (70h)
Description: Sets the position and On/Off status of the segmented limit lines for the VNA modes.
Site Master VNA modes support 5 limit segments. Each segment may have any finite slope and can be enabled and disabled
independently of every other segment. The limit beep is enabled for all segments or no segments.
Limit segments are specified by their end points (starting and ending “x” and “y” values).
See control byte #29 (1Dh) response byte 60 to 129 for the current Site Master configuration.
Bytes to Follow: 14 bytes
1)Limit Number
2)Limit Line On/Off (01h = On, 00h = Off)
3)Starting X (highest byte)
4)Starting X
5)Starting X
6)Starting X (lowest byte)
7)Starting Y (higher byte)
8)Starting Y (lower byte)
9)Ending X (highest byte)
10) Ending X
11) Ending X
12) Ending X (lowest byte)
13) Ending Y (higher byte)
14) Ending Y (lower byte)
268
269
268 Frequency in Hz or distance in 1/100,000 ft (or meters)
269 Frequency in Hz or distance in 1/100,000 ft (or meters)
Site Master PM87
Site 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
Notes: Limit Value depends on the current display mode selected.
Return Loss &: Limit should be sent as ( dB * 1000 )
Cable LossMaximum value sent is 60000 which represents 60.00 dB
Minimum value sent is 0 which represents 0.0 dB
SWR:Limit is in thousandths (of ratio), so it should be sent as ( ratio * 1000 )
Maximum value sent is 65530 which represents 65.53
Minimum value sent is 1000 which represents 1.00
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 Site 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
270
(highest byte)
6)Limit Value Start X
7)Limit Value Start X
8)Limit Value Start X (lowest byte)
9)Limit Value Start Y
271
(highest byte)
10) Limit Value Start Y
11) Limit Value Start Y
12) Limit Value Start Y (lowest byte)
13) Limit Value End X
272
(highest byte)
14) Limit Value End X
15) Limit Value End X
270 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.
271 ( Value in dBm * 1000 ) + 270,000
272 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.
88Site Master PM
16) Limit Value End X (lowest byte)
17) Limit Value End Y
18) Limit Value End Y
19) Limit Value End Y
20) Limit Value End Y (lowest byte)
Site 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
273
(highest byte)
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
Site 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)
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
273 ( Value in dBm * 1000 ) + 270,000
Site Master PM89
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)
Site Master Returns: 8 bytes (1 byte if an error occurs)
Note: Marker value sent as (value in dBm * 1,000) +270,000.
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)
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
Field InstaCal – Control Byte #120 (78h)
Description: This command is used by the customer in the field to start an InstaCal sequence.
Prior to sending this command to the Site Master, the InstaCal module should be connected to the R/F Out port. To execute
this command, exit remote mode after sending this command.
Byte to Follow: 0 bytes
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Communication Error : Site Master was unable to communicate with InstaCal module
238 (EEh) Time Out Error : Field InstaCal sequence was unable to complete
90Site Master PM
Read InstaCal Module ASCII Serial Number – Control Byte #124 (7Ch)
Description: Returns the InstaCal Module serial number in ASCII.
Bytes to Follow: 1 byte
1)Serial number storage location (01h=main serial, 02h=secondary)
Site Master Returns: 8 bytes
1-8) Serial Number, in ASCII
Set Site Master Marker (Peak/Valley) – Control Byte #129 (81h)
Description: Sets an individual marker in current measurement mode to either peak (maximum) signal or valley (minimum)
signal.
2)Marker Line Search Status (01h = Peak, 00h = Valley )
Site Master Returns: 3 bytes (1 byte if an error occurs)
1)Marker Position (higher byte)
2)Marker Position (lower byte)
3)255 (FFh) Operation Complete Byte
or
1)224 (E0h) Parameter Error : Invalid marker or marker search status
238 (EEh) Time Out Error
274
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)
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
274 The marker position is sent as a data point on the display. Equivalent Frequency = (position * span / (# data points -
1)) + start frequency
Site Master PM91
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
Site 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 SPA 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)
Site 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 Site Master S33xD 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)
Site 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 Site Master S33xD 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)
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid VBW
238 (EEh) Time Out Error
Set Spectrum Analyzer Attenuation – Control Byte #143 (8Fh)
NOTE: This command is new to the Site Master S33xD 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.
Site Master PM93
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)
Site 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
276
3)Speaker Volume (higher byte)
4)Speaker Volume (lower byte)
5)Demodulation Time
278
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
280
(highest byte)
14) SSB BFO Adjust
15) SSB BFO Adjust
16) SSB BFO Adjust (lowest byte)
Site Master Returns: 1 byte
1)255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error
238 (EEh) Time Out Error
275
277
(highest byte)
279
(highest byte)
275 00h = Off, 01h = On
276 00h = FM Wideband, 01h = FM Narrowband, 02h = AM, 03h = SSB Lower, 04h = SSB Upper
277 Speaker Volume is from 0 to 100 in steps of 10
278 Demodulation time in milliseconds from 100 millisec to 500 seconds
279 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.
280 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
94Site Master PM
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.