Page 1
Site Master ™ S251B Antenna and Cable Analyzer Programming Manual Hand-Held Tester For Antennas, Transmission Lines And Other RF Components www.valuetronics.com...
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.
How to Use this Manual If you want to find out general concepts for programming the Site Master, go to the Programming Overview. If you want to find out how to perform a task, go to the Functional Description. If you want to find out what the syntax of a control byte is, go to the Control Byte Description.
Programming Overview This programming manual is written exclusively for the Anritsu Site Master Model S251B with firmwave Version 1.52 and above. For information on firmware upgrade, please contact your local Anritsu service cen- ter. General Description The Site Master must first be set into “remote” mode for communication with a computer. Remote mode dif- fers from normal repetitive sweep and single-sweep modes.
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.
Functional Description INITIALIZE Enter remote mode - see control byte #69 (45h) Site Master must be in remote mode for further control byte command sequences to be accepted. Remember to wait until Site Master responds before issuing further control byte sequences. Enter remode mode immediately - see control byte #70 (46h) CONFIGURE SYSTEM Fixed CW mode control - see control byte #1 (01h)
CONFIGURE MEASUREMENT Measurement mode select - see control byte #3 (03h) Site Master measurement mode selectable in frequency or distance domain, power monitor mode, or RF source mode. Measurement unit - see control byte #1 (01h) The Site Master uses Metric or English units. Calibration on/off - see control byte #1 (01h) Calibration corrects for test port uniqueness.
DTF Windowing - see control byte #31 (1Fh) Allows selection of a window to lessen the side lobes. CONFIGURE DISPLAY Display mode - see control byte #3 (03h) Selectable among SWR, return loss, cable insertion loss, transmission loss, transmission gain, power monitor, and spectrum analyzer.
ACTION Trigger sweep - see control byte #48 (30h) Both serial port echo and single sweep modes use this byte to trigger a Site Master sweep. If the Site Master is not in one of those modes, this byte is ignored. Save system setup - see control byte #18 (12h) Recall system setup - see control byte #19 (13h) Save sweep - see control byte #16 (10h)
Page 14
STATUS Query system status - see control byte #20 (14h) The system status contains virtually all information about the current Site Master system state. It is a powerful and complete “snapshot” of the system. Some control bytes affect multiple system parameters (such as distance to fault parameters). Use the response from this control byte for preserving any of the system parameters you wish to remain un- changed.
Control Byte Summary Control Byte Summary (1 of 2) Watch- Control Name Description Byte # Timer 1 (01h) Setup system System status flags and switches 2 (02h) Set frequency Sets Site Master frequency range 3 (03h) Select measurement mode Measurement domain and measurement mode 4 (04h) Set scale Sets Site Master scale values...
Page 16
Control Byte Summary (2 of 2) Watch- Control Name Description Byte # Timer 31 (1Fh) Select DTF Windowing Select DTF Windowing Methods 32 (20h) Set Trace Math Select Trace Math operation —- 33 (21h) Set RF Source Mode Sets RF Source Mode and Frequency —- 34 (22h) Set Trace Overlay...
Control Byte Descriptions Setup system - Control byte #1 (01h) Description: Sets system status flags and switches. The Site Master acts on the entire byte. You must ac- count for the state of each of the bits. For example, if you wanted to turn the LCD backlight on without dis- turbing the other switches you would do the following: query the Site Master with control byte #20.
Site Master Returns: 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid frequency range 238 (EEh) Time-out Error Notes: Start and stop frequencies are given in terms of 1 Hz steps. (e.g. 1000.3 MHz would be sent as 100030000 = 1,000,300,000 Hz) Select Measurement mode - Control Byte #3 (03h) Description: Sets measurement domain and display graph type.
Site Master Returns: 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid scale range 238 (EEh) Time-out Error Notes: Return Loss & Scaling is in thousandths of a dB Cable Loss: Maximum value sent is 54000 which represents 54.00 dB Minimum value sent is 0 which represent 0.00 dB Scale Start Value is the top of the graph Scale Stop Value is the bottom of the graph...
Description: Sets the position and On/Off Status of the Site Master Limit Line. The Site Master S251B supports five limit segments. Each segment may have any finite slope and can be en- abled and disabled independent of every other segment. The limit beep is enabled for all segments or no seg- ments.
Please refer to the Site Master operations manual for a detailed explanation of the factors influencing proper selection of DTF parameters. See control byte #20 (14h) response bytes 98 to 105 and 114 to 121 for current Site Master configuration. Bytes to Follow: 16 bytes: 1) Start Distance (highest byte) 2) Start Distance...
4) Day 5) Year (Higher Byte) 6) Year (Lower Byte) 7) Daylight Savings (ON/~OFF) Site Master Returns: 255 (FFh) Operation Complete Byte 238 (EEh) Time-out Error Set reference number - Control Byte #9 (09h) Description: Stores a Reference Number with the sweep trace. You determine the format. Current reference number is found in trace 0 response bytes 39 to 54.
Single sweep mode On/Off - Control Byte #11(0Bh) Description: Enables or disables the Single Sweep Mode. 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).
(FFh) to the computer. If all five steps are not complete, the Site Master returns an Operation Incomplete Byte #224 (E0h) and no calculation is performed. Bytes to Follow: 1 byte 1) Calibration Step to trigger 01h = open 02h = short 03h = load 04h = isolate 05h = thru...
Store sweep trace - Control Byte #16 (10h) Description: Saves current trace. Note: Any calibration steps performed in remote mode overwrite the trace data in the memory. Bytes to Follow: 0 bytes Site Master Returns: 5 bytes 1-4) Time/Date Stamp (In long integer format) Operation result: 255 (FFh) Operation Complete Byte 224 (E0h) Out of Memory (Memory Full)
Page 26
Scale Top (lowest byte) Scale Bottom (highest byte) Scale Bottom Scale Bottom Scale Bottom (lowest byte) Frequency Marker 1 (higher byte) Frequency Marker 1 (lower byte) Frequency Marker 2 (higher byte) Frequency Marker 2 (lower byte) Frequency Marker 3 (higher byte) Frequency Marker 3 (lower byte) Frequency Marker 4 (higher byte) Frequency Marker 4 (lower byte)
Page 27
179) Status Byte 1: (0 = Off, 1 = 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-7 : Not Used 180) Status byte 2 : (0 = Off, 1 = On) (LSB) bit 0 : Not Used...
Invalid sweep location: 1 byte 224 (E0) : Parameter error : Invalid sweep location Notes: Please refer to Control Bytes 02h through 0Ah for data formats. Minimum Frequency Step Size is in Hz Gamma is in thousandths (of ratio) Phase is in tenths of a degree Save system setup - Control Byte #18 (12h) Description: Saves current system setup parameters to a specific setup store location.
Page 29
Query system status - Control Byte #20 (14h) Description: Queries the Site Master for current system settings. The current state of the Site Master represents the state after last successful remote control operation. Please refer to Control bytes 01h through 0Ah for data formats. Bytes to Follow: 0 bytes Site Master Returns: 137 bytes...
126) Status byte 5 : (LSB) bit 0 : Fixed CW Mode On/Off bit 1 : Currently Unused bit 2 : LCD Back Light On/Off bit 3 : Measurement Unit Metric/English (0 = English, 1 = Metric) bit 4 : High Power On/Off bit 5 : Bias Tee On/Off bit 6-7 : Currently Unused 127)
Read fail counters - Control Byte #22 (16h) Description: Reads the value of the Lock Fail Counter and Analog Integrator Fail Counter. This duplicates the functionality of the front panel icons. If the Analog Integrator takes too long to reach measurement level, due to low battery or an intefering signal, the count increments.
Page 33
Delete Sweep Trace - Control Byte #25 (19h) Description: Delete single or all stored sweep traces in Site Master. Bytes to Follow: 1 byte 0 - Delete all Traces X - Delete Single Trace #X Site Master Returns: 225 (FFh) Operation Complete Byte Download Sweep Trace - Control Byte #26 (1Ah) Description: Downloads a sweep trace to the Site Master.
Page 34
Frequency Marker 4 (higher byte) Frequency Marker 4 (lower byte) Segment # (1) Segment Status Start X (highest byte) Start X Start X Start X (lowest byte) Start Y (higher byte) Start Y (lower byte) End X (highest byte) End X End X End X (lowest byte) End Y (higher byte)
Page 35
167) Status byte 3 : (0 = Off, 1 = On) (LSB) bit 0 : Unused bit 1 : CW mode On/Off bit 2 : Bias Tee On/Off bit 3 : High Power On/Off bit 4 : Cal On/Off bit 5 : Not Used bit 6 : Unit of measurement (1 = metric, 0 = English) bit 7 : Not Used 168)
Select Printer Type - Control Byte #30 (1Eh) Description: Select Printer Type Bytes to Follow: 1 byte 0 = No Printer Selected 1... = Available Printers Site Master Returns: 225 (FFh) Operation Complete Byte Select DTF Windowing - Control Byte #31 (1Fh) Description: Select DTF Windowing Methods.
Page 37
Set RF Source Mode Frequency - Control Byte #33 (21h) Description: Sets RF Source mode frequency. Bytes to Follow: 4 bytes 1) RF Frequency (highest byte) 2) RF Frequency 3) RF Frequency 4) RF Frequency (lowest byte) Site Master Returns: 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error : Invalid Frequency 238 (EEh) Time-out Error...
Page 38
14 - 17) Absolute Power Level in dBm 18 - 21) Power in dBm/dBr Notes: You can query power level without setting power monitor mode ON. Absolute Power of –100 indicates a hardware failure (Power monitor mode unavailable or RF Detector not connected) Power is in one-thousandth of dBm Relative power is in one-thousandth of dBr Offset is in one-thousandth of dB...
Site Master Returns: 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. Zero Mode On/Off - Control Byte #43 (2Bh) Description: Enable or disable Power Monitor Zeroing Mode.
Page 40
Set Marker Peak - Control Byte #51 (33h) Description: Obtains Marker status information for peak value in the current trace. Bytes to Follow: 1 byte 1) Marker Number Site Master Returns: 2 bytes 1) Marker Position at Peak (high byte) 2) Marker Position at Peak (low byte) Set Marker Valley - Control Byte #52 (34h) Description: Obtains Marker status information for valley value in the current trace.
10) 255 (FFh) Operation Complete Byte 224 (E0h) Parameter Error Note: Due to the hardware delay, Site Master does not return the results of the Bias Tee until approxi- mately 3 seconds after the Bias Tee is turned on. Automatically Save Runtime Setup - Control Byte #64 (40h) Description: Automatically save the runtime setup when exiting remote mode.
Page 42
Enter Remote Mode Immediately - Control Byte #70 (46h) Description: Enter remote mode in the middle of a sweep, then send the model number and firmware ver- sion to the computer. Bytes to Follow: 0 bytes Site Master Returns: 13 bytes 1-2) Model # (unsigned integer) 3-9) Extended Model # (7 bytes in ASCII) 10-13) Software Version - 4 bytes (ASCII)
Page 43
Recall Custom Cable - Control Byte #81 (51h) Description: Query a cable in the custom cable list. Bytes to Follow: 1 byte Cable list index (0 - 24) Site Master Returns: 24 bytes Upper Bound of Custom Cable Index 1-15) Cable Description (string) Propagation Velocity (highest byte) Propagation Velocity...
Need help?
Do you have a question about the Site Master S251B and is the answer not in the manual?
Questions and answers