
34
Note:
Some of the commands are specific to the type of sensor being used, for example some commands work only
for energy mode; other commands work only with sensors which have a continuous calibration curve (all photodiodes
and some thermopiles) rather than discrete calibration points (some thermos). Some commands work only with
thermopile or only with photodiode sensors. Details are given with each command.
Disclaimer:
Every effort has been made to list all the parameters, responses and error messages as accurately as
possible for every command. If there are any discrepancies between details listed in this document and between the
actual behavior of the EA-1 Device, the user should pay attention to the actual behavior. Any errors found in this
document should be brought the notice of Ophir R&D staff at this email:
General Commands:
Test communications ("Ping" command, $HP):
This command does nothing to the device but returns a reply “*”. It can be used as a “ping” command to check
communications with the device.
Example:
$HP[CR] -> *[CR] [LF]
Version ($VE):
Returns the firmware version of the device
Example:
$VE -> *EA1.06 (when device is running in regular application mode)
$VE -> *ED1.06 (indicates device is running in special “downloader” or boot mode, used for upgrading firmware)
Reset ($RE):
Resets the device firmware and forces a disconnection of the communications channel. Using this command is
equivalent to powering the device off and on again. The device acknowledges by replying “*” before performing the
reset.
Note:
When using the USB Virtual COM Port connection, it is recommended the channel be closed in the support
software immediately after sending this command, otherwise a physical disconnect and reconnect of the cable may
be necessary to restore communications after the device is reset.
Mains Setting ($MA):
$MA <1 | 2>[CR] -> * 1 50Hz 60Hz[CR][LF] {Sets the internal measurement period used for sampling data to either
20ms for 50Hz regions, or 16.666ms for 60Hz regions. In some cases this can reduce noise. Sending the command
with no parameter queries the present setting; sending parameter "1" sets to 50Hz; sending parameter "2" sets 60Hz
setting. To save the new setting as the default device startup setting, send the $IC command.
Note:
For this particular command, there must be exactly one space between the “MA” and the parameter, for
example “MA 1” (with one space) and not “MA1”(no spaces) or “MA 1” with two or more spaces.
Note:
This setting relates to the device and not the attached sensor.
Instrument Configuration ($IC):
$IC[CR] -> *[CR][LF] - this command saves the present device configuration in local EEPROM as the default startup
setting (for example, the mains setting, see $MA)
Instrument Information ($ii):
$ii[CR] -> * ETHA <S/N of device> ETHERNET-ADAPTER[CR][LF]
Returns information about the EA-1 device: a 4 letter code ETHA, the S/N of the device, and the device description
"
ETHERNET-ADAPTER”. Can be used primarily to query the individual S/N of the EA-1 device itself (as opposed to the
S/N of the sensor that is attached to it).
Example:
$ii-> * ETHA 350002 ETHERNET-ADAPTER[CR][LF]
Note:
The command will work with upper or lower case letters. Using lower case in this document for clarity.