
MA24104A UG
PN: 10585-00016, Rev. A
4-1
Chapter 4 — Remote Operation
4-1
Introduction
Once connected to a PC using a USB cable, the MA24104A 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.
4-2
Remote Operation Commands Summary
The following is a list of commands available to control the MA24104A:
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.
Table 4-1.
Remote Operation Commands
Command Description
Puts the power sensor in measurement mode
Stops the measurement mode and puts the sensor in idle mode
Gets identification information from the sensor
Gets the power reading from the power sensor
Gets a new power reading from the sensor
Gets the current cal factor frequency value from the sensor
Sets the cal factor frequency value
Zeros the power sensor
Gets the current temperature from the sensor
Gets the error status byte from the sensor
Sets High Aperture Time mode
Sets Low Aperture Time mode
Sets auto shutdown mode on
Sets auto shutdown mode off