Apogee SP-610 Kullanıcı El Kitabı - Sayfa 12

Aksesuarlar Apogee SP-610 için çevrimiçi göz atın veya pdf Kullanıcı El Kitabı indirin. Apogee SP-610 17 sayfaları. Pyranometer

Apogee SP-610 Kullanıcı El Kitabı
54
55
56
57
*Registers marked with an asterisk (*) cannot be written to unless a specific procedure is followed. Contact
Apogee Instruments to receive the procedure for writing these registers.
Write only registers (function code 0x10).
Integer Registers
Packet Framing:
Apogee sensors use Modbus RTU packets and tend to adhere to the following pattern:
Slave Address (1 byte), Function Code (1 byte), Starting Address (2 bytes), Number of Registers (2 bytes), Data
Length (1 byte, optional) Data (n bytes, optional)
Modbus RTU packets use the zero-based address when addressing registers.
For information on Modbus RTU framing, see the official documentation at
http://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf
Example Packets:
An example of a data packet sent from the controller to the sensor using function code 0x3 reading register
address 0. Each pair of square brackets indicates one byte.
[Slave Address][Function][Starting Address High Byte][Starting Address Low Byte][No of Registers High Byte][No of
Registers Low Byte][CRC High Byte][CRC Low Byte]
0x01 0x03 0x00 0x00 0x00 0x02 0xC4 0x0B
An example of a data packet sent from the controller to the sensor using function code 0x10 writing a 1 to register
26. Each pair of square brackets indicates one byte.
[Slave Address][Function][Starting Address High Byte][Starting Address Low Byte][No of Registers High Byte][No of
Registers Low Byte][Byte Count][Data High Byte][Data Low Byte][Data High Byte][Data Low Byte][CRC High
Byte][CRC Low Byte]
0x01 0x10 0x00 0x1A 0x00 0x02 0x04 0x3f 0x80 0x00 0x00 0x7f 0x20.
190
multiplier (shifted two decimal points to the left)*
offset (shifted two decimal points to the left)*
running average
heater status
Writing to this register resets Coefficients to firmware
defaults. (NOT factory calibrated values!) Slave Address
= 1, Model = 522, Serial = 1000, Baud = 3, Parity = 2,
Stopbits = 1, running average = 1