Anritsu S331D, S332D User Manual

Page 1
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
SiteMaster
SpectrumMaster
CellMaster
MS2711D
Spectrum Master
S331D
Site Master
SiteMaster
SpectrumMaster
MT8212A
Cell Master
CellMaster
Color display option shown
Programming Manual
www.valuetronics.com
Page 2
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 informa­tion contained herein are the property of Anritsu Company, and any unauthorized use or disclosure of these drawings, specifications, and information is prohibited; they shall not be reproduced, copied, or used in whole or in part as the basis for manufacture or sale of the equipment or software programs without the prior written consent of Anritsu Com­pany.
UPDATES
Updates to this manual, if any, may be downloaded from the Anritsu internet site at: http://www.us.anritsu.com.
January 2008 10580-00100 Copyright ã 2003-2008 Anritsu Co. Revision:C
www.valuetronics.com
Page 3

Table of Contents

PROGRAMMING OVERVIEW ...............................................................................................................................5
GENERAL DESCRIPTION..............................................................................................................................................5
CABLING ....................................................................................................................................................................5
SERIAL COMMUNICATION PARAMETERS ....................................................................................................................5
COMMUNICATIONS ERROR CHECKING .......................................................................................................................5
PARAMETER VALIDATION ..........................................................................................................................................5
ENTERING REMOTE MODE .........................................................................................................................................6
EXITING REMOTE MODE ............................................................................................................................................6
LIFETIME OF CHANGES TO SITE MASTER OPERATING PARAMETERS ..........................................................................6
WRITE CYCLE LIMITATION OF EEPROM...................................................................................................................6
DOCUMENTATION CONVENTIONS...............................................................................................................................6
Numeric Representation: .......................................................................................................................................6
Bit Positions: .........................................................................................................................................................6
CONTROL BYTE DESCRIPTIONS ........................................................................................................................7
SETUP SYSTEM CONTROL BYTE #1 (01H) ................................................................................................................7
SET SITE MASTER VNA FREQUENCY CONTROL BYTE #2 (02H)..............................................................................7
SELECT MEASUREMENT MODE CONTROL BYTE #3 (03H) .......................................................................................8
SET CELL MASTER VNA SCALE CONTROL BYTE #4 (04H) .....................................................................................8
SET SITE MASTER VNA MARKER CONTROL BYTE #5 (05H)...................................................................................9
SET SITE MASTER VNA SINGLE LIMIT CONTROL BYTE #6 (06H) .........................................................................10
SET DTF PARAMETER CONTROL BYTE #7 (07H)...................................................................................................10
SET TIME/DATE CONTROL BYTE #8 (08H).............................................................................................................11
SET TRACE NAME (REFERENCE NUMBER) CONTROL BYTE #9 (09H) ....................................................................12
SERIAL PORT ECHO ON/OFF CONTROL BYTE #10 (0AH).......................................................................................12
SITE MASTER VNA SINGLE SWEEP MODE ON/OFF CONTROL BYTE #11 (0BH)....................................................12
WATCH-DOG TIMER ON/OFF CONTROL BYTE #12 (0CH) .....................................................................................13
SEQUENCE SITE MASTER CALIBRATION CONTROL BYTE #13 (0DH).....................................................................13
SET SITE MASTER VNA DATA POINTS CONTROL BYTE #14 (0EH) .......................................................................14
SET SITE MASTER CALIBRATION MODE CONTROL BYTE #15 (0FH)......................................................................14
STORE SWEEP TRACE CONTROL BYTE #16 (10H) ..................................................................................................14
OBSOLETE: RECALL SWEEP TRACE CONTROL BYTE #17 (11H).........................................................................15
SAVE SYSTEM SETUP CONTROL BYTE #18 (12H) ..................................................................................................22
RECALL SYSTEM SETUP CONTROL BYTE #19 (13H) ..............................................................................................23
OBSOLETE: QUERY SYSTEM STATUS CONTROL BYTE #20 (14H) ......................................................................23
TRIGGER SELF-TEST CONTROL BYTE #21 (15H)....................................................................................................30
READ FAIL COUNTER CONTROL BYTE #22 (16H) ..................................................................................................30
CLEAR FAIL COUNTERS CONTROL BYTE #23 (17H)...............................................................................................31
QUERY TRACE NAMES CONTROL BYTE #24 (18H) ................................................................................................31
DELETE SWEEP TRACE CONTROL BYTE #25 (19H) ................................................................................................31
OBSOLETE: UPLOAD SPA SWEEP TRACE CONTROL BYTE #26 (1AH) ...............................................................31
QUERY SWEEP MEMORY CONTROL BYTE #27 (1BH) ............................................................................................35
OBSOLETE: UPLOAD SITE MASTER SWEEP TRACE CONTROL BYTE #28 (1CH) .................................................35
QUERY SYSTEM STATUS CONTROL BYTE #29 (1DH) ............................................................................................38
SELECT PRINTER TYPE CONTROL BYTE #30 (1EH)................................................................................................49
SELECT DTF WINDOWING CONTROL BYTE #31 (1FH) ..........................................................................................50
SET SITE MASTER VNA TRACE MATH CONTROL BYTE #32 (20H) .......................................................................50
RECALL SWEEP TRACE CONTROL BYTE #33 (21H)................................................................................................51
SET SITE MASTER VNA TRACE OVERLAY CONTROL BYTE #34 (22H)..................................................................66
SET SPA A/B TRACE CONTROL BYTE #35 (23H)...................................................................................................66
UPLOAD SWEEP TRACE CONTROL BYTE #36 (24H)...............................................................................................66
GET OPTIONS CONTROL BYTE #37 (25H) ..............................................................................................................80
QUERY POWER LEVEL CONTROL BYTE #39 (27H).................................................................................................80
1
www.valuetronics.com
Page 4
SET POWER METER UNITS CONTROL BYTE #40 (28H) ..........................................................................................81
POWER METER RELATIVE MODE ON/OFF CONTROL BYTE #41 (29H)...................................................................81
POWER METER OFFSET MODE ON/OFF CONTROL BYTE #42 (2AH)......................................................................81
POWER METER ZERO MODE ON/OFF CONTROL BYTE #43 (2BH) .........................................................................82
POWER METER RMS AVERAGING ON/OFF CONTROL BYTE #44 (2CH) ................................................................82
POWER METER CENTER FREQUENCY AND SPAN SETUP CONTROL BYTE #45 (2DH) .............................................82
TRIGGER SWEEP CONTROL BYTE #48 (30H)..........................................................................................................83
TRIGGER SWEEP CONTROL WORD (AA30H) .........................................................................................................83
SWEEP DATA ECHO ON/OFF CONTROL BYTE #49 (31H) .......................................................................................83
CHECK BATTERY STATUS CONTROL BYTE #50 (32H) ...........................................................................................84
SET SPA MINIMUM SWEEP TIME CONTROL BYTE #53 (35H) ................................................................................84
SET TRIGGER POSITION CONTROL BYTE #54 (36H) ...............................................................................................85
SET VIDEO TRIGGER LEVEL CONTROL BYTE #55 (37H) ........................................................................................85
AUTOMATICALLY SAVE RUNTIME SETUP CONTROL BYTE #64 (40H) ...................................................................85
DOWNLOAD SAVED SETUP CONTROL BYTE #65 (41H) ..........................................................................................86
UPLOAD SETUP CONTROL BYTE #66 (42H) .........................................................................................................100
READ PARAMETER LIMITS CONTROL BYTE #67 (43H) ........................................................................................115
QUERY SAVED SETUPS CONTROL BYTE #68 (44H)..............................................................................................126
ENTER REMOTE MODE CONTROL BYTE #69 (45H)..............................................................................................127
ENTER REMOTE MODE IMMEDIATELY CONTROL BYTE #70 (46H) ......................................................................128
WRITE PROTECT SETUP CONTROL BYTE #71 (47H).............................................................................................128
CLEAR SETUP MEMORY LOCATION CONTROL BYTE #72 (48H)...........................................................................129
WRITE SIGNAL STANDARDS CONTROL BYTE #78 (4EH) .....................................................................................129
RECALL SIGNAL STANDARDS CONTROL BYTE #79 (4FH)....................................................................................130
WRITE CUSTOM CABLE CONTROL BYTE #80 (50H).............................................................................................130
RECALL CUSTOM CABLE CONTROL BYTE #81 (51H)...........................................................................................131
WRITE ANTENNA CONTROL BYTE #82 (52H) ......................................................................................................131
RECALL ANTENNA CONTROL BYTE #83 (53H) ....................................................................................................132
SET FIELD STRENGTH MEASUREMENT CONTROL BYTE #84 (54H) ......................................................................132
SET CHANNEL POWER CONTROL BYTE #85 (55H)...............................................................................................133
READ CHANNEL POWER CONTROL BYTE #86 (56H)............................................................................................133
SET ADJACENT CHANNEL POWER RATIO (ACPR) CONTROL BYTE #87 (57H) ....................................................134
READ ADJACENT CHANNEL POWER (ACPR) CONTROL BYTE #88 (58H) ............................................................134
READ SIGNAL STANDARD NAME CONTROL BYTE #89 (59H)...............................................................................135
MEASURE OCC BW % OF POWER CONTROL BYTE #96 (60H) ............................................................................135
MEASURE OCC BW DB DOWN CONTROL BYTE #97 (61H).................................................................................135
SET BIAS TEE FUNCTION - CONTROL BYTE #98 (62H) ...........................................................................................136
SET SPECTRUM ANALYZER START/STOP FREQUENCY CONTROL BYTE #99 (63H) ..............................................136
SET SPECTRUM ANALYZER CENTER FREQ./SPAN CONTROL BYTE #100 (64H)....................................................137
SET SPECTRUM ANALYZER SCALE CONTROL BYTE #101 (65H) ..........................................................................137
SET SPECTRUM ANALYZER MARKER CONTROL BYTE #102 (66H) ......................................................................137
SET SPECTRUM ANALYZER SINGLE LIMIT CONTROL BYTE #103 (67H)...............................................................138
SET SPECTRUM ANALYZER PEAK HOLD CONTROL BYTE #105 (69H)..................................................................138
OBSOLETE: SET SPECTRUM ANALYZER RESOLUTION BANDWIDTH CONTROL BYTE #106 (6AH) ...................138
OBSOLETE: SET SPECTRUM ANALYZER VIDEO BANDWIDTH CONTROL BYTE #107 (6BH)..............................139
SET SPECTRUM ANALYZER SWEEP MODE CONTROL BYTE #108 (6CH) ..............................................................139
SET SPECTRUM ANALYZER MARKER TO PEAK CONTROL BYTE #109 (6DH).......................................................140
SET SPECTRUM ANALYZER MARKER TO CENTER CONTROL BYTE #110 (6EH) ...................................................140
OBSOLETE: SET SPECTRUM ANALYZER ATTENUATION CONTROL BYTE #111 (6FH) ......................................140
SET SITE MASTER VNA SEGMENTED LIMIT LINES CONTROL BYTE #112 (70H) .................................................140
SET SPECTRUM ANALYZER MULTIPLE LIMIT CONTROL BYTE #113 (71H) ..........................................................141
SET RETURN SPECTRUM ANALYZER SWEEP TIME CONTROL BYTE #114 (72H)...................................................142
SET REFERENCE LEVEL OFFSET CONTROL BYTE #115 (73H) ..............................................................................143
SET SPECTRUM ANALYZER IMPEDANCE CONTROL BYTE #116 (74H)..................................................................143
READ MARKER VALUE CONTROL BYTE #117 (75H) ...........................................................................................143
SET SWEEP AVERAGING CONTROL BYTE #118 (76H)..........................................................................................144
2
www.valuetronics.com
Page 5
FIELD INSTACAL CONTROL BYTE #120 (78H) .....................................................................................................144
READ INSTACAL MODULE ASCII SERIAL NUMBER CONTROL BYTE #124 (7CH) ...............................................145
SET SITE MASTER MARKER (PEAK/VALLEY) CONTROL BYTE #129 (81H)..........................................................145
SET / RESET SPECTRUM ANALYZER EXTERNAL REFERENCE CONTROL BYTE #133 (85H)...................................145
CHECK SPECTRUM ANALYZER EXTERNAL REFERENCE CONTROL BYTE #134 (86H)...........................................146
SET SA PREAMP STATE (ON/OFF/AUTO) CONTROL BYTE #136 (88H) ................................................................146
SET SPECTRUM ANALYZER UNITS CONTROL BYTE #140 (8CH) .........................................................................146
SET SPECTRUM ANALYZER RESOLUTION BANDWIDTH CONTROL BYTE #141 (8DH) ..........................................147
SET SPECTRUM ANALYZER VIDEO BANDWIDTH CONTROL BYTE #142 (8EH).....................................................147
SET SPECTRUM ANALYZER ATTENUATION CONTROL BYTE #143 (8FH) .............................................................147
SET AM/FM DEMODULATION CONTROL BYTE #145 (91H).................................................................................148
SET BAUD RATE CONTROL BYTE #197 (C5H) .....................................................................................................149
SET LANGUAGE CONTROL BYTE #198 (C6H) ......................................................................................................149
QUERY TIME CONTROL BYTE #208 (D0H) ..........................................................................................................149
READ MAIN SERIAL NUMBER CONTROL BYTE #221 (DDH)................................................................................149
READ ASCII SERIAL NUMBER CONTROL BYTE #225 (E1H)................................................................................150
GPS POWER CONTROL BYTE #237 (EDH)...........................................................................................................150
READ GPS POSITION CONTROL BYTE #238 (EEH)..............................................................................................150
AUTOMATIC CAL DISABLE CONTROL BYTE #241 (F1H)......................................................................................151
INSTACAL MODULE CHARACTERIZATION CONTROL BYTE #242 (F2H) ...............................................................151
RECALL SWEEP TRACE CONTROL BYTE #243 (F3H)...........................................................................................151
SET SITE MASTER VNA EXTENDED FREQUENCY CONTROL BYTE #244 (F4H) ...................................................152
EXIT REMOTE MODE CONTROL BYTE #255 (FFH) ..............................................................................................152
SET T1 TRANSMISSION LEVEL CONTROL WORD (A001H)...................................................................................153
SET T1/E1 CLOCK SOURCE CONTROL WORD (A002H) .......................................................................................153
SET T1/E1 PATTERN CONTROL WORD (A003H)..................................................................................................153
SET T1/E1 ERROR INSERT TYPE/VALUE CONTROL WORD (A004H)....................................................................154
SET T1/E1 FRAMING MODE CONTROL WORD (A005H).......................................................................................154
START AND STOP T1/E1 MEASUREMENT CONTROL WORD (A006H)...................................................................155
INSERT ERROR FOR T1/E1 MEASUREMENT CONTROL WORD (A007H)................................................................155
GET T1/E1 PATTERN CONTROL WORD (A008H) .................................................................................................155
GET T1/E1 FRAME SYNC STATUS CONTROL WORD (A009H)..............................................................................155
GET T1/E1 PATTERN SYNC STATUS CONTROL WORD (A00AH) .........................................................................156
GET T1/E1 CARRIER STATUS CONTROL WORD (A00BH)....................................................................................156
GET T1/E1 ERROR TYPE AND NUMBER CONTROL WORD (A00CH) ....................................................................156
SET T1/E1 LINE CODING OPTIONS CONTROL WORD (A00DH) ...........................................................................157
SET E1 IMPEDANCE OPTIONS CONTROL WORD (A00EH) ....................................................................................157
READ T1/E1 VOLTS PEAK-TO-PEAK CONTROL WORD (A00FH) .........................................................................158
SET T1/E1 RECEIVE INPUT CONFIGURATION OPTIONS CONTROL WORD (A013H) ..............................................158
SET T1/E1 MEASUREMENT DURATION CONTROL WORD (A014H).....................................................................158
SET T1/E1 DATA LOGGING CONTROL WORD (A015H) .......................................................................................159
READ T1/E1 DBDSX CONTROL WORD (A016H) ..................................................................................................159
READ T1/E1 FREQUENCY CONTROL WORD (A017H) ..........................................................................................159
READ T1/E1 FREQUENCY CAL CONTROL WORD (A018H) ..................................................................................160
SET T1/E1 FREQUENCY CAL CONTROL WORD (A019H) .....................................................................................160
CONFIGURE DS0/E0 CHANNEL TESTS CONTROL WORD (A01AH) ......................................................................160
READ DS0/E0 LEVEL AND FREQUENCY CONTROL WORD (A01BH)...................................................................160
SET DS0/E0 LEVEL AND FREQUENCY CONTROL WORD (A01CH)......................................................................161
SELECT SPA/POWER METER SIGNAL STANDARD CONTROL WORD (A103H)......................................................161
SELECT SPA/POWER METER CHANNEL CONTROL WORD (A104H).....................................................................161
READ EXTERNAL MODULE NAME CONTROL WORD (A201H) .............................................................................161
READ EXTERNAL MODULE SERIAL NUMBER CONTROL WORD (A202H).............................................................162
READ EXTERNAL MODULE FREQUENCY RANGE CONTROL WORD (A203H) .......................................................162
READ MODULE FAIL COUNTER CONTROL WORD (A204H) .................................................................................163
CLEAR MODULE FAIL COUNTER CONTROL WORD (A205H) ...............................................................................163
PERFORM TRANSMISSION MODE CALIBRATION CONTROL WORD (A301H) ........................................................163
3
www.valuetronics.com
Page 6
TURN OFF TRANSMISSION MODE CALIBRATION CONTROL WORD (A302H) ......................................................164
GET SIGNAL STANDARD NAME CONTROL WORD (A501H) .................................................................................164
SET SIGNAL STANDARD LINK DIRECTION CONTROL WORD (A502H) .................................................................164
PERFORM NOISE DIODE CAL CONTROL WORD (A505H) .....................................................................................164
SET BIAS T VOLTAGE CONTROL WORD (A506H)................................................................................................164
SELECT FUNCTION IN IA MEASUREMENT MODE CONTROL WORD (A700H) .......................................................165
SPECTROGRAM: SET SWEEP INTERVAL CONTROL WORD (A721H)......................................................................165
SPECTROGRAM: SET TIME SPAN OF MEASUREMENT CONTROL WORD (A722H) .................................................165
SPECTROGRAM: TURN ON/OFF AUTO SAVE CONTROL WORD (A723H) ..............................................................166
SPECTROGRAM: GET TRACE NAME CONTROL WORD (A724H) ...........................................................................166
SPECTROGRAM: RECALL TRACE CONTROL WORD (A725H) ...............................................................................166
REMOTE SELF TEST CONTROL WORD (AA15H) ..................................................................................................167
PARAMETER DEFINITIONS ..............................................................................................................................171
PROGRAMMING EXAMPLES............................................................................................................................172
EXAMPLES IN C: .....................................................................................................................................................172
EXAMPLE IN VISUAL BASIC....................................................................................................................................178
SIGNAL STANDARDS ..........................................................................................................................................180
4
www.valuetronics.com
Page 7

Programming Overview

Warning: The Anritsu Site Master Serial Port Commands are not backward compatible with earlier Site Master Models.
This programming menu is written exclusively for Anritsu Site Master model S331D, S332D, S311D, and S312D. It is intended for firmware 5.00 and above. For information on firmware upgrade, please contact your local Anritsu service center.

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, you send a series of control bytes and associated data to the Site Master. These control byte sequences command the Site Master to perform various functions and activities. The serial port supports virtually all features accessible from the keypad. The only exception is the printer, which requires connection to the same 9 pin connector on the Site Master rear panel.
To complete the communication session, send the control byte to exit remote mode. Site Master resumes normal operations. You may also exit the remote mode by using the ESCAPE/CLEAR key.

Cabling

Serial communications take place via the 9 pin connector on the back of the Site Master. The Site Master is a DTE­type serial device and therefore requires a “null modem” cable for communication with a computer, which is also a DTE device. We provide a suitable cable with your Site Master. (Anritsu part number 800-441)

Serial Communication Parameters

When turned on, the Site Master communicates at a default baud rate of 9600. It uses no parity bits, 8 data bits, and 1 stop bit (N-8-1). No hardware handshaking is used. The Set Baud Rate serial command Control Byte #197 (C5h) can be used to change the baud rate to other common baud rates. It can be reset by turning the Cell Master off.

Communications Error Checking

Since there is no hardware handshaking, byte level error handling must be done by the controlling program. The expected number of response bytes for each control byte (listed in the control byte description section of this manual) works well for responses coming from the 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.
5
www.valuetronics.com
Page 8

Entering Remote Mode

Send the Enter Remote Mode Byte #69 (45h) to the Site Master to enter remote mode at the end of a sweep. Send the Enter Remote Mode Immediately byte #70 (46h) to enter remote mode in the middle of a sweep.
The Site Master’s serial port buffer is one byte wide. No internal buffer exists, so waiting for the unit’s response is essential. If the Site Master is not in remote, sending a second byte overwrites the original byte commanding it to go into remote. If you send control byte #69, you must wait until the end of the sweep. If you send control byte #70, the unit will enter remote mode as soon as it receives the byte. Note that this means that data stored for the current sweep may be incomplete.
Once you receive the response string from Site Master, you are in remote mode.

Exiting Remote Mode

Send the Exit Remote control byte #255 (FFh) to the Site Master. Site Master sends a response byte of 255 (FFh) then exits remote mode. Remote mode can also be exited by pressing the ESCAPE/CLEAR key.

Lifetime of Changes to Site Master Operating Parameters

System parameters changed during remote mode remain changed for normal operation. They are not automatically written to the non-volatile EEPROM. Turning off power erases the changed settings.
If you want the changes saved, you must save the change to one of the setup memories. Use either the run-time setup (location 0, which holds the power-on defaults) or one of the nine saved setups. See control byte #18 (12h) for 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, you can store setup #1 100,000 times and setup #2 100,000 times, etc.
It is for this reason we do not automatically store the changed system parameters to EEPROM. Instead, we provide a means of changing the operating parameters independent of this limitation.
Be aware of the EEPROM write cycle limitation when programming the Site Master. Keep the number of write cycles to a minimum.

Documentation Conventions

Through 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).
6
www.valuetronics.com
Page 9

Control Byte Descriptions

Setup System
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 bytes 170 (VNA modes) and 275 and 276 (Spectrum Analyzer 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: Logarithmic Amplitude Units (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV) bits 5-6: Detection Algorithm (00b = Positive Peak 01b = RMS Average
bit 7: Attenuation Coupling (to ref level) (1b = Auto 0b = Manual)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
– Control Byte #1 (01h)
10b = Negative Peak 11b = Sampling Mode)
238 (EEh) Time-out Error
1
Set Site Master VNA Frequency
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. Low end is extended to 2 MHz with option 2; and high end is extended to 6000 MHz with option 16.
See control byte #29 (1Dh) response bytes 28 to 35 for current Site Master start and stop frequencies.
This command handles frequency up to 4 GHz. If option 16 is present, then higher frequency can be entered using the command Set Site Master VNA Extended Frequency whose control byte is #244 (F4h).
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)
1
Set the Metric/English flag to the proper value before sending distance information.
– Control Byte #2 (02h)
7
www.valuetronics.com
Page 10
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Invalid frequency range 238 (EEh) Time-out Error
Select Measurement Mode
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 39h: Channel Scanner Mode 3Bh: Interference Analyzer Mode
3Ch: CW Signal Generator Mode 40h: Power Monitor Mode (Option 29 Only) 41h: Power Monitor Mode (Option 5) 42h: High Accuracy Power Meter Mode
60h: T1 Tester Mode (Option 50 Only)
70h: E1 Tester Mode (Option 50 Only)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Invalid measurement mode 238 (EEh) Time-out Error:
– Control Byte #3 (03h)
Set Cell Master VNA Scale
Description: Sets the top and bottom value of current measurement mode.
Return Loss: Unit is dB/1000. Maximum value sent is 60000 which represents 60.00 dB, Minimum value sent is 0 which represent 0.00 dB,
SWR: Unit is 1/1000 (of ratio) Maximum value sent is 65530 which represents 65.50 Minimum value sent is 1000 which represents 1.00
Cable Loss: Unit is dB/1000. Maximum value sent is 30000 which represents 30.00 dB,
8
www.valuetronics.com
– Control Byte #4 (04h)
Page 11
Minimum value sent is 0 which represent 0.00 dB,
See control byte #29 (1Dh) response bytes 36 to 43 for current Cell Master scaling.
Bytes to Follow: 8 bytes
1) Scale Start (Highest byte)
2) Scale Start
3) Scale Start
4) Scale Start (Lowest byte)
5) Scale Stop (Highest byte)
6) Scale Stop
7) Scale Stop
8) Scale Stop (Lowest byte)
Cell Master Returns: 1 byte
255 (FFh): Operation Complete Byte 224 (E0h): Parameter Error - Invalid scale range 238 (EEh): Time-out Error
Set Site Master VNA Marker
Description: Sets an individual marker position and status in the current measurement 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) do the following: point = ( resolution – 1 ) * ( marker freq – start freq ) / ( stop freq – start freq )
See control byte #29 (1Dh) response bytes 44 to 55 for current frequency markers. See control byte #29 (1Dh) response bytes 138 to 149 for current distance markers. See control byte #29 (1Dh) response byte 162 for current marker on/off status.
Bytes to Follow: 5 bytes
1) Marker Number (01h = marker 1, 02h = marker 2, 03h = marker 3, 04h = marker 4, 05h = marker 5, 06h = marker 6)
2) Marker Line On/Off (01h = On, 00h = Off)
3) Marker Delta 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, marker status, or marker position 238 (EEh) Time-out Error
– Control Byte #5 (05h)
2
2
This byte is not applicable for markers 5 and 6. It will be ignored by the Site Master.
9
www.valuetronics.com
Page 12

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 the 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.
Bytes to Follow: 6 bytes
1) Limit Line On/Off (01h = On, 00h = Off)
2) Beep at Limit On/Off (01h = On, 00h = Off)
3) Limit Value (Highest byte)
4) Limit Value
5) Limit Value
6) Limit Value (Lowest byte)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid limit status, limit beep status, or limit value 238 (EEh) Time-out Error
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
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.
Please refer to the Site Master User’s Guide for a detailed explanation of the factors influencing proper selection of DTF parameters.
Give Start & Stop Distances in hundred-thousandths of meter or foot (12.34 m 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
– Control Byte #7 (07h)
10
www.valuetronics.com
Page 13
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
254 (FEh): Internal Error
Set Time/Date
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.
Bytes to Follow: 7 bytes
1) Hour
2) Minute
3) Month
4) Day
5) Year (Highest byte)
6) ear (Lowest byte)
7) Daylight Saving (01h = On, 00h = Off)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
– Control Byte #8 (08h)
238 (EEh) Time-out Error
11
www.valuetronics.com
Page 14

Set Trace Name (Reference Number) – Control Byte #9 (09h)

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
1) 255 (FFh) Operation Complete Byte 238 (EEh) Time-out Error
Serial Port Echo On/Off
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
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
– Control Byte #10 (0Ah)

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 the 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
12
www.valuetronics.com
Page 15
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
224 (E0h) Incompatible Measurement Mode (i.e. Spectrum Analyzer) 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.
Bytes to Follow: 1 byte
1) Watch-dog timer On/Off 00h = Off 01h = On
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid watch-dog timer status
Sequence Site Master Calibration
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.
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: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Error : Invalid Cal operation or Cal Incomplete 238 (EEh) Time-out Error
– Control Byte #13 (0Dh)
13
www.valuetronics.com
Page 16
2) 240 (F0h): Calibration Step Complete Byte
3
Set Site Master VNA Data Points
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
– Control Byte #14 (0Eh)
Set Site Master Calibration Mode
Description: Set the Site Master calibration mode to OSL Cal (standard) or FlexCal.
Bytes to Follow: 1 byte
1) Calibration Mode 00h = OSL Calibration (standard)
01h = FlexCal Calibration
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid calibration mode 238 (EEh) Time-out Error
– Control Byte #15 (0Fh)
Store Sweep Trace
Description: Saves current trace to the next available memory location. Trace name can be set using control byte #9, “Set Trace Name (Reference Number)” before executing this command.
Bytes to Follow: 0 bytes
Site Master Returns: 5 bytes
1-4) Time/Date Stamp (In long integer format)
5) Operation result: 255 (FFh) Operation Complete Byte
224 (E0h) Out of memory (Memory full)
238 (EEh) Time-out Error
– Control Byte #16 (10h)
3
This byte is returned only after the instrument is finished with its sweep. Not right away.
14
www.valuetronics.com
Page 17

OBSOLETE: Recall Sweep Trace – Control Byte #17 (11h)

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).
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
17-20) Time/Date (in Long Integer 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
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) 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
7
(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
78) Frequency Marker 1 (Lowest byte)
4
5
6
(Highest byte)
8
(Highest byte)
)
4
Refer to Control Byte #3 “Select Measurement Mode” for detailed value.
5
Time/Date long integer representation is in seconds since January 1, 1970
6
Frequency units are Hz
7
See Control Byte #4 “Set Site Master Scale” for data format
8
marker 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.
15
www.valuetronics.com
Page 18
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
9
(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
10
(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
11
(Highest byte)
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
12
(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
9
See Control Byte #6 “Set Site Master Single Limit” for data format.
10
See Control Byte #112 “Set Site Master Segmented Limit Lines” for data format.
11
Distance data uses units 1/100,000m (or feet)
12
Marker Point = ( # data points – 1 ) * ( marker dist – start dist ) / ( stop dist – start dist )
13
(Highest byte)
Where # of data points can be found in bytes 55-56, start dist is in bytes 163-166, and stop dist is in bytes 167-170.
16
www.valuetronics.com
Page 19
184) Relative Propagation Velocity
185) Relative Propagation Velocity
186) Relative Propagation Velocity (Lowest byte)
187) Cable Loss
14
(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
15
bit 5 : Cal On/Off bit 6 : Limit Type ( 0b = Single; 1b = Multiple)
bit 7 : Unit of Measurement (1b = Metric, 0b = English)
194) Status Byte 4:
(LSB) bit 0 - 1 : DTF Windowing Mode bit: 1 0 | | 0 0 - Rectangular (No Windowing) 0 1 - Nominal Side Lobe 1 0 - Low Side Lobe 1 1 - Minimum Side Lobe bits 2 – 7 : Not Used
195-228) Not Used
229-1268) Sweep Data (130 points * 8 bytes/point = 1040 bytes)
229-2300) Sweep Data (259 points * 8 bytes/point = 2072 bytes)
229-4364) Sweep Data (517 points * 8 bytes/point = 4136 bytes) 8 bytes for each data point
1. gamma
16
MSB
2. gamma
3. gamma
4. gamma LSB
5. phase
17
MSB
6. phase
7. phase
13
Relative Propagation Velocity uses units 1/100,000
14
Cable Loss uses units 1/100,000 dB/m or 1/100,000 dB/ft.
15
Bits (4,5) are as follows: (0,0) = Cal Off, (0,1) = OSL Cal (1,1) = InstaCal On, (1,0) = Impossible.
16
Gamma data uses 1/1000 units.
17
Phase data uses 1/10 degree unit.
17
www.valuetronics.com
Page 20
8. phase LSB
Note: return loss = - 20* (log(gamma) / log(10)) VSWR = (1+gamma)/(1-gamma) phase compares the reflected to the incident (reference)
For Spectrum Analyzer Mode:
57) Start Frequency
18
(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
19
(Highest byte)
78) Ref Level
79) Ref Level
80) Ref Level (Lowest byte)
81) Scale per div
20
(Highest byte)
82) Scale per div
83) Scale per div
84) Scale per div (Lowest byte)
85) Frequency Marker 1
21
(Highest byte)
86) Frequency Marker 1 (Lowest byte)
87) Frequency Marker 2 (Highest byte)
88) Frequency Marker 2 (Lowest byte)
89) Frequency Marker 3 (Highest byte)
90) Frequency Marker 3 (Lowest byte)
91) Frequency Marker 4 (Highest byte)
92) Frequency Marker 4 (Lowest byte)
93) Frequency Marker 5 (Highest byte)
94) Frequency Marker 5 (Lowest byte)
95) Frequency Marker 6 (Highest byte)
96) Frequency Marker 6 (Lowest byte)
97) Single Limit
22
(Highest byte)
98) Single Limit
99) Single Limit
18
Frequency in Hz
19
Value sent as ( Value in dBm * 1000 ) + 270,000
20
Value sent as ( Value * 1000 )
21
Value sent as data point on display. Freq = ( Point * Span / ( Total Data Points – 1 ) ) + Start Freq
22
Value sent as (value in dBm * 1000) + 270,000
18
www.valuetronics.com
Page 21
100) Single Limit (Lowest byte)
101) Multiple Upper Limit 1 Start X (Frequency in Hz) (Highest byte)
102) Multiple Upper Limit 1 Start X (Frequency in Hz)
103) Multiple Upper Limit 1 Start X (Frequency in Hz)
104) Multiple Upper Limit 1 Start X (Frequency in Hz) (Lowest byte)
105) Multiple Upper Limit 1 Start Y (Power Level
23
) (Highest byte)
106) Multiple Upper Limit 1 Start Y (Power Level)
107) Multiple Upper Limit 1 Start Y (Power Level)
108) Multiple Upper Limit 1 Start Y (Power Level) (Lowest byte)
109) Multiple Upper Limit 1 End X (Frequency in Hz) (Highest byte)
110) Multiple Upper Limit 1 End X (Frequency in Hz)
111) Multiple Upper Limit 1 End X (Frequency in Hz)
112) Multiple Upper Limit 1 End X (Frequency in Hz) (Lowest byte)
113) Multiple Upper Limit 1 End Y (Power Level) (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 if % of power, 1b = dB down)
270) OCC BW % Value
24
(Highest byte)
271) OCC BW % Value
272) OCC BW % Value
273) OCC BW % Value (Lowest byte)
274) OCC BW dBc
25
(Highest byte)
275) OCC BW dBc
276) OCC BW dBc
277) OCC BW dBc (Lowest byte)
278) Attenuation
26
(Highest byte)
279) Attenuation
280) Attenuation
281) Attenuation (Lowest byte)
282-297)Antenna Name(16 bytes in ASCII)
298) 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
299) Status Byte 2: ( 0b = Off , 1b = On) (LSB) bit 0 : Not Used bit 1 : Marker 2 Delta On/Off
23
Value sent as (value in dBm * 1000) + 270,000
24
% value is 0-99
25
dBc value 0 – 120 dBc
26
Value sent as ( value in dB * 1000 )
19
www.valuetronics.com
Page 22
bit 2 : Marker 3 Delta On/Off bit 3 : Marker 4 Delta On/Off bits 4-7: Not Used
298) Status Byte 3: (0b = Off, 1b = On) (LSB) bit 0 : Antenna Factor Correction On/Off 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 On/Off bit 7 : Not Used
299) Status Byte 4
27
(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
28
bit 6 : Multiple Limit Upper Segment 2 Status On/Off bit 7 : Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
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
29
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
305) Reference Level Offset
30
(Highest byte)
306) Reference Level Offset
307) Reference Level Offset
308) Reference Level Offset (Lowest byte)
309-338) Not Used 339-1938) Sweep Data (400 points * 4 bytes/point= 1600 bytes)
4 bytes for each data point
27
For bits 2 and 0, 00=no limit, 10=single limit, 01=multiple limit, 11=multiple limit.
28
Upper limits always trigger an error beep if data is ABOVE the limit segment, for example, this bit is always 1b.
29
LOWER limits always trigger an error beep if data is BELOW the limit segment, for example, this bit is always
0b.
30
Value sent as ( value in dBm * 1000 ) + 270,000
20
www.valuetronics.com
Page 23
1. dBm
2. dBm
3. dBm
4. dBm LSB
For T1 Tester / E1 Tester Mode:
57) Receive Input (00h: Terminate, 01h: Bridged, 02h: Monitor)
58) Framing Mode
(T1 Mode: 01h: ESF, 02h: D4SF) (E1 Mode: 03h: PCM30, 04h: PCM30CRC, 05h: PCM31, 06h: PCM31CRC)
59) Line Coding (01h: B8ZS, 02h: AMI, 03h: HDB3)
60) Tx Level (Valid for T1 Only) (01h: 0 dB, 02h: -7.5 dB, 03h: -15 dB)
61) Clock Source (00h: External, 01h: Internal)
62) Error Insert Type (00h: Frame Error, 01h: BPV, 02h: Bit Errors, 04h: RAI, 05h: AIS)
63) Loop Code (Valid for T1 Only) (00h: CSU, 01h: NIU, 02h: User 1, 03h: User 2)
64) Loop Type (Valid for T1 Only) (00h: In Band, 01h: Data Link)
65) CRC Method (Valid for T1 Only) (00h: ANSI CRC, 01h: Japanese CRC)
66) Display Type (00h: Histogram, 01h: Raw Data)
67) Impedance (Valid for E1 Only) (01h: 75 Ω, 02h: 120 )
68) Pattern (Higher byte)
69) Pattern (Lower byte) (01h: PRBS-9, 02h: PRBS-11, 03h: PRBS-15, 04h: PRBS-20(O.151),
05h: 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)
70) Pattern Invert Status (00h: Non-Inverted, 01h: Inverted)
71) Insert Bit Error Value (1-1000) (Highest byte)
72) Insert Bit Error Value
73) Insert Bit Error Value
74) Insert Bit Error Value (Lowest byte)
75) Insert BPV Error Value (1-1000) (Highest byte)
76) Insert BPV Error Value
77) Insert BPV Error Value
78) Insert BPV Error Value (Lowest byte)
79) Insert Frame Error Value (1-1000) (Highest byte)
80) Insert Frame Error Value
81) Insert Frame Error Value
82) Insert Frame Error Value (Lowest byte)
83) Measurement Duration (Highest byte)
84) Measurement Duration
85) Measurement Duration
86) Measurement Duration (Lowest byte) (00h: Manual, 01h: 3 min, 02h: 15 min, 03h: 30 min,
04h: 1 hr, 05h: 3 hrs, 06h: 6 hrs, 07h: 12 hrs, 08h: 1 day, 09h: 2 days)
87) Histogram Resolution (Highest byte)
88) Histogram Resolution
89) Histogram Resolution
90) Histogram Resolution (Lowest byte) (00h: Auto, 01h: 1 sec, 02h: 15 sec, 03h: 30 sec, 04h: 45
sec, 05h: 1 min, 06h: 15 min, 07h: 30 min, 08h: 45 min, 09h: 60 min)
91) Frame Sync Status (00h: In Sync, 01h: Out-of-Sync)
92) Pattern Sync Status (00h: In Sync, 01h: Out-of-Sync)
93) Carrier Status (00h: In Sync, 01h: Out-of-Sync)
94) Rx Alarms (bit 0: Receiving AIS, bit 1: Receiving RAI, bit 2: Receiving E1 MMF error)
95 – 98) BPV Error Count 99 – 102) CRC Error Count 103 – 106) Frame Error Count 107 – 110) LOF Error Count
31
Value sent as ( value in dBm * 1000 ) + 270,000
31
MSB
21
www.valuetronics.com
Page 24
111 – 114) E Bit Error Count (E1 Only) 115 – 118) Errored Seconds 119 – 122) Bit Count 123 – 126) Bit Errors
127) User Defined Pattern (convert to binary for pattern) (Highest byte)
128) User Defined Pattern
129) User Defined Pattern
130) User Defined Pattern (Lowest byte)
131 – 138) Measurement Start Time String (ASCII string: “HH:MM:SS”) 139 – 150) Reserved 151 – 158) Measurement Stop Time String (ASCII string: “HH:MM:SS”) 159 – 170) Reserved 171 – 181) Elapsed Time String (ASCII string: “DD,HH:MM:SS”) 182 – 189) Bit Error Rate String (ASCII string in engineering format: x.xxE-xx) 190 – 689) 100 data points with 5 bytes for each data point.
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Not Used Not Used Not Used
690 – 800) Not Used
Site Master Returns (For invalid sweeps/empty stored sweep locations): 11 bytes 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
1) 224 (E0) Parameter Error: Invalid sweep location
st
byte has information about Carrier Loss, Frame Loss, BPV and CRC
1 Following 4 bytes corresponds to the Bit Error Count Break down of the 1
st
byte :
Carrier
Loss
Frame Loss BPV Error
CRC / E­Bit Error
Any Error
Save System Setup
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.
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 (S332D only) 0 – 5 for Power Meter Mode (with Option 29 only) 0 – 5 for T1/E1 Modes (with Option 50 only)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid store location 238 (EEh) Time-out Error
– Control Byte #18 (12h)
22
www.valuetronics.com
Page 25

Recall System Setup – Control Byte #19 (13h)

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. Therefore, a call to #29 will not display the parameters in that setup.
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 Spectrum Analyzer mode (S332D only) 1 – 5 = Saved setups for Power Meter mode (with Option 29 only) 1 – 5 = Saved setups for T1/E1 modes (with Option 50 only) 254 = Default setup, current mode 255 = Default setup, all modes
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid store location or no saved setup 227 (E3h) Frequency Mismatch Error 238 (EEh) Time-out Error
OBSOLETE: Query System Status
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 #29 (1Dh).
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)
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)
9) Stop Frequency
32
Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
32
– Control Byte #20 (14h)
34
(Highest byte)
23
www.valuetronics.com
Page 26
10) Stop Frequency
11) Stop Frequency (Lowest byte)
12) Scale Start (Highest byte)
33
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)
34
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)
35
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)
36
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 (Higherbyte)
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 segments 2 - 5
106) Start Distance (Highest byte)
37
107) Start Distance
108) Start Distance
109) Start Distance (Lowest byte)
110) Stop Distance (Highest byte)
111) Stop Distance
112) Stop Distance
113) Stop Distance (Lowest byte)
33
See “Set Site Master Scale” Control Byte #4 for data format.
34
Marker Point = ( # data points – 1 ) * ( marker freq – start freq) / ( stop freq – start freq)
Where # of data points can be found in bytes 2-3, start freq is in bytes 4-7, and stop freq is in bytes 8-11.
35
See Control Byte #6, “Set Site Master Single Limit” for data format.
36
See Control Byte #112, “Set Site Master Segmented Limit Lines” for data format.
37
Distance data uses units 1/100,000 m or 1/100,000 ft
24
www.valuetronics.com
Page 27
114) Distance Marker 1 (Higher byte)
38
115) Distance Marker 1 (Lower byte)
116) Distance Marker 2 (Higher byte)
117) Distance Marker 2 (Lower byte)
118) Distance Marker 3 (Higher byte)
119) Distance Marker 3 (Lower byte)
120) Distance Marker 4 (Higher byte)
121) Distance Marker 4 (Lower byte)
122) Distance Marker 5 (Higher byte)
123) Distance Marker 5 (Lower byte)
124) Distance Marker 6 (Higher byte)
125) Distance Marker 6 (Lower byte)
126) Relative Propagation Velocity (Highest byte)
39
127) Relative Propagation Velocity
128) Relative Propagation Velocity
129) Relative Propagation Velocity (Lowest byte)
130) Cable Loss (Highest byte)
40
131) Cable Loss
132) Cable Loss
133) Cable Loss (Lowest byte)
134) Spectrum Analyzer Mode Data Points (Higher byte)
135) Spectrum Analyzer Mode Data Points (Lower byte)
136) Spectrum Analyzer Start Frequency
41
(Highest byte)
137) Spectrum Analyzer Start Frequency
138) Spectrum Analyzer Start Frequency
139) Spectrum Analyzer Start Frequency (Lowest byte)
140) Spectrum Analyzer Stop Frequency (Highest byte)
141) Spectrum Analyzer Stop Frequency
142) Spectrum Analyzer Stop Frequency
143) Spectrum Analyzer Stop Frequency (Lowest byte)
144) Spectrum Analyzer Center Frequency (Highest byte)
145) Spectrum Analyzer Center Frequency
146) Spectrum Analyzer Center Frequency
147) Spectrum Analyzer Center Frequency (Lowest byte)
148) Spectrum Analyzer Frequency Span (Highest byte)
149) Spectrum Analyzer Frequency Span
150) Spectrum Analyzer Frequency Span
151) Spectrum Analyzer Frequency Span (Lowest byte)
152) Spectrum Analyzer Minimum Frequency Step Size (Highest byte)
153) Spectrum Analyzer Minimum Frequency Step Size
154) Spectrum Analyzer Minimum Frequency Step Size
155) Spectrum Analyzer Minimum Frequency Step Size (Lowest byte)
156) Ref Level (Highest byte)
42
157) Ref Level
158) Ref Level
159) Ref Level (Lowest byte)
160) Scale per div (Highest byte)
43
161) Scale per div
38
Marker Point = ( # data points – 1 ) * ( marker dist – start dist ) / ( stop dist – start dist )
Where # of data points can be found in bytes 2-3, start dist is in bytes 106-109, and stop dist is in bytes 110-113.
39
Relative Propagation Velocity uses units 1/100,000.
40
Cable loss uses units 1/100,000 dB/m or 1/100,000 dB/ft.
41
Frequency unit is Hz.
42
Value sent as (value in dBm * 1000) + 270,000)
43
Value sent as (value * 1000)
25
www.valuetronics.com
Page 28
162) Scale per div
163) Scale per div (Lowest byte)
164) Spectrum Analyzer Frequency Marker 1 (Higher byte)
44
165) Spectrum Analyzer Frequency Marker 1 (Lower byte)
166) Spectrum Analyzer Frequency Marker 2 (Higher byte)
167) Spectrum Analyzer Frequency Marker 2 (Lower byte)
168) Spectrum Analyzer Frequency Marker 3 (Higher byte)
169) Spectrum Analyzer Frequency Marker 3 (Lower byte)
170) Spectrum Analyzer Frequency Marker 4 (Higher byte)
171) Spectrum Analyzer Frequency Marker 4 (Lower byte)
172) Spectrum Analyzer Frequency Marker 5 (Higher byte)
173) Spectrum Analyzer Frequency Marker 5 (Lower byte)
174) Spectrum Analyzer Frequency Marker 6 (Higher byte)
175) Spectrum Analyzer Frequency Marker 6 (Lower byte)
176) Spectrum Analyzer Single Limit (Highest byte)
45
177) Spectrum Analyzer Single Limit
178) Spectrum Analyzer Single Limit
179) Spectrum Analyzer Single Limit (Lowest byte)
180) Multiple Upper Limit 1 Start X (Frequency in Hz) (Highest byte)
181) Multiple Upper Limit 1 Start X (Frequency in Hz)
182) Multiple Upper Limit 1 Start X (Frequency in Hz)
183) Multiple Upper Limit 1 Start X (Frequency in Hz) (Lowest byte)
184) Multiple Upper Limit 1 Start Y (Power Level) (Highest byte)
46
185) Multiple Upper Limit 1 Start Y (Power Level)
186) Multiple Upper Limit 1 Start Y (Power Level)
187) Multiple Upper Limit 1 Start Y (Power Level) (Lowest byte)
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)
47
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)
340) RBW Setting (Highest byte)
48
341) RBW Setting
342) RBW Setting
343) RBW Setting (Lowest byte)
344) VBW Setting (Highest byte)
49
345) VBW Setting
346) VBW Setting
347) VBW Setting (Lowest byte)
348) OCC BW Method
349) OCC BW % Value (Highest byte)
44
Value sent as data point on the display. Equivalent frequency = (point * span / ( # data points – 1 ) ) + start
frequency.
45
Value sent as ( value in dBm * 1000 ) + 270000
46
Value sent as ( value in dBm * 1000 ) + 270000
47
Value sent as ( value in dBm * 1000 ) + 270000
48
0000h = 10kHz, 0001h = 30kHz, 0002h = 100kHz, 0003h = 1MHz
49
0000h = 100Hz, 0001h = 300Hz, 0002h = 1kHz, 0003h = 3kHz,
0004h = 10kHz, 0005h = 30kHz, 0006h = 100kHz, 0007h = 300kHz
50
00h = % of power, 01h = dB down
51
0 – 99%
50
51
26
www.valuetronics.com
Page 29
350) OCC BW % Value
351) OCC BW % Value
352) OCC BW % Value (Lowest byte)
353) OCC BW dBc (Highest byte)
52
354) OCC BW dBc
355) OCC BW dBc
356) OCC BW dBc (Lowest byte)
357) Attenuation (Highest byte)
53
358) Attenuation
359) Attenuation
360) Attenuation (Lowest byte)
361) Antenna Index (0-14)
362-377) Antenna Name (16 bytes in ASCII)
378) 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
379) 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
380) Status Byte 3: ( 0b = Off , 1b = On)
(LSB) bit 0 : Spectrum Analyzer Mode Marker 1 On/Off 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 bits 6 - 7 : Not Used
381) 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
382) 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
383) Status Byte 6: (0b = Off, 1b = On)
(LSB) bits 0-1: Not Used
bit 2 : FREQ-RL Multiple Limit Segment 1 Status On/Off
52
0 – 120 dBc
53
00h = 0dB, 01h = 10dB, 02h = 20dB, 03h = 30dB, 04h = 40dB, 05h = 50dB
27
www.valuetronics.com
Page 30
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
384) 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
385) 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
386) 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
387) 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 5 : SPA Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW bit 6 : SPA Multiple Limit Upper Segment 2 Status On/Off bit 7 : SPA Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
388) 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
389) 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
54
Beep level is always 1b for upper segmented limit line
55
Beep level is always 0b for lower segmented limit line
54
55
28
www.valuetronics.com
Page 31
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
390) Status Byte 13:
(LSB) bits 0 - 1 : DTF Windowing Mode bit: 1 0 | | 0 0 - Rectangular (No Windowing) 0 1 - Nominal Side Lobe 1 0 - Low Side Lobe 1 1 - Minimum Side Lobe bits 2 – 7 : Not Used
391) 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
392) Status Byte 15: (0b = Off, 1b = On)
(LSB) bit 0 : Antenna Factors Correction On/Off
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
393) 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)
bit 5: Channel Power On/Off
bit 6: Adjacent Channel Power On/Off
bit 7: Not Used
394) Printer Type
56
395) Current Language (0 = English, 1 = French, 2 = German, 3 = Spanish, 4 = Chinese, 5 = Japanese)
396) LCD Contrast Value (0-255)
397) RTC battery
398) RTC battery (Lower byte)
399) PC board revision
400) PC board revision (Lower byte)
401) Reference Level Offset
57
(Higher byte)
58
(Higher byte)
59
(Highest byte)
402) Reference: Level Offset
403) Reference Level Offset
404) Reference Level Offset (Lowest byte)
56
See Control Byte #30 for supported printers.
57
Value sent as Volts * 10. For example, 2.7V = 27.
58
This value is for internal use only.
59
Value sent as (value in dBm * 1000) + 270,000
29
www.valuetronics.com
Page 32
405-434) Not Used
Trigger Self-Test
Description: Triggers a self test on the Site Master.
Bytes to Follow: 0 bytes
Site Master Returns: 12 bytes
1) Self-test report: (0b = Fail, 1b = Pass) (LSB) bit 0 : Phase Lock Loop bit 1 : Integrator bit 2 : Battery bit 3 : Temperature bit 4 : EEPROM read/write bit 5 : RTC Battery bits 6- 7 : Not Used
2) Self-test report: (0b = Fail, 1b = Pass) (LSB) bit 0 : Spectrum Analyzer Lock bits 1–7 : Not Used
3) Battery Voltage (Higher byte)
4) Battery Voltage (Lower byte)
5) Temperature (Higher byte)
6) Temperature (Lower byte)
7) Lock Fail Counter (Higher byte)
8) Lock Fail Counter (Lower byte)
9) Integrator Fail Counter (Higher byte)
10) Integrator Fail Counter (Lower byte)
11) Spectrum Analyzer Lock Fail Counter (Higher byte)
12) Spectrum Analyzer Lock Fail Counter (Lower byte)
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 on the current measurement unit (Metric or English) selected
– Control Byte #21 (15h)
o
C) or degree Fahrenheit (e.g. 934 = 93.4 oF), depending
Read Fail Counter
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)
30
– Control Byte #22 (16h)
www.valuetronics.com
Page 33

Clear Fail Counters – Control Byte #23 (17h)

Description: Resets the Lock Fail Counters, Integrator Fail Counter and spectrum analyzer Fatal Error Counter.
Bytes to Follow: 0 bytes
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
Query Trace Names
Description: Returns a list of all saved traces.
Bytes to Follow: 0 bytes
Site Master Returns: 3 + (41 x number of save 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
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
– Control Byte #24 (18h)
– Control Byte #25 (19h)
OBSOLETE: Upload SPA Sweep Trace
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 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 format 8-17) Date in String Format (mm/dd/yyyy)
60
See Control Byte #3 “Select Measurement Mode” for measurement modes.
61
Time/Date long integer representation is in seconds since January 1, 1997.
31
www.valuetronics.com
– Control Byte #26 (1Ah)
60
61
)
Page 34
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
62
(Highest byte)
61) Ref Level
62) Ref Level
63) Ref Level (Lowest byte)
64) Scale per div
63
(Highest byte)
65) Scale per div
66) Scale per div
67) Scale per div (Lowest byte)
68) Marker 1
64
(Higher byte)
69) Marker 1 (Lower byte)
70) Marker 2 (Higher byte)
71) Marker 2 (Lower byte)
72) Marker 3 (Higher byte)
73) Marker 3 (Lower byte)
74) Marker 4 (Higher byte)
75) Marker 4 (Lower byte)
76) Marker 5 (Higher byte)
77) Marker 5 (Lower byte)
78) Marker 6 (Higher byte)
79) Marker 6 (Lower byte)
80) Single Limit
65
(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)
88) Multiple Upper Limit 1 Start Y (Power Level) (Highest byte)
89) Multiple Upper Limit 1 Start Y (Power Level)
90) Multiple Upper Limit 1 Start Y (Power Level)
62
Value sent as (value in dBm * 1000) + 270,000
63
Value sent as (value * 1000)
64
Marker values are sent as # of data point on display.
65
All amplitude values are sent as (value in dBm * 1000) + 270,000
See Control Byte #102, “Set Spectrum Analyzer Marker” for calculation of data point.
32
www.valuetronics.com
Page 35
91) Multiple Upper Limit 1 Start Y (Power Level) (Lowest byte)
92) Multiple Upper Limit 1 End X (Frequency in Hz) (Highest byte)
93) Multiple Upper Limit 1 End X (Frequency in Hz)
94) Multiple Upper Limit 1 End X (Frequency in Hz)
95) Multiple Upper Limit 1 End X (Frequency in Hz) (Lowest byte)
96) Multiple Upper Limit 1 End Y (Power Level) (Highest byte)
97) Multiple Upper Limit 1 End Y (Power Level)
98) Multiple Upper Limit 1 End Y (Power Level)
99) Multiple Upper Limit 1 End Y (Power Level) (Lowest byte) 100-243) Multiple Upper Limits 2-5, Multiple Lower Limits 1-5 (see bytes 84-99 for format)
244) RBW Setting
66
(Highest byte)
245) RBW Setting
246) RBW Setting
247) RBW Setting (Lowest byte)
248) VBW Setting
67
(Highest byte)
249) VBW Setting
250) VBW Setting
251) VBW Setting (Lowest byte)
252) OCC BW Method (00h = % of power, 01h = dB down)
253) OCC BW % Value (0-99) (Highest byte)
254) OCC BW % Value (0-99)
255) OCC BW % Value (0-99)
256) OCC BW % Value (0-99) (Lowest byte)
257) OCC BW dBc (0-120) (Highest byte)
258) OCC BW dBc (0-120)
259) OCC BW dBc (0-120)
260) OCC BW dBc (0-120) (Lowest byte)
261) Attenuation
68
(Highest byte)
262) Attenuation
263) Attenuation
264) Attenuation (Lowest byte) 265-280) Antenna Name (16 bytes in ASCII)
281) 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
282) 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
283) Status Byte 3: (0b = Off, 1b = On)
(LSB) bit 0 : Antenna Factor Correction On/Off 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
66
Valid frequencies (in Hz) are 10,000 30,000 100,000 1,000,000
67
Valid frequencies (in Hz) are 100, 300, 1,000 3,000 10,000 30,000 100,000 300,000
68
Value sent as (value * 1000)
33
www.valuetronics.com
Page 36
bit 7: Not Used
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) 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
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
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
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
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
287) Status Byte 7
(LSB) bits 0-6: Number of Sweeps to Average (1-25, 1 implies no averaging)
bit 7 : Not Used
288) Reference Level Offset
69
(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
70
(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
69
Value sent as (Value in dBm * 1000 ) + 270,000
70
Value sent as (Value in dBm * 1000 ) + 270,000
34
www.valuetronics.com
Page 37

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)
OBSOLETE: Upload Site Master Sweep Trace
– Control Byte #28 (1Ch)
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 Mode 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
71
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)
48) Stop Frequency (Highest byte)
74
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)
72
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)
73
65) Frequency Marker 1 (Lower byte)
66) Frequency Marker 2 (Higher byte)
67) Frequency Marker 2 (Lower byte)
68) Frequency Marker 3 (Higher byte)
69) Frequency Marker 3 (Lower byte)
70) Frequency Marker 4 (Higher byte)
71) Frequency Marker 4 (Lower byte)
71
See Control Byte #3 “Set Measurement Mode” for available measurement modes.
72
See Control Byte #4, “Set Site Master Scale” for data format.
73
Marker point = (Number of data points – 1) * (marker freq – start freq) / (stop freq – start freq)
35
www.valuetronics.com
Page 38
72) Frequency Marker 5 (Higher byte)
73) Frequency Marker 5 (Lower byte)
74) Frequency Marker 6 (Higher byte)
75) Frequency Marker 6 (Lower byte)
76) Single Limit Line Value (Highest byte)
74
77) Single Limit Line Value
78) Single Limit Line Value
79) Single Limit Line Value (Lowest byte)
80) Multiple Limit Segment # (1)
81) Multiple Limit Segment Status (00h = Off, 01h = On)
82) Multiple Limit Start X (Highest byte)
75
83) Multiple Limit Start X
84) Multiple Limit Start X
85) Multiple Limit Start X (Lowest byte)
86) Multiple Limit Start Y (Higher byte)
87) Multiple Limit Start Y (Lower byte)
88) Multiple Limit End X (Highest byte)
89) Multiple Limit End X
90) Multiple Limit End X
91) Multiple Limit End X (Lowest byte)
92) Multiple Limit End Y (Higher byte)
93) Multiple Limit End Y (Lower byte) 94-149) Repeat bytes 80-93 for segments 2-5
150) Start Distance (Highest byte)
76
151) Start Distance
152) Start Distance
153) Start Distance (Lowest byte)
154) Stop Distance (Highest byte)
155) Stop Distance
156) Stop Distance
157) Stop Distance (Lowest byte)
158) Distance Marker 1 (Higher byte)
77
159) Distance Marker 1 (Lower byte)
160) Distance Marker 2 (Higher byte)
161) Distance Marker 2 (Lower byte)
162) Distance Marker 3 (Higher byte)
163) Distance Marker 3 (Lower byte)
164) Distance Marker 4 (Higher byte)
165) Distance Marker 4 (Lower byte)
166) Distance Marker 5 (Higher byte)
167) Distance Marker 5 (Lower byte)
168) Distance Marker 6 (Higher byte)
169) Distance Marker 6 (Lower byte)
170) Relative Propagation Velocity (Highest byte)
78
171) Relative Propagation Velocity
172) Relative Propagation Velocity
173) Relative Propagation Velocity (Lowest byte)
174) Cable Loss (Highest byte)
79
175) Cable Loss
74
See Control Byte #6, “Set Site Master Single Limit” for data format
75
See Control Byte #112, “Set Site Master Segmented Limit Lines” for data format.
76
Distance data uses units 1/100,000m or 1/100,000 ft
77
Marker point = ( # of data points – 1 ) * ( marker dist – start dist ) / ( stop dist – start dist )
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
36
www.valuetronics.com
Page 39
176) Cable Loss
177) Cable Loss (Lowest byte)
178) 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
179) 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
180) Status Byte 3: (0b = Off , 1b = On)
80
(LSB) bit 0 : Single Limit On/Off bit 1: CW On/Off bits 2-3: Not Used bit 4 : InstaCal On/Off 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) bit 0 - 1 : DTF Windowing Mode
bit: 1 0 | | 0 0 - Rectangular (No Windowing) 0 1 - Nominal Side Lobe 1 0 - Low Side Lobe 1 1 - Minimum Side Lobe bits 2 – 7 : Not Used 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
80
Bits (4,5) are as follows: (0,0)=Cal Off, (0,1)=OSL Cal, (1,0) = Impossible, (1,1) = InstaCal
81
Gamma data uses 1/1000 units.
82
Phase data uses 1/10 degree unit.
37
www.valuetronics.com
Page 40
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)
This command is new to the S33xD. Use it instead of Control Byte #20 to access the 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.
Bytes to Follow: 0 bytes
Site Master Returns:
For All Modes:
1) Number of Following Bytes (Higher byte)
2) Number of Following Bytes (Lower byte)
3) Measurement Mode
4) Printer Type
83
84
5) Current Language
(00h = English, 01h = French, 02h = German, 03h = Spanish, 04h = Chinese, 05h = Japanese)
6) LCD Contrast Value (0-255)
7) Date Format
(00h = MM/DD/YYYY, 01h = DD/MM/YYYY, 02h = YYYY/MM/DD)
8) RTC battery
9) RTC battery (Lower byte)
10) PC Board Revision
85
(Higher byte)
86
(Higher byte)
11) PC Board Revision (Lower byte) 12-13) Digital Mother Board ID. Beginning with motherboard 64968, the hardware includes a 9-bit digital ID port. The digital ID will be used together with the PC Board Revision (mother board ID voltage) to identify the board and “dash” number. For boards prior to 64968, bytes 12 and 13 will be 0 14-25) Not Used
For Site Master VNA Modes:
26) Site Master VNA Mode Data Points (Higher byte)
27) Site Master VNA Mode Data Points (Lower byte)
28) VNA Start Frequency
87
(Highest byte)
29) VNA Start Frequency
30) VNA Start Frequency
31) VNA Start Frequency (Lowest byte)
32) VNA Stop Frequency
88
(Highest byte)
33) VNA Stop Frequency
34) VNA Stop Frequency
83
Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
84
See Control Byte #30 for supported printers.
85
Value sent as Volts * 10. For example, 2.7 V = 27.
86
This value is for internal use only.
87
Frequency is scaled by the frequency scale factor specified in bytes 218-219.
88
Frequency is scaled by the frequency scale factor specified in bytes 218-219.
38
www.valuetronics.com
Page 41
35) VNA Stop Frequency (Lowest byte)
36) VNA Scale Start (Highest byte)
89
37) VNA Scale Start
38) VNA Scale Start
39) VNA Scale Start (Lowest byte)
40) VNA Scale Stop (Highest byte)
41) VNA Scale Stop
42) VNA Scale Stop
43) VNA Scale Stop (Lowest byte)
44) VNA Frequency Marker 1 (Higher byte)
90
45) VNA Frequency Marker 1(Lower byte)
46) VNA Frequency Marker 2 (Higher byte)
47) VNA Frequency Marker 2 (Lower byte)
48) VNA Frequency Marker 3 (Higher byte)
49) VNA Frequency Marker 3 (Lower byte)
50) VNA Frequency Marker 4 (Higher byte)
51) VNA Frequency Marker 4 (Lower byte)
52) VNA Frequency Marker 5 (Higher byte)
53) VNA Frequency Marker 5 (Lower byte)
54) VNA Frequency Marker 6 (Higher byte)
55) VNA Frequency Marker 6 (Lower byte)
56) Site Master VNA Single Limit (Highest byte)
91
57) Site Master VNA Single Limit
58) Site Master VNA Single Limit
59) Site Master VNA Single Limit (Lowest byte)
60) VNA Multiple Limit Segment # (1)
61) VNA Multiple Limit Segment Status (0h = Off, 01h = On )
62) VNA Multiple Limit Segment Start X (Highest byte)
92
63) VNA Multiple Limit Segment Start X
64) VNA Multiple Limit Segment Start X
65) VNA Multiple Limit Segment Start X (Lowest byte)
66) VNA Multiple Limit Segment Start Y (Higher byte)
67) VNA Multiple Limit Segment Start Y (Lowest byte)
68) VNA Multiple Limit Segment End X (Highest byte)
93
69) VNA Multiple Limit Segment End X
70) VNA Multiple Limit Segment End X
71) VNA Multiple Limit Segment End X (Lowest byte)
72) VNA Multiple Limit Segment End Y (Higher byte)
73) VNA Multiple Limit Segment End Y (Lowest byte) 74-129) Repeat bytes 60 – 73 for segments 2 - 5
130. Start Distance (Highest byte)
94
131. Start Distance
132. Start Distance
133. Start Distance (Lowest byte)
134. Stop Distance (Highest byte)
135. Stop Distance
136. Stop Distance
89
See “Set Site Master VNA Scale” Control Byte #4 for data format.
90
Marker Point = ( # data points – 1 ) * ( marker freq – start freq) / ( stop freq – start freq)
Where # of data points can be found in bytes 2-3, start freq is in bytes 4-7, and stop freq is in bytes 8-11.
91
See Control Byte #6, “Set Site Master VNA Single Limit” for data format.
92
See Control Byte #112, “Set Site Master VNA Segmented Limit Lines” for data format. Frequency is scaled by
the frequency scale factor specified in bytes 218-219.
93
Frequency is scaled by the frequency scale factor specified in bytes 218-219.
94
Distance data uses units 1/100,000m or 1/100,000 ft
39
www.valuetronics.com
Page 42
137. Stop Distance (Lowest byte)
138. Distance Marker 1 (Higher byte)
95
139. Distance Marker 1 (Lower byte)
140. Distance Marker 2 (Higher byte)
141. Distance Marker 2 (Lower byte)
142. Distance Marker 3 (Higher byte)
143. Distance Marker 3 (Lower byte)
144. Distance Marker 4 (Higher byte)
145. Distance Marker 4 (Lower byte)
146. Distance Marker 5 (Higher byte)
147. Distance Marker 5 (Lower byte)
148. Distance Marker 6 (Higher byte)
149. Distance Marker 6 (Lower byte)
150. Relative Propagation Velocity (Highest byte)
96
151. Relative Propagation Velocity
152. Relative Propagation Velocity
153. Relative Propagation Velocity (Lowest byte)
154. Cable Loss (Highest byte)
97
155. Cable Loss
156. Cable Loss
157. Cable Loss (Lowest byte)
158. Average Cable Loss
98
(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
95
Marker Point = ( # data points – 1 ) * ( marker dist – start dist ) / ( stop dist – start dist )
Where # of data points can be found in bytes 2-3, start dist is in bytes 106-109, and stop dist is in bytes 110-113.
96
Relative Propagation Velocity uses units 1/100,000.
97
Cable loss uses units 1/100,000 dB/m or 1/100,000 dB/ft.
98
Average Cable Loss is dB * 1000.
40
www.valuetronics.com
Page 43
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
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) bits 0 - 1 : DTF Windowing 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 bits 3 – 7 : Not Used
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
99
(Higher byte)
172. VNA Signal Standard (Lower byte) 173-196. VNA Signal Standard Name, 24 bytes of ASCII 197-217. VNA Cable Name, 21 bytes of ASCII
218. Frequency Scale Factor
99
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
100
Frequency Scale Factor is in number of Hz.
100
(Higher byte)
41
www.valuetronics.com
Page 44
219. Frequency Scale Factor (Lower byte) 220-300) Not Used
For Spectrum Analyzer Mode/Transmission Mode (Option 21):
26) Spectrum Analyzer Mode Data Points (Higher byte)
27) Spectrum Analyzer Mode Data Points (Lower byte)
28) Spectrum Analyzer Start Frequency
101
(Highest byte)
29) Spectrum Analyzer Start Frequency
30) Spectrum Analyzer Start Frequency
31) Spectrum Analyzer Start Frequency (Lowest byte)
32) Spectrum Analyzer Stop Frequency
102
(Highest byte)
33) Spectrum Analyzer Stop Frequency
34) Spectrum Analyzer Stop Frequency
35) Spectrum Analyzer Stop Frequency (Lowest byte)
36) Spectrum Analyzer Center Frequency
103
(Highest byte)
37) Spectrum Analyzer Center Frequency
38) Spectrum Analyzer Center Frequency
39) Spectrum Analyzer Center Frequency (Lowest byte)
40) Spectrum Analyzer Frequency Span
104
(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)
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)
105
49) Ref Level
50) Ref Level
51) Ref Level (Lowest byte)
52) Scale per div (Highest byte)
106
53) Scale per div
54) Scale per div
55) Scale per div (Lowest byte)
56) Spectrum Analyzer Frequency Marker 1 (Higher byte)
107
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
Scaled by Frequency Scale Factor (bytes 321-322)
102
Scaled by Frequency Scale Factor (bytes 321-322)
103
Scaled by Frequency Scale Factor (bytes 321-322)
104
Scaled by Frequency Scale Factor (bytes 321-322)
105
Value sent as (value in dBm * 1000) + 270,000)
106
Value sent as (value * 1000)
107
Value sent as data point on the display. Equivalent frequency = (point * span / ( # data points – 1 ) ) + start
108
frequency.
42
www.valuetronics.com
Page 45
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
109
(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)
76) SPA Multiple Upper Limit 1 Start Y (Power Level) (Highest byte)
110
77) SPA Multiple Upper Limit 1 Start Y (Power Level)
78) SPA Multiple Upper Limit 1 Start Y (Power Level)
79) SPA Multiple Upper Limit 1 Start Y (Power Level) (Lowest byte)
80) SPA Multiple Upper Limit 1 End X
111
(Highest byte)
81) SPA Multiple Upper Limit 1 End X
82) SPA Multiple Upper Limit 1 End X
83) SPA Multiple Upper Limit 1 End X (Lowest byte)
84) SPA Multiple Upper Limit 1 End Y (Power Level) (Highest byte)
112
85) SPA Multiple Upper Limit 1 End Y (Power Level)
86) SPA Multiple Upper Limit 1 End Y (Power Level)
87) SPA Multiple Upper Limit 1 End Y (Power Level) (Lowest byte) 88-231) SPA Multiple Upper Limits 2-5, SA Multiple Lower Limits 1-5 (see bytes 72-87 for format)
232) RBW Setting (Highest byte)
113
233) RBW Setting
234) RBW Setting
235) RBW Setting (Lowest byte)
236) VBW Setting (Highest byte)
114
237) VBW Setting
238) VBW Setting
239) VBW Setting (Lowest byte)
240) OCC BW Method
241) OCC BW % Value (Highest byte)
115
116
242) OCC BW % Value
243) OCC BW % Value
244) OCC BW % Value (Lowest byte)
245) OCC BW dBc (Highest byte)
117
246) OCC BW dBc
247) OCC BW dBc
248) OCC BW dBc (Lowest byte)
249) Attenuation (Highest byte)
250) Attenuation
251) Attenuation
252) Attenuation (Lowest byte)
253) Antenna Index(0-14) 254-269) Antenna Name (16 bytes in ASCII)
270) Status Byte 1: ( 0b = Off , 1b = On)
(LSB) bit 0 : Spectrum Analyzer Mode Marker 1 On/Off
108
Value sent as ( value in dBm * 1000 ) + 270000
109
Scaled by Frequency Scale Factor (bytes 321-322)
110
Value sent as ( value in dBm * 1000 ) + 270000
111
Scaled by Frequency Scale Factor (bytes 321-322)
112
Value sent as ( value in dBm * 1000 ) + 270000
113
RBW frequency sent in Hz.
114
VBW frequency sent in Hz.
115
00h = % of power, 01h = dB down
116
0 – 99%
117
0 – 120 dBc
43
www.valuetronics.com
Page 46
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 bits 6 - 7 : Not Used
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 : Normalization On/Off
272) Status Byte 3: ( 0b = Off/Beep if data is BELOW line ,
1b = On/Beep if data is ABOVE line) (LSB) bit 0 : SPA Limit Type (0b = Single, 1b = Multiple) bit 1 : SPA Single Limit Beep On/Off bit 2 : SPA Single Limit Status On/Off bit 3 : SPA Single Limit Beep Level ABOVE/BELOW bit 4 : SPA Multiple Limit Upper Segment 1 Status On/Off bit 5 : SPA Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW 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
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
275) Status Byte 6: (0b = Off, 1b = On)
(LSB) bit 0 : Antenna Factors Correction On/Off
bit 1 : Bias Tee On/Off (Option 10)
bit 2 : SPA Cal Status On/Off bits 3-4 : Amplitude Units (Log) - 00b = dBm 01b = dBV 10b = dBmV 11b = dBuV
(Linear) – 00b = Watts 01b = Volts bits 5-6 : Detection Alg (00b = pos. peak 01b = RMS Averaging 10b = neg. peak 11b = Sampling Mode)
118
Beep level is always 1b for upper segmented limit line
119
Beep level is always 0b for lower segmented limit line
118
119
44
www.valuetronics.com
Page 47
bit 7 : Units Type (0b = Log 1b = Linear)
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: Occupied BW Measurement On/Off
277) Reference Level Offset
120
(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
285) Channel Selection (Lower byte)
286) Trigger Type
122
(Higher byte)
123
(Higher byte)
124
287) Interference Analysis Frequency
121
125
(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 μs) (Highest byte)
293) Min Sweep Time (in μs)
294) Min Sweep Time (in μs)
295) Min Sweep Time (in μs) (Lowest byte)
296) Video Trigger Level
126
(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) bit 1: Reserved bits 2-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
303) Impedance (00h = 50, 0Ah = 75 Anritsu Adapter, 0Ch = 75 Other Adapter)
304) Impedance Loss
120
Value sent as (value in dBm * 1000) + 270,000
121
1 byte in MHz (i.e. 20 = 20MHz)
122
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
123
“No Channel” is sent as FFFEh
124
Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
125
Scaled by Frequency Scale Factor (bytes 321-322)
126
Value sent as ( value in dBm * 1000 ) + 270,000
127
Value sent as (value in dB * 1000), valid values are 0 to 20 dB
127
(Higher byte)
45
www.valuetronics.com
Page 48
305) Impedance Loss (Lower byte)
306) AM/FM Demod Type
128
307) AM/FM Demod Status (01h = On, 00h = Off)
308) AM/FM Demod Volume (0 to 100)
309) AM/FM Demod Frequency
129
(Highest byte)
310) AM/FM Demod Frequency
311) AM/FM Demod Frequency
312) AM/FM Demod Frequency (Lowest byte)
313) AM/FM Demod Time (in ms) (Highest byte)
314) AM/FM Demod Time (in ms)
315) AM/FM Demod Time (in ms)
316) AM/FM Demod Time (in ms) (Lowest byte)
317) SSB BFO Offset
130
(Highest byte)
318) SSB BFO Offset
319) SSB BFO Offset
320) SSB BFO Offset (Lowest byte)
321) Frequency Scale Factor
322) Frequency Scale Factor (Lower byte)
323) Frequency Range Minimum
131
(Higher byte)
132
(Highest byte)
324) Frequency Range Minimum
325) Frequency Range Minimum
326) Frequency Range Minimum (Lowest byte)
327) Frequency Range Maximum
133
(Highest byte)
328) Frequency Range Maximum
329) Frequency Range Maximum
330) Frequency Range Maximum (Lowest byte)
331) Marker Type
134
332-355) Signal Standard Name, 24bytes of ASCII 356-400) Not Used
For Power Meter Mode (Both option 5 and narrow band):
26) Power Meter Start Freq
135
(Highest byte)
27) Power Meter Start Freq
28) Power Meter Start Freq
29) Power Meter Start Freq (Lowest byte)
30) Power Meter Stop Freq
136
(Highest byte)
31) Power Meter Stop Freq
32) Power Meter Stop Freq
33) Power Meter Stop Freq (Lowest byte)
34) Power Meter Center Freq
137
(Highest byte)
35) Power Meter Center Freq
36) Power Meter Center Freq
37) Power Meter Center Freq (Lowest byte)
38) Power Meter Span
128
AM/FM Demod Type: 00h = FM-Wide Band, 01h = FM-Narrow Band, 02h = AM, 03h = SSB Lower, 04h =
SSB Upper
129
Scaled by Frequency Scale Factor (bytes 321-322)
130
Value sent as ((value in Hz) – 10,000)
131
In number of Hz
132
Scaled by Frequency Scale Factor (bytes 321-322)
133
Scaled by Frequency Scale Factor (bytes 321-322)
134
00h = Regular Marker, 01h = Noise Marker
135
Scaled by Frequency Scale Factor (bytes 59-60)
136
Scaled by Frequency Scale Factor (bytes 59-60)
137
Scaled by Frequency Scale Factor (bytes 59-60)
138
(Highest byte)
46
www.valuetronics.com
Page 49
39) Power Meter Span
40) Power Meter Span
41) Power Meter Span (Lowest byte)
42) Signal Standard
43) Signal Standard (Lower byte)
44) Channel Selection
139
(Higher byte)
140
(Higher byte)
45) Channel Selection (Lower byte)
46) Power Meter Offset (Highest byte)
47) Power Meter Offset
48) Power Meter Offset
49) Power Meter Offset (Lowest byte)
50) Power Meter Relative (Highest byte)
141
51) Power Meter Relative
52) Power Meter Relative
53) Power Meter Relative (Lowest byte)
54) Power Meter Status (00h = Off, 01h = On)
55) Power Meter Unit (00h = Watts, 01h = dBm)
56) Power Meter Relative Status (00h = Off, 01h = On)
57) Power Meter Offset Status (00h = Off, 01h = On)
58) Power Meter RMS Averaging Level (00h = Off, 01h = Low, 02h = Medium, 03h = High)
59) Frequency Scale Factor
60) Frequency Scale Factor (Lower byte)
61) Frequency Range Minimum
142
(Higher byte)
143
(Highest byte)
62) Frequency Range Minimum
63) Frequency Range Minimum
64) Frequency Range Minimum (Lowest byte)
65) Frequency Range Maximum
144
(Highest byte)
66) Frequency Range Maximum
67) Frequency Range Maximum
68) Frequency Range Maximum (Lowest byte)
69) Zero Status (00h = Off, 01h = On)
70) Zero Value
145
(Highest byte)
71) Zero Value
72) Zero Value
73) Zero Value (Lowest byte)
74-97) Signal Standard Name, 24 bytes of ASCII 98-120) Not Used
For T1 Mode (Option 50):
26) T1 Receive Input (00h: Terminate, 01h: Bridged, 02h: Monitor)
27) T1 Framing Mode (01h: ESF, 02h: D4SF)
28) T1 Line Coding (01h: B8ZS, 02h: AMI)
29) T1 Clock Source (00h: External, 01h: Internal)
30) T1 Tx Level (01h: 0 dB, 02h: -7.5 dB, 03h: -15 dB)
31) T1 Error Insert Type (00h: Frame Error, 01h: BPV, 02h: Bit Errors, 04h: RAI, 05h: AIS)
32) T1 Loop Code (00h: CSU, 01h: NIU, 02h: User 1, 03h: User 2)
33) T1 CRC Method (00h: ANSI CRC, 01h: Japanese CRC)
138
Scaled by Frequency Scale Factor (bytes 59-60)
139
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
140
“No Channel” is sent as FFFEh
141
Value as ((value in dBm * 1000) + 100)
142
In number of Hz
143
Scaled by Frequency Scale Factor
144
Scaled by Frequency Scale Factor
145
Value sent as ((value in dBm * 1000) + 100)
47
www.valuetronics.com
Page 50
34) T1 Loop Type (00h: In Band, 01h: Data Link)
35) T1 Pattern (Higher byte)
36) T1 Pattern (Lower byte) 01h: PRBS-9, 02h: PRBS-11, 03h: PRBS-15, 04h: PRBS-20(O.151), 05h:
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
137) T1 1
138) T1 2
139) T1 2
140) T1 1
141) T1 1
142) T1 2
143) T1 2
st
User Defined Loop Up (Higher byte)
st
User Defined Loop Up (Lower byte)
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)
153) T1 BPV Error Insert Value (Lower byte)
154) T1 Graph Resolution
155) T1 Measurement Duration
146
147
156) T1 Voltage Measurement Scale (00h = Vpp, 01h = dBdsx)
157) T1 Auto Framing Mode (00h = fixed framing, >00h = auto framing mode)
158 – 240) Not Used
For E1 Mode (Option 50):
26) E1 Receive Input (00h: Terminate, 01h: Bridged, 02h: Monitor)
27) E1 Framing Mode (03h: PCM30, 04h: PCM30CRC, 05h: PCM31, 06h: PCM31CRC)
28) E1 Line Coding (02h: AMI, 03h: HDB3)
29) E1 Clock Source (00h: External, 01h: Internal)
30) E1 Tx Level
31) E1 Error Insert Type (00h: Frame Error, 01h: BPV, 02h: Bit Errors, 04h: RAI, 05h: AIS)
32) E1 Loop Code
33) E1 CRC Method
34) E1 Loop Type
35) E1 Pattern (Highest byte)
36) E1 Pattern (Lowest byte) (01h: PRBS-9, 02h: PRBS-11, 03h: PRBS-15, 04h: PRBS-20(O.151), 05h:
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)
146
Graph Resolution: 00h: Auto, 01h: 1 sec, 02h: 15 sec, 03h: 30 sec, 04h 45 sec, 05h 1 min, 06h: 15 min, 07h: 30
min, 08h: 45 min, 09h: 60 min
147
Measurement Duration: 00h: Manual, 01h: 3 min, 02h: 15 min, 03h: 30 min, 04h: 1 hr, 05h: 3 hrs, 06h: 6 hrs,
07h: 12 hrs, 08h: 1 day, 09h: 2 days
48
www.valuetronics.com
Page 51
37) E1 Pattern Invert (00h: Non-Inverted, 01h: Inverted)
38) E1 Display Type (00h: Histogram, 01h: Raw Data)
39) E1 Impedance (01h: 75 , 02h: 120 )
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) E1 1
137) E1 1
138) E1 2
139) E1 2
140) E1 1
141) E1 1
142) E1 2
143) E1 2
st
User Defined Loop Up (Highest byte)
st
User Defined Loop Up (Lowest byte)
nd
User Defined Loop Up (Highest byte)
nd
User Defined Loop Up (Lowest byte)
st
User Defined Loop Down (Highest byte)
st
User Defined Loop Down (Lowest byte)
nd
User Defined Loop Down (Highest byte)
nd
User Defined Loop Down (Lowest byte)
144) E1 User Defined Pattern (Highest byte)
145) E1 User Defined Pattern
146) E1 User Defined Pattern
147) E1 User Defined Pattern (Lowest byte)
148) E1 Bit Error Insert Value (1-1000) (Higher byte)
149) E1 Bit Error Insert Value (Lower byte)
150) E1 Frame Error Insert Value (1-1000) (Higher byte)
151) E1 Frame Error Insert Value (Lower byte)
152) E1 BPV Error Insert Value (1-1000) (Higher byte)
153) E1 BPV Error Insert Value (Lower byte)
154) E1 Graph Resolution
155) E1 Measurement Duration
148
149
156) E1 Voltage Measurement Scale (00h = Vpp, 01h = dBdsx)
157-240) Not Used
Select Printer Type
– Control Byte #30 (1Eh)
Description: Select Printer Type.
Bytes to Follow: 1 byte
1) Printer ID 0 – Epson Stylus Models 1 – Epson LQ Models 2 – Citizen PN Models 3 – NEC Superscript Models 4 – NEC Silentwriter Models 5 – Seiko DPU 411, 414 Models 6 – Canon BJC 50 7 – Canon BJC 80 8 – Canon BJC 250 9 – Canon BJC 4400 10 – HP DJ 300 Series 11 – HP DJ 400 Series 12 – HP DJ 500 Series
148
Graph Resolution: 00h: Auto, 01h: 1 sec, 02h: 15 sec, 03h: 30 sec, 04h 45 sec, 05h 1 min, 06h: 15 min, 07h: 30
min, 08h: 45 min, 09h: 60 min
149
Measurement Duration: 00h: Manual, 01h: 3 min, 02h: 15 min, 03h: 30 min, 04h: 1 hr, 05h: 3 hrs, 06h: 6 hrs,
07h: 12 hrs, 08h: 1 day, 09h: 2 days
49
www.valuetronics.com
Page 52
13 – HP DJ 600 Series 14 – HP DJ 800 Series 15 – HP DJ 1120 16 – HP LJ 6L, 6P, 4000 17 – Epson Esc/P Compatible 18 – Epson Esc/P2 Compatible 19 – Epson Esc/P Raster Compatible 20 – HP PCL3 Compatible
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
Select DTF Windowing
Description: Select DTF Windowing Methods.
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
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid DTF Windowing Method 238 (EEh) Time-out Error
Set Site Master VNA Trace Math
Description: Setup trace math operation and trace for VNA modes.
Bytes to Follow: 2 bytes
1) Trace Math Operation 00h = Off 01h = Addition 02h = Subtraction
2) Trace on which to Perform Math Operation (1 to 200)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid Trace Math Operation 238 (EEh) Time-out Error
– Control Byte #31 (1Fh)
– Control Byte #32 (20h)
50
www.valuetronics.com
Page 53

Recall Sweep Trace – Control Byte #33 (21h)

This command is new to the S33xD. Use it, instead of Control Byte #17, to access the 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 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) Current Instrument Date Format
4) Not Used 5-11) Model Number (7 bytes in ASCII)
12-15) Software Version (4 bytes ASCII)
16) Measurement Mode
151
17-20) Time/Date (in Long Integer 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)
For all “Site Master VNA Modes” :
57) Start Frequency
153
(Highest byte)
58) Start Frequency
59) Start Frequency
60) Start Frequency (Lowest byte)
61) Stop Frequency
154
(Highest byte)
62) Stop Frequency
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
155
(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
156
(Higher byte)
152
150
)
150
00h = MM/DD/YYYY, 01h = DD/MM/YYYY, 02h = YYYY/MM/DD
151
Refer to Control Byte #3 “Select Measurement Mode” for detailed value.
152
Time/Date long integer representation is in seconds since January 1, 1970
153
Frequency is scaled by the frequency scale factor specified in bytes 268-269.
154
Frequency is scaled by the frequency scale factor specified in bytes 268-269.
155
See Control Byte #4 “Set Site Master Scale” for data format
51
www.valuetronics.com
Page 54
78) Frequency Marker 1 (Lower byte)
79) Frequency Marker 2 (Higher byte)
80) Frequency Marker 2 (Lower byte)
81) Frequency Marker 3 (Higher byte)
82) Frequency Marker 3 (Lower byte)
83) Frequency Marker 4 (Higher byte)
84) Frequency Marker 4 (Lower byte)
85) Frequency Marker 5 (Higher byte)
86) Frequency Marker 5 (Lower byte)
87) Frequency Marker 6 (Higher byte)
88) Frequency Marker 6 (Lower byte)
89) Single Limit
157
(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
158
(Highest byte)
96) Multiple Limit Start X
97) Multiple Limit Start X
98) Multiple Limit Start X (Lowest byte)
99) Multiple Limit Start Y (Higher byte)
100) Multiple Limit Start Y (Lower byte)
101) Multiple Limit End X
159
(Highest byte)
102) Multiple Limit End X
103) Multiple Limit End X
104) Multiple Limit End X (Lowest byte)
105) Multiple Limit End Y (Higher byte)
106) Multiple Limit End Y (Lower byte)
107–162) Repeat bytes 93-106 for segments 2-5
163) Start Distance
160
(Highest byte)
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
161
(Higher byte)
172) Distance Marker 1 (Lower byte)
173) Distance Marker 2 (Higher byte)
174) Distance Marker 2 (Lower byte)
175) Distance Marker 3 (Higher byte)
176) Distance Marker 3 (Lower byte)
177) Distance Marker 4 (Higher byte)
178) Distance Marker 4 (Lower byte)
156
marker 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.
157
See Control Byte #6 “Set Site Master VNA Single Limit” for data format.
158
See Control Byte #112 “Set Site Master VNA Segmented Limit Lines” for data format. Frequency is scaled by
the frequency scale factor specified in bytes 268-269.
159
Frequency is scaled by the frequency scale factor specified in bytes 268-269.
160
Distance data uses units 1/100,000m (or feet)
161
Marker Point = ( # data points – 1 ) * ( marker dist – start dist ) / ( stop dist – start dist )
Where # of data points can be found in bytes 55-56, start dist is in bytes 163-166, and stop dist is in bytes 167-170.
52
www.valuetronics.com
Page 55
179) Distance Marker 5 (Higher byte)
180) Distance Marker 5 (Lower byte)
181) Distance Marker 6 (Higher byte)
182) Distance Marker 6 (Lower byte)
183) Relative Propagation Velocity
162
(Highest byte)
184) Relative Propagation Velocity
185) Relative Propagation Velocity
186) Relative Propagation Velocity (Lowest byte)
187) Cable Loss
163
(Highest byte)
188) Cable Loss
189) Cable Loss
190) Cable Loss (Lowest byte)
191) Average Cable Loss
164
(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) bit 0 - 1 : DTF Windowing Mode bit: 1 0 | | 0 0 - Rectangular (No Windowing) 0 1 - Nominal Side Lobe 1 0 - Low Side Lobe 1 1 - Minimum Side Lobe bits 2 – 7 : Not Used
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
162
Relative Propagation Velocity uses units 1/100,000
163
Cable Loss uses units 1/100,000 dB/m or 1/100,000 dB/ft.
164
Average Cable Loss is dB * 1000.
165
(Higher byte)
53
www.valuetronics.com
Page 56
201) VNA Signal Standard (Lower byte)
202-205) GPS Position – Latitude (long integer)
166
206-209) GPS Position – Longitude (long integer) 210-211) GPS Position – Altitude (short integer)
212) Signal Standard Link Type
167
213-236) Signal Standard Name, 24 bytes in ASCII 237-257) Cable Name, 21 bytes in ASCII 258-267) UTC Time, 10 bytes in ASCII
268) Frequency Scale Factor
168
(Higher Byte)
269) Frequency Scale Factor (Lower Byte)
270-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
169
(Highest byte)
2. gamma
3. gamma
4. gamma (Lowest byte)
5. phase
170
(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 Mode/Transmission Mode (Option 21 Only):
57) Start Frequency
171
(Highest byte)
58) Start Frequency
59) Start Frequency
60) Start Frequency (Lowest byte)
61) Stop Frequency
172
(Highest byte)
62) Stop Frequency
63) Stop Frequency
64) Stop Frequency (Lowest byte)
65) Center Frequency
173
(Highest byte)
66) Center Frequency
67) Center Frequency
68) Center Frequency (Lowest byte)
69) Frequency Span
165
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
166
Signed long integer is used to represent latitude and longitude. Positive latitude means North hemisphere,
174
(Highest byte)
negative latitude means South hemisphere; Positive longitude means East hemisphere, negative longitude means West hemisphere. Degree = int(abs(value)/1,000,000); Minute = (float)(abs(value)%1,000,000)/10,000
167
1 – Uplink, 2 – Downlink, 3 – Both, 0 – Invalid Link
168
Frequency Scale Factor is in number of Hz.
169
Gamma data uses 1/10,000 units.
170
Phase data uses 1/10 degree unit.
171
Scaled by Frequency Scale Factor (bytes 335-336)
172
Scaled by Frequency Scale Factor (bytes 335-336)
173
Scaled by Frequency Scale Factor (bytes 335-336)
174
Scaled by Frequency Scale Factor (bytes 335-336)
54
www.valuetronics.com
Page 57
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
175
(Highest byte)
78) Ref Level
79) Ref Level
80) Ref Level (Lowest byte)
81) Scale per div
176
(Highest byte)
82) Scale per div
83) Scale per div
84) Scale per div (Lowest byte)
85) Frequency Marker 1
177
(Higher byte)
86) Frequency Marker 1 (Lower byte)
87) Frequency Marker 2 (Higher byte)
88) Frequency Marker 2 (Lower byte)
89) Frequency Marker 3 (Higher byte)
90) Frequency Marker 3 (Lower byte)
91) Frequency Marker 4 (Higher byte)
92) Frequency Marker 4 (Lower byte)
93) Frequency Marker 5 (Higher byte)
94) Frequency Marker 5 (Lower byte)
95) Frequency Marker 6 (Higher byte)
96) Frequency Marker 6 (Lower byte)
97) Single Limit
178
(Highest byte)
98) Single Limit
99) Single Limit
100) Single Limit (Lowest byte)
101) Multiple Upper Limit 1 Start X
179
(Highest byte)
102) Multiple Upper Limit 1 Start X
103) Multiple Upper Limit 1 Start X
104) Multiple Upper Limit 1 Start X (Lowest byte)
105) Multiple Upper Limit 1 Start Y (Power Level
180
) (Highest byte)
106) Multiple Upper Limit 1 Start Y (Power Level)
107) Multiple Upper Limit 1 Start Y (Power Level)
108) Multiple Upper Limit 1 Start Y (Power Level) (Lowest byte)
109) Multiple Upper Limit 1 End X
181
(Highest byte)
110) Multiple Upper Limit 1 End X
111) Multiple Upper Limit 1 End X
112) Multiple Upper Limit 1 End X (Lowest byte)
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)
175
Value sent as ( Value in dBm * 1000 ) + 270,000
176
Value sent as ( Value * 1000 )
177
Value sent as data point on display. Freq = ( Point * Span / ( Total Data Points – 1 ) ) + Start Freq
178
Value sent as ( Value in dBm * 1000 ) + 270,000
179
Scaled by Frequency Scale Factor (bytes 335-336)
180
Value sent as ( value in dBm * 1000 ) + 270,000
181
Scaled by Frequency Scale Factor (bytes 335-336)
55
www.valuetronics.com
Page 58
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
184
182
183
(Highest byte)
273) Attenuation
274) Attenuation
275) Attenuation (Lowest byte)
276-291)Antenna Name(16 bytes in ASCII)
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 : Normalization On/Off
294) Status Byte 3: (0b = Off, 1b = On)
(LSB) bit 0 : Antenna Factor Correction On/Off bits 1-2 : Detection alg (00b = pos. peak 01b = RMS average 10b = neg. peak 11b = sampling mode) bits 3-4 : Amplitude Units (Log) - (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV) (Linear) – (00b = Watts 01b = Volts) bit 5 : Channel Power On/Off bit 6 : Adjacent Channel Power On/Off bit 7 : Units Type (0b = Log 1b = Linear)
295) Status Byte 4
185
(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
182
% value is 0-99
183
dBc value 0 – 120 dBc
184
Value sent as ( value in dB * 1000 )
185
For bits 2, 1 and 0 (“X” is “don’t care): 0X0=no limit, 1X0=single limit, 0X1=multiple limit, 1X1=multiple limit.
186
Upper limits always trigger an error beep if data is ABOVE the limit segment, for example, this bit is always 1b.
186
56
www.valuetronics.com
Page 59
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
187
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) bit 7: Not Used
299) Reference Level Offset
188
(Highest byte)
300) Reference Level Offset
301) Reference Level Offset
302) Reference Level Offset (Lowest byte)
303) External Reference Frequency
304) Signal Standard
305) Signal Standard (Lower byte)
306) Channel Selection
190
(Higher byte)
191
(Higher byte)
307) Channel Selection (Lower byte)
308) Interference Analysis Cellular Standard
189
192
309) Interference Analysis Estimated Bandwidth (Highest byte)
310) Interference Analysis Estimated Bandwidth
311) Interference Analysis Estimated Bandwidth
312) Interference Analysis Estimated Bandwidth (Lowest byte)
313) Interference Analysis Frequency
193
(Highest byte)
314) Interference Analysis Frequency
315) Interference Analysis Frequency
316) Interference Analysis Frequency (Lowest byte)
317-320) Reserved
321) Trigger Type
194
322) Trigger Position (0 – 100%)
187
Lower limits always trigger an error beep if data is BELOW the limit segment, for example, this bit is always 0b.
188
Value sent as ( value in dBm * 1000 ) + 270,000
189
1 byte in MHz (i.e. 20 = 20MHz)
190
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
191
“No Channel” is sent as FFFEh
192
4 Standards – 00h = 1250kHZ CDMA, 01h = GSM, 02h = TDMA, 03h = AMPS, 04h = Unknown, FFh =
Interference Analysis Measurement OFF
193
Scaled by Frequency Scale Factor (bytes 335-336)
194
Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
57
www.valuetronics.com
Page 60
323) Min Sweep Time (in μs) (Highest byte)
324) Min Sweep Time (in μs)
325) Min Sweep Time (in μs)
326) Min Sweep Time (in μs) (Lowest byte)
327) Video Trigger Level
195
(Highest byte)
328) Video Trigger Level
329) Video Trigger Level
330) Video Trigger Level (Lowest byte)
331) Status Byte 8 (0b = Off, 1b = On)
(LSB) bits 0-1: Trace Math Operation (00b = A only, 01b = A-B, 10b = A+B) bit 2: Max Hold On/Off bit 3: Min Hold On/Off bit 4: Transmission Calibration On/Off (Option 21 Only) bit 5: Bias Tee On/Off (Option 10 Only) bit 6: Occupied BW Measurement On/Off bit 7: Not Used
332) Impedance (00h = 50, 0Ah = 75 Anritsu Adapter, 0Ch = 75 Other Adapter)
333) Impedance Loss
334) Impedance Loss (Lower byte)
335) Frequency Scale Factor
336) Frequency Scale Factor (Lower byte)
337) Frequency Range Minimum
196
(Higher byte)
197
(Higher byte)
198
(Highest byte)
338) Frequency Range Minimum
339) Frequency Range Minimum
340) Frequency Range Minimum (Lowest byte)
341) Frequency Range Maximum
199
(Highest byte)
342) Frequency Range Maximum
343) Frequency Range Maximum
344) Frequency Range Maximum (Lowest byte)
345) Linked Trace Number (1-200)
346) Status Byte 9 (0b = Off, 1b = On)
(LSB) bit 0: C/I Measurement On/Off bits 1-3: C/I Carrier Trace/Signal Type bits 4-7: Not Used
347) C/I Calculated Power
201
(Carrier or Interference – NB FHSS
200
202
) (Highest byte)
348) C/I Calculated Power (Carrier or Interference – NB FHSS)
349) C/I Calculated Power (Carrier or Interference – NB FHSS)
350) C/I Calculated Power (Carrier or Interference – NB FHSS) (Lowest byte)
351) C/I Calculated Power
203
(Interference – WB FHSS
204
) (Highest byte)
352) C/I Calculated Power (Interference – WB FHSS)
353) C/I Calculated Power (Interference – WB FHSS)
354) C/I Calculated Power (Interference – WB FHSS) (Lowest byte)
355) C/I Calculated Power
195
Value sent as ( value in dBm * 1000 ) + 270,000
196
Value sent as (value in dB * 1000), valid values are 0 to 20 dB
197
In number of Hz
198
Scaled by Frequency Scale Factor
199
Scaled by Frequency Scale Factor
200
000b = Carrier – NB FHSS, 001b = Carrier – WB FHSS, 010b = Carrier – Broadband, 111b = Interference
201
Value sent as ( value in dBm * 1000 ) + 270,000
202
If Status Byte 9, bytes 1-3 equal 111b, then signal will be calculated power for the Interference – NB FHSS trace.
Otherwise, these bytes represent the calculated Carrier power.
203
Value sent as ( value in dBm * 1000 ) + 270,000
204
If Status Byte 9, bytes 1-3 equal 111b, then signal will be calculated power for the Interference – WB FHSS
205
(Interference – Broadband
206
) (Highest byte)
trace. Otherwise, these bytes should be ignored.
58
www.valuetronics.com
Page 61
356) C/I Calculated Power (Interference – Broadband)
357) C/I Calculated Power (Interference – Broadband)
358) C/I Calculated Power (Interference – Broadband) (Lowest byte)
359) Occupied Bandwidth Power (Highest byte)
207
360) Occupied Bandwidth Power
361) Occupied Bandwidth Power
362) Occupied Bandwidth Power (Lowest byte)
363) Marker Type
364-367) GPS Position – Latitude (long integer)
208
209
368-371) GPS Position – Longitude (long integer) 372-373) GPS Position – Altitude (short integer)
374) Signal Standard Link Type
210
375-398) Signal Standard Name, 24 bytes in ASCII
399) Measure Offset Status (0h = Off, 1h = On)
400-431) Not Used 432-2035) Sweep Data (401 points * 4 bytes/point= 1604 bytes)
4 bytes for each data point
1. dBm
211
(Highest byte)
2. dBm
3. dBm
4. dBm (Lowest byte)
For Power Meter Mode (both option 5 and narrow band):
57) Power Monitor Mode (00h = Off, 01h = On)
58) Power Meter Unit (00h = dBm, 01h = Watts)
59) Start Frequency
212
(Highest byte)
60) Start Frequency
61) Start Frequency
62) Start Frequency (Lowest byte)
63) Stop Frequency
213
(Highest byte)
64) Stop Frequency
65) Stop Frequency
66) Stop Frequency (Lowest byte)
67) Center Frequency
214
(Highest byte)
68) Center Frequency
69) Center Frequency
70) Center Frequency (Lowest byte)
71) Frequency Span
215
(Highest byte)
72) Frequency Span
73) Frequency Span
74) Frequency Span (Lowest byte)
205
Value sent as ( value in dBm * 1000 ) + 270,000
206
If Status Byte 9, bytes 1-3 equal 111b, then signal will be calculated power for the Interference – Broadband
trace. Otherwise, these bytes should be ignored.
207
If Method is % of power then the value is db Down * 1000. If the method is db down, then the value is %
208
00h = Regular Marker, 01h = Noise Marker
209
Signed long integer is used to represent latitude and longitude. Positive latitude means North hemisphere, negative latitude means South hemisphere; Positive longitude means East hemisphere, negative longitude means West hemisphere. Degree = int(abs(value)/1,000,000); Minute = (float)(abs(value)%1,000,000)/10,000
210
1 – Uplink, 2 – Downlink, 3 – Both, 0 – Invalid Link
211
Value sent as ( value in dBm * 1000 ) + 270,000
212
Scaled by Frequency Scale Factor (bytes 96-97)
213
Scaled by Frequency Scale Factor (bytes 96-97)
214
Scaled by Frequency Scale Factor (bytes 96-97)
215
Scaled by Frequency Scale Factor (bytes 96-97)
59
www.valuetronics.com
Page 62
75) Power Offset Status (00h = Off, 01h = On)
76) Power Offset
216
(Highest byte)
77) Power Offset
78) Power Offset
79) Power Offset (Lowest byte)
80) Power Relative Status (00h = Off, 01h = On
81) Power Relative Value
217
(Highest byte)
82) Power Relative Value
83) Power Relative Value
84) Power Relative Value (Lowest byte)
85) RMS Averaging Level (00h = Off, 01h = Low, 02h = Medium, 03h = High)
86) Power Zero Status (00h = Off, 01h = On)
87) External Reference Status (00h = Off, 01h = On)
88) External Reference Frequency (in Hz) (Highest byte)
89) External Reference Frequency (in Hz)
90) External Reference Frequency (in Hz)
91) External Reference Frequency (in Hz) (Lowest byte)
92) Signal Standard
93) Signal Standard (Lowest byte)
94) Channel Selection
95) Channel Selection (Lowest byte)
96) Frequency Scale Factor
97) Frequency Scale Factor (Lower byte)
98) Frequency Range Minimum
218
(Highest byte)
219
(Highest byte)
220
(Higher byte)
221
(Highest byte)
99) Frequency Range Minimum
100) Frequency Range Minimum
101) Frequency Range Minimum (Lowest byte)
102) Frequency Range Maximum
222
(Highest byte)
103) Frequency Range Maximum
104) Frequency Range Maximum
105) Frequency Range Maximum (Lowest byte) 106 – 150) Not Used
151) Power Meter Reading
223
(Highest byte)
152) Power Meter Reading
153) Power Meter Reading
154) Power Meter Reading (Lowest byte)
155) Measure Offset Status (0h = Off, 1h = On)
For T1 Tester / E1 Tester Mode (Option 50):
57) Receive Input (00h: Terminate, 01h: Bridged, 02h: Monitor)
58) Framing Mode
224
59) Line Coding (01h: B8ZS, 02h: AMI, 03h: HDB3)
60) Tx Level (Valid for T1 Only) (01h: 0 dB, 02h: -7.5 dB, 03h: -15 dB)
61) Clock Source (00h: External, 01h: Internal)
62) Error Insert Type (00h: Frame Error, 01h: BPV, 02h: Bit Errors, 04h: RAI, 05h: AIS)
216
Value sent as ( value in dB * 1000 ), valid values are 0 to 60 dB
217
Value sent as ( value in dBm * 1000 )
218
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
219
“No Channel” is sent as FFFEh
220
In number of Hz
221
Scaled by Frequency Scale Factor
222
Scaled by Frequency Scale Factor
223
Power sent as (power in dBm * 1000). Use two’s-complement method to decode negative power levels.
224
T1 Mode: 01h: ESF, 02h: D4SF
E1 Mode: 03h: PCM30, 04h: PCM30CRC, 05h: PCM31, 06h: PCM31CRC
60
www.valuetronics.com
Page 63
63) Loop Code (Valid for T1 Only) (00h: CSU, 01h: NIU, 02h: User 1, 03h: User 2)
64) Loop Type (Valid for T1 Only) (00h: In Band, 01h: Data Link)
65) CRC Method (Valid for T1 Only) (00h: ANSI CRC, 01h: Japanese CRC)
66) Display Type (00h: Histogram, 01h: Raw Data)
67) Impedance (Valid for E1 Only) (01h: 75 Ω, 02h: 120 )
68) Pattern
225
69) Pattern Invert Status (00h: Non-Inverted, 01h: Inverted)
70) Insert Bit Error Value (1-1000) (Higher byte)
71) Insert Bit Error Value (Lower byte)
72) Insert BPV Error Value (1-1000) (Higher byte)
73) Insert BPV Error Value (Lower byte)
74) Insert Frame Error Value (1-1000) (Higher byte)
75) Insert Frame Error Value (Lower byte)
76) Measurement Duration
77) Histogram Resolution
227
226
78) Frame Sync Status (00h: In Sync, 01h: Out-of-Sync)
79) Pattern Sync Status (00h: In Sync, 01h: Out-of-Sync)
80) Carrier Status (00h: In Sync, 01h: Out-of-Sync)
81) Rx Alarms (bit 0: Receiving AIS, bit 1: Receiving RAI, bit 2: Receiving E1 MMF error)
82) BPV Error Count (Highest byte)
83) BPV Error Count
84) BPV Error Count
85) BPV Error Count (Lowest byte)
86) CRC Error Count (Highest byte)
87) CRC Error Count
88) CRC Error Count
89) CRC Error Count (Lowest byte)
90) Frame Error Count (Highest byte)
91) Frame Error Count
92) Frame Error Count
93) Frame Error Count (Lowest byte)
94) LOF Error Count (Highest byte)
95) LOF Error Count
96) LOF Error Count
97) LOF Error Count (Lowest byte)
98) E Bit Error Count (E1 Only) (Highest byte)
99) E Bit Error Count (E1 Only)
100) E Bit Error Count (E1 Only)
101) E Bit Error Count (E1 Only) (Lowest byte)
102) Errored Seconds (Highest byte)
103) Errored Seconds
104) Errored Seconds
105) Errored Seconds (Lowest byte)
106) Bit Count (Highest byte)
107) Bit Count
108) Bit Count
109) Bit Count (Lowest byte)
110) Bit Errors (Highest byte)
225
Pattern: 01h: PRBS-9, 02h: PRBS-11, 03h: PRBS-15, 04h: PRBS-20(O.151), 05h: 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
226
Measurement Duration: 00h: Manual, 01h: 3 min, 02h: 15 min, 03h: 30 min, 04h: 1 hr, 05h: 3 hrs, 06h: 6 hrs, 07h: 12 hrs, 08h: 1 day, 09h: 2 days
227
Histogram Resolution: 00h: Auto, 01h: 1 sec, 02h: 15 sec, 03h: 30 sec, 04h: 45 sec, 05h: 1 min, 06h: 15 min, 07h: 30 min, 08h: 45 min, 09h: 60 min
61
www.valuetronics.com
Page 64
111) Bit Errors
112) Bit Errors
113) Bit Errors (Lowest byte)
114) User Defined Pattern (convert to binary for pattern) (Highest byte)
115) User Defined Pattern
116) User Defined Pattern
117) User Defined Pattern (Lowest byte) 118 – 125) Measurement Start Time String (ASCII string: “HH:MM:SS”) 126 – 136) Measurement Stop Time String (ASCII string: “DD:HH:MM:SS”) 137 – 147) Elapsed Time String (ASCII string: “DD:HH:MM:SS”) 148 – 155) Bit Error Rate String (ASCII string in engineering format: x.xxE-xx) 156 – 655) 100 data points with 5 bytes for each data point. 1 Following 4 bytes corresponds to the Bit Error Count Break down of the 1
st
byte has information about Carrier Loss, Frame Loss, BPV and CRC
st
byte :
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Not Used Not Used Not Used
Carrier
Loss
Frame Loss BPV Error
CRC / E­Bit Error
656) Vpp or dBdsx (Higher byte) (Only in Vpp mode. See T1/E1 Read Vpp command for data format)
657) Vpp or dBdsx (Lower byte)
658) T1 or E1 Receive Frequency in Hz (Highest byte) (Only in BER mode)
659) T1 or E1 Receive Frequency in Hz
660) T1 or E1 Receive Frequency in Hz
661) T1 or E1 Receive Frequency in Hz (Lowest byte)
662 – 750) Not Used
For Channel Scanner Mode:
57) Reference Level (Highest Byte)
58) Reference Level
59) Reference Level
60) Reference Level (Lowest Byte)
61) Scale Division (Highest Byte)
62) Scale Division
63) Scale Division
64) Scale Division (Lowest Byte)
65) Start Frequency (Highest Byte)
66) Start Frequency
67) Start Frequency
68) Start Frequency (Lowest Byte)
69) Span Frequency (Highest Byte)
70) Span Frequency
71) Span Frequency
72) Span Frequency (Lowest Byte)
73) Channel Step (Highest Byte)
74) Channel Step (Lowest Byte)
75) Channel Frequency Step (Highest Byte)
76) Channel Frequency Step
77) Channel Frequency Step
78) Channel Frequency Step (Lowest Byte)
79) Number of Channels Displayed
80) External Reference Frequency
81) Display Type Channels or Frequencies
228
Frequency in MHz, OFF if 0
229
0 – Channel, 1 - Frequency
228
229
Any Error
62
www.valuetronics.com
Page 65
82) Display Type Graph or Text
230
83) Signal Standard (Highest Byte)
84) Signal Standard
85) Signal Standard
86) Signal Standard (Lowest Byte)
87-90) GPS Position – Latitude (long integer)
231
91-94) GPS Position – Longitude (long integer) 95-96) GPS Position – Altitude (short integer)
97) Start Channel (Highest Byte)
98) Start Channel
99) Start Channel
100) Start Channel (Lowest Byte)
101 – 124) Signal Standard Name, 24 bytes in ASCII 125 – 152) Reserved 153 – 272) Channel Scanner Data
232
For Interference Analyzer RSSI Mode
57) Center Frequency (Highest Byte)
58) Center Frequency
59) Center Frequency
60) Center Frequency (Lowest Byte)
61) Reference Level (Highest Byte)
62) Reference Level
63) Reference Level
64) Reference Level (Lowest Byte)
65) Scale (Highest Byte)
66) Scale
67) Scale
68) Scale (Lowest Byte)
69) RBW (Highest Byte)
70) RBW
71) RBW
72) RBW (Lowest Byte)
73) VBW (Highest Byte)
74) VBW
75) VBW
76) VBW (Lowest Byte)
77) Status Byte 1
Bit 0 - Detection Algorithm (Lowest Bit)
233
Bit 1 - Detection Algorithm Bit 2 - Detection Algorithm (Highest Bit) Bit 3 - Not Used Bit 4 - Not Used Bit 5 - Not Used Bit 6 - Not Used
78) Reference Level Offset (Highest Byte)
79) Reference Level Offset
80) Reference Level Offset
230
0 – Graph, 1 - Text
231
Signed long integer is used to represent latitude and longitude. Positive latitude means North hemisphere, negative latitude means South hemisphere; Positive longitude means East hemisphere, negative longitude means West hemisphere. Degree = int(abs(value)/1,000,000); Minute = (float)(abs(value)%1,000,000)/10,000
232
20 points, 6 bytes per point. First 2 bytes are channel numbers(Invalid channels sent as 0xFFFF) and 4 bytes are values. Value sent as (value in dBm) * 1000 + 270,000
233
000 - Positive Peak, 010 – RMS Averaging, 100 – Negative Peak, 110 – Sampling Mode
63
www.valuetronics.com
Page 66
81) Reference Level Offset (Lowest Byte)
82) External Reference Frequency
234
83) Signal Standard (Highest Byte)
84) Signal Standard (Lowest Byte)
85) Channel (Highest Byte)
235
86) Channel (Lowest Byte)
87) Min RSSI Measured (Highest Byte)
88) Min RSSI Measured
89) Min RSSI Measured
90) Min RSSI Measured (Lowest Byte)
91) Max RSSI Measured (Highest Byte)
92) Max RSSI Measured
93) Max RSSI Measured
94) Max RSSI Measured (Lowest Byte)
95) Measure Duration (Highest Byte)
236
96) Measure Duration
97) Measure Duration
98) Measure Duration (Lowest Byte)
99) Sweep Point Interval(Highest Byte)
237
100) Sweep Point Interval
101) Sweep Point Interval
102) Sweep Point Interval (Lowest Byte) 103 – 106) GPS Position – Latitude (long integer)
238
107 – 110) GPS Position – Longitude (long integer) 111 – 112) GPS Position – Altitude (short integer)
113) Signal Standard 114 – 117) Start GPS Position – Latitude (long integer)
239
118 – 121) Start GPS Position – Longitude (long integer) 122 – 123) Start GPS Position – Altitude (short integer)
124) Attenuation (Highest Byte)
240
125) Attenuation
126) Attenuation
127) Attenuation (Lowest Byte) 128 – 151) Signal Standard Name, 24 bytes in ASCII
152) Measure Offset Status (0h = Off, 1h = On) 153 – 207) Reserved 208 – 3415) RSSI Sweep data
241
For High Accuracy Power Meter Mode
57) Center Frequency(Highest Byte)
234
Frequency in MHz, OFF if 0
235
Invalid channels are sent as 0xFFFF
236
Measure Duration time in minutes
237
Sweep Point Interval time in milliseconds
238
Signed long integer is used to represent latitude and longitude. Positive latitude means North hemisphere,
242
negative latitude means South hemisphere; Positive longitude means East hemisphere, negative longitude means West hemisphere. Degree = int(abs(value)/1,000,000); Minute = (float)(abs(value)%1,000,000)/10,000
239
Signed long integer is used to represent latitude and longitude. Positive latitude means North hemisphere, negative latitude means South hemisphere; Positive longitude means East hemisphere, negative longitude means West hemisphere. Degree = int(abs(value)/1,000,000); Minute = (float)(abs(value)%1,000,000)/10,000
240
Attenuation is sent as (Att in dB * 1000)
241
Sweep Data contains 401 display points, 8 bytes per display point. The first 4 bytes are the amplitude, the next 2 bytes are the latitude increments from the start GPS position and the following 2 bytes are the longitude increments from the Start GPSposition.
242
in kHz
64
www.valuetronics.com
Page 67
58) Center Frequency
59) Center Frequency
60) Center Frequency(Lowest Byte)
61) Power Reading(Highest Byte)
243
62) Power Reading(Lowest Byte)
63) Max Hold Status (0h = Off, 1h = On)
64) Offset Status (0h = Off, 1h = On)
65) Offset Value(Highest Byte)
244
66) Offset Value(Lowest Byte)
67) Measure Offset Status (0h = Off, 1h = On)
68) Measure Offset Value(Highest Byte)
69) Measure Offset Value(Lowest Byte)
70) Relative Value(Highest Byte)
246
245
71) Relative Value(Lowest Byte)
72) Relative Status (0h = Off, 1h = On)
73) Running Averages Number(Highest Byte)
74) Running Averages Number(Lowest Byte) 75 – 76) Signal Standard ID 77 – 100) Signal Standard Name
101) Zero Status (0h = Off, 1h = On)
102) Limit Status (0h = Off, 1h = On)
103) Upper Limit dBm(Highest Byte)
104) Upper Limit dBm(Lowest Byte)
105) Lower Limit dBm(Highest Byte)
247
248
106) Lower Limit dBm(Lowest Byte)
107) Limit Unit Display
108) Error Message Status 109 – 112) GPS Position – Latitude (long integer)
249
250
113 – 116) GPS Position – Longitude (long integer) 117 – 118) GPS Position – Altitude (short integer) 119 – 128) UTC Time, 10 bytes in ASCII 129 – 256) Reserved Byte
Site Master Returns (For invalid sweeps/empty stored sweep locations): 11 bytes 1-2) Number of following bytes (9 bytes for invalid sweep recall)
3) Current Instrument Date Format
251
4) Model # (unsigned integer, 10h for Site Master model S331D, 11h for Site Master model S332D)
5-11) Extended Model # (7 bytes in ASCII)
Site Master Returns (Invalid sweep location): 1 byte
1) 224 (E0) Parameter Error: Invalid sweep location
243
in 2-complement and in dBm
244
in 2-complement and in dB
245
in 2-complement and in dB
246
in 2-complement and in dBm
247
in 2-complement
248
in 2-complement
249
Bit 0: set to 1 if there is power supply error in the power sensor module. Bit 1: set to 1 if there is too much RF power going into the sensor module. Bit 2: set to 1 if zeroing is done incorrectly. Bit 3: set to 1 if power sensor's operating temperature range is exceeded. Bit 4: set to 1 if temperature has drifted by more than specified degree since the last zeroing.
250
Signed long integer is used to represent latitude and longitude. Positive latitude means North hemisphere, negative latitude means South hemisphere; Positive longitude means East hemisphere, negative longitude means West hemisphere. Degree = int(abs(value)/1,000,000); Minute = (float)(abs(value)%1,000,000)/10,000
251
00h = MM/DD/YYYY, 01h = DD/MM/YYYY, 02h = YYYY/MM/DD
65
www.valuetronics.com
Page 68

Set Site Master VNA Trace Overlay – Control Byte #34 (22h)

Description: Setup trace overlay operation and trace for VNA modes.
Bytes to Follow: 2 bytes
1) Trace Overlay Operation (0 or 1) 00h = Off 01h = On
2) Trace on which to Perform Overlay Operation (1 to 200)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Invalid Trace Overlay Operation 238 (EEh) Time-out Error
Set SPA A/B Trace
Description: Defines traces “A” and “B” for Spectrum Analyzer mode.
Trace A is always the currently measured data (with or without trace math). It is always visible.
Trace B is always stored data and may come from a saved sweep or a previous “A” trace. There is no default for trace B. Trace B can be ON (visible) or OFF.
Bytes to Follow: 3 bytes
1) “A” trace display (00h = A only, 01h = A-B, 02h = A+B)
2) “B” trace status (00h = Off, 01h = On)
3) “B” trace number 0 = save current “A” data into “B” buffer, use that as “B” 1-200 = trace number 255 = no “B” trace defined
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error: Not enough bytes transferred, “B” trace requested to be used in calculations or displayed, but no trace or invalid trace specified 238 (EEh) Time-out Error
– Control Byte #35 (23h)
Upload Sweep Trace
This command is new to the S33xD. Use it instead of Control Bytes #26 and #28 to access the new features.
– Control Byte #36 (24h)
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)
252
See Control Byte #3 “Set Measurement Mode” for available measurement modes.
66
www.valuetronics.com
252
Page 69
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
253
(Highest byte)
45) Start Frequency
46) Start Frequency
47) Start Frequency (Lowest byte)
48) Stop Frequency
254
(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)
255
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)
256
65) Frequency Marker 1 (Lower byte)
66) Frequency Marker 2 (Higher byte)
67) Frequency Marker 2 (Lower byte)
68) Frequency Marker 3 (Higher byte)
69) Frequency Marker 3 (Lower byte)
70) Frequency Marker 4 (Higher byte)
71) Frequency Marker 4 (Lower byte)
72) Frequency Marker 5 (Higher byte)
73) Frequency Marker 5 (Lower byte)
74) Frequency Marker 6 (Higher byte)
75) Frequency Marker 6 (Lower byte)
76) Single Limit Line Value (Highest byte)
257
77) Single Limit Line Value
78) Single Limit Line Value
79) Single Limit Line Value (Lowest byte)
80) Multiple Limit Segment # (1)
81) Multiple Limit Segment Status (00h = Off, 01h = On)
82) Multiple Limit Start X (Highest byte)
258
83) Multiple Limit Start X
84) Multiple Limit Start X
85) Multiple Limit Start X (Lowest byte)
86) Multiple Limit Start Y (Higher byte)
87) Multiple Limit Start Y (Lower byte)
253
Frequency is scaled by the frequency scale factor specified in byte 245-246.
254
Frequency is scaled by the frequency scale factor specified in byte 245-246.
255
See Control Byte #4, “Set Site Master VNA Scale” for data format.
256
Marker point = (Number of data points – 1) * (marker freq – start freq) / (stop freq – start freq)
257
See Control Byte #6, “Set Site Master VNA Single Limit” for data format
258
See Control Byte #112, “Set Site Master VNA Segmented Limit Lines” for data format. Frequency is scaled by
the frequency scale factor specified in bytes 245-246.
67
www.valuetronics.com
Page 70
88) Multiple Limit End X (Highest byte)
259
89) Multiple Limit End X
90) Multiple Limit End X
91) Multiple Limit End X (Lowest byte)
92) Multiple Limit End Y (Higher byte)
93) Multiple Limit End Y (Lower byte)
94-149) Repeat bytes 80-93 for segments 2-5
150) Start Distance (Highest byte)
260
151) Start Distance
152) Start Distance
153) Start Distance (Lowest byte)
154) Stop Distance (Highest byte)
155) Stop Distance
156) Stop Distance
157) Stop Distance (Lowest byte)
158) Distance Marker 1 (Higher byte)
261
159) Distance Marker 1 (Lower byte)
160) Distance Marker 2 (Higher byte)
161) Distance Marker 2 (Lower byte)
162) Distance Marker 3 (Higher byte)
163) Distance Marker 3 (Lower byte)
164) Distance Marker 4 (Higher byte)
165) Distance Marker 4 (Lower byte)
166) Distance Marker 5 (Higher byte)
167) Distance Marker 5 (Lower byte)
168) Distance Marker 6 (Higher byte)
169) Distance Marker 6 (Lower byte)
170) Relative Propagation Velocity (Highest byte)
262
171) Relative Propagation Velocity
172) Relative Propagation Velocity
173) Relative Propagation Velocity (Lowest byte)
174) Cable Loss (Highest byte)
263
175) Cable Loss
176) Cable Loss
177) Cable Loss (Lowest byte)
178) Average Cable Loss
264
(Highest byte)
179) Average Cable Loss
180) Average Cable Loss
181) Average Cable Loss (Lowest byte)
182) 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
183) Status Byte 2: (0b = Off, 1b = On)
(LSB) bit 0 : Marker 2 Delta On/Off
259
Frequency is scaled by the frequency scale factor specified in bytes 245-246.
260
Distance data uses units 1/100,000m or 1/100,000 ft
261
Marker point = ( # of data points – 1 ) * ( marker dist – start dist ) / ( stop dist – start dist )
262
Relative Propagation Velocity uses units 1/100,000
263
Cable Loss uses units 1/100,000 dB/m or 1/100,000 dB/ft
264
Average Cable Loss is dB * 1000.
68
www.valuetronics.com
Page 71
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) bit 0 - 1 : DTF Windowing Mode bit: 1 0 | | 0 0 - Rectangular (No Windowing) 0 1 - Nominal Side Lobe 1 0 - Low Side Lobe 1 1 - Minimum Side Lobe bits 2 – 7 : Not Used
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
188) VNA Signal Standard (Lower byte)
189-192) GPS Position – Latitude (long integer)
265
(Higher byte)
266
193-196) GPS Position – Longitude (long integer) 197-198) GPS Position – Altitude (short integer)
199) Reserved
200-223) Signal Standard Name, 24 bytes in ASCII 224-244) Cable Name, 21 bytes in ASCII
245) Frequency Scale Factor
267
(Higher byte)
246) Frequency Scale Factor (Lower byte)
248-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
268
(Highest byte)
2. Gamma
3. Gamma
4. Gamma (Lowest byte)
5. Phase
269
(Highest byte)
6. Phase
7. Phase
8. Phase (Lowest byte)
265
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
266
Signed long integer is used to represent latitude and longitude. Positive latitude means North hemisphere, negative latitude means South hemisphere; Positive longitude means East hemisphere, negative longitude means West hemisphere. Degree = int(abs(value)/1,000,000); Minute = (float)(abs(value)%1,000,000)/10,000
267
Frequency Scale Factor is in number of Hz.
268
Gamma uses units scaled to 1/10,000
269
Phase is transmitted in 1/10ths of a degree
69
www.valuetronics.com
Page 72
Notes: return loss = - 20* ( log(Gamma) / log(10) ) VSWR = (1+Gamma)/(1-Gamma) Phase compares the reflected to the incident (reference)
For Spectrum Analyzer Mode:
44) Start Frequency
270
(Highest byte)
45) Start Frequency
46) Start Frequency
47) Start Frequency (Lowest byte)
48) Stop Frequency
271
(Highest byte)
49) Stop Frequency
50) Stop Frequency
51) Stop Frequency (Lowest byte)
52) Center Frequency
272
(Highest byte)
53) Center Frequency
54) Center Frequency
55) Center Frequency (Lowest byte)
56) Frequency Span
273
(Highest byte)
57) Frequency Span
58) Frequency Span
59) Frequency Span (Lowest byte)
60) Ref Level
274
(Highest byte)
61) Ref Level
62) Ref Level
63) Ref Level (Lowest byte)
64) Scale per div
275
(Highest byte)
65) Scale per div
66) Scale per div
67) Scale per div (Lowest byte)
68) Marker 1
276
(Higher byte)
69) Marker 1 (Lower byte)
70) Marker 2 (Higher byte)
71) Marker 2 (Lower byte)
72) Marker 3 (Higher byte)
73) Marker 3 (Lower byte)
74) Marker 4 (Higher byte)
75) Marker 4 (Lower byte)
76) Marker 5 (Higher byte)
77) Marker 5 (Lower byte)
78) Marker 6 (Higher byte)
79) Marker 6 (Lower byte)
80) Single Limit
277
(Highest byte)
81) Single Limit
82) Single Limit
270
Scaled by Frequency Scale Factor (bytes 318-319)
271
Scaled by Frequency Scale Factor (bytes 318-319)
272
Scaled by Frequency Scale Factor (bytes 318-319)
273
Scaled by Frequency Scale Factor (bytes 318-319)
274
Value sent as (value in dBm * 1000) + 270,000
275
Value sent as (value * 1000)
276
Marker values are sent as # of data point on display.
277
See Control Byte #102, “Set Spectrum Analyzer Marker” for calculation of data point.
All amplitude values are sent as (value in dBm * 1000) + 270,000
70
www.valuetronics.com
Page 73
83) Single Limit (Lowest byte)
84) Multiple Upper Limit 1 Start X
278
(Highest byte)
85) Multiple Upper Limit 1 Start X
86) Multiple Upper Limit 1 Start X
87) Multiple Upper Limit 1 Start X (Lowest byte)
88) Multiple Upper Limit 1 Start Y (Power Level) (Highest byte)
89) Multiple Upper Limit 1 Start Y (Power Level)
90) Multiple Upper Limit 1 Start Y (Power Level)
91) Multiple Upper Limit 1 Start Y (Power Level) (Lowest byte)
92) Multiple Upper Limit 1 End X
279
(Highest byte)
93) Multiple Upper Limit 1 End X
94) Multiple Upper Limit 1 End X
95) Multiple Upper Limit 1 End X (Lowest byte)
96) Multiple Upper Limit 1 End Y (Power Level) (Highest byte)
97) Multiple Upper Limit 1 End Y (Power Level)
98) Multiple Upper Limit 1 End Y (Power Level)
99) Multiple Upper Limit 1 End Y (Power Level) (Lowest byte) 100-243) Multiple Upper Limits 2-5, Multiple Lower Limits 1-5 (see bytes 84-99 for format)
244) RBW Setting
280
(Highest byte)
245) RBW Setting
246) RBW Setting
247) RBW Setting (Lowest byte)
248) VBW Setting
281
(Highest byte)
249) VBW Setting
250) VBW Setting
251) VBW Setting (Lowest byte)
252) OCC BW Method (00h = % of power, 01h = dB down)
253) OCC BW % Value (0-99)
254) OCC BW dBc (0-120)
255) Attenuation
282
(Highest byte)
256) Attenuation
257) Attenuation
258) Attenuation (Lowest byte) 259-274) Antenna Name (16 bytes in ASCII)
275) 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
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
278
Scaled by Frequency Scale Factor (bytes 318-319)
279
Scaled by Frequency Scale Factor (bytes 318-319)
280
Valid frequencies (in Hz) are 100, 300, 1,000, 3,000, 10,000, 30,000, 100,000, 300,000, 1,000,000
281
Valid frequencies (in Hz) are 100, 300, 1,000, 3,000, 10,000, 30,000, 100,000, 300,000
282
Value sent as (value * 1000)
71
www.valuetronics.com
Page 74
bit 7 : Normalization On/Off
277) Status Byte 3: (0b = Off, 1b = On)
(LSB) bit 0 : Antenna Factor Correction On/Off bits 1-2 : Detection alg (00b = pos. peak 01b = RMS Averaging 10b= neg. peak, 11 = Sampling Mode) bits 3-4 : Amplitude Units (log) (00b = dBm 01b = dBV 10b = dBmV 11b = dBuV)
(Linear) – (00b = Watts 01b = Volts)
bit 5: Channel Power On/Off
bit 6: Adjacent Channel Power Ratio On/Off bit 7 : Units Type (0b = Log 1b = Linear)
278) Status Byte 4
(0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line) (LSB) bit 0 : Limit Type (0b = Single, 1b = Multiple) bit 1 : Single Limit On/Off
bit 2 : Single Limit Beep Level (0b = beep when data is below line 1b = above) bit 3 : Not Used bit 4 : Multiple Limit Upper Segment 1 Status On/Off bit 5 : Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW bit 6 : Multiple Limit Upper Segment 2 Status On/Off bit 7 : Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
279) Status Byte 5
(0b = Off/Beep if data is BELOW line, 1b =On/Beep if data is ABOVE line)
(LSB) bit 0 : Multiple Limit Upper Segment 3 Status On/Off
bit 1 : Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW
bit 2 : Multiple Limit Upper Segment 4 Status On/Off
bit 3 : Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW
bit 4 : Multiple Limit Upper Segment 5 Status On/Off
bit 5 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
bit 6 : Multiple Limit Lower Segment 1 Status On/Off
bit 7 : Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
280) Status Byte 6
(0b = Off/Beep if data is BELOW line, 1b = On/Beep if data is ABOVE line)
(LSB) bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW
bit 2 : Multiple Limit Lower Segment 3 Status On/Off
bit 3 : Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW
bit 4 : Multiple Limit Lower Segment 4 Status On/Off
bit 5 : Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW
bit 6 : Multiple Limit Lower Segment 5 Status On/Off
bit 7 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
281) Status Byte 7
(LSB) bits 0-6: Number of Sweeps to Average (1-25, 1 implies averaging OFF)
bit 7 : Not Used
282) Reference Level Offset
283
(Highest byte)
283) Reference Level Offset
284) Reference Level Offset
285) Reference Level Offset (Lowest byte)
286) External Reference Frequency
287) Signal Standard
288) Signal Standard (Lower byte)
289) Channel Selection
283
Value sent as (Value in dBm * 1000 ) + 270,000
284
byte in MHz (i.e. 20 = 20MHz)
285
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh.
286
“No Channel” is sent as FFFEh.
285
(Higher byte)
286
(Higher byte)
284
72
www.valuetronics.com
Page 75
290) Channel Selection (Lower byte)
291) Interference Analysis Cellular Standard
287
292) Interference Analysis Estimated Bandwidth (Highest byte)
293) Interference Analysis Estimated Bandwidth
294) Interference Analysis Estimated Bandwidth
295) Interference Analysis Estimated Bandwidth (Lowest byte)
296) Interference Analysis Frequency
288
(Highest byte)
297) Interference Analysis Frequency
298) Interference Analysis Frequency
299) Interference Analysis Frequency (Lowest byte) 300-303) Reserved
304) Trigger Type
289
305) Trigger Position (0 – 100%)
306) Min Sweep Time (in μs) (Highest byte)
307) Min Sweep Time (in μs)
308) Min Sweep Time (in μs)
309) Min Sweep Time (in μs) (Lowest byte)
310) Video Trigger Level
290
(Highest byte)
311) Video Trigger Level
312) Video Trigger Level
313) Video Trigger Level (Lowest byte)
314) 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 Status (Option 21 Only)
bit 5: Bias Tee On/Off (Option 10 Only) bit 6: Occupied BW Measurement On/Off bit 7: Not Used
315) Impedance (00h = 50, 0Ah = 75 Anritsu Adapter, 0Ch = 75 Other Adapter)
316) Impedance Loss
317) Impedance Loss (Lower byte)
318) Frequency Scale Factor
319) Frequency Scale Factor (Lower byte)
320) Frequency Range Minimum
291
(Higher byte)
292
(Higher byte)
293
(Highest byte)
321) Frequency Range Minimum
322) Frequency Range Minimum
323) Frequency Range Minimum (Lowest byte)
324) Frequency Range Maximum
294
(Highest byte)
325) Frequency Range Maximum
326) Frequency Range Maximum
327) Frequency Range Maximum (Lowest byte)
328) Linked Trace Number (1-200)
329) Status Byte 9 (0b = Off, 1b = On)
(LSB) bit 0: C/I Measurement On/Off
287
4 Standards – 00h = 1250kHZ CDMA, 01h = GSM, 02h = TDMA, 03h = AMPS, 04h = Unknown FFh =
Interference Analysis Measurement OFF
288
Scaled by Frequency Scale Factor (bytes 318-319)
289
Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
290
Value sent as (Value in dBm * 1000 ) + 270,000
291
Value sent as (value in dB * 1000), valid values are 0 to 20 dB
292
In number of Hz
293
Scaled by Frequency Scale Factor
294
Scaled by Frequency Scale Factor
73
www.valuetronics.com
Page 76
bits 1-3: C/I Carrier Trace/Signal Type bits 4-7: Not Used
330) C/I Calculated Power
296
(Carrier or Interference – NB FHSS
295
297
) (Highest byte)
331) C/I Calculated Power (Carrier or Interference – NB FHSS)
332) C/I Calculated Power (Carrier or Interference – NB FHSS)
333) C/I Calculated Power (Carrier or Interference – NB FHSS) (Lowest byte)
334) C/I Calculated Power
298
(Interference – WB FHSS
299
) (Highest byte)
335) C/I Calculated Power (Interference – WB FHSS)
336) C/I Calculated Power (Interference – WB FHSS)
337) C/I Calculated Power (Interference – WB FHSS) (Lowest byte)
338) C/I Calculated Power
300
(Interference – Broadband
301
) (Highest byte)
339) C/I Calculated Power (Interference – Broadband)
340) C/I Calculated Power (Interference – Broadband)
341) C/I Calculated Power (Interference – Broadband) (Lowest byte)
342) Marker Type
302
343-400) Not Used 401-2004) Sweep Data (401 points * 4 bytes/point = 1604 bytes)
4 bytes for each data point
1. dBm
303
(Highest byte)
2. dBm
3. dBm
4. dBm (Lowest byte)
For Power Meter:
44) Power Monitor Mode (00h = Off, 01h = On)
45) Power Meter Unit (00h = dBm, 01h = Watts)
46) Start Frequency
304
(Highest byte)
47) Start Frequency
48) Start Frequency
49) Start Frequency (Lowest byte)
50) Stop Frequency
305
(Highest byte)
51) Stop Frequency
52) Stop Frequency
53) Stop Frequency (Lowest byte)
54) Center Frequency
306
(Highest byte)
55) Center Frequency
56) Center Frequency
57) Center Frequency (Lowest byte)
58) Frequency Span
295
000b = Carrier – NB FHSS, 001b = Carrier – WB FHSS, 010b = Carrier – Broadband, 111b = Interference
296
Value sent as ( value in dBm * 1000 ) + 270,000
297
If Status Byte 9, bytes 1-3 equal 111b, then value will be calculated power for the Interference – NB FHSS trace.
Otherwise, these bytes represent the calculated Carrier power.
298
Value sent as ( value in dBm * 1000 ) + 270,000
299
If Status Byte 9, bytes 1-3 equal 111b, then value will be calculated power for the Interference – WB FHSS trace.
Otherwise, these bytes should be ignored.
300
Value sent as ( value in dBm * 1000 ) + 270,000
301
If Status Byte 9, bytes 1-3 equal 111b, then value will be calculated power for the Interference – Broadband
trace. Otherwise, these bytes should be ignored.
302
00h = Regular Marker, 01h = Noise Marker
303
Value sent as (Value in dBm * 1000 ) + 270,000
304
Scaled by Frequency Scale Factor (bytes 96-97)
305
Scaled by Frequency Scale Factor (bytes 96-97)
306
Scaled by Frequency Scale Factor (bytes 96-97)
307
Scaled by Frequency Scale Factor (bytes 96-97)
307
(Highest byte)
74
www.valuetronics.com
Page 77
59) Frequency Span
60) Frequency Span
61) Frequency Span (Lowest byte)
62) Power Offset Status (00h = Off, 01h = On)
63) Power Offset
308
(Highest byte)
64) Power Offset
65) Power Offset
66) Power Offset (Lowest byte)
67) Power Relative Status (00h = Off, 01h = On
68) Power Relative Value
309
(Highest byte)
69) Power Relative Value
70) Power Relative Value
71) Power Relative Value (Lowest byte)
72) RMS Averaging Level (00h = Off, 01h = Low, 02h = Medium, 03h = High)
73) Power Zero Status (00h = Off, 01h = On)
74) External Reference Status (00h = Off, 01h = On)
75) External Reference Frequency (in Hz) (Highest byte)
76) External Reference Frequency (in Hz)
77) External Reference Frequency (in Hz)
78) External Reference Frequency (in Hz) (Lowest byte)
79) Signal Standard
80) Signal Standard (lower byte)
81) Channel Selection
82) Channel Selection (lower byte)
83) Frequency Scale Factor
84) Frequency Scale Factor (lower byte)
85) Frequency Range Minimum
310
(higher byte)
311
(higher byte)
312
(higher byte)
313
(Highest byte)
86) Frequency Range Minimum
87) Frequency Range Minimum
88) Frequency Range Minimum (Lowest byte)
89) Frequency Range Maximum
314
(Highest byte)
90) Frequency Range Maximum
91) Frequency Range Maximum
92) Frequency Range Maximum (Lowest byte) 93-96) GPS Position – Latitude (long integer)
315
97-100) GPS Position – Longitude (long integer) 101-102) GPS Position – Altitude (short integer)
103) Reserved 104 – 127) Signal Standard Name, 24 bytes in ASCII 128 – 150) Not Used
151) Power Meter Reading
316
(Highest byte)
152) Power Meter Reading
153) Power Meter Reading
154) Power Meter Reading (Lowest byte)
308
Value sent as ( value in dB * 1000 ), valid values are 0 to 60 dB
309
Value sent as ( value in dBm * 1000 )
310
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
311
“No Channel” is sent as FFFEh
312
In number of Hz
313
Scaled by Frequency Scale Factor
314
Scaled by Frequency Scale Factor
315
Signed long integer is used to represent latitude and longitude. Positive latitude means North hemisphere, negative latitude means South hemisphere; Positive longitude means East hemisphere, negative longitude means West hemisphere. Degree = int(abs(value)/1,000,000); Minute = (float)(abs(value)%1,000,000)/10,000
316
Power sent as (power in dBm * 1000). Use two’s-complement method to decode negative power levels.
75
www.valuetronics.com
Page 78
155) Measure Offset Status (00h = Off, 01h = On)
For T1/E1 Modes (Option 50):
44) Receive Input (00h: Terminate, 01h: Bridged, 02h: Monitor)
45) Framing Mode
317
46) Line Coding (01h: B8ZS, 02h: AMI, 03h: HDB3)
47) Tx Level (Valid for T1 Only) (01h: 0 dB, 02h: -7.5 dB, 03h: -15 dB)
48) Clock Source (00h: External, 01h: Internal)
49) Error Insert Type (00h: Frame Error, 01h: BPV, 02h: Bit Errors, 04h: RAI, 05h: AIS)
50) Loop Code (Valid for T1 Only) (00h: CSU, 01h: NIU, 02h: User 1, 03h: User 2)
51) Loop Type (Valid for T1 Only) (00h: In Band, 01h: Data Link)
52) CRC Method (Valid for T1 Only) (00h: ANSI CRC, 01h: Japanese CRC)
53) Display Type (00h: Histogram, 01h: Raw Data)
54) Impedance (Valid for E1 Only) (01h: 75 , 02h: 120 )
55) Pattern
318
56) Pattern Invert Status (00h: Non-Inverted, 01h: Inverted)
57) Insert Bit Error Value (1-1000) (Higher byte)
58) Insert Bit Error Value (Lower byte)
59) Insert BPV Error Value (1-1000) (Higher byte)
60) Insert BPV Error Value (Lower byte)
61) Insert Frame Error Value (1-1000) (Higher byte)
62) Insert Frame Error Value (Lower byte)
63) Measurement Duration
64) Histogram Resolution
320
319
65) Frame Sync Status (00h: In Sync, 01h: Out-of-Sync)
66) Pattern Sync Status (00h: In Sync, 01h: Out-of-Sync)
67) Carrier Status (00h: In Sync, 01h: Out-of-Sync)
68) Rx Alarms (bit 0: Receiving AIS, bit 1: Receiving RAI, bit 2: Receiving E1 MMF error)
69) BPV Error Count (Highest byte)
70) BPV Error Count
71) BPV Error Count
72) BPV Error Count (Lowest byte)
73) CRC Error Count (Highest byte)
74) CRC Error Count
75) CRC Error Count
76) CRC Error Count (Lowest byte)
77) Frame Error Count (Highest byte)
78) Frame Error Count
79) Frame Error Count
80) Frame Error Count (Lowest byte)
81) LOF Error Count (Highest byte)
82) LOF Error Count
83) LOF Error Count
84) LOF Error Count (Lowest byte)
85) E Bit Error Count (E1 Only) (Highest byte)
86) E Bit Error Count (E1 Only)
317
T1 Mode: 01h: ESF, 02h: D4SF
E1 Mode: 03h: PCM30, 04h: PCM30CRC, 05h: PCM31, 06h: PCM31CRC
318
Pattern: 01h: PRBS-9, 02h: PRBS-11, 03h: PRBS-15, 04h: PRBS-20(O.151), 05h: 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
319
Measurement Duration: 00h: Manual, 01h: 3 min, 02h: 15 min, 03h: 30 min, 04h: 1 hr, 05h: 3 hrs, 06h: 6 hrs, 07h: 12 hrs, 08h: 1 day, 09h: 2 days
320
Histogram Resolution: 00h: Auto, 01h: 1 sec, 02h: 15 sec, 03h: 30 sec, 04h: 45 sec, 05h: 1 min, 06h: 15 min, 07h: 30 min, 08h: 45 min, 09h: 60 min
76
www.valuetronics.com
Page 79
87) E Bit Error Count (E1 Only)
88) E Bit Error Count (E1 Only) (Lowest byte)
89) Errored Seconds (Highest byte)
90) Errored Seconds
91) Errored Seconds
92) Errored Seconds (Lowest byte)
93) Bit Count (Highest byte)
94) Bit Count
95) Bit Count
96) Bit Count (Lowest byte)
97) Bit Errors (Highest byte)
98) Bit Errors
99) Bit Errors
100) Bit Errors (Lowest byte)
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. 1 Following 4 bytes corresponds to the Bit Error Count Break down of the 1
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Not Used Not Used Not Used
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
For Channel Scanner Mode:
44) Reference Level (Highest Byte)
45) Reference Level
46) Reference Level
47) Reference Level (Lowest Byte)
48) Scale Division (Highest Byte)
49) Scale Division
50) Scale Division
51) Scale Division (Lowest Byte)
52) Start Frequency (Highest Byte)
53) Start Frequency
54) Start Frequency
55) Start Frequency (Lowest Byte)
56) Span Frequency (Highest Byte)
57) Span Frequency
58) Span Frequency
59) Span Frequency (Lowest Byte)
60) Channel Step (Highest Byte)
st
byte has information about Carrier Loss, Frame Loss, BPV and CRC
st
byte :
Carrier
Loss
Frame Loss BPV Error
CRC / E­Bit Error
Any Error
77
www.valuetronics.com
Page 80
61) Channel Step (Lowest Byte)
62) Channel Frequency Step (Highest Byte)
63) Channel Frequency Step
64) Channel Frequency Step
65) Channel Frequency Step (Lowest Byte)
66) Number of Channels Displayed
67) External Reference Frequency
68) Display Type Channels or Frequencies
69) Display Type Graph or Text
323
321
322
70) Signal Standard (Highest Byte)
71) Signal Standard (Lowest Byte)
72-75) GPS Position – Latitude (long integer)
324
76-79) GPS Position – Longitude (long integer) 80-81) GPS Position – Altitude (short integer)
82) Start Channel (Highest Byte)
83) Start Channel
84) Start Channel
85) Start Channel (Lowest Byte)
86 – 109) Signal Standard Name, 24bytes in ASCII 110 – 137) Reserved 138 – 257) Channel Scanner Data
325
For Interference Analyzer RSSI Mode
44) Center Frequency (Highest Byte)
45) Center Frequency
46) Center Frequency
47) Center Frequency (Lowest Byte)
48) Reference Level (Highest Byte)
49) Reference Level
50) Reference Level
51) Reference Level (Lowest Byte)
52) Scale (Highest Byte)
53) Scale
54) Scale
55) Scale (Lowest Byte)
56) RBW (Highest Byte)
57) RBW
58) RBW
59) RBW (Lowest Byte)
60) VBW (Highest Byte)
61) VBW
62) VBW
63) VBW (Lowest Byte)
64) Status Byte 1
Bit 0 - Detection Algorithm (Lowest Bit)
326
Bit 1 - Detection Algorithm
321
Frequency in MHz, OFF if 0
322
0 – Channel, 1 - Frequency
323
0 – Graph, 1 - Text
324
Signed long integer is used to represent latitude and longitude. Positive latitude means North hemisphere, negative latitude means South hemisphere; Positive longitude means East hemisphere, negative longitude means West hemisphere. Degree = int(abs(value)/1,000,000); Minute = (float)(abs(value)%1,000,000)/10,000
325
20 points, 6 bytes per point. First 2 bytes are channel numbers(Invalid channels sent as 0xFFFF) and 4 bytes are values. Value sent as (value in dBm) * 1000 + 270,000
326
000 - Positive Peak, 010 – RMS Averaging, 100 – Negative Peak, 110 – Sampling Mode
78
www.valuetronics.com
Page 81
Bit 2 - Detection Algorithm (Highest Bit) Bit 3 - Not Used Bit 4 - Not Used Bit 5 - Not Used Bit 6 - Not Used
65) Reference Level Offset (Highest Byte)
66) Reference Level Offset
67) Reference Level Offset
68) Reference Level Offset (Lowest Byte)
69) External Reference Frequency
327
70) Signal Standard (Highest Byte)
71) Signal Standard (Lowest Byte)
72) Channel (Highest Byte)
328
73) Channel (Lowest Byte)
74) Min RSSI Measured (Highest Byte)
75) Min RSSI Measured
76) Min RSSI Measured
77) Min RSSI Measured (Lowest Byte)
78) Max RSSI Measured (Highest Byte)
79) Max RSSI Measured
80) Max RSSI Measured
81) Max RSSI Measured (Lowest Byte)
82) Measure Duration (Highest Byte)
329
83) Measure Duration
84) Measure Duration
85) Measure Duration (Lowest Byte)
86) Sweep Point Interval(Highest Byte)
330
87) Sweep Point Interval
88) Sweep Point Interval
89) Sweep Point Interval (Lowest Byte) 90 - 93) GPS Position – Latitude (long integer)
331
94 - 97) GPS Position – Longitude (long integer) 98 - 99) GPS Position – Altitude (short integer)
100) Signal Standard 101-104) Start GPS Position – Latitude (long integer)
332
105-108) Start GPS Position – Longitude (long integer) 109-110) Start GPS Position – Altitude (short integer)
111) Attenuation (Highest Byte)
333
112) Attenuation
113) Attenuation
114) Attenuation (Lowest Byte) 115– 138) Signal Standard Name, 24bytes in ASCII
139) Measure Offset Status (0h = Off, 1h = On) 140– 194) Reserved
327
Frequency in MHz, OFF if 0
328
Invalid channels are sent as 0xFFFF
329
Measure Duration time in minutes
330
Sweep Point Interval time in milliseconds
331
Signed long integer is used to represent latitude and longitude. Positive latitude means North hemisphere, negative latitude means South hemisphere; Positive longitude means East hemisphere, negative longitude means West hemisphere. Degree = int(abs(value)/1,000,000); Minute = (float)(abs(value)%1,000,000)/10,000
332
Signed long integer is used to represent latitude and longitude. Positive latitude means North hemisphere, negative latitude means South hemisphere; Positive longitude means East hemisphere, negative longitude means West hemisphere. Degree = int(abs(value)/1,000,000); Minute = (float)(abs(value)%1,000,000)/10,000
333
Attenuation is sent as (Att in dB * 1000)
79
www.valuetronics.com
Page 82
195 – 3402) RSSI Sweep data
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
334
Get Options
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 2: “2/” Option 3: “3/” Option 5: "5/" Option 6: “6/” Option 10: “10/” Option 16: “16/” Option 19: "19/" Option 21: “21/” Option 25: "25/" Option 27: "27/" Option 29: “29/” Option 50: “50/” If NO options are installed: “None”
Query Power Level
This command is available with Option 29 and/or Option 5.
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/dBr) bit 2 : Relative Mode On/Off bit 3: Offset Mode On/Off bit 4: Zero Mode On/Off
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
– Control Byte #37 (25h)
– Control Byte #39 (27h)
bits 5-7: Not Used
335
334
Sweep Data contains 401 display points, 8 bytes per display point. The first 4 bytes are the amplitude, the next 2 bytes are the latitude increments from the start GPS position and the following 2 bytes are the longitude increments from the Start GPSposition.
335
RMS Averaging – 00h = Off, 01h = Low, 02h = Medium, 03h = High
80
www.valuetronics.com
Page 83
15 - 18) Absolute Power Level 19 - 22) Power 23 - 26) Center Frequency 27 - 30) Span Frequency
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 frequency scale factor.
Set Power Meter Units
This command is available with Option 29 and/or Option 5.
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)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid Units 238 (EEh) Time-out Error
Power Meter Relative Mode On/Off
This command is available with Option 29 and/or Option 5.
Description: Enable or disable Power Meter Relative Mode.
Bytes to Follow: 1 byte
1) Relative Mode State 00h = Off 01h = On w/ trigger (use the current power level as a reference power level)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid parameter 238 (EEh) Time-out Error
– Control Byte #40 (28h)
– Control Byte #41 (29h)
Power Meter Offset Mode On/Off
This command is available with Option 29 and/or Option 5.
Description: Enable or disable Power Meter Offset Mode.
Bytes to Follow: 5 bytes
1) On/Off (01h = On, 00h = Off) 2 - 5) Offset Power level in dB (Multiplied by 1000)
Site Master Returns: 1 byte
81
www.valuetronics.com
– Control Byte #42 (2Ah)
Page 84
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid parameter 238 (EEh) Time-out Error
Note:
If you turn the Offset mode off, you must still send the other bytes. Bytes 2 - 5 will be ignored.
Power Meter Zero Mode On/Off
This command is available with Option 29 and/or Option 5.
Description: Enable or disable Power Meter Zeroing Mode.
Bytes to Follow: 1 byte
1) Zero Mode Status 00h = Off 01h = On with trigger (current power level is referenced as -80 dBm)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid status 238 (EEh) Time-out Error
Power Meter RMS Averaging On/Off
This command is available with Option 29 only.
Description: Disable/enable Power Meter RMS Averaging. Enabling can be set to 3 different levels.
Bytes to Follow: 1 byte
1) RMS Averaging State 00h = Off 01h = On (Low) with trigger (current power level is referenced as -80 dBm) 02h = On (Medium) 03h = On (High)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid state 238 (EEh) Time-out Error
– Control Byte #43 (2Bh)
– Control Byte #44 (2Ch)
Power Meter Center Frequency and Span Setup
This command is available with 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 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
82
www.valuetronics.com
– Control Byte #45 (2Dh)
Page 85
4) Center Frequency (Lowest byte)
5) Span (Highest byte)
6) Span
7) Span
8) 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
Trigger Sweep
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, then wait for the “Sweep Complete Byte” to signify the end of the sweep.
Note: The "Sweep Complete Byte" is not returned unless serial echo status is turned on using command #10.
Bytes to Follow: 0 bytes
Site Master Returns: 1 byte
1) 192 (C0h) Sweep Complete Byte (at the end of the sweep)
Trigger Sweep
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.
Note: The "Sweep Complete Byte" is not returned unless serial echo status is turned on using command #10.
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)
– Control Byte #48 (30h)
– Control Word (AA30h)
Sweep Data Echo On/Off
Description: Sets the sweep data echo mode On/Off.
Sweep Data Echo Mode behaves much like the Serial Port Echo Mode (see Control Byte #10). It automatically puts the unit into single sweep mode. At the end of each sweep cycle, the Site Master sends a Sweep Complete Byte #192 (C0h) to the serial port. At this time, sweep data can be queried (see Control Byte #33) without having to enter remote mode first or exit remote mode when done. Depending on the value of the second following byte, the next sweep can be automatically triggered after the sweep data has been sent.
This mode activates once the Site Master exits from the remote mode. Sweep Data Echo status can’t be saved to or recalled from saved setups. Cycling power resets the Sweep Data Echo status to Off.
The Sweep Data Echo Mode allows run-time handshaking between the Site Master and computer by doing the following:
83
www.valuetronics.com
– Control Byte #49 (31h)
Page 86
1) Enter remote mode. Set Sweep Data Echo Mode On. Exit remote mode.
2) The Site Master sweeps once and then sends the Sweep Complete Byte.
3) After you receive it: Recall sweep 0 (last sweep trace in RAM).
4) If using auto triggering, repeat steps 2-3. If using manual triggering, go to step 5.
5) Send Sweep Triggering Byte #48 (30h) and wait for the next sweep cycle.
6) Repeat steps 2-5.
Note: To execute commands other than #33, you must use the traditional Enter Remote, Send Commands, Exit Remote communication sequence.
Bytes to Follow: 2 bytes
1) Sweep Data Echo Status 00h : Off 01h : On
2) Next Sweep Trigger 00h : Manual 01h : Automatic
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Invalid sweep data echo status 238 (EEh) Time-out Error
Check Battery Status
Description: Return Smart Battery status.
Bytes to Follow: 0 bytes
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)
Note: The Smart Battery Data Spec can be found at http://www.sbs-forum.org/specs/index.html
– Control Byte #50 (32h)

Set SPA Minimum Sweep Time – Control Byte #53 (35h)

Description: Sets the minimum sweep time (in μs) for the spectrum analyzer when the span is 0.
Valid range is 50 to 200,000,000.
Bytes to Follow: 4 bytes
1) Minimum Sweep Time (in μs) (Highest byte)
2) Minimum Sweep Time (in μs)
3) Minimum Sweep Time (in μs)
4) Minimum Sweep Time (in μs) (Lowest byte)
84
www.valuetronics.com
Page 87
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid sweep time 238 (EEh) Time-out Error
Set Trigger Position
Description: Sets the trigger position (in percent) for the spectrum analyzer when the span is 0.
Bytes to Follow: 1 byte
1) Trigger Position (0 – 100%)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid trigger position 238 (EEh) Time-out Error
Set Video Trigger Level
Description: Sets the trigger level (-120 - +20 dBm) for the spectrum analyzer when the span is 0 and trigger mode is video.
The trigger level should be sent as (value in dBm * 1000) + 120,000.
Bytes to Follow: 4 bytes
1) Trigger Level (Highest byte)
2) Trigger Level
3) Trigger Level
4) Trigger Level (Lowest byte)
Site Master Returns: 1 byte
1) 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error: Invalid trigger level 238 (EEh) Time-out Error
– Control Byte #54 (36h)
– Control Byte #55 (37h)
Automatically Save Runtime Setup
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
85
www.valuetronics.com
– Control Byte #64 (40h)
Page 88

Download Saved Setup – Control Byte #65 (41h)

Description: Returns parameters associated with the specified setup number. Since different modes have different numbers of setup locations available, the command requires the mode be specified as well as the setup number.
Bytes to Follow: 2 bytes
1) Measurement Mode
2) Setup Number
0 = Run time setup 1 – 10 = Saved setups for Spectrum Analyzer/Transmission Measurement modes 1 – 5 = Saved setups for Power Meter mode (Option 29 Only) 255 = Default setup
Site Master Returns:
For All Modes:
1) Number of Following Bytes (Higher byte)
2) Number of Following Bytes (Lower byte)
3) Measurement Mode
5-20) Not Used
For Site Master VNA Modes:
21) Number of Data Points (Higher byte)
22) Number of Data Points (Lower byte)
23) VNA Start Frequency
24) VNA Start Frequency
25) VNA Start Frequency
26) VNA Start Frequency (Lowest byte)
27) VNA Stop Frequency
28) VNA Stop Frequency
29) VNA Stop Frequency
30) VNA Stop Frequency (Lowest byte)
31) Return Loss Scale Start (Higher byte)
32) Return Loss Scale Start (Lower byte)
33) Return Loss Scale Stop (Higher byte)
34) Return Loss Scale Stop (Lower byte)
35) SWR Scale Start (Higher byte)
36) SWR Scale Start (Lower byte)
37) SWR Scale Stop (Higher byte)
38) SWR Scale Stop (Lower byte)
39) Cable Loss Scale Start (Higher byte)
40) Cable Loss Scale Start (Lower byte)
41) Cable Loss Scale Stop (Higher byte)
42) Cable Loss Scale Stop (Lower byte)
43) DTF-RL Scale Start (Higher byte)
44) DTF-RL Scale Start (Lower byte)
45) DTF-RL Scale Stop (Higher byte)
46) DTF-RL Scale Stop (Lower byte)
336
337
338
(Highest byte)
339
(Highest byte)
341
340
342
343
336
Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
337
Refer to Control Byte #3 “Select Measurement Mode” for valid measurement modes.
338
Frequency is scaled by the frequency scale factor specified in bytes 465-466.
339
Frequency is scaled by the frequency scale factor specified in bytes 465-466.
340
See “Set Site Master VNA Scale” Control Byte #4 for data format.
341
See “Set Site Master VNA Scale” Control Byte #4 for data format.
342
See “Set Site Master VNA Scale” Control Byte #4 for data format.
343
See “Set Site Master VNA Scale” Control Byte #4 for data format.
86
www.valuetronics.com
Page 89
47) DTF-SWR Scale Start (Higher byte)
344
48) DTF-SWR Scale Start (Lower byte)
49) DTF-SWR Scale Stop (Higher byte)
50) DTF-SWR Scale Stop (Lower byte)
51) VNA Frequency Marker 1 (Higher byte)
345
52) VNA Frequency Marker 1(Lower byte)
53) VNA Frequency Marker 2 (Higher byte)
54) VNA Frequency Marker 2 (Lower byte)
55) VNA Frequency Marker 3 (Higher byte)
56) VNA Frequency Marker 3 (Lower byte)
57) VNA Frequency Marker 4 (Higher byte)
58) VNA Frequency Marker 4 (Lower byte)
59) VNA Frequency Marker 5 (Higher byte)
60) VNA Frequency Marker 5 (Lower byte)
61) VNA Frequency Marker 6 (Higher byte)
62) VNA Frequency Marker 6 (Lower byte)
63) Return Loss Single Limit (Higher byte)
64) Return Loss Single Limit (Lower byte)
65) SWR Single Limit (Higher byte)
66) SWR Single Limit (Lower byte)
67) Cable Loss Single Limit (Higher byte)
68) Cable Loss Single Limit (Lower byte)
69) DTF-RL Single Limit (Higher byte)
70) DTF-RL Single Limit (Lower byte)
71) DTF-SWR Single Limit (Higher byte)
347
346
348
349
350
72) DTF-SWR Single Limit (Lower byte)
73) Return Loss Multiple Limit Segment # (1)
74) Return Loss Multiple Limit Segment Status (00h = Off, 01h = On )
75) Return Loss Multiple Limit Segment Start X (Highest byte)
351
76) Return Loss Multiple Limit Segment Start X
77) Return Loss Multiple Limit Segment Start X
78) Return Loss Multiple Limit Segment Start X (Lowest byte)
79) Return Loss Multiple Limit Segment Start Y (Higher byte)
80) Return Loss Multiple Limit Segment Start Y (Lowest byte)
81) Return Loss Multiple Limit Segment End X (Highest byte)
352
82) Return Loss Multiple Limit Segment End X
83) Return Loss Multiple Limit Segment End X
84) Return Loss Multiple Limit Segment End X (Lowest byte)
85) Return Loss Multiple Limit Segment End Y (Higher byte)
86) Return Loss Multiple Limit Segment End Y (Lowest byte)
87-142) Repeat bytes 63 – 76 for segments 2 – 5 143-212) Repeat bytes 63 – 132 for SWR Multiple Limit 213-282) Repeat bytes 63 – 132 for Cable Loss Multiple Limit 283-352) Repeat bytes 63 – 132 for DTF-RL Multiple Limit
344
See “Set Site Master VNA Scale” Control Byte #4 for data format.
345
Marker Point = ( # data points – 1 ) * ( marker freq – start freq) / ( stop freq – start freq)
Where # of data points can be found in bytes 2-3, start freq is in bytes 4-7, and stop freq is in bytes 8-11.
346
See Control Byte #6, “Set Site Master VNA Single Limit” for data format.
347
See Control Byte #6, “Set Site Master VNA Single Limit” for data format.
348
See Control Byte #6, “Set Site Master VNA Single Limit” for data format.
349
See Control Byte #6, “Set Site Master VNA Single Limit” for data format.
350
See Control Byte #6, “Set Site Master VNA Single Limit” for data format.
351
See Control Byte #112, “Set Site Master VNA Segmented Limit Lines” for data format. Frequency is scaled by
the frequency scale factor specified in bytes 465-466.
352
Frequency is scaled by the frequency scale factor specified in bytes 465-466.
87
www.valuetronics.com
Page 90
353-422) Repeat bytes 63 – 132 for DTF-SWR Multiple Limit
423) Start Distance (Highest byte)
353
424) Start Distance
425) Start Distance
426) Start Distance (Lowest byte)
427) Stop Distance (Highest byte)
428) Stop Distance
429) Stop Distance
430) Stop Distance (Lowest byte)
431) Distance Marker 1 (Higher byte)
354
432) Distance Marker 1 (Lower byte)
433) Distance Marker 2 (Higher byte)
434) Distance Marker 2 (Lower byte)
435) Distance Marker 3 (Higher byte)
436) Distance Marker 3 (Lower byte)
437) Distance Marker 4 (Higher byte)
438) Distance Marker 4 (Lower byte)
439) Distance Marker 5 (Higher byte)
440) Distance Marker 5 (Lower byte)
441) Distance Marker 6 (Higher byte)
442) Distance Marker 6 (Lower byte)
443) Relative Propagation Velocity (Highest byte)
355
444) Relative Propagation Velocity
445) Relative Propagation Velocity
446) Relative Propagation Velocity (Lowest byte)
447) Cable Loss (Highest byte)
356
448) Cable Loss
449) Cable Loss
450) Cable Loss (Lowest byte)
451) Average Cable Loss
357
(Highest byte)
452) Average Cable Loss
453) Average Cable Loss
454) Average Cable Loss (Lowest byte)
455) 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
456) 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
457) Status Byte 3: ( 0b = Off , 1b = On) (LSB) bit 0 : Site Master Limit Type (0b = Single, 1b = Multiple)
353
Distance data uses units 1/100,000m or 1/100,000 ft
354
Marker Point = ( # data points – 1 ) * ( marker dist – start dist ) / ( stop dist – start dist )
Where # of data points can be found in bytes 2-3, start dist is in bytes 106-109, and stop dist is in bytes 110-113.
355
Relative Propagation Velocity uses units 1/100,000.
356
Cable loss uses units 1/100,000 dB/m or 1/100,000 dB/ft.
357
Average Cable Loss is dB * 1000.
88
www.valuetronics.com
Page 91
bit 1 : Site Master Limit Beep On/Off bits 2-6 : Not Used
bit 7 : Site Master Single Limit Status On/Off
458) Status Byte 4: (LSB) bits 0 - 1 : DTF Windowing Mode bit: 1 0 | | 0 0 - Rectangular (No Windowing) 0 1 - Nominal Side Lobe 1 0 - Low Side Lobe 1 1 - Minimum Side Lobe bits 2 – 7 : Not Used
459) Status Byte 5: (0b = Off, 1b = On )
(LSB) bit 0 : Fixed CW Mode On/Off bit 1 : Single Sweep On/Off bit 2 : Trace Overlay On/Off bit 3 : Measurement Unit Metric/English (0b = English, 1b = Metric)
bits 4-6: Not Used bit 7 : Cal Mode (0b = OSL Cal, 1b = FlexCal)
460) VNA Signal Standard
358
(Higher byte)
461) VNA Signal Standard (Lower byte)
462) Cable Index
463) Cable Folder
464) Trace Overlay Index (1-200)
465) Frequency Scale Factor
359
360
(Higher byte)
466) Frequency Scale Factor (Lower byte)
467-550) Not Used
For Spectrum Analyzer Mode:
21) Spectrum Analyzer Start Frequency
361
(Highest byte)
22) Spectrum Analyzer Start Frequency
23) Spectrum Analyzer Start Frequency
24) Spectrum Analyzer Start Frequency (Lowest byte)
25) Spectrum Analyzer Stop Frequency
362
(Highest byte)
26) Spectrum Analyzer Stop Frequency
27) Spectrum Analyzer Stop Frequency
28) Spectrum Analyzer Stop Frequency (Lowest byte)
29) Spectrum Analyzer Center Frequency
363
(Highest byte)
30) Spectrum Analyzer Center Frequency
31) Spectrum Analyzer Center Frequency
32) Spectrum Analyzer Center Frequency (Lowest byte)
33) Spectrum Analyzer Frequency Span
364
(Highest byte)
34) Spectrum Analyzer Frequency Span
35) Spectrum Analyzer Frequency Span
36) Spectrum Analyzer Frequency Span (Lowest byte)
37) Ref Level (Highest byte)
365
38) Ref Level
358
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
359
00h=Standard at 1000 MHz, 01h=Standard at 2000 MHz, 02h=Standard at 2500 MHz, 03h=Custom
360
Frequency Scale Factor is in number of Hz.
361
Scaled by Frequency Scale Factor (bytes 301-302)
362
Scaled by Frequency Scale Factor (bytes 301-302)
363
Scaled by Frequency Scale Factor (bytes 301-302)
364
Scaled by Frequency Scale Factor (bytes 301-302)
365
Value sent as (value in dBm * 1000) + 270,000)
89
www.valuetronics.com
Page 92
39) Ref Level
40) Ref Level (Lowest byte)
41) Scale per div (Highest byte)
366
42) Scale per div
43) Scale per div
44) Scale per div (Lowest byte)
45) Spectrum Analyzer Frequency Marker 1 (Higher byte)
367
46) Spectrum Analyzer Frequency Marker 1 (Lower byte)
47) Spectrum Analyzer Frequency Marker 2 (Higher byte)
48) Spectrum Analyzer Frequency Marker 2 (Lower byte)
49) Spectrum Analyzer Frequency Marker 3 (Higher byte)
50) Spectrum Analyzer Frequency Marker 3 (Lower byte)
51) Spectrum Analyzer Frequency Marker 4 (Higher byte)
52) Spectrum Analyzer Frequency Marker 4 (Lower byte)
53) Spectrum Analyzer Frequency Marker 5 (Higher byte)
54) Spectrum Analyzer Frequency Marker 5 (Lower byte)
55) Spectrum Analyzer Frequency Marker 6 (Higher byte)
56) Spectrum Analyzer Frequency Marker 6 (Lower byte)
57) Spectrum Analyzer Single Limit (Highest byte)
368
58) Spectrum Analyzer Single Limit
59) Spectrum Analyzer Single Limit
60) Spectrum Analyzer Single Limit (Lowest byte)
61) SPA Multiple Upper Limit 1 Start X
369
(Highest byte)
62) SPA Multiple Upper Limit 1 Start X
63) SPA Multiple Upper Limit 1 Start X
64) SPA Multiple Upper Limit 1 Start X (Lowest byte)
65) SPA Multiple Upper Limit 1 Start Y (Power Level) (Highest byte)
370
66) SPA Multiple Upper Limit 1 Start Y (Power Level)
67) SPA Multiple Upper Limit 1 Start Y (Power Level)
68) SPA Multiple Upper Limit 1 Start Y (Power Level) (Lowest byte)
69) SPA Multiple Upper Limit 1 End X
371
(Highest byte)
70) SPA Multiple Upper Limit 1 End X
71) SPA Multiple Upper Limit 1 End X
72) SPA Multiple Upper Limit 1 End X (Lowest byte)
73) SPA Multiple Upper Limit 1 End Y (Power Level) (Highest byte)
372
74) SPA Multiple Upper Limit 1 End Y (Power Level)
75) SPA Multiple Upper Limit 1 End Y (Power Level)
76) SPA Multiple Upper Limit 1 End Y (Power Level) (Lowest byte)
77-220) SPA Multiple Upper Limits 2-5, SA Multiple Lower Limits 1-5 (see bytes 61-76 for format)
221) RBW Setting (Highest byte)
373
222) RBW Setting
223) RBW Setting
224) RBW Setting (Lowest byte)
225) VBW Setting (Highest byte)
374
226) VBW Setting
366
Value sent as (value * 1000)
367
Value sent as data point on the display. Equivalent frequency = (point * span / ( # data points – 1 ) ) + start
frequency.
368
Value sent as ( value in dBm * 1000 ) + 270000
369
Scaled by Frequency Scale Factor (bytes 301-302)
370
Value sent as ( value in dBm * 1000 ) + 270000
371
Scaled by Frequency Scale Factor (bytes 301-302)
372
Value sent as ( value in dBm * 1000 ) + 270000
373
RBW frequency sent in Hz.
374
VBW frequency sent in Hz.
90
www.valuetronics.com
Page 93
227) VBW Setting
228) VBW Setting (Lowest byte)
229) OCC BW Method
230) OCC BW % Value
231) OCC BW dBc
377
375
376
232) Attenuation
233) Antenna Index (0-14)
234-249) Antenna Name (16 bytes in ASCII)
250) Status Byte 1: ( 0b = Off , 1b = On) (LSB) bit 0 : Spectrum Analyzer Mode Marker 1 On/Off 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 bits 6 - 7 : Not Used
251) Status Byte 2: (0b = Off, 1b = On) (LSB) bit 0 : Not Used bit 1 : Spectrum Analyzer Mode Marker 2 Delta On/Off bit 2 : Spectrum Analyzer Mode Marker 3 Delta On/Off bit 3 : Spectrum Analyzer Mode Marker 4 Delta On/Off
bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto)
bit 5 : Pre Amp Status On/Off bit 6 : Dynamic Attenuation On/Off bit 7 : Normalization On/Off
252) Status Byte 3: ( 0b = Off/Beep if data is BELOW line ,
1b = On/Beep if data is ABOVE line) (LSB) bit 0 : SPA Limit Type (0b = Single, 1b = Multiple) bit 1 : SPA Single Limit Beep On/Off bit 2 : SPA Single Limit Status On/Off bit 3 : SPA Single Limit Beep Level ABOVE/BELOW bit 4 : SPA Multiple Limit Upper Segment 1 Status On/Off bit 5 : SPA Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW bit 6 : SPA Multiple Limit Upper Segment 2 Status On/Off bit 7 : SPA Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
253) Status Byte 4 : ( 0b = Off/Beep if data is BELOW line ,
1b = On/Beep if data is ABOVE line)
(LSB) bit 0 : SPA Multiple Limit Upper Segment 3 Status On/Off bit 1 : SPA Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW bit 2 : SPA Multiple Limit Upper Segment 4 Status On/Off bit 3 : SPA Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW bit 4 : SPA Multiple Limit Upper Segment 5 Status On/Off bit 5 : SPA Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW bit 6 : SPA Multiple Limit Lower Segment 1 Status On/Off bit 7 : SPA Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
254) Status Byte 5 : ( 0b = Off/Beep if data is BELOW line ,
1b = On/Beep if data is ABOVE line)
(LSB) bit 0 : SPA Multiple Limit Lower Segment 2 Status On/Off
bit 1 : SPA Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW bit 2 : SPA Multiple Limit Lower Segment 3 Status On/Off
375
00h = % of power, 01h = dB down
376
0 – 99%
377
0 – 120 dBc
378
Beep level is always 1b for upper segmented limit line
379
Beep level is always 0b for lower segmented limit line
378
379
91
www.valuetronics.com
Page 94
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
255) Status Byte 6: (0b = Off, 1b = On)
(LSB) bit 0 : Antenna Factors Correction On/Off
bit 1 : Bias Tee On/Off (Option 10) bit 2 : Amplitude Units (Linear) – 00b = Watts 01b = Volts bits 3-4 : Amplitude Units (Log) - 00b = dBm 01b = dBV 10b = dBmV 11b = dBuV bits 5-6 : Detection Alg (00b = pos. peak 01b = RMS Averaging 10b = neg. peak 11b = Sampling Mode) bit 7 : Units Type (0b = Log 1b = Linear)
256) Status Byte 7: (0b = Off, 1b = On)
(LSB) bit 0: Interference Analysis On/Off
bit 1: C/I Measurement 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: Occupied BW Measurement On/Off
257) Reference Level Offset
380
(Highest byte)
258) Reference Level Offset
259) Reference Level Offset
260) Reference Level Offset (Lowest byte)
261) External Reference Frequency
262) Signal Standard
263) Signal Standard (Lower byte)
264) Channel Selection
265) Channel Selection (Lower byte)
266) Trigger Type
382
(Higher byte)
383
(Higher byte)
384
267) Interference Analysis Frequency
381
385
(Highest byte)
268) Interference Analysis Frequency
269) Interference Analysis Frequency
270) Interference Analysis Frequency (Lowest byte)
271) Trigger Position (0 – 100%)
272) Min Sweep Time (in μs) (Highest byte)
273) Min Sweep Time (in μs)
274) Min Sweep Time (in μs)
275) Min Sweep Time (in μs) (Lowest byte)
276) Video Trigger Level
386
(Highest byte)
277) Video Trigger Level
278) Video Trigger Level
279) Video Trigger Level (Lowest byte)
280) Status Byte 8
(LSB) bit 0: Reserved
bits 1-7: Not Used
380
Value sent as (value in dBm * 1000) + 270,000
381
1 byte in MHz (i.e. 20 = 20MHz)
382
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
383
“No Channel” is sent as FFFEh
384
Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
385
Scaled by Frequency Scale Factor (bytes 301-302)
386
Value sent as ( value in dBm * 1000 ) + 270,000
92
www.valuetronics.com
Page 95
281) Status Byte 9
(LSB) bits 0-6: Number of sweeps to average (1-25, 1 implies averaging OFF)
bit 7: Not Used
282) 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
bit 4: View B On/Off
bit 5: External Reference Frequency On/Off
bits 6-7: Not Used
283) Impedance (00h = 50, 10h = 75 Anritsu Adapter, 12h = 75 Other Adapter)
284) Impedance Loss
285) Impedance Loss (Lower byte)
286) AM/FM Demod Type
387
(Higher byte)
388
287) AM/FM Demod Status (01h = On, 00h = Off)
288) AM/FM Demod Volume (0 to 100)
289) AM/FM Demod Frequency
389
(Highest byte)
290) AM/FM Demod Frequency
291) AM/FM Demod Frequency
292) AM/FM Demod Frequency (Lowest byte)
293) AM/FM Demod Time (in ms) (Highest byte)
294) AM/FM Demod Time (in ms)
295) AM/FM Demod Time (in ms)
296) AM/FM Demod Time (in ms) (Lowest byte)
297) SSB BFO Offset
390
(Highest byte)
298) SSB BFO Offset
299) SSB BFO Offset
300) SSB BFO Offset (Lowest byte)
301) Frequency Scale Factor
302) Frequency Scale Factor (Lower byte)
303) Frequency Range Minimum
391
(Higher byte)
392
(Highest byte)
304) Frequency Range Minimum
305) Frequency Range Minimum
306) Frequency Range Minimum (Lowest byte)
307) Frequency Range Maximum
393
(Highest byte)
308) Frequency Range Maximum
309) Frequency Range Maximum
310) Frequency Range Maximum (Lowest byte)
311) Marker Type
312) Channel Power Int BW
394
395
(Highest byte)
313) Channel Power Int BW
314) Channel Power Int BW
315) Channel Power Int BW (Lowest byte)
316) ACPR Main Channel BW
387
Value sent as (value in dB * 1000), valid values are 0 to 20 dB
388
AM/FM Demod Type: 00h = FM-Wide Band, 01h = FM-Narrow Band, 02h = AM, 03h = SSB Lower, 04h =
SSB Upper
389
Scaled by Frequency Scale Factor (bytes 301-302)
390
Value sent as ((value in Hz) – 10,000)
391
In number of Hz
392
Scaled by Frequency Scale Factor (bytes 301-302)
393
Scaled by Frequency Scale Factor (bytes 301-302)
394
00h = Regular Marker, 01h = Noise Marker
395
Scaled by Frequency Scale Factor (bytes 301-302)
396
Scaled by Frequency Scale Factor (bytes 301-302)
396
(Highest byte)
93
www.valuetronics.com
Page 96
317) ACPR Main Channel BW
318) ACPR Main Channel BW
319) ACPR Main Channel BW (Lowest byte)
320) ACPR Adjacent Channel BW
397
(Highest byte)
321) ACPR Adjacent Channel BW
322) ACPR Adjacent Channel BW
323) ACPR Adjacent Channel BW (Lowest byte)
324) ACPR Channel Spacing
398
(Highest byte)
325) ACPR Channel Spacing
326) ACPR Channel Spacing
327) ACPR Channel Spacing (Lowest byte)
328) Interference Analysis Cell Std
329) Interference Analysis Est. BW
399
400
(Highest byte)
330) Interference Analysis Est. BW
331) Interference Analysis Est. BW
332) Interference Analysis Est. BW (Lowest byte)
333) Trace B Trace Id
401
334-500) Not Used
For Transmission Mode (Option 21):
21) Start Frequency
402
(Highest byte)
22) Start Frequency
23) Start Frequency
24) Start Frequency (Lowest byte)
25) Stop Frequency
403
(Highest byte)
26) Stop Frequency
27) Stop Frequency
28) Stop Frequency (Lowest byte)
29) Center Frequency
404
(Highest byte)
30) Center Frequency
31) Center Frequency
32) Center Frequency (Lowest byte)
33) Frequency Span
405
(Highest byte)
34) Frequency Span
35) Frequency Span
36) Frequency Span (Lowest byte)
37) Ref Level (Highest byte)
406
38) Ref Level
39) Ref Level
40) Ref Level (Lowest byte)
41) Scale per div (Highest byte)
407
42) Scale per div
43) Scale per div
397
Scaled by Frequency Scale Factor (bytes 301-302)
398
Scaled by Frequency Scale Factor (bytes 301-302)
399
4 Standards – 00h = 1250 kHZ CDMA, 01h = GSM, 02h = TDMA, 03h = AMPS, 04h = Unknown, FFh =
Interference Analysis Measurement OFF
400
Frequency in Hz
401
FFh indicates no trace selected
402
Scaled by Frequency Scale Factor (bytes 244-245)
403
Scaled by Frequency Scale Factor (bytes 244-245)
404
Scaled by Frequency Scale Factor (bytes 244-245)
405
Scaled by Frequency Scale Factor (bytes 244-245)
406
Value sent as (value in dBm * 1000) + 270,000)
407
Value sent as (value * 1000)
94
www.valuetronics.com
Page 97
44) Scale per div (Lowest byte)
45) Frequency Marker 1 (Higher byte)
408
46) Frequency Marker 1 (Lower byte)
47) Frequency Marker 2 (Higher byte)
48) Frequency Marker 2 (Lower byte)
49) Frequency Marker 3 (Higher byte)
50) Frequency Marker 3 (Lower byte)
51) Frequency Marker 4 (Higher byte)
52) Frequency Marker 4 (Lower byte)
53) Frequency Marker 5 (Higher byte)
54) Frequency Marker 5 (Lower byte)
55) Frequency Marker 6 (Higher byte)
56) Frequency Marker 6 (Lower byte)
57) Single Limit (Highest byte)
409
58) Single Limit
59) Single Limit
60) Single Limit (Lowest byte)
61) Multiple Upper Limit 1 Start X
410
(Highest byte)
62) Multiple Upper Limit 1 Start X
63) Multiple Upper Limit 1 Start X
64) Multiple Upper Limit 1 Start X (Lowest byte)
65) Multiple Upper Limit 1 Start Y (Power Level) (Highest byte)
411
66) Multiple Upper Limit 1 Start Y (Power Level)
67) Multiple Upper Limit 1 Start Y (Power Level)
68) Multiple Upper Limit 1 Start Y (Power Level) (Lowest byte)
69) Multiple Upper Limit 1 End X
412
(Highest byte)
70) Multiple Upper Limit 1 End X
71) Multiple Upper Limit 1 End X
72) Multiple Upper Limit 1 End X (Lowest byte)
73) Multiple Upper Limit 1 End Y (Power Level) (Highest byte)
413
74) Multiple Upper Limit 1 End Y (Power Level)
75) Multiple Upper Limit 1 End Y (Power Level)
76) Multiple Upper Limit 1 End Y (Power Level) (Lowest byte) 77-220) Multiple Upper Limits 2-5, SA Multiple Lower Limits 1-5 (see bytes 61-76 for format)
221) RBW Setting (Highest byte)
414
222) RBW Setting
223) RBW Setting
224) RBW Setting (Lowest byte)
225) VBW Setting (Highest byte)
415
226) VBW Setting
227) VBW Setting
228) VBW Setting (Lowest byte)
229) Attenuation
230) Status Byte 1: ( 0b = Off , 1b = On)
(LSB) bit 0 : Marker 1 On/Off bit 1 : Marker 2 On/Off
408
Value sent as data point on the display. Equivalent frequency = (point * span / ( # data points – 1 ) ) + start
frequency.
409
Value sent as ( value in dBm * 1000 ) + 270000
410
Scaled by Frequency Scale Factor (bytes 244-245)
411
Value sent as ( value in dBm * 1000 ) + 270000
412
Scaled by Frequency Scale Factor (bytes 244-245)
413
Value sent as ( value in dBm * 1000 ) + 270000
414
RBW frequency sent in Hz.
415
VBW frequency sent in Hz.
95
www.valuetronics.com
Page 98
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
231) Status Byte 2: (0b = Off, 1b = On)
(LSB) bit 0 : S21 Spa Cal Status (0 – Cal OFF, 1 – Cal ON) bit 1 : Marker 2 Delta On/Off bit 2 : Marker 3 Delta On/Off bit 3 : Marker 4 Delta On/Off
bit 4 : Pre Amp Mode (0b = Manual, 1b = Auto)
bit 5 : Pre Amp Status On/Off bit 6 : Dynamic Attenuation On/Off bit 7 : Not Used
232) Status Byte 3: ( 0b = Off/Beep if data is BELOW line ,
1b = On/Beep if data is ABOVE line) (LSB) bit 0 : Limit Type (0b = Single, 1b = Multiple) bit 1 : Single Limit Beep On/Off bit 2 : Single Limit Status On/Off bit 3 : Single Limit Beep Level ABOVE/BELOW bit 4 : Multiple Limit Upper Segment 1 Status On/Off bit 5 : Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW bit 6 : Multiple Limit Upper Segment 2 Status On/Off bit 7 : Multiple Limit Upper Segment 2 Beep Level ABOVE/BELOW
233) Status Byte 4 : ( 0b = Off/Beep if data is BELOW line ,
1b = On/Beep if data is ABOVE line)
(LSB) bit 0 : Multiple Limit Upper Segment 3 Status On/Off bit 1 : Multiple Limit Upper Segment 3 Beep Level ABOVE/BELOW bit 2 : Multiple Limit Upper Segment 4 Status On/Off bit 3 : Multiple Limit Upper Segment 4 Beep Level ABOVE/BELOW bit 4 : Multiple Limit Upper Segment 5 Status On/Off bit 5 : Multiple Limit Upper Segment 5 Beep Level ABOVE/BELOW bit 6 : Multiple Limit Lower Segment 1 Status On/Off bit 7 : Multiple Limit Lower Segment 1 Beep Level ABOVE/BELOW
234) Status Byte 5 : ( 0b = Off/Beep if data is BELOW line ,
1b = On/Beep if data is ABOVE line)
(LSB) bit 0 : Multiple Limit Lower Segment 2 Status On/Off
bit 1 : Multiple Limit Lower Segment 2 Beep Level ABOVE/BELOW bit 2 : Multiple Limit Lower Segment 3 Status On/Off bit 3 : Multiple Limit Lower Segment 3 Beep Level ABOVE/BELOW bit 4 : Multiple Limit Lower Segment 4 Status On/Off bit 5 : Multiple Limit Lower Segment 4 Beep Level ABOVE/BELOW bit 6 : Multiple Limit Lower Segment 5 Status On/Off bit 7 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW
235) Status Byte 6: (0b = Off, 1b = On)
(LSB) bit 0 : Not Used
bit 1 : Bias Tee On/Off (Option 10)
bit 2 : External Reference Freq On/Off bits 3-4 : Amplitude Units (Log) - 00b = dBm 01b = dBV 10b = dBmV 11b = dBuV
(Linear) – 00b = Watts 01b = Volts bits 5-6 : Detection Alg (00b = pos. peak 01b = RMS Averaging 10b = neg. peak 11b = Sampling Mode) bit 7 : Units Type (0b = Log 1b = Linear)
416
Beep level is always 1b for upper segmented limit line
417
Beep level is always 0b for lower segmented limit line
416
417
96
www.valuetronics.com
Page 99
236) External Reference Frequency
237) Signal Standard
238) Signal Standard (Lower byte)
239) Channel Selection
240) Channel Selection (Lower byte)
241) Trigger Type
419
(Higher byte)
420
(Higher byte)
421
418
242) Status Byte 7 (LSB) bits 0-6: Number of sweeps to average (1-25, 1 implies averaging OFF) bit 7: Not Used
243) Status Byte 8: (0b = Off, 1b = On) (LSB) bits 0-1: Trace Math Operation (00b = A only, 01b = A-B, 10b = A+B) bit 2: Max Hold On/Off bit 3: Min Hold On/Off bit 4: RBW Coupling (1b = Auto, 0b = Manual) bit 5: VBW Coupling (1b = Auto, 0b = Manual) bit 6: Attenuation Coupling (1b = Auto, 0b = Manual) bit 7: View B On/Off
244) Frequency Scale Factor
245) Frequency Scale Factor (Lower byte)
246) Frequency Range Minimum
422
(Higher byte)
423
(Highest byte)
247) Frequency Range Minimum
248) Frequency Range Minimum
249) Frequency Range Minimum (Lowest byte)
250) Frequency Range Maximum
424
(Highest byte)
251) Frequency Range Maximum
252) Frequency Range Maximum
253) Frequency Range Maximum (Lowest byte)
254) Marker Type
255) Trace B Trace Id
425
426
256) Status Byte 9 (LSB) bit 0: Reserved bits 1-7: Not Used
257-400) Not Used
For Power Meter Mode (Option 29 Only):
21) Power Meter Start Freq
427
(Highest byte)
22) Power Meter Start Freq
23) Power Meter Start Freq
24) Power Meter Start Freq
428
(Lowest byte)
25) Power Meter Stop Freq (Highest byte)
26) Power Meter Stop Freq
27) Power Meter Stop Freq
28) Power Meter Stop Freq (Lowest byte)
29) Power Meter Center Freq
418
1 byte in MHz (i.e. 20 = 20MHz)
419
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
420
“No Channel” is sent as FFFEh
421
Trigger Type – 00h = Single, 01h = Free Run, 02h = Video, 03h = External
422
In number of Hz
423
Scaled by Frequency Scale Factor (bytes 244-245)
424
Scaled by Frequency Scale Factor (bytes 244-245)
425
00h = Regular Marker, 01h = Noise Marker
426
FFh indicates no trace selected
427
Scaled by Frequency Scale Factor (bytes 54-55)
428
Scaled by Frequency Scale Factor (bytes 54-55)
429
(Highest byte)
97
www.valuetronics.com
Page 100
30) Power Meter Center Freq
31) Power Meter Center Freq
32) Power Meter Center Freq (Lowest byte)
33) Power Meter Span
430
(Highest byte)
34) Power Meter Span
35) Power Meter Span
36) Power Meter Span (Lowest byte)
37) Signal Standard
38) Signal Standard (Lower byte)
39) Channel Selection
40) Channel Selection (Lower byte)
41) Power Meter Offset
431
(Higher byte)
432
(Higher byte)
433
(Highest byte)
42) Power Meter Offset
43) Power Meter Offset
44) Power Meter Offset (Lowest byte)
45) Power Meter Relative (Highest byte)
434
46) Power Meter Relative
47) Power Meter Relative
48) Power Meter Relative (Lowest byte)
49) Not Used
50) Power Meter Unit (00h = Watts, 01h = dBm)
51) Power Meter Relative Status (00h = Off, 01h = On)
52) Power Meter Offset Status (00h = Off, 01h = On)
53) Power Meter RMS Averaging Level (00h = Off, 01h = Low, 02h = Medium, 03h = High)
54) Frequency Scale Factor
55) Frequency Scale Factor (Lower byte)
56) Frequency Range Minimum
435
(Higher byte)
436
(Highest byte)
57) Frequency Range Minimum
58) Frequency Range Minimum
59) Frequency Range Minimum (Lowest byte)
60) Frequency Range Maximum
437
(Highest byte)
61) Frequency Range Maximum
62) Frequency Range Maximum
63) Frequency Range Maximum (Lowest byte)
64) Zero Status (00h = Off, 01h = On)
65) Zero Value
438
(Highest byte)
66) Zero Value
67) Zero Value
68) Zero Value (Lowest byte)
69-120) Not Used
For T1 Mode (Option 50):
21) T1 Receive Input (00h = Terminate, 01h = Bridged, 02h = Monitor)
22) T1 Framing Mode (01h = ESF, 02h = D4SF)
23) T1 Line Coding (01h = B8ZS, 02h = AMI)
429
Scaled by Frequency Scale Factor (bytes 54-55)
430
Scaled by Frequency Scale Factor (bytes 54-55)
431
Index into Standard List (use control byte #89 to retrieve the ASCII string name). “No Standard” sent as FFFEh
432
“No Channel” is sent as FFFEh
433
Value sent as (value in dB * 1000)
434
Value sent as ((value in dBm * 1000) + 100)
435
In number of Hz
436
Scaled by Frequency Scale Factor
437
Scaled by Frequency Scale Factor
438
Value sent as ((value in dBm * 1000) + 100)
98
www.valuetronics.com
Loading...