User Tools

Site Tools

한국어

modport:md-thrt4:index

This is an old revision of the document!


Temperature Input Module: MD-THRT4

MD-THRT4’s Sampling Frequency

The sampling rate of the Temperature Input Module is 200ms per channel, and is constantly sampling the temperature sensor. Reading the temperature returns the most recently sampled value.

The Temperature Input Module samples all channels at once, so at 200ms per channel, the total sampling time for four channels is 800ms. Therefore, there is no benefit in reading at a rate greater than 800ms, as it will always return the same value.

When the system is first powered on, all four channels are scanned once. Reading at this time will return an invalid value. Please allow at least 800ms from the time the system is powered on before reading from the module.

Return Value

The return value is the temperature in °C multiplied by 10. In other words if the module returns the value 205, the actual temperature is 20.5 °C.

If an error occurs, the following values may be returned.

Modbus Starting Address

Each module has 4 channels, each with its own unique Modbus address.

Channel 0 1 2 3
Starting Address(base 10) 300 301 302 303
Starting Address(base 16) 12C 12D 12E 12F
Address (base 10) used by HMI (SCADA) 40301 40302 40303 40304

Module ID (Modbus Slave Address) Assignment

On the front of the module, there is a rotary switch labeled ID, that is used to select the Modbus slave address for the module. When installing multiple modules of the same type, the ID for each module should be unique.

Rotary switch position 0 corresponds to Modbus slave address 10. If the ID is changed after the module is powered on, it must be power cycled for the new ID to take effect.

modport/md-thrt4/index.1682737993.txt.gz · Last modified: 2023/04/29 12:13 by COMFILE Technology