Text preview for : ANRITSU S113B_252C S114B_252C S331B_252C S332B Programming.pdf part of Anritsu ANRITSU S113B 252C S114B 252C S331B 252C S332B Programming Anritsu ANRITSU S113B_252C S114B_252C S331B_252C S332B Programming.pdf
Back to : ANRITSU S113B_252C S114B_ | Home
Site Master TM
S113B, S114B
S331B, S332B
Antenna, Cable and
Spectrum Analyzer
Programming Manual
Hand-Held Tester For Antennas, Transmission
Lines And Other RF Components
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
MS-DOS, Windows, and Windows for Workgroups are registered trademarks
of the Microsoft Corporation.
Site Master and Cable Mate are trademarks 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.
Index
How To Use This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Programming Manual Organization .................... 1
Programming Overview
General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Cabling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Serial Communication Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Communications Error Checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Parameter Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Entering Remote Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Exiting Remote Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Lifetime of Changes to Site Master Operating Parameters . . . . . . . . . . 3
Write Cycle Limitation of EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Functional Description
Initialize
Enter remote mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Enter remote mode immediately . . . . . . . . . . . . . . . . . . . . . . . . 4
Configure
System
Fixed CW mode control . . . . . . . . . . . . . . . . . . . . . . . . 4
LCD backlight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Watch dog timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Serial port echo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Single sweep. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Printer type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Trace Math . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Automatically save runtime setup. . . . . . . . . . . . . . . . 4
Measurement
Measurement mode select. . . . . . . . . . . . . . . . . . . . . . 5
Measurement unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Calibration on/off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Power Monitor
Get Power levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Power Monitor Units of measure. . . . . . . . . . . . . . . . . 5
Relative Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Offset Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Zero Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Frequency
Start frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Stop frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Data points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
March 2000 10580-00035
Copyright 1999, Anritsu Co. Revision: C
Distance
Start distance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Stop distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Relative propagation velocity . . . . . . . . . . . . . . . . . . . 5
Cable loss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
DTF Windowing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Display
Display mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Scale start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Scale stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Markers
On/Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Delta Status On/Off . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Limits
On/Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Beep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Utility
Time set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Date set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Reference number set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Action
Trigger sweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Save system setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Recall system setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Save sweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Query trace names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Delete sweep trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Data
Recall sweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Calibration
Calibrate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Configure Spectrum Analyzer
Set Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Set Center Frequency and Span . . . . . . . . . . . . . . . . . . . . . . . . . 7
Set Scale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Set Markers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Set Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Measure OCC BW % of Power . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Measure OCC BW dB Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Set Max Hold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Set Resolution BW Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . 7
ii S113B, S114B, S331B, S332B PM
Set Video BW Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Set Sweep Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Set Marker to Peak . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Set Marker to Center. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Configure Custom Cable Table
Write to Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Read from Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Status
Query system status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Self-test Trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Read failure counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Clear failure counters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Close
Exit remote mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Control Byte Descriptions
Control byte summary ........................................9
Control byte 1 Setup system . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Control byte 2 Set Site Master frequency . . . . . . . . . . . . . . . . 12
Control byte 3 Select measurement mode . . . . . . . . . . . . . . . . 13
Control byte 4 Set Site Master scale . . . . . . . . . . . . . . . . . . . . 13
Control byte 5 Set Site Master marker . . . . . . . . . . . . . . . . . . 14
Control byte 6 Set Site Master limit. . . . . . . . . . . . . . . . . . . . . 15
Control byte 7 Set DTF parameters . . . . . . . . . . . . . . . . . . . . . 15
Control byte 8 Set time/date . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Control byte 9 Set reference number . . . . . . . . . . . . . . . . . . . . 17
Control byte 10 Serial port echo on/off . . . . . . . . . . . . . . . . . . . . 17
Control byte 11 Single sweep mode on/off . . . . . . . . . . . . . . . . . 17
Control byte 12 Watch dog timer on/off . . . . . . . . . . . . . . . . . . . 18
Control byte 13 Sequence Site Master calibration . . . . . . . . . . 18
Control byte 14 Set Site Master data points . . . . . . . . . . . . . . . 19
Control byte 16 Store sweep trace . . . . . . . . . . . . . . . . . . . . . . . 19
Control byte 17 Recall sweep trace. . . . . . . . . . . . . . . . . . . . . . . 19
Control byte 18 Save system setup. . . . . . . . . . . . . . . . . . . . . . . 24
Control byte 19 Recall system setup . . . . . . . . . . . . . . . . . . . . . 24
Control byte 20 Query system status . . . . . . . . . . . . . . . . . . . . . 24
Control byte 21 Trigger self-test . . . . . . . . . . . . . . . . . . . . . . . . . 28
Control byte 22 Read fail counters . . . . . . . . . . . . . . . . . . . . . . . 29
Control byte 23 Clear fail counters. . . . . . . . . . . . . . . . . . . . . . . 29
Control byte 24 Query trace names . . . . . . . . . . . . . . . . . . . . . . . 29
Control byte 25 Delete sweep trace . . . . . . . . . . . . . . . . . . . . . . . 30
Control byte 30 Select printer type . . . . . . . . . . . . . . . . . . . . . . . 30
Control byte 31 Select DTF windowing . . . . . . . . . . . . . . . . . . . . 30
Control byte 32 Set trace math . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Control byte 39 Query power level . . . . . . . . . . . . . . . . . . . . . . . 31
Control byte 40 Set power monitor unit . . . . . . . . . . . . . . . . . . . 32
S113B, S114B, S331B, S332B PM iii
Control byte 41 Relative mode on/off. . . . . . . . . . . . . . . . . . . . . . 32
Control byte 42 Offset mode on/off . . . . . . . . . . . . . . . . . . . . . . . 32
Control byte 43 Zero mode on/off . . . . . . . . . . . . . . . . . . . . . . . . . 33
Control byte 48 Trigger sweep . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Control byte 50 Check battery status . . . . . . . . . . . . . . . . . . . . . 33
Control byte 64 Automatically save runtime setup . . . . . . . . . . 34
Control byte 69 Enter remote mode . . . . . . . . . . . . . . . . . . . . . . 34
Control byte 70 Enter remote mode immediately. . . . . . . . . . . . 34
Control byte 80 Write custom cable . . . . . . . . . . . . . . . . . . . . . . . 35
Control byte 81 Recall custom cable . . . . . . . . . . . . . . . . . . . . . . 35
Control byte 96 Measure OCC BW % of Power. . . . . . . . . . . . . . 36
Control byte 97 Measure OCC BW dB Down . . . . . . . . . . . . . . . 36
Control byte 99 Set Spectrum Analyzer Frequency . . . . . . . . . . 36
Control byte 100 Set Spectrum Analyzer Center Freq/Span . . . . 37
Control byte 101 Set Spectrum Analyzer Scale . . . . . . . . . . . . . . 37
Control byte 102 Set Spectrum Analyzer Marker . . . . . . . . . . . . 38
Control byte 103 Set Spectrum Analyzer Limit . . . . . . . . . . . . . . 38
Control byte 105 Set Spectrum Analyzer Max Hold. . . . . . . . . . . 39
Control byte 106 Set Spectrum Analyzer Resolution BW Freq . . 39
Control byte 107 Set Spectrum Analyzer Video BW Freq . . . . . . 39
Control byte 108 Set Spectrum Analyzer Sweep Mode . . . . . . . . 40
Control byte 109 Set SpectrumAnalyzer Marker to Peak . . . . . . 40
Control byte 110 Set Spectrum Analyzer Marker to Center . . . . 40
Control byte 255 Exit remote mode . . . . . . . . . . . . . . . . . . . . . . . 41
Parameter definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
iv S113B, S114B, S331B, S332B PM
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 Manual Organization
Programming Overview
This section contains general information about programming the Site Master. It is an introduction and
helps you get started.
Functional Descriptions
This section includes a complete list of tasks you can control via the serial port. These are high level descrip-
tions. Each task refers you to the appropriate individual control byte for details.
Control Byte Descriptions
This section contains detailed explanations for each of the control bytes.
S113B, S114B, S331B, S332B PM 1
Programming Overview
This programming manual is written exclusively for the Anritsu Site Master Models S113B, S114B, S331B,
and S332B with firmware Version 1.42 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 dif-
fers 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 can send control bytes and associated data to the Site Master via the serial port.
These control byte sequences command the Site Master to perform various functions and activities. The se-
rial 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 nor-
mal operations. You may also exit the remote mode by using the escape 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.
Serial Communication Parameters
The Site Master communicates at a baud rate of 9600. It uses no parity bits, 8 data bits, and 1 stop bit
(N-8-1). No hardware handshaking is used.
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 Mas-
ter, 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.
2 S113B, S114B, S331B, S332B PM
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 is essential. If the
Site Master is not in remote, sending a second byte overwrites the original byte commanding it to go into re-
mote. 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 it receives the byte. Note that this means the data stored for the current
sweep may be incomplete.
Once you receive the response string from Site Master, you're 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.
Lifetime of Changes to Site Master Operating Parameters
System parameters changed during remote mode remain changed for normal operation. They are not auto-
matically 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 ten saved setups. See control
byte #18 (12h) for details.
Write Cycle Limitation of EEPROM
The EEPROM, used to store setups, has a guaranteed lifetime of at least 100,000 write cycles and an unlim-
ited 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.
S113B, S114B, S331B, S332B PM 3
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 remote mode immediately - see control byte #70 (46h)
CONFIGURE SYSTEM
Fixed CW mode control - see control byte #1 (01h)
Site Master "dithers" the CW signal for improved immunity to interfering signals. Turning on the
fixed CW signal bit "cleans up" the output spectrum by disabling the dithering. The drawback is
decreased immunity to interfering signals.
LCD backlight -see control byte #1 (01h)
LCD backlight helps in adverse lighting conditions.
Watch dog timer - see control byte #12 (0Ch)
Used to guard against interrupted data transfers to the Site Master.
Serial port echo - see control byte #10 (0Ah)
Use this to synchronize the Site Master sweep and computer requests for current trace data. This
feature is especially useful for synchronizing distance to fault sweeps.
Site Master goes into single sweep mode. It sends the sweep complete byte #192 (C0h) after the com-
pletion of each sweep. You must send the sweep trigger byte #48(30h) for the Site Master to perform
another sweep. Retrieve the trace data using control byte #17 (11h).
Single sweep - see control byte #11 (0Bh)
This puts the Site Master into single sweep mode. Normally the Site Master sweeps continually.
Once in the single sweep mode, send the sweep trigger byte #48 (30h) to cause Site Master to per-
form another sweep.
Printer type - see control byte #30 (1Eh)
Printer type is selectable.
Trace Math - see control byte #32 (20h)
Automatically Save Runtime Setup - see control byte #64 (40h)
4 S113B, S114B, S331B, S332B PM
CONFIGURE MEASUREMENT
Measurement mode select - see control byte #3 (03h)
Measurement mode selectable as Site Master in frequency or distance domain, power monitor mode,
or spectrum analyzer 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. It should always be used to ensure accurate readings.
CONFIGURE POWER MONITOR
The power monitor is available as an option.
Get Power levels - see control byte #39 (27h)
Querying the Site Master gives the raw and corrected power levels plus information about the config-
uration.
Power Monitor Units of measure - see control byte #40 (28h)
Relative Mode - see control byte #41 (29h)
Offset Mode - see control byte #42 (2Ah)
Zero Mode - see control byte #43 (2Bh)
CONFIGURE FREQUENCY
Start frequency - see control byte #2 (02h)
Stop frequency - see control byte #2 (02h)
Data points - see control byte #14 (0Eh)
CONFIGURE DISTANCE
Start distance - see control byte #7 (07h)
Stop distance - see control byte #7 (07h)
Relative propagation velocity - see control byte #7 (07h)
This affects the distance to fault calculatons.
Cable loss - see control byte #7 (07h)
This affects the measurement magnitude.
S113B, S114B, S331B, S332B PM 5
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.
Scale start - see control byte #4 (04h)
Scale stop - see control byte #4 (04h)
CONFIGURE MARKERS
Marker (on/off) - see control byte #5 (05h)
Marker Delta Status (on/off) - see control byte #5 (05h)
Marker value - see control byte #5 (05h)
CONFIGURE LIMITS
Limit (on/off) - see control byte #6 (06h)
Limit beep (on/off) - see control byte #6 (06h)
Limit value - see control byte #6 (06h)
UTILITY
ASCII text strings, which are stored with each sweep, help identify the stored traces. Use these control bytes
to modify the strings before storing the trace.
Time set - see control byte #8 (08h)
Date set - see control byte #8 (08h)
Reference number set - see control byte #9 (09h)
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)
6 S113B, S114B, S331B, S332B PM
Recall system setup - see control byte #19 (13h)
Save sweep - see control byte #16 (10h)
Query trace names - see control byte #24 (18h)
Delete sweep trace - see control byte #25 (19h)
DATA
Recall sweep - see control byte #17 (11h)
Use this control byte to obtain stored traces or the current measurement data from the Site Master.
All traces and modes use the same trace data format.
CALIBRATION
Calibrate - see control byte #13 (0Dh)
Computer sequencing of the open-short-load calibration is possible.
CONFIGURE SPECTRUM ANALYZER
Set Frequency - see control byte #99 (63h)
Set Center Frequency and Span - see control byte #100 (64h)
Set Scale - see control byte #101 (65h)
Set Markers - see control byte #102 (66h)
Set Limits - see control byte #103 (67h)
Measure OCC BW % of Power - see control byte #96 (60h)
Measure OCC BW dB Down - see control byte #99 (63h)
Set Max Hold - see control byte #105 (69h)
Set Resolution BW Frequency - see control byte #106 (6Ah)
Set Video BW Frequency - see control byte #107 (6Bh)
Set Sweep Mode - see control byte #108 (6Ch)
Set Marker to Peak - see control byte #109 (6Dh)
Set Marker to Center - see control byte #110 (6Eh)
S113B, S114B, S331B, S332B PM 7
CONFIGURE CUSTOM CABLE TABLE
Write to Table - see control byte #80 (50h)
Read from Table - see control byte #81 (51h)
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.
Self-test Trigger - see control byte #21 (15h)
Upon receiving this control byte the Site Master runs self-test. After completion of the self-test, the
Site Master sends the results via the serial port.
Read failure counters -see control byte #22 (16h)
In order to provide absolute confidence about the validity of a measurement, internal counters
monitor the analog integrator and phase lock loops for error conditions. If an error occurs, it is
logged. These counters perform the same function as the icons on the front panel.
Clear failure counters - see control byte #23 (17h)
Use this control byte to reset the failure counters.
CLOSE
Exit remote mode - see control byte #255 (FFh)
Ends communication with the Site Master. "Exiting remote mode" returns the Site Master to normal
operation.
8 S113B, S114B, S331B, S332B PM
Control Byte Summary
Control Byte Summary (1 of 3)
Watch-
Control
Name Description dog
Byte #
Timer
1 (01h) Setup system System status flags and switches Yes
2 (02h) Set frequency Sets Site Master frequency range Yes
3 (03h) Select measurement mode Measurement domain and measurement mode Yes
4 (04h) Set scale Sets Site Master scale values Yes
5 (05h) Set marker Set position and on/off status of a Site Master marker Yes
6 (06h) Set limit Set position and on/off status of a Site Master limit line Yes
7 (07h) Set DTF parameters Sets Distance to Fault parameters Yes
8 (08h) Set time/date Sets Time and date for a sweep trace Yes
9 (09h) Set reference number Sets reference number for a sweep trace Yes
10 (0Ah) Serial port echo On/Off Allows synchronization of the Site Master and request from computer Yes
for sweep trace
11 (0Bh) Single sweep On/Off Enable or disable the single sweep mode Yes
12 (0Ch) Watch-dog timer On/Off Enable or disable the watch-dog timer ---
13 (0Dh) Sequence Site Master Trigger a calibration step Yes
calibration
14 (0Eh) Set Site Master data points Sets number of measurement data points for Site Master mode Yes
16 (10h) Store sweep trace Save current trace data to EEPROM Yes
17 (11h) Recall sweep trace Site Master sends sweep data Yes
18 (12h) Save system setup Save system setup parameters to EEPROM Yes
19 (13h) Recall system setup Recall system setup parameters from EEPROM Yes
20 (14h) Query system status Get the current system settings ---
21 (15h) Trigger self-test Trigger a self test ---
22 (16h) Read fail counters Same as icons on front panel ---
23 (17h) Clear fail counters Reset the fail counters ---
24 (18h) Query trace names Returns list of all saved traces ---
25 (19h) Delete sweep trace Delete single or all stored sweep traces Yes
30 (1Eh) Select printer type Select printer type Yes
31 (1Fh) Select DTF Windowing Select DTF Windowing Methods Yes
32 (20h) Set Trace Math Select Trace Math operation ---
S113B, S114B, S331B, S332B PM 9
Control Byte Summary (2 of 3)
Watch-
Control
Name Description dog
Byte #
Timer
39 (27h) Query Power Level Return Power Level at Detector Port ---
40 (28h) Set Power Unit Set Power Monitor displaying unit Yes
41 (29h) Set Relative Mode Enable or disable Power Monitor Relative Mode Yes
42 (2Ah) Set Offset Mode Set/Reset Power Level offset Yes
43 (2Bh) Set Zero Mode Set/Reset Power Level zeroing mode Yes
48 (30h) Trigger sweep Starts the next sweep ---
50 (32h) Check Battery Status Return smart battery status ---
64 (40h) Auto Save Runtime Setup Automatically save the runtime setup when exiting remote mode ---
69 (45h) Enter remote mode Enters remote mode at the end of the sweep and returns model number ---
and firmware version
70 (46h) Enter remote mode Enters remote mode immediately and returns model number and firm- ---
immediately ware version
80 (50h) Write Custom Cable Input Custom Cable data to Site Master ---
81 (51h) Recall Custom Cable Recall Custom Cable data from Site Master ---
96 (60h) Measure OCC BW % of Measure OCC BW with % of Power method Yes
Power
97 (61h) Measure OCC BW dB Measure OCC BW with dB down method Yes
Down
99 (63h) Set Spectrum Analyzer Sets the Spectrum Analyzer frequency range Yes
Frequency
100 (64h) Set Spectrum Analyzer Sets the Spectrum Analyzer center frequency and frequency span Yes
Center Freq./Span
101 (65h) Set Spectrum Analyzer Sets the Spectrum Analyzer scale value Yes
Scale
102 (66h) Set Spectrum Analyzer Set position and on/off status of a Spectrum Analyzer marker Yes
Marker
103 (67h) Set Spectrum Analyzer Set position and on/off status of Spectrum Analyzer limit line Yes
Limit
105 (69h) Set Spectrum Analyzer Enable or disable the Spectrum Analyzer Max Hold Yes
Max Hold
106 (6Ah) Set Spectrum Analyzer Sets the Spectrum Analyzer resolution BW frequency Yes
Resolution Bandwidth Freq
107 (6Bh) Set Spectrum Analyzer Sets the Spectrum Analyzer video BW frequency Yes
Video Bandwidth Freq
10 S113B, S114B, S331B, S332B PM
Control Byte Summary (3 of 3)
Watch-
Control
Name Description dog
Byte #
Timer
108 (6Ch) Set Spectrum Analyzer Sets the Spectrum Analyzer sweep mode Yes
Sweep Mode
109 (6Dh) Set Spectrum Analyzer Sets specified marker to peak value of the sweep Yes
Marker to Peak
110 (6Eh) Set Spectrum Analyzer Sets the center frequency equal to the frequency of the specified Yes
Marker to Center marker
255 (FFh) Exit remote mode End serial communications ---
S113B, S114B, S331B, S332B PM 11
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. You
would mask in the LCD status with the data from response byte #41 and send this to the Site Master after
control byte #1.
See control byte #20 (14h) response byte 159 for current Site Master configuration. It is important to set the
Metric/English flag to the proper value before sending distance information.
Bytes to Follow: 1 byte
1) Status byte (bit data)
(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 : Cal On/Off
bit 5-7 : Currently Unused
Site Master Returns: 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Invalid Printer Selection or unsuccessful attempt to
turn calibration on.
238 (EEh) Time-out Error
Notes: Cal can be turned on ONLY if a complete calibration has been performed at the current start and
stop frequencies.
Bit Value: 0 = Off
1 = On
Set Site Master frequency - Control byte #2 (02h)
Description: Sets the Site Master frequency range.
See control byte #20 (14h) response bytes 4-11 for current Site Master configuration.
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)
12 S113B, S114B, S331B, S332B PM
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. 100.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. You must have a valid calibration (current
frequencies and calibration frequencies being the same) to switch to the Distance domain.
See control byte #20 (14h) response byte 1 (01h) for current Site Master domain.
Bytes to Follow: 1 byte
1) Measurement Mode
00h = RL Frequency
01h = SWR Frequency
02h = Cable Loss Frequency
10h = RL Distance
11h = SWR Distance
20h = Transmission Mode
30h = Spectrum Analyzer Mode
40h = Power Monitor Mode
Site Master Returns: 255 (FFh) Operation Complete Byte
224 (E0h) Parameter Error : Invalid domain or graph type or combination
238 (EEh) Time-out Error
Set Site Master scale - Control byte #4 (04h)
Description: Sets the Site Master graph boundaries.
The scale settings require knowing the graph type for proper configuration. For example, the scale start in
return loss is the top of the graph while scale start is the bottom of the graph for SWR. Think of the scale
start as being the smallest value on the graph.
See control byte #20 (14h) response bytes 12 to 19 for current Site Master scaling.
Bytes to Follow: 8 bytes
1) Scale Top (highest byte)
2) Scale Top
3) Scale Top
4) Scale Top (lowest byte)
5) Scale Bottom (highest byte)
6) Scale Bottom
7) Scale Bottom
8) Scale Bottom (lowest byte)
S113B, S114B, S331B, S332B PM 13
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
SWR: Scaling is in thousandths (of ratio)
Maximum value sent is 65535 which represents 65.53
Minimum value sent is 1000 which represents 1.00
Scale Start Value is the bottom of the graph
Scale Stop Value is the top of the graph
Gain/Insertion Scaling is in hundredths (of dB)
Loss: Maximum value sent is 22000 which represents