Programming Guide - Commands And Responses; Table 5: Data Reporting; Table 7: View Configuration Settings; Table 8: Calibration Commands - Thermo Scientific Scientific AquaSensors DataStick User Manual

Table of Contents

Advertisement

6 Programming Guide - Commands and Responses

These commands can be used to program any host computer. If programming is not desirable, Thermo Fisher Scientific offers a
communications software package that can be used with most PC, PLD and PLC systems. The following ASCII text strings can be used
to exercise functions and features of the DataStick measurement system. If an RS-232 ASCII communications adapter is installed, any
terminal program can be used to communicate with the DataStick by typing commands and reading the replies.
The DataStick responds to commands from a host computer system except when a CALL command has been initiated to request periodic
data. These include CALL, CSNSR and CTEMP commands. The ESC key halts all CALL commands. Commands that are recognized and
accepted return an "OK". Commands that are not return accepted return an "ERROR".
The form of any command is:
KEYWORD P0 P1 P2....Pn [CR]; where the KEYWORD is the command identifier, the space character is the parameter separator,
Pn is a command parameter, and [CR] is carriage return, the command terminator. All commands are sent in an ASCII format.
Communication setups vary depending on the protocol chosen.
RS-232 ASCII: 9600 Baud, 8 data bits, no parity, 1 stop bit.
RS-232 DF1: Selectable baud rate and parity using a Thermo Scientific AquaSensors software utility.
RS-485 MODBUS: Station address, baud rate, parity are selectable using a Thermo Scientific AquaSensors
software utility.
Ethernet, USB, DeviceNet, Profibus do not require communications setup.
Commands and responses are organized in the following tables:

Table 5: Data Reporting

Table 6: Changing Measurement and Configuration Settings

Table 7: View Configuration Settings

Table 8: Calibration Commands

Table 9: Diagnostic and Systems Information
Table 10: Simulated Temperature Control
Please note that commands are common for each sensor type but that response codes may vary depending on the sensor connected.
A 1-point sample calibration command will be the same for dissolved oxygen as it is for toroidal conductivity. This simplifies ladder logic
coding for applications that presume the possibility of changes in sensor type.
Table 5: Data Reporting
Get Measurement
Using the Command
Data for ...
Text...
Sensor
GSNSR
(Main Parameter)
Temperature
GTEMP
Main parameter and
temperature
CALL X
Thermo Scientific AquaSensors™ DataStick™ Measurement System User Guide
And view response
from the DataStick...
Number with decimal in selected
units of measure.
Number with decimal in selected
units of measure.
Sensor and temperature readings
every X seconds in selected units
of measure.
Comments
Obtains current sensor data at a rate defined
by the host computer (Polled).
Units of measure are configured using the
SSUNITS command.
Obtains current temperature data at a rate
defined by the host computer (Polled).
Units of measure are configured using the
STUNITS command.
Obtains current sensor and temperature data
every X seconds. Example: CALL 5 would
return new values for the main parameter
and temperature every five seconds. Reporting
is halted with the ESC key.
99

Advertisement

Table of Contents
loading

Table of Contents