Programming Overview
NOTE: This programming manual is written exclusively for Anritsu Site Master Models S331D and S332D. For information on firmware upgrades, contact your local Anritsu Service Center. Commands listed in this manual are not all
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
Once in remote mode, a series of control bytes and associated data are sent to the Site Master to perform various functions and activities. The serial port supports virtually all features accessible from the keypad with the exception of the printer. The printer requires connection to the same
To complete the communication session, send the control byte to exit remote mode and the Site Master will resume normal operations. You may also exit the remote mode by pressing the ESCAPE/CLEAR key on the Site Master front panel.
Interface Cable Installation
The Site Master is a
Serial Communication Parameters
The Site Master begins communication at 9600 bps when first powered on. It uses no parity bits, 8 data bits, and 1 stop bit
Communications Error Checking
Since there is no hardware handshaking, byte level error handling must be done by the controlling program. Use the expected number of response bytes (listed in the control byte description section of this manual) when waiting for feedback from the Site Master. For data streams going to the Site Master, the “watch dog timer” protects against interrupted transmissions by aborting a control byte sequence if the
Parameter Validation
The Site Master validates input parameters for each control byte sequence. If the input parameters are out of range or invalid, the Site Master notifies the computer by sending Parameter Error Byte #224 (E0h). The Site Master discards the received data and waits for the next control byte.
Entering Remote Mode
Send the Enter Remote Mode Byte #69 (45h) to the Site Master to enter remote mode at the end of the current sweep. Send the Enter Remote Mode Immediately byte #70 (46h) to enter remote mode in the middle of a sweep.
The Site Master serial port buffer is one byte wide. No internal buffer exists, so waiting for the response from the unit is es- sential. If the Site Master is not in remote mode, sending a second byte overwrites the original byte commanding it to enter remote mode. If control byte #69 is sent, the Site Master will enter remote mode at the end of the current sweep. If control byte #70 is sent, the unit will enter remote mode as soon as it receives the byte. This means that data stored for the current sweep may be incomplete. Once a response string is received from the Site Master, the unit is ready to accept additional con- trol bytes.
Site Master PM | 1 |