Agrowtek SXC Manuel d'installation - Page 6
Parcourez en ligne ou téléchargez le pdf Manuel d'installation pour {nom_de_la_catégorie} Agrowtek SXC. Agrowtek SXC 10 pages. Climate sensor & data logger
Également pour Agrowtek SXC : Manuel d'instruction (10 pages)
Supported Commands
0x03 Read Multiple Registers
0x06 Write Single Register
A request to use a function that is not available will return an illegal function exception.
Register Types
Data registers are 16 bits wide with addresses using the standard MODICON protocol. Floating point values
use the standard IEEE 32-bit format occupying two contiguous 16 bit registers. ASCII values are stored with
two characters (bytes) per register in hexadecimal format.
Sensor Value Registers
Sensor values are available in integer or oating point formats depending on the register requested (see
map.)
Sensor #
Type
1
Temperature
2
Humidity
3
Light
4
CO2
For example: an integer temperature value of 2417 is equal to a temperature reading of 24.17°C.
The value "9999" is representative of a failed sensor (with the exception of CO2 which will read 0.)
Toggle Units Register
Sensors with alternate units may toggle the units using the "toggle units" register. To toggle the units, send
the sensor channel number to to the toggle register. This register is write-only.
For example: to toggle between °F and °C, send a "1" to register 1002.
Calibration Registers
Calibration registers are 16-bit signed integers for the purpose of calibrating the sensor values or analog out-
put channels. Calibration may be achieved by writing the desired calibrated value to the associated register.
Writing to the calibration registers automatically invokes the calibration routine for that register.
O set Calibration
O set, or zero calibration, is an arithmatic positive or negative correction to the sensor reading and is the
only type of sensor calibration available on climate/environmental sensors.
To perform a sensor o set calibration, simply write the corrected sensor value to the o set calibration reg-
siter (taking into account the integer scale as shown above.)
For example: to set the temperature to a calibrated value of 25°C, write the value "2500. "
6
Integer Scale
x100
x10
x1
x1
© Agrowtek Inc. | www.agrowtek.com | Technology to Help You Grow™
Range
-2000 - 6000 (-20 - 60°C) / -400 - 14000 (-4 - 140°F)
0 - 1000 (0 - 100%)
0 - 1000 W/m2
0 - 10,000 ppm