T-Node FR/TS210 Register Information
Modbus-RTU Register Information
The NexSens T-Node FR/TS210 Temperature string outputs values as 32-bit IEEE 754 floating point numbers in big-endean format. To convert from a hexadecimal value to a decimal value, use an IEEE-754 Floating Point Converter. Insert the hex output (e.g., 0x41af381d) into the “Hexadecimal Representation,” and the “Decimal Representation”, the temperature in degrees Celsius, will output (e.g., 21.9024°C).
Read Input Registers
Function 0x04 (Read input registers) | |||
Registers | Data Type | Data Size | Purpose |
0x0006, 0x0007 | 32-bit Float, Big-endian | 2 registers | Requests the temperature recorded by a T-node FR/TS210 sensor in Celsius |
Example:
Request | Response | ||
Field Name | Hex | Field Name | Hex |
Slave Address | 0x01 | Slave Address | 0x01 |
Function | 0x04 | Function | 0x04 |
Start Address Hi | 0x00 | Byte count | 0x04 |
Start Address Lo | 0x06 | Register Value Hi | 0x41 |
Quantity of register | 0x00 | Register Value Lo | 0xAF |
Quantity of register | 0x02 | Register Value Hi | 0x38 |
CRC Lo | 0x91 | Register Value Lo | 0x1D |
CRC Hi | 0xCA | CRC Lo | 0x0C |
CRC Hi | 0x50 |
- The user has requested a temperature reading from the T-Node FR/TS210 sensor with address 1. The sensor responded with 0x41af381d (21.9024°C).
Write Multiple Registers
Function 0x10 (Write Multiple registers) | |||
Registers | Data Type | Data Size | Purpose |
0x1000 | 16-bit Integer | 1 register | Changes the Modbus Address of the first node on a T-Node FR/TS210 string* |
*Assuming the first node of the T-Node FR/TS210 string begins with address 1.
Example:
Request | Response | ||
Field Name | Hex | Field Name | Hex |
Slave Address | 0x01 | Slave Address | 0x01 |
Function | 0x10 | Function | 0x10 |
Start Address Hi | 0x10 | Start Address Hi | 0x10 |
Start Address Lo | 0x00 | Start Address Lo | 0x00 |
Quantity of register | 0x00 | Quantity of Outputs Hi | 0x00 |
Quantity of register | 0x01 | Quantity of Outputs Hi | 0x01 |
Byte count | 0x02 | CRC Lo | 0x05 |
Outputs Value Hi | 0x00 | CRC Hi | 0x09 |
Outputs Value Lo | 0x05 | ||
CRC Lo | 0x77 | ||
CRC Hi | 0x92 |
- Using the known address of 1, the user has changed the Modbus address of the sensor with address 1 to 5.
Universal Address
The T-Node FR/TS210 is programmed such that any sensor will respond to Modbus address 251. This is implemented for the event that the sensor’s current address is unknown. This address should only be queried with one sensor connected to the data line. If more than one sensor is connected, both will respond and a bad message is likely.
Note: Universal address should not be used with T-Node FR/TS210 strings that have more than one node. Only use address 251 if there is a single sensor connected.
Read Current Address Using Universal Address
Function 0x04 (Read input registers) | |||
Registers | Data Type | Data Size | Purpose |
0x1000 | 16-bit integer | 1 register | Uses the univeral address (251) to read the current T-Node address |
Example:
Request | Response | ||
Field Name | Hex | Field Name | Hex |
Slave Address | 0xFB | Slave Address | 0xFB |
Function | 0x04 | Function | 0x04 |
Start Address Hi | 0x10 | Byte count | 0x02 |
Start Address Lo | 0x00 | Register Value Hi | 0x00 |
Quantity of register | 0x00 | Register Value Lo | 0x07 |
Quantity of register | 0x01 | CRC Lo | 0x20 |
CRC Lo | 0x21 | CRC Hi | 0xE6 |
CRC Hi | 0x50 |
- Using the universal address of 251 (0xFB), the user has read that the current Modbus address of the sensor is 7 (0x0007).