Chapter 4 — Remote Operation

4-1 Introduction

Once connected to a PC using a USB cable, the MA24106A shows up as an RS-232 Serial COM port on the PC. You can check the COM port number from the Tools drop-down menu or by using the Windows control panel. The COM port number and following settings are needed in order to control the sensor remotely:

Baud Rate: 115200

Data Bits: 8

Parity: None

Stop Bits: 1

When the power sensor is connected to a PC using a USB cable, it will be configured in idle mode. While in idle mode, the sensor is waiting for a START command from the host application. The application developer must send the START command to put the sensor in measurement mode. Once the sensor is in measurement mode, various commands can be sent to communicate with the power sensor. When the application is being closed, the STOP command should be sent to put sensor in idle mode.

Note: In Low Aperture Time mode, the sensor takes about 70 milliseconds to respond to all commands with the exception of the ZERO command, which takes about 19 seconds.

In High Aperture Time mode, the sensor takes about 700 milliseconds to respond to all commands with the exception of the ZERO command, which takes about 19 seconds.

4-2 Remote Operation Commands Summary

The following is a list of commands available to control the MA24106A:

Table 4-1.Remote Operation Commands

Command

Description

 

 

START

Puts the power sensor in measurement mode

 

 

STOP

Stops the measurement mode and puts the sensor in idle mode

 

 

IDN?

Gets identification information from the sensor

 

 

PWR?

Gets the power reading from the power sensor.

 

 

NPWR?

Gets a new power reading from the sensor

 

 

FREQ?

Gets the current cal factor frequency value from the sensor

 

 

FREQ

Sets the cal factor frequency value

 

 

ZERO

Zeros the power sensor

 

 

TMP?

Gets the current temperature from the sensor

 

 

STATUS?

Gets the error status byte from the sensor

 

 

HAT

Sets High Aperture Time mode

 

 

LAT

Sets Low Aperture Time mode

 

 

MA24106A UG

4-1

Page 37
Image 37
Anritsu MA24106A, 0701012 manual Remote Operation Commands Summary, Command Description