Site Master is the preferred cable and antenna analyzer ofwireless providers, contractors and installers.Site Master™S331D/S332DCable and Antenna Anal
Control Byte#Name DescriptionWatchdogTimer42 (2Ah) Power Meter Offset Mode Enables or disables Power Meter offset Yes43 (2Bh) Power Meter Zero Mode En
Automatic control couples the attenuation to the reference level. Note that setting the attenuation using this commandautomatically sets the attenuati
Set Baud Rate – Control Byte #197 (C5h)Description: Set baud rate for this session. An invalid setting returns the baud rate to 9600.Bytes to Follow:
Read ASCII Serial Number – Control Byte #225 (E1h)Description: Reads and returns the Site Master serial number as 8 ASCII bytes.Bytes to Follow: 1 byt
1) Clock Source00h: Internal01h: ExternalSite Master Returns: 1 byte1) 255 (FFh) Operation Complete Byte224 (E0h) Parameter Error: Invalid clock sourc
1) 255 (FFh) Operation Complete Byte224 (E0h) Parameter Error: Invalid error type or value238 (EEh) Time Out ErrorSet T1/E1 Framing Mode – Control Wor
or1) 238 (EEh) Time Out ErrorGet T1/E1 Frame Sync Status – Control Word (A009h) (Option 50 only)Description: Get the frame sync status of T1 /E1.Bytes
12) CRC (lower byte)T1:13) Errored Seconds (highest byte)14) Errored Seconds15) Errored Seconds16) Errored Seconds (lowest byte)E1:13) E Bits (higher
Bytes to Follow: 0 bytesSite Master Returns: 3 bytes1) Volts peak-to-peak (higher byte)2) Volts peak-to-peak (lower byte)3) 255 (FFh) Operation Comple
00h: Off01h: OnSite Master Returns: 1 byte1) 255 (FFh) Operation Complete Byte224 (E0h) Parameter Error: Invalid status or not enough memory238 (EEh)
Site Master Returns: 1 byte1) Status Byte255 (FFh) Operation Complete ByteSelect SPA/Power Meter Signal Standard - Control Word (A103h)Description: Se
Control Byte#Name DescriptionWatchdogTimer106 (6Ah)Set Spectrum AnalyzerResolution Bandwidth FreqSets the Spectrum Analyzer resolution BW frequency (o
Read External Module Serial Number – Control Word (A202h) (Option 6 only)Description: Sets the serial number of the attached external converter module
1) Fail Counter (higher byte)2) Fail Counter (lower byte)3) 255 (FFh) Operation Complete Byteor1) 255 (FFh) Operation Complete Byte224 (E0h) Parameter
24) VNA Integration Test - Reserved25) SPA LO Test - Status (01h: Pass, 00h: Fail, FFh: SPA board not installed)26) SPA LO Test - Failed data point #2
18) H/W Config - T1E1 COLD ID19) VNA PLL Lock Failure Test - Status (01h: Pass, 00h: Fail)20) VNA PLL Lock Failure Test - Failed data point # (Ignore
Programming ExamplesThis section contains several sample functions written in C, (and one in Visual Basic) that can be used as references whenprogramm
/*********************************************************************//* unsigned char SetSPAScale(unsigned long ReferenceLevel, *//* unsigned long d
WriteToPort (SendScalePointer, 9);// Expecting 1 byte back (give the unit 5 seconds to respond):// 0xFF = success// 0xE0 = parameter failure (invalid
/*********************************************************************//* unsigned char ExitRemote(BYTE *ResponseBytes) *//* Description: This functio
/*********************************************************************//* void Get8Bytes(unsigned long parm1, unsigned long parm2, *//* BYTE* ByteData
/*********************************************************************//* BOOL OpenCommunications(int ComPort, int ComBaud) *//* Description : This fu
Control Byte#Name DescriptionWatchdogTimerA004hSet T1/E1 Error InsertType/ValueSets the Insertion Error type and the number of errors YesA005h Set T1/
OPEN_EXISTING,0, // no overlapped I/ONULL); // null template/* Set up the COM Ports Input and Output BufferSyntax -BOOL SetupComm(HANDLE hFile, // han
case ‘3’:CommSettings.BaudRate = CBR_38400; // rate - 38400break;case ‘4’:CommSettings.BaudRate = CBR_56000; // rate - 56000break;case ‘5’:CommSetting
NOTE: Without Timeout Settings, Reading the COM Port will not work properly*/// This gives the Timeout value for each bytes receivedtimeout.ReadInterv
Example in Visual BasicPrivate Sub cmdSetBaudRateSM_Click()Dim ChangeBaudSerialCmd As IntegerDim BaudRate As IntegerDim strInputBuf As VariantDim Prev
GoTo SetSMBaud_err_handlerEnd IfIf Asc(strInputBuf) = 255 ThenMsgBox “Set Baud Rate Succesfully”ElseIf Asc(strInputBuf) = 238 ThenMsgBox “SiteMaster T
Parameter DefinitionsParameter # of bytes Step Example / DescriptionFrequency 4 bytes unsigned 1 Hz 1000.3 MHz = 1000300000Scale (RL, CL) 2 bytes unsi
Spectrum Analyzer Signal StandardsIndex Standard Center Span Valid Channels00h AMPS / EIA 553 - Uplink 859000000 70000000 1-799, 990-102301h AMPS / EI
Index Standard Center Span Valid Channels27h ETACS - Uplink 916000000 88000000 0-1000, 1329-204728h ETACS - Downlink 916000000 88000000 0-1000, 1329-2
Index Standard Center Span Valid Channels50h PHS - Downlink 1906500000 23000000 1-7751h SMR 800 - 12.5 kHz - Uplink 836000000 60000000 1-119952h SMR 8
VNA Signal StandardsIndex Standard Start Freq Stop Freq00h Bluetooth US & Europe Uplink 2400000000 248400000001h Bluetooth US & Europe Downlin
Control Byte DescriptionsSetup System – Control Byte #1 (01h)Description: Sets system status flags and switches. The current value of the flags can be
Index Standard Start Freq Stop Freq27h ISM 2 4 GHZ Uplink 2400000000 248400000028h ISM 2 4 GHZ Downlink 2400000000 248400000029h ISM 2 4 GHZ Fullband
Index Standard Start Freq Stop Freq50h SMR 1500 Fullband 1453000000 151300000051h TACS/ETACS Uplink+C22 872000000 91500000052h TACS ETACS Downlink 917
Select Measurement Mode – Control Byte #3 (03h)Description: Sets the measurement mode of the Site Master. The response byte will not be sent until the
Set Site Master VNA Marker – Control Byte #5 (05h)Description: Sets an individual marker position and status in the current VNA measurement mode. See
Notes:Return Loss & Cable Loss:Limit should be sent as ( dB * 1000 )Maximum value sent is 60000 which represents 60.00 dBMinimum value sent is 0 w
Set Time/Date – Control Byte #8 (08h)Description: Sets the current time and date.This Time/Date is stamped into all stored sweeps (for users’ referenc
Bytes to Follow: 1 byte1) Serial Port Echo Status00h = Off01h=OnSite Master Returns: 1 byte1) 255 (FFh) Operation Complete Byte224 (E0h) Parameter Err
Sequence Site Master Calibration – Control Byte #13 (0Dh)Description: Initiates a calibration step. The Site Master must be calibrated to give accurat
WARRANTYThe 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
Store Sweep Trace – Control Byte #16 (10h)Description: Saves current trace to the next available memory location. Trace name can be set using control
63) Stop Frequency64) Stop Frequency (lowest byte)65) Minimum Frequency Step Size (highest byte)66) Minimum Frequency Step Size67) Minimum Frequency S
164) Start Distance165) Start Distance166) Start Distance (lowest byte)167) Stop Distance (highest byte)168) Stop Distance169) Stop Distance170) Stop
bit 7 : Unit of Measurement (1b = Metric, 0b = English)194) Status Byte 4:(LSB) bit0-1:DTFWindowing Modebit: 1 0||0 0 - Rectangular (No Windowing)0 1
77) Ref Level18(highest byte)78) Ref Level79) Ref Level80) Ref Level (lowest byte)81) Scale per div19(highest byte)82) Scale per div83) Scale per div8
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 pow
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
Bytes to Follow: 1 byte1) Location to save system setup parameters:0 – 10 for SWR Mode, Return Loss Mode, Cable Loss Mode and DTF Mode0 – 5 for Spectr
3) Site Master Mode Data Points (lower byte)4) Start Frequency (Frequency in Hz) (highest byte)5) Start Frequency6) Start Frequency7) Start Frequency
106) Start Distance (highest byte)36107) Start Distance108) Start Distance109) Start Distance (lowest byte)110) Stop Distance (highest byte)111) Stop
Table of ContentsProgramming Overview . . . . . . . . . . . . . . . . . . . . . . . . . ...1Control Byte Summary. . . . . . . . . . . . . . .
152) Spectrum Analyzer Minimum Frequency Step Size (highest byte)153) Spectrum Analyzer Minimum Frequency Step Size154) Spectrum Analyzer Minimum Freq
340) RBW Setting (highest byte)47341) RBW Setting342) RBW Setting343) RBW Setting (lowest byte)344) VBW Setting (highest byte)48345) VBW Setting346) V
bits6-7:NotUsed249) Status Byte 4: (0b = Off, 1b = On)(LSB) bit 0 : Not Usedbit 1 : Spectrum Analyzer Mode Marker 2 Delta On/Offbit 2 : Spectrum Analy
bit 5 : SPA Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW53bit 6 : SPA Multiple Limit Upper Segment 2 Status On/Offbit 7 : SPA Multiple Limit
bit 5: Channel Power On/Offbit 6: Adjacent Channel Power On/Offbit 7: Not Used398) Printer Type55399) Current Language(0 = English, 1 = French, 2 = Ge
Notes:Battery Voltage in 1/10th of a Volt (e.g. 124 = 12.4 Volts)Temperature in 1/10th of degree Celsius (e.g., 362 = 36.2°C) or degree Fahrenheit (e.
Upload SPA Sweep Trace – Control Byte #26 (1Ah)NOTE: This command exists for backward compatibility with the S33xC models. Features new to theS33xD mo
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 by
262) Attenuation263) Attenuation264) Attenuation (lowest byte)265-280) Antenna Name (16 bytes in ASCII)281) Status Byte 1: (0b = Off, 1b = On)(LSB) bi
288) Reference Level Offset68(highest byte)289) Reference Level Offset290) Reference Level Offset291) Reference Level Offset (lowest byte)292-321) Not
Upload Sweep Trace – Control Byte #36 (24h) ...62Get Options – Control Byte #37 (25h) ...71
48) Stop Frequency (highest byte)49) Stop Frequency50) Stop Frequency51) Stop Frequency (lowest byte)52) Minimum Frequency Step Size (highest byte)53)
150) Start Distance (highest byte)76151) Start Distance152) Start Distance153) Start Distance (lowest byte)154) Stop Distance (highest byte)155) Stop
bit 5 : Cal On/Offbit 6 : Limit Type ( 0b = Single; 1b = Multiple)bit 7 : Unit of measurement (1b = Metric, 0b = English)181) Status Byte 4:(LSB) bit0
1) Number of Following Bytes (higher byte)2) Number of Following Bytes (lower byte)3) Measurement Mode834) Printer Type845) Current Language(00h = Eng
56) Site Master VNA Single Limit (highest byte)8957) Site Master VNA Single Limit58) Site Master VNA Single Limit59) Site Master VNA Single Limit (low
156) Cable Loss157) Cable Loss (lowest byte)158) Average Cable Loss95(highest byte)159) Average Cable Loss160) Average Cable Loss161) Average Cable Lo
bit 7 : Not Used168) Status Byte 7: (0b = Off, 1b = On)(LSB) bits 0-1: Not Usedbit 2: DIST-RL Multiple Limit Segment 1 Status On/Offbit 3: DIST-RL Mul
45) Spectrum Analyzer Minimum Frequency Step Size46) Spectrum Analyzer Minimum Frequency Step Size47) Spectrum Analyzer Minimum Frequency Step Size (l
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 f
bit 4 : SPA Multiple Limit Upper Segment 1 Status On/Offbit 5 : SPA Multiple Limit Upper Segment 1 Beep Level ABOVE/BELOW111bit 6 : SPA Multiple Limit
Set Spectrum Analyzer Marker to Peak – Control Byte #109 (6Dh) ...86Set Spectrum Analyzer Marker to Center – Control Byte #110 (6Eh)
286) Trigger Type117287) Interference Analysis Frequency118(highest byte)288) Interference Analysis Frequency289) Interference Analysis Frequency290)
321) Frequency Scale Factor124(higher byte)322) Frequency Scale Factor (lower byte)323) Frequency Range Minimum125(highest byte)324) Frequency Range M
51) Power Meter Relative52) Power Meter Relative53) Power Meter Relative (lowest byte)54) Power Meter Status (00h = Off, 01h = On)55) Power Meter Unit
137) T1 1stUser Defined Loop Up (lower byte)138) T1 2ndUser Defined Loop Up (higher byte)139) T1 2ndUser Defined Loop Up (lower byte)140) T1 1stUser D
141) E1 1stUser Defined Loop Down (lowest byte)142) E1 2ndUser Defined Loop Down (highest byte)143) E1 2ndUser Defined Loop Down (lowest byte)144) E1
Select DTF Windowing – Control Byte #31 (1Fh)Description: Select DTF Windowing Methods.DTF windowing allows you to make a trade off between side lobe
3) Current Instrument Date Format1434) Not Used5-11) Model Number (7 bytes in ASCII)12-15) Software Version (4 bytes ASCII)16) Measurement Mode14417-2
89) Single Limit149(highest byte)90) Single Limit91) Single Limit92) Single Limit (lowest byte)93) Multiple Limit Segment # (1)94) Multiple Limit Segm
189) Cable Loss190) Cable Loss (lowest byte)191) Average Cable Loss155(highest byte)192) Average Cable Loss193) Average Cable Loss194) Average Cable L
2. gamma3. gamma4. gamma (lowest byte)5. phase158(highest byte)6. phase7. phase8. phase (lowest byte)Notes:return loss = –20* (log(gamma) / log(10))VS
Set T1/E1 Receive Input Configuration Options - Control Word (A013h) (Option 50 only) ...101Set T1/E1 Measurement Duration - Control Word (A014h)
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) Freq
292) Status Byte 1: ( 0b = Off , 1b = On)(LSB) bit 0 : Marker 1 On/Offbit 1 : Marker 2 On/Offbit 2 : Marker 3 On/Offbit 3 : Marker 4 On/Offbit 4 : Mar
bit 7: Not Used299) Reference Level Offset173(highest byte)300) Reference Level Offset301) Reference Level Offset302) Reference Level Offset (lowest b
335) Frequency Scale Factor182(higher byte)336) Frequency Scale Factor (lower byte)337) Frequency Range Minimum183(highest byte)338) Frequency Range M
1. dBm194(highest byte)2. dBm3. dBm4. dBm (lowest byte)For Power Meter Mode (Option 29):57) Power Meter Mode (00h = Off, 01h = On)58) Power Meter Unit
95) Channel Selection (lower byte)96) Frequency Scale Factor201(higher byte)97) Frequency Scale Factor (lower byte)98) Frequency Range Minimum202(high
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:
656) Vpp or dBdsx209(higher byte)657) Vpp or dBdsx (lower byte)658) T1 or E1 Receive Frequency (in Hz)210(highest byte)659) T1 or E1 Receive Frequency
1) 255 (FFh) Operation Complete Byte224 (E0h) Parameter Error: Not enough bytes transferred, “B” trace requested to be used in calculationsor displaye
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) Freq
Programming OverviewNOTE: This programming manual is written exclusively for Anritsu Site Master Models S331D andS332D. For information on firmware up
170) Relative Propagation Velocity (highest byte)220171) Relative Propagation Velocity172) Relative Propagation Velocity173) Relative Propagation Velo
188) VNA Signal Standard (lower byte)189-314) Not Used315-1354) Sweep Data (130 points * 8 bytes/point= 1040 bytes)315-2386) (259 points * 8 bytes/poi
66) Scale per div67) Scale per div (lowest byte)68) Marker 1232(higher byte)69) Marker 1 (lower byte)70) Marker 2 (higher byte)71) Marker 2 (lower byt
254) OCC BW dBc (0-120)255) Attenuation238(highest byte)256) Attenuation257) Attenuation258) Attenuation (lowest byte)259-274) Antenna Name (16 bytes
bit 6 : Multiple Limit Lower Segment 5 Status On/Offbit 7 : Multiple Limit Lower Segment 5 Beep Level ABOVE/BELOW281) Status Byte 7(LSB) bits 0-6: Num
316) Impedance Loss247(higher byte)317) Impedance Loss (lower byte)318) Frequency Scale Factor248(higher byte)319) Frequency Scale Factor (lower byte)
3. dBm4. dBm (lowest byte)For T1/E1 Modes (Option 50):44) Receive Input (00h: Terminate, 01h: Bridged, 02h: Monitor)45) Framing Mode25946) Line Coding
86) E Bit Error Count (E1 Only)87) E Bit Error Count (E1 Only)88) E Bit Error Count (E1 Only) (lowest byte)89) Errored Seconds (highest byte)90) Error
Option 6: “6/”Option 10: “10/”Option 21: “21/”Option 29: “29/”Option 50: “50/”If no options are installed: “None”Query Power Level – Control Byte #39
Power Meter Relative Mode On/Off – Control Byte #41 (29h) (Option 29 only)Description: Enable or disable Power Meter Relative Mode.Bytes to Follow: 1
Exiting Remote ModeTo exit remote mode, send the Exit Remote Control byte #255 (FFh) to the Site Master. The Site Master sends a responsebyte of 255 (
1) 255 (FFh) Operation Complete Byte224 (E0h) Parameter Error: Invalid state238 (EEh) Time-out ErrorPower Meter Center Freq and Span Setup – Control B
Site Master Returns: 17 bytes1-2) Battery Status flags ( Refer to Smart Battery Data Spec 5.1.2.1)3-4) State of Charge (unsigned integer 0 to 100(%)Fu
224 (E0h) Parameter Error: Invalid trigger level238 (EEh) Time-out ErrorAutomatically Save Runtime Setup – Control Byte #64 (40h)Description: Automati
1-2) Model # (unsigned integer, 14h for Site Master S331D, 15h for Site Master S332D)3-9) Extended Model # (7 bytes in ASCII)10-13) Software Version (
Write Antenna – Control Byte #82 (52h)Description: Receives an antenna to the Site Master via the serial port.An antenna is described with an index in
5) Antenna Factor (higher byte)6) Antenna Factor (lower byte)Set Field Strength Measurement – Control Byte #84 (54h)Description: Sets the state of the
Read Channel Power – Control Byte #86 (56h)Description: Read the current channel power or the channel power of a stored trace.Send a 0 (zero) followin
Send a 0 (zero) following the command to read the current adjacent channel power measurement (i.e. the one that is updatedas the unit is sweeping).Sen
9-12) Low Frequency OCC BW13-16) High Frequency OCC BWMeasure OCC BW dB Down – Control Byte #97 (61h)Description: Measure OCC BW with dB down method.I
Set Spectrum Analyzer Start/Stop Frequency – Control Byte #99 (63h)Description: Sets the spectrum analyzer start and stop frequencies.If Option 6 is i
Control Byte SummaryControl Byte#Name DescriptionWatchdogTimer1 (01h) Setup System Sets system status flags and switches Yes2 (02h) Set VNA Frequency
3) Ref Level4) Ref Level (lowest byte)5) dB/div (highest byte)6) dB/div7) dB/div8) dB/div (lowest byte)Site Master Returns: 1 byte1) 255 (FFh) Operati
Set Spectrum Analyzer Peak Hold – Control Byte #105 (69h)Description: Sets the max hold and min hold settings on the Spectrum Analyzer.Bytes to Follow
1) 255 (FFh) Operation Complete Byte224 (E0h) Parameter Error: Invalid VBW Index238 (EEh) Time Out ErrorSet Spectrum Analyzer Sweep Mode – Control Byt
Set Spectrum Analyzer Attenuation – Control Byte #111 (6Fh)NOTE: This command exists for backward compatibility with the S33xC models. Features new to
Site Master Returns: 1 byte1) 255 (FFh) Operation Complete Byte224 (E0h) Parameter Error: Invalid limit segment, status or value238 (EEh) Time Out Err
16) Limit Value End X (lowest byte)17) Limit Value End Y273(highest byte)18) Limit Value End Y19) Limit Value End Y20) Limit Value End Y (lowest byte)
Read Marker Value – Control Byte #117 (75h)Description: Returns the frequency location of the specified marker, and the value at that location.If Opti
Read InstaCal Module ASCII Serial Number – Control Byte #124 (7Ch)Description: Returns the InstaCal Module serial number in ASCII.Bytes to Follow: 1 b
Check Spectrum Analyzer External Reference – Control Byte #134 (86h)Description: Checks to see if Spectrum Analyzer external reference is present. If
1) 255 (FFh) Operation Complete Byte224 (E0h) Parameter Error238 (EEh) Time-out ErrorSet Spectrum Analyzer Resolution Bandwidth – Control Byte #141 (8
Comentários a estes Manuais