Various types of cookies are used on our website (and on all other digital platforms including mobile applications). View our new THE INFORMATIVE TEXT ON LPPD AND PRIVACY here. Google Analytics Analytical cookies help us to improve our website by collecting and reporting information on its usage. Advertising (Google Ads, LinkedIn) and Remarketing We use marketing cookies to help us improve the relevancy of advertising campaigns you receive.
I have read the above articles
The HUR Series Modbus RTU Remote I/O Devices are input and output modules for rugged industry and infrastructure sites.
They add digital and analog inputs and outputs to a Modbus RTU master, such as a PLC, a SCADA computer or a gateway, over one RS485 line.
The series has five I/O groups, each in a DC and an AC power version:
The I/O options can be combined on one RS485 line, which gives flexibility and suits many different applications.
The DC models are HUR118, HUR128, HUR318, HUR518 and HUR555. The AC models are HUR218, HUR228, HUR418, HUR618 and HUR655.
The two models of one I/O group have the same terminals and the same Modbus registers.
Every module has one RS485 port. The modules on one line are told apart by their Modbus address, 1 to 247.
The modules are built for a wide temperature range and a wide power input range, which makes them a cost-effective choice for a remote I/O system.
Output modules keep their outputs in a defined state when the line or the master fails.
Data, settings and firmware updates use the same RS485 line.
The figure shows a typical application: a PLC, SCADA computer or gateway reads and writes several HUR RTU modules on one RS485 line.


The HUR Series Modbus RTU Remote I/O Devices come in several versions with different I/O options:
Every version can be ordered with a DC power input (9 - 48 V DC) or with an AC power input (100 - 240 V AC, 50 - 60 Hz, 120 - 370 V DC).

The modules communicate in Modbus RTU over a standard RS485 serial line. The speed is selectable (9600, 19200, 57600, 115200 or 230400 bit/s) and the frame is 8N1, 8E1 or 8O1. The default is 115200 bit/s with 8N1.
See 8.1 "Line settings" for the speed and the frame, and 10.1 "Update over RS485 (A/B)" for the firmware update.
See 8.3 "Communication watchdog" and 8.4 "Automatic restart".
Each device has a DIN rail kit on the rear panel. The kit fixes the device on the DIN rail.


The housing is metal, IP 40, 43 x 95 x 124 mm (width x depth x height) and weighs approx. 400 g.
The power input is on the top panel. See 5.1 "DC models" and 5.2 "AC models".
The RS485 terminal on the front panel has 3 pins: GND, B and A. Connect 2 wires and GND.
Give every module on the same RS485 line its own Modbus address (1 to 247).

The HUR118 and HUR218 have 8 digital optocoupler outputs. The front panel has these parts:

The RS485 terminal pins: pin 1 is GND, pin 2 is B and pin 3 is A.
The outputs have 3750 V rms isolation for 1 minute, overvoltage protection of 275 V and a non-repetitive peak pulse current of 80 A.
The HUR128 and HUR228 have 8 digital relay outputs. The front panel has these parts:

The RS485 terminal pins: pin 1 is GND, pin 2 is B and pin 3 is A.
The relay has 3 kV between the coil and the contacts.
The HUR318 and HUR418 have 8 digital optocoupler inputs. The front panel has these parts:

The RS485 terminal pins: pin 1 is GND, pin 2 is B and pin 3 is A.
The inputs have 4470 V rms isolation for 1 minute and overvoltage protection of 275 V.
The module reads the state of every input and counts the rising edges of every input with a 16 bit counter. See 7.3 "Digital input models".
The HUR518 and HUR618 have 8 analog inputs. The front panel has these parts:

The RS485 terminal pins: pin 1 is GND, pin 2 is B and pin 3 is A.
Switch position ON: the channel is a current input (mA). Switch position OFF: the channel is a voltage input (0 - 10 V). Switch 1 to 8 belong to input 1 to 8.
A channel in the mA position reads 0 - 20 mA with the scale mA = 20 x raw value / 65535. The converter saturates at about 20 mA.
For a 4 - 20 mA sensor, set the channel mode to 1 by Modbus. The module then reports status 1 (open wire) when the signal falls below about 2 mA, and status 3 (saturated) at full scale.
The analog inputs have 16 bit resolution. An optional low-pass filter can be set.
The analog inputs are isolated from the RS485 and power side as one group (1 kV DC, 1 s test).
The HUR555 and HUR655 have 5 analog outputs. The front panel has these parts:

The RS485 terminal pins: pin 1 is GND, pin 2 is B and pin 3 is A.
The analog outputs have overvoltage protection up to 40 V.
The DC models are HUR118, HUR128, HUR318, HUR518 and HUR555. The top panel has these parts:

The DC power input has reverse polarity protection, thermal shutdown and current limit.
The AC models are HUR218, HUR228, HUR418, HUR618 and HUR655. The top panel has these parts:

The AC models are Class II. The isolation from the power input to the output is 3 kV AC.
HUR Series Modbus RTU Remote I/O Devices can be used in different scenarios. The usages are not limited to these examples: you can build your own usage scenario.
A field controller or a central control software can write the state of digital field devices over Modbus RTU, for example to turn on a light or to turn on a valve. The outputs are optocoupler outputs or relay outputs.

The following devices can be used for this application:

NOTE:
The output models can keep their outputs in a defined state when the master stops polling. See 8.3 "Communication watchdog".
A field controller or a central control software can read the state of digital field devices over Modbus RTU, for example the state of a light or of a circuit breaker. The inputs are optocoupler inputs.

The following devices can be used for this application:

NOTE:
Each digital input also has a pulse counter. See 7.3 "Digital input models".
A field controller or a central control software can read analog field devices over Modbus RTU, for example temperature sensors or pressure sensors. The inputs can be set to 0 - 10 V or 0 - 20 mA.

The following devices can be used for this application:

NOTE:
For a 4 - 20 mA sensor, each channel can be set to the 4 - 20 mA mode, which reports an open wire. See 7.4 "Analog input models".
A field main controller or a central control software can write analog values for secondary field control devices, for example to generate an analog value such as the flow of a fluid for a field control device. The outputs are 4 - 20 mA analog outputs.

The following devices can be used for this application:
REDZ CKL Series Modbus serial to Ethernet gateways connect a field serial device to a TCP/IP network, so that a software on a server or a TCP/IP device can control the device remotely. With a CKL gateway you can connect HUR Series Modbus RTU Remote I/O Devices and read them remotely.

With the CKL and TLM gateways the HUR modules stay at remote sites, and the master reads and writes them over a TCP/IP network or over a radio link.
The CKL gateway in the field is set for transparent communication and works as a TCP server to serial device gateway. The HUR modules are connected to it over the RS485 line.
The master reads the status of the field devices, for example temperature sensors or pressure sensors. The communication protocol is Modbus TCP thanks to the CKL connection. The inputs are 0 - 10 V or 0 - 20 mA selectable analog inputs.

NOTE:
The baud rate and the framing of the gateway serial port must be the same as the speed and framing set in the HUR modules. See 8.1 "Line settings".
The following devices can be used for this application:
REDZ TLM Series LoRa based RF gateways link RS232 and RS485 serial devices and create a network over radio. With TLM gateways you can connect HUR Series Modbus RTU Remote I/O Devices with field control devices over a radio network and build a wireless automation.
The TLM gateway works as a serial to LoRa RF gateway in client mode. Client mode is suggested for serial communication, because the TCP server functions are not used. The serial communication is enabled and its settings follow the field device.
The master reads the status of digital field devices, for example the state of a light or of a circuit breaker. The communication protocol is Modbus RTU over the LoRa radio network thanks to the TLM connection. The inputs are optocoupler inputs.

NOTE:
The baud rate and the framing of the gateway serial port must be the same as the speed and framing set in the HUR modules. See 8.1 "Line settings".
The following devices can be used for this application:
HUR RTU modules are Modbus RTU slaves on one RS485 line. The build default of the line is 115200 bit/s, 8N1. Speed and framing can be changed (see 8.1 "Line settings").
Every I/O group has its own function codes and registers. The two models of a pair (DC power and AC power) have the same registers.
| Models | Group | Inputs and outputs |
| HUR118, HUR218 | 8DO | 8 optocoupler outputs, 5 - 275 V AC/DC, 100 mA |
| HUR128, HUR228 | 8DO | 8 relay outputs, 5 A 250 V AC / 30 V DC |
| HUR318, HUR418 | 8DI | 8 optocoupler inputs, 12 - 275 V AC/DC |
| HUR518, HUR618 | 8AI | 8 analog inputs, 0 - 10 V or 0 - 20 mA |
| HUR555, HUR655 | 5AO | 5 analog outputs, 4 - 20 mA |
The group names 8DO, 8DI, 8AI and 5AO are used in the register tables of this chapter. HUR118, HUR218, HUR128 and HUR228 are one group because their registers are the same.

Every module has a Modbus address from 1 to 247. The factory address is 1. Several modules can share one line when each has its own address.

Address 0 is the broadcast address. A module never answers a request to address 0. See 8.5 "Broadcast".
Register addresses in this chapter are the address field of the frame, written in hex. They start at 0x0000. The high byte is always 0.
The data of a module starts at address 0x0001. Output 1, input 1 or channel 1 is address 0x0001, not 0x0000.
Reference numbers such as 40128 are not used here. Use the frame address (0x0080 = 128).
A 16-bit value is sent with the high byte first. A 32-bit value uses two registers, the high register first.
These function codes are used.
| Code | Name | Use |
| 0x01 | Read Coil Status | Read the outputs of an 8DO module. |
| 0x02 | Read Input Status | Read the inputs of an 8DI module. |
| 0x03 | Read Holding Registers | Read settings, monitoring values, counters and safe values of every module. |
| 0x04 | Read Input Registers | Read the analog inputs of an 8AI module and the set values of a 5AO module. |
| 0x05 | Force Single Coil | Switch one output of an 8DO module. |
| 0x06 | Preset Single Register | Write one register: a setting, a power-up value, a counter reset or a 5AO output. |
| 0x0F (15) | Force Multiple Coils | Switch all outputs of an 8DO module at once. |
| 0x10 (16) | Preset Multiple Registers | Write 1 to 8 registers in one request. This code is new in firmware 3.0. |
Each group answers only the codes that fit its hardware.
| Group | Read codes | Write codes |
| 8DO | 0x01, 0x03 | 0x05, 0x06, 0x0F, 0x10 |
| 8DI | 0x02, 0x03 | 0x06, 0x10 |
| 8AI | 0x03, 0x04 | 0x06, 0x10 |
| 5AO | 0x03, 0x04 | 0x06, 0x10 |
A function code that a group does not have is answered with exception 01. For example, function code 0x05 sent to an input module gets exception 01.
A frame is the module address, the function code, the data and the CRC. The CRC is the standard Modbus CRC16. It is sent with the low byte first. The examples in this manual show a complete frame with its CRC.
The first byte of the response follows the request after about 5 ms. This time can be set from 1 to 20 ms (see 8.1 "Line settings").
Requests that a module cannot accept are answered with an exception. See 7.8 "Exception responses".

NOTE:
The examples use the module address 1. Replace it with the address of your module. The CRC changes with every byte of the frame.
Many PLC, SCADA and test tools number the Modbus data from 1 (reference numbers). The Modbus standard sends data element n with the address n - 1, so the reference number of an address in this manual is the address + 1, with the prefix of its data type.
| Data | Function codes | Address in this manual | Reference number (from 1) |
| Outputs of HUR118 / 128 / 218 / 228 (coils) | 01, 05, 15 | 0x0001 to 0x0008 | 00002 to 00009 |
| Inputs of HUR318 / 418 (discrete inputs) | 02 | 0x0001 to 0x0008 | 10002 to 10009 |
| Analog inputs of HUR518 / 618, outputs of HUR555 / 655 (input registers) | 04 | 0x0001 to 0x0008 | 30002 to 30009 |
| Settings, counters, monitoring, diagnostics, update (holding registers) | 03, 06, 16 | 0x0040 to 0x00E3 | 40065 to 40228 |
| Analog outputs of HUR555 / 655 (written as holding registers) | 06, 16 | 0x0001 to 0x0005 | 40002 to 40006 |
Other tools take the address of this manual directly. Check the form of your tool with a known register, for example the module address 0x0080.

NOTE:
The old manual of these modules used 40000 + address (for example 40128 for 0x0080); with the standard rule the reference number of 0x0080 is 40129.
HUR118, HUR218, HUR128 and HUR228 have 8 outputs. Output 1 to output 8 are the addresses 0x0001 to 0x0008. The outputs are read with function code 0x01 and switched with 0x05, 0x0F or 0x10 and 0x06.
This request reads outputs 1 to 8 of the module with address 1.
Request: 01 01 00 01 00 08 6C 0C 01 module address 1 01 function code 0x01, read coil status 00 01 address of the first output (output 1) 00 08 number of outputs, 8 6C 0C CRC (low byte first) Response: 01 01 01 19 90 42 01 module address 1 01 function code 0x01 01 number of data bytes to follow, 1 (8 outputs, 8 bits) 19 outputs 1 to 8, 0x19 = 0001 1001: outputs 1, 4 and 5 on (bit 0 = output 1) 90 42 CRC (low byte first)
Bit 0 is output 1 and bit 7 is output 8. In the example 0x19 means outputs 1, 4 and 5 are on and outputs 2, 3, 6, 7 and 8 are off.
A start address or a quantity outside 1 to 8 is answered with exception 02 or 03.
The settings 0x0080 to 0x0091 and the monitoring registers 0x00A0 to 0x00A8 are described in 7.6 "Settings and monitoring registers". For this group these registers are important.
| Address | Register | Values | Factory value |
| 0x0080 (128) | Modbus address | 1 to 247 | 1 |
| 0x0081 (129) | Keep the output values over an automatic restart | 1 = on, 0 = off | 1 |
| 0x0082 (130) | Use the power-up values of the block 0x0040 to 0x0047 | 1 = on, 0 = off | 0 |
The factory value of 0x0082 is 0 (disabled). Earlier versions of this manual printed it as '0x01: Disabled'.
This request reads the three registers 0x0080 to 0x0082.
Request: 01 03 00 80 00 03 04 23 01 module address 1 03 function code 0x03, read holding registers 00 80 address of the first register, 0x0080 (128) 00 03 number of registers, 3 04 23 CRC (low byte first) Response: 01 03 06 00 01 00 01 00 00 4D 75 01 module address 1 03 function code 0x03 06 number of data bytes to follow, 6 00 01 0x0080: module address 1 00 01 0x0081: keep output values, on 00 00 0x0082: power-up values, off 4D 75 CRC (low byte first)
Read the monitoring registers with function code 0x03 from address 0x00A0.
A module can start with chosen output values. The values are kept for the next power-up. Write the values to the registers below and set 0x0082 to 1. The block is read with function code 0x03 and written with 0x06 or 0x10.
| Output | Address | Register |
| 1 | 0x0040 (64) | Power-up value of output 1, used if 0x0082 is 1 |
| 2 | 0x0041 (65) | Power-up value of output 2 |
| 3 | 0x0042 (66) | Power-up value of output 3 |
| 4 to 8 | 0x0043 to 0x0047 (67 to 71) | Power-up values of outputs 4 to 8, in the same order |

NOTE:
Earlier versions of this manual listed these registers as 65 to 72 (0x41 to 0x48). That was one address too high. The correct block is 0x0040 to 0x0047 (64 to 71).
Use 0 for off and 1 for on. This request reads the 8 registers.
Request: 01 03 00 40 00 08 45 D8 01 module address 1 03 function code 0x03 00 40 address of the first register, 0x0040 (64) 00 08 number of registers, 8 45 D8 CRC (low byte first) Response: 01 03 10 00 01 00 01 00 00 00 00 00 01 00 01 00 01 00 01 9A D8 01 module address 1 03 function code 0x03 10 number of data bytes to follow, 16 (8 registers) 00 01 output 1: on 00 01 output 2: on 00 00 output 3: off 00 00 output 4: off 00 01 output 5: on 00 01 output 6: on 00 01 output 7: on 00 01 output 8: on 9A D8 CRC (low byte first)
This request sets the power-up value of output 3 to 1. Output 3 is the register 0x0042.
Request: 01 06 00 42 00 01 E8 1E 01 module address 1 06 function code 0x06, preset single register 00 42 register 0x0042 (66), power-up value of output 3 00 01 value 1 E8 1E CRC (low byte first) Response: 01 06 00 42 00 01 E8 1E 01 module address 1 06 function code 0x06 00 42 register 0x0042 00 01 value written, 1 E8 1E CRC (low byte first)
The response of function code 0x06 is a copy of the request.
The registers 0x0048 to 0x004F hold the safe value of each output for the communication watchdog. A channel with 0xFFFF keeps its last value. The factory value is 0xFFFF. See 8.3 "Communication watchdog".
| Output | Address | Values |
| 1 to 8 | 0x0048 to 0x004F (72 to 79) | 0 = off, 1 = on, 0xFFFF = keep the last value. Any other value is answered with exception 03. |

This request switches output 7 on. Output 7 is the address 0x0007. Write 0xFF00 for on and 0x0000 for off.
Request: 01 05 00 07 FF 00 3D FB 01 module address 1 05 function code 0x05, force single coil 00 07 address of the output, 0x0007 = output 7 FF 00 0xFF00 = on, 0x0000 = off 3D FB CRC (low byte first) Response: 01 05 00 07 FF 00 3D FB 01 module address 1 05 function code 0x05 00 07 address of the output FF 00 state written 3D FB CRC (low byte first)
The response is a copy of the request, sent after the output has been switched.

NOTE:
Earlier versions of this manual showed output 7 as the address 0x0006. The first output is 0x0001, so output 7 is 0x0007.
The video shows a Modbus master program (Modbus Poll) reading the 8 inputs of an 8DI module with function code 0x02 while output 1 of an 8DO relay module is switched on and off with function code 0x05. The relay contact is wired to input 1 of the 8DI, so input 1 reads 1 while the relay is on and 0 after it is switched off.
This request writes outputs 1 to 8 in one frame. The data byte 0x98 is 1001 1000. Outputs 4, 5 and 8 are switched on and the others are switched off.
Request: 01 0F 00 01 00 08 01 98 C2 FF 01 module address 1 0F function code 0x0F, force multiple coils 00 01 address of the first output 00 08 number of outputs, 8 01 number of data bytes to follow, 1 98 outputs 1 to 8, 0x98 = 1001 1000: outputs 4, 5 and 8 on (bit 0 = output 1) C2 FF CRC (low byte first) Response: 01 0F 00 01 00 08 05 CD 01 module address 1 0F function code 0x0F 00 01 address of the first output 00 08 number of outputs written, 8 05 CD CRC (low byte first)
A quantity outside 1 to 8 is answered with exception 03.
Function code 0x06 writes one register. Function code 0x10 writes 1 to 8 registers. All registers of a 0x10 request are checked first. If one is refused, nothing is written.
This request enables the power-up values with function code 0x06. The registers 0x0080 to 0x0082 are settings.
Request: 01 06 00 82 00 01 E8 22 01 module address 1 06 function code 0x06 00 82 register 0x0082 (130), use the power-up values 00 01 value 1, enabled E8 22 CRC (low byte first) Response: 01 06 00 82 00 01 E8 22 01 module address 1 06 function code 0x06 00 82 register 0x0082 00 01 value written, 1 E8 22 CRC (low byte first)
This request writes the power-up values of outputs 1 and 2 with function code 0x10. Output 1 is on and output 2 is off.
Request: 01 10 00 40 00 02 04 00 01 00 00 A6 5F 01 module address 1 10 function code 0x10, preset multiple registers 00 40 address of the first register, 0x0040 00 02 number of registers, 2 04 number of data bytes to follow, 4 00 01 0x0040: output 1 on 00 00 0x0041: output 2 off A6 5F CRC (low byte first) Response: 01 10 00 40 00 02 40 1C 01 module address 1 10 function code 0x10 00 40 address of the first register 00 02 number of registers written, 2 40 1C CRC (low byte first)
HUR318 and HUR418 have 8 inputs. Input 1 to input 8 are the addresses 0x0001 to 0x0008. The inputs are read with function code 0x02.
This request reads inputs 1 to 8 of the module with address 1. Some tools call these inputs 10001 to 10008.
Request: 01 02 00 01 00 08 28 0C 01 module address 1 02 function code 0x02, read input status 00 01 address of the first input (input 1) 00 08 number of inputs, 8 28 0C CRC (low byte first) Response: 01 02 01 44 A1 BB 01 module address 1 02 function code 0x02 01 number of data bytes to follow, 1 44 inputs 1 to 8, 0x44 = 0100 0100: inputs 3 and 7 on (bit 0 = input 1) A1 BB CRC (low byte first)
Bit 0 is input 1 and bit 7 is input 8. In the example 0x44 means inputs 3 and 7 are on and the other inputs are off.
A start address or a quantity outside 1 to 8 is answered with exception 02 or 03.
The module address is the register 0x0080. It is read with function code 0x03 and written with 0x06 or 0x10. The other settings and the monitoring registers are in 7.6 "Settings and monitoring registers".
This request reads the module address.
Request: 01 03 00 80 00 01 85 E2 01 module address 1 03 function code 0x03 00 80 register 0x0080 (128) 00 01 number of registers, 1 85 E2 CRC (low byte first) Response: 01 03 02 00 01 79 84 01 module address 1 03 function code 0x03 02 number of data bytes to follow, 2 00 01 module address, 1 79 84 CRC (low byte first)
This request sets the module address to 2.
Request: 01 06 00 80 00 02 09 E3 01 module address 1 06 function code 0x06 00 80 register 0x0080 (128) 00 02 new module address, 2 09 E3 CRC (low byte first) Response: 01 06 00 80 00 02 09 E3 01 module address 1 06 function code 0x06 00 80 register 0x0080 00 02 value written, 2 09 E3 CRC (low byte first)
An 8DI module counts the rising edges of each input in a 16-bit counter. The counter of input 1 is the register 0x0040 and the counter of input 8 is 0x0047. A counter wraps at 65535.
| Input | Address | Register |
| 1 | 0x0040 (64) | Pulse counter of input 1 |
| 2 | 0x0041 (65) | Pulse counter of input 2 |
| 3 to 8 | 0x0042 to 0x0047 (66 to 71) | Pulse counters of inputs 3 to 8, in the same order |

NOTE:
Earlier versions of this manual did not describe the counters, and the counters could not be reset. Firmware 3.0 adds the reset.
This request reads the counters of inputs 1 to 8. Input 1 has counted 3 pulses and input 3 has counted 12 pulses.
Request: 01 03 00 40 00 08 45 D8 01 module address 1 03 function code 0x03 00 40 address of the first counter, 0x0040 00 08 number of registers, 8 45 D8 CRC (low byte first) Response: 01 03 10 00 03 00 00 00 0C 00 00 00 00 00 00 00 00 00 00 98 08 01 module address 1 03 function code 0x03 10 number of data bytes to follow, 16 00 03 input 1: 3 00 00 input 2: 0 00 0C input 3: 12 00 00 input 4: 0 00 00 input 5: 0 00 00 input 6: 0 00 00 input 7: 0 00 00 input 8: 0 98 08 CRC (low byte first)
This request resets the counter of input 2. The counter of input 2 is the register 0x0041.
Request: 01 06 00 41 00 00 D9 DE 01 module address 1 06 function code 0x06 00 41 register 0x0041, counter of input 2 00 00 value 0, reset D9 DE CRC (low byte first) Response: 01 06 00 41 00 00 D9 DE 01 module address 1 06 function code 0x06 00 41 register 0x0041 00 00 value written, 0 D9 DE CRC (low byte first)
Function code 0x10 with the value 0 in every register resets all 8 counters in one request.
The video shows Modbus Poll reading the 8 counters of an 8DI module with function code 0x03 (registers 0x0040 to 0x0047; the program shows them in decimal as 64 to 71). Input 1 has counted 3 closings of the relay.
The register 0x008F is the debounce time in ms. The value 0 switches the debounce off. It is the factory value. A value from 1 to 255 means an input change is accepted after the input is stable for that time. The input state (function code 0x02) and the counters use the accepted state. A value above 255 is answered with exception 03.
The highest count rate is about 1 / (2 x N) for a debounce time of N ms. With 255 ms the module rejected pulses of 0.10 s and counted pulses of 0.65 s.

This request sets the debounce time to 20 ms (0x0014).
Request: 01 06 00 8F 00 14 B8 2E 01 module address 1 06 function code 0x06 00 8F register 0x008F, debounce time 00 14 20 ms B8 2E CRC (low byte first) Response: 01 06 00 8F 00 14 B8 2E 01 module address 1 06 function code 0x06 00 8F register 0x008F 00 14 value written, 20 B8 2E CRC (low byte first)
The write lock stops a change of the debounce time (exception 04). See 8.2 "Write lock".
HUR518 and HUR618 have 8 analog inputs. Input 1 to input 8 are the addresses 0x0001 to 0x0008. The inputs are read with function code 0x04. Every channel has a switch for 0 - 10 V or 0 - 20 mA.
Each input is a 16-bit value from 0 to 65535. The module converts the inputs again for every request. Reading 8 channels takes about 0.65 ms.
This request reads inputs 1 to 8. Only input 1 has a value in the example.
Request: 01 04 00 01 00 08 A0 0C 01 module address 1 04 function code 0x04, read input registers 00 01 address of the first input (input 1) 00 08 number of registers, 8 A0 0C CRC (low byte first) Response: 01 04 10 2A B4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7E 24 01 module address 1 04 function code 0x04 10 number of data bytes to follow, 16 2A B4 input 1: 0x2AB4 = 10932 00 00 input 2: 0 00 00 input 3: 0 00 00 input 4: 0 00 00 input 5: 0 00 00 input 6: 0 00 00 input 7: 0 00 00 input 8: 0 7E 24 CRC (low byte first)
Use these formulas to convert the value. In the example 10932 is 3.336 mA in the current range and 1.668 V in the voltage range.
| Switch of the channel | Formula | Example for 10932 |
| 0 - 20 mA | mA = 20 x value / 65535 | 3.336 mA |
| 0 - 10 V | V = 10 x value / 65535 | 1.668 V |

NOTE:
The converter saturates at about 20 mA. A sound 20 mA signal reads as saturated in the channel status. A value above 20 mA cannot be told apart.
The module address is the register 0x0080. It is read with function code 0x03 and written with 0x06 or 0x10, as for the 8DI group. The request frames are the same as in 7.3 "Digital input models". The other settings and the monitoring registers are in 7.6 "Settings and monitoring registers".
A channel can be set to the 4-20 mA mode. In this mode the module checks the channel for an open wire and for saturation. The value read with function code 0x04 is not changed by the mode.

| Address | Register | Values |
| 0x0050 to 0x0057 (80 to 87) | Channel mode of channels 1 to 8 | 0 = unchecked (factory), 1 = 4-20 mA. A value above 1 is answered with exception 03. |
| 0x0058 to 0x005F (88 to 95) | Channel status of channels 1 to 8, read only | 0 = normal, 1 = open wire, 3 = saturated. The value 2 is reserved. |
In a test an input wire was pulled out. The status of the channel changed to 1 in the same poll in which the value fell to 0, or in the next poll. When the wire was connected again the status returned to 0. Other channels did not change.

NOTE:
The status follows the sample at once. A bad contact can give a status 1 for a single read. Read the status again before you act on it.
This request sets channel 2 to the 4-20 mA mode. Channel 2 is the register 0x0051.
Request: 01 06 00 51 00 01 19 DB 01 module address 1 06 function code 0x06 00 51 register 0x0051, mode of channel 2 00 01 value 1, 4-20 mA mode 19 DB CRC (low byte first) Response: 01 06 00 51 00 01 19 DB 01 module address 1 06 function code 0x06 00 51 register 0x0051 00 01 value written, 1 19 DB CRC (low byte first)
This request reads the status of the 8 channels. Channel 2 has an open wire.
Request: 01 03 00 58 00 08 C5 DF 01 module address 1 03 function code 0x03 00 58 address of the first status register, 0x0058 00 08 number of registers, 8 C5 DF CRC (low byte first) Response: 01 03 10 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 E6 D8 01 module address 1 03 function code 0x03 10 number of data bytes to follow, 16 00 00 channel 1: normal 00 01 channel 2: open wire 00 00 channel 3: normal 00 00 channel 4: normal 00 00 channel 5: normal 00 00 channel 6: normal 00 00 channel 7: normal 00 00 channel 8: normal E6 D8 CRC (low byte first)
The channel modes are settings. The write lock stops a change of a mode (exception 04). The status registers can always be read.
The register 0x0090 sets a low-pass filter for all channels. The value 0 switches the filter off. It is the factory value. Then the value read with function code 0x04 is the input at the moment of the request. A value from 1 to 6 turns the filter on and the value read with function code 0x04 is the filtered value. A value above 6 is answered with exception 03.
The time constant for each value k is in the table.
| Value k of 0x0090 | Time constant |
| 1 | About 160 ms |
| 2 | About 320 ms |
| 3 | About 640 ms |
| 4 | About 1.3 s |
| 5 | About 2.6 s |
| 6 | About 5.1 s |
With the filter on, each channel is sampled every 80 ms. The time constant is about 2^k x 80 ms. A channel in mode 1 is sampled in the same way, with or without the filter.
The register 0x0091 is the open-wire threshold in the unit of the value read with function code 0x04. The factory value is 6553, which is 2 mA (mA = 20 x value / 65535). A channel in mode 1 shows the status 1 when its raw sample is below the threshold.
This request sets the threshold to 3 mA. The value is 3 x 65535 / 20 = 9830, which is 0x2666.
Request: 01 06 00 91 26 66 42 6D 01 module address 1 06 function code 0x06 00 91 register 0x0091, open-wire threshold 26 66 value 0x2666 = 9830, 3 mA 42 6D CRC (low byte first) Response: 01 06 00 91 26 66 42 6D 01 module address 1 06 function code 0x06 00 91 register 0x0091 26 66 value written, 9830 42 6D CRC (low byte first)
This request sets the filter to k = 3.
Request: 01 06 00 90 00 03 C9 E6 01 module address 1 06 function code 0x06 00 90 register 0x0090, filter 00 03 k = 3 C9 E6 CRC (low byte first) Response: 01 06 00 90 00 03 C9 E6 01 module address 1 06 function code 0x06 00 90 register 0x0090 00 03 value written, 3 C9 E6 CRC (low byte first)

NOTE:
Check the loop polarity and the channel switch before you power a 4-20 mA loop. A reversed loop carries no current and the channel reads 0. A channel in mode 1 with the value 0 then shows an open wire.
HUR555 and HUR655 have 5 outputs of 4 - 20 mA. Output 1 to output 5 are the addresses 0x0001 to 0x0005. The outputs are set with function codes 0x06 and 0x10 and read back with 0x04.
A value from 0 to 1000 sets the output. The value 0 is 4 mA and the value 1000 is 20 mA. A value above 1000 is answered with exception 03.
| Output | Address | Register |
| 1 | 0x0001 | Set value of analog output 1 |
| 2 to 5 | 0x0002 to 0x0005 | Set values of analog outputs 2 to 5, in the same order |
The module has 5 outputs. A write to 0x0006, 0x0007 or 0x0008 is answered with exception 02.
Use this formula to calculate the value for a current. Examples: 4 mA is 0, 12 mA is 500 and 20 mA is 1000.
value = round((mA - 4) x 1000 / 16) mA = value x 16 / 1000 + 4
This request sets output 2 to 14.45 mA. The value is (14.45 - 4) x 1000 / 16 = 653, which is 0x028D.
Request: 01 06 00 02 02 8D E9 0F 01 module address 1 06 function code 0x06 00 02 register 0x0002, analog output 2 02 8D value 0x028D = 653, 14.45 mA E9 0F CRC (low byte first) Response: 01 06 00 02 02 8D E9 0F 01 module address 1 06 function code 0x06 00 02 register 0x0002 02 8D value written, 653 E9 0F CRC (low byte first)
Function code 0x10 sets several outputs in one request. This request sets output 1 to 4 mA, output 2 to 12 mA and output 3 to 20 mA.
Request: 01 10 00 01 00 03 06 00 00 01 F4 03 E8 F7 F5 01 module address 1 10 function code 0x10 00 01 address of the first output 00 03 number of outputs, 3 06 number of data bytes to follow, 6 00 00 output 1: 0 = 4 mA 01 F4 output 2: 500 = 12 mA 03 E8 output 3: 1000 = 20 mA F7 F5 CRC (low byte first) Response: 01 10 00 01 00 03 D1 C8 01 module address 1 10 function code 0x10 00 01 address of the first output 00 03 number of outputs written, 3 D1 C8 CRC (low byte first)
If one value of a 0x10 request is above 1000, the module answers with exception 03 and writes none of the values.
The video shows Modbus Poll reading the 8 inputs of an 8AI module with function code 0x04 while output 1 of a 5AO module is set to 500, 750 and back to 0 with function code 0x06. The 5AO output drives a 4-20 mA loop into input 2 of the 8AI: the raw value of input 2 goes from about 13068 (4 mA) to about 39311 (12 mA) and 52479 (16 mA), and back.
Function code 0x04 reads the set values of outputs 1 to 5 back. This request reads the 5 outputs.
Request: 01 04 00 01 00 05 61 C9 01 module address 1 04 function code 0x04, read input registers 00 01 address of the first output 00 05 number of registers, 5 61 C9 CRC (low byte first) Response: 01 04 0A 02 8D 00 00 00 00 00 00 00 00 49 E1 01 module address 1 04 function code 0x04 0A number of data bytes to follow, 10 02 8D output 1: 653 00 00 output 2: 0 00 00 output 3: 0 00 00 output 4: 0 00 00 output 5: 0 49 E1 CRC (low byte first)
The settings 0x0080 to 0x0082 and the monitoring registers are the same as for the digital output group. See 7.6 "Settings and monitoring registers". The request frames are shown in 7.2 "Digital output models".
The registers 0x0040 to 0x0044 hold the value of each output at power-up. They are used when 0x0082 is 1. The value is in the same unit as the set value (0 to 1000). A value above 1000 is answered with exception 03.
| Output | Address | Register |
| 1 | 0x0040 (64) | Power-up value of output 1, used if 0x0082 is 1 |
| 2 to 5 | 0x0041 to 0x0044 (65 to 68) | Power-up values of outputs 2 to 5, in the same order |
The registers 0x0045 to 0x0047 are only there so that a read of 8 registers from 0x0040 works. They always read 0. A write to them is answered with exception 02.
This request reads 8 registers from 0x0040. Output 3 has the power-up value 75, which is 5.2 mA ((5.2 - 4) x 1000 / 16 = 75). The registers 0x0045 to 0x0047 read 0.
Request: 01 03 00 40 00 08 45 D8 01 module address 1 03 function code 0x03 00 40 address of the first register, 0x0040 00 08 number of registers, 8 45 D8 CRC (low byte first) Response: 01 03 10 00 01 00 01 00 4B 00 00 00 01 00 00 00 00 00 00 47 FD 01 module address 1 03 function code 0x03 10 number of data bytes to follow, 16 00 01 output 1: 1 00 01 output 2: 1 00 4B output 3: 75 (0x004B) 00 00 output 4: 0 00 01 output 5: 1 00 00 0x0045: always 0 00 00 0x0046: always 0 00 00 0x0047: always 0 47 FD CRC (low byte first)
This request sets the power-up value of output 3 to 75.
Request: 01 06 00 42 00 4B 69 E9 01 module address 1 06 function code 0x06 00 42 register 0x0042, power-up value of output 3 00 4B value 0x004B = 75, 5.2 mA 69 E9 CRC (low byte first) Response: 01 06 00 42 00 4B 69 E9 01 module address 1 06 function code 0x06 00 42 register 0x0042 00 4B value written, 75 69 E9 CRC (low byte first)

NOTE:
Earlier versions of this manual printed two different CRC values for this request. The frame above has the correct CRC.
The registers 0x0048 to 0x004C hold the safe value of outputs 1 to 5 for the communication watchdog. Use a value from 0 to 1000 or 0xFFFF to keep the last value. The factory value is 0xFFFF. The registers 0x004D to 0x004F read 0 and a write is answered with exception 02. See 8.3 "Communication watchdog".
Every module has the same settings and monitoring registers. The settings 0x0080 to 0x0091 are stored in the module. The monitoring registers 0x00A0 to 0x00A8 are read only.
The data types of the registers are in the table: every register is an unsigned 16-bit value, except the monitoring values at 0x00A0 to 0x00A7, which are unsigned 32-bit values in two registers.
| Data | Function codes | Type |
| Outputs and inputs (coils, discrete inputs) | 01, 02, 05, 15 | 1 bit per channel |
| Registers 0x0001 to 0x0091, 0x00C0 to 0x00E3 | 03, 04, 06, 16 | UInt16, unsigned 16-bit |
| Monitoring 0x00A0 to 0x00A7 | 03 | UInt32, unsigned 32-bit, two registers, high register first |
The following table lists the settings. A register that belongs to another group reads 0 and a write to it is answered with exception 02.
| Address | Setting | Values | Modules |
| 0x0080 (128) | Modbus address | 1 to 247, factory 1. Other values are answered with exception 03. A broadcast write moves every module on the line. | All |
| 0x0081 (129) | Keep the output values over an automatic restart | 1 = on (factory), 0 = off | All |
| 0x0082 (130) | Use the power-up values of the block 0x0040 to 0x0047 | 1 = on, 0 = off (factory) | All |
| 0x0083 (131) | Restart flag | Read only | All |
| 0x0084 (132) | Broadcast mode | 0, 1 or 2. See 8.5 "Broadcast". | All |
| 0x0085 (133) | Baud rate, applied after the next start | 0 to 5. See 8.1 "Line settings". | All |
| 0x0086 (134) | Framing, applied after the next start | 0 = 8N1, 1 = 8E1, 2 = 8O1. See 8.1 "Line settings". | All |
| 0x0089 (137) | Write lock | 0 = off (factory), 1 = on. See 8.2 "Write lock". | All |
| 0x008A (138) | Write lock key | Write 0x4C4B to open the write window. Reads 0. | All |
| 0x008B (139) | Response turnaround in ms | 1 to 20, factory 5. See 8.1 "Line settings". | All |
| 0x008C (140) | Reserved | Reads 0. A write is answered with exception 02. | All |
| 0x008D (141) | Communication watchdog in s | 0 = off (factory), 1 to 3600. See 8.3 "Communication watchdog". | 8DO, 5AO |
| 0x008E (142) | Automatic restart in hours | 0 = off, 1 to 255, factory 24. See 8.4 "Automatic restart". | All |
| 0x008F (143) | Input debounce in ms | 0 = off (factory), 1 to 255. See 7.3 "Digital input models". | 8DI |
| 0x0090 (144) | Analog filter k | 0 = off (factory), 1 to 6. See 7.4 "Analog input models". | 8AI |
| 0x0091 (145) | Open-wire threshold | Factory 6553 (2 mA). See 7.4 "Analog input models". | 8AI |
The write lock stops a change of most of these settings. See 8.2 "Write lock".
Examples of read and write requests for the settings are in the sections of the groups. See 7.2 "Digital output models" and 7.3 "Digital input models".
The monitoring registers are read only. They are read with function code 0x03. Each is a 32-bit value in two registers.
| Address | Register | Meaning |
| 0x00A0 (160) | Modbus read counter | The number of read requests that the module has answered since the start. The value increases by 1 after each answer. |
| 0x00A2 (162) | Second counter, uptime | The seconds since the start. The module restarts itself after the number of hours set in 0x008E (factory 24 h = 86400 s). See 8.4 "Automatic restart". |
| 0x00A4 (164) | Original firmware stamp | The stamp that was written when the module was produced. It has the firmware date and version. |
| 0x00A6 (166) | Firmware stamp | The stamp of the firmware that runs now. It differs from the original stamp when the firmware was updated in the field. |
| 0x00A8 (168) | Reserved | Reads 0. |
A stamp is a 32-bit value of 4 bytes. The first byte is the day. The second byte holds the month in its high 4 bits and the high 4 bits of the year in its low 4 bits. The third byte is the low byte of the year. The fourth byte is the firmware version in BCD.
| Stamp | Day | Month | Year | Version byte |
| 0x1A37E401 | 0x1A = 26 | 0x3 = 3 | 0x7E4 = 2020 | 0x01 |
| 0x11B7EA30 | 0x11 = 17 | 0xB = 11 | 0x7EA = 2026 | 0x30 = version 3.0 |
The second stamp is the firmware 3.0 of 17 November 2026.
This request reads the four monitoring values 0x00A0 to 0x00A6. The module has answered 13 read requests, it has run for 2740 seconds and its firmware was updated in the field.
Request: 01 03 00 A0 00 08 44 2E 01 module address 1 03 function code 0x03 00 A0 address of the first register, 0x00A0 (160) 00 08 number of registers, 8 (four 32-bit values) 44 2E CRC (low byte first) Response: 01 03 10 00 00 00 0D 00 00 0A B4 1A 37 E4 01 11 B7 EA 30 C7 C9 01 module address 1 03 function code 0x03 10 number of data bytes to follow, 16 00 00 00 0D 0x00A0: read counter, 13 00 00 0A B4 0x00A2: uptime, 0x0AB4 = 2740 s 1A 37 E4 01 0x00A4: original stamp, 26.03.2020 11 B7 EA 30 0x00A6: firmware stamp, 17.11.2026 v3.0 C7 C9 CRC (low byte first)
The registers 0x00C0 to 0x00D8 are diagnostic registers. They are read with function code 0x03. A single request can read all 25 registers.
The counters are sticky until they are cleared. Write 0 to 0x00C0 to clear them. The register 0x00C8 counts how often they were cleared.
| Address | Name | Meaning |
| 0x00C0 (192) | Restart cause | 0 after a firmware update or a software restart, 12 after a power-on. |
| 0x00C1 (193) | Longest loop | The longest pass of the main program loop in ms. |
| 0x00C2 (194) | Requests answered | The number of requests that were answered. |
| 0x00C3 (195) | CRC errors | The number of frames that were dropped because of a CRC error. |
| 0x00C4 (196) | Frames rejected | The number of rejected frames. Frames of other modules on a shared line are counted too. |
| 0x00C5 (197) | Memory writes | The number of writes to the settings memory. |
| 0x00C6 (198) | Build identifier | Identifies the firmware build. Two builds with the same stamp have different identifiers. |
| 0x00C7 (199) | Line error flags | Flags that stay set: bit 0 overrun, bit 1 receive buffer full, bit 2 transmit buffer full. |
| 0x00C8 (200) | Number of clears | How many times 0x00C0 was written with 0. |
| 0x00C9 (201) | Re-synchronisations | The number of times the module found the start of a frame again. |
| 0x00CA (202) | Bootloader | The bootloader version in the high byte and capability bits in the low byte (0x011F on current modules). |
| 0x00CB (203) | Exceptions sent | The number of exception responses that the module has sent. |
| 0x00CC (204) | Register map version | The register map version in the high byte and capability bits in the low byte. This firmware reads 0x04FF. |
| 0x00CD (205) | Hardware type | The hardware code of the firmware image. See the table below. |
| 0x00CE (206) | Overrun errors | The number of overrun errors of the serial line. |
| 0x00CF (207) | Receive buffer full | The number of times the receive buffer was full. |
| 0x00D0 (208) | Transmit buffer full | The number of responses that were dropped because the transmit buffer was full. |
| 0x00D1 (209) | Write lock state | The high byte is the seconds left of the write window, or 0xFF when the lock is off. The low byte is the number of writes that were refused while locked. |
| 0x00D2 (210) | Parity errors | The number of bytes that were dropped because of a parity error (8E1 and 8O1). |
| 0x00D3 (211) | Framing errors | The number of bytes that were dropped because of a stop bit error. |
| 0x00D4 to 0x00D6 (212 to 214) | Reserved | Read 0. |
| 0x00D7 (215) | Watchdog state | 1 after a watchdog timeout until the next output write. Output modules only. Other modules read 0. |
| 0x00D8 (216) | Watchdog timeouts | The number of watchdog timeouts. Writing 0 to 0x00C0 clears it. |
Only the register 0x00C0 can be written, and only with the value 0. The write lock does not stop it.
This request clears the diagnostic counters.
Request: 01 06 00 C0 00 00 89 F6 01 module address 1 06 function code 0x06 00 C0 register 0x00C0 00 00 value 0, clear the counters 89 F6 CRC (low byte first) Response: 01 06 00 C0 00 00 89 F6 01 module address 1 06 function code 0x06 00 C0 register 0x00C0 00 00 value written, 0 89 F6 CRC (low byte first)
The video shows Modbus Poll reading the 25 registers of the diagnostic block of an 8DO module with function code 0x03 (0x00C0 to 0x00D8; the program shows the addresses in decimal as 192 to 216 and the values in hex).
The register 0x00CC tells what a module can do. The high byte is the register map version. This firmware has the version 4. The low byte holds capability bits.
The capability bits are in the table. This firmware sets all 8 bits.
| Bit | Capability |
| 0x01 | Exception responses |
| 0x02 | Back-to-back requests to the same module |
| 0x04 | Firmware update over RS485 (0x00E0 to 0x00E3) |
| 0x08 | Broadcast mode 0x0084 |
| 0x10 | Response turnaround of 5 ms |
| 0x20 | Write lock 0x0089 and 0x008A |
| 0x40 | Baud rate register 0x0085 |
| 0x80 | Turnaround register 0x008B |
A module with the old firmware 0.3 gives no answer or an exception for 0x00CC. This identifies an old module.
The code of each group is in the table.
| Group | Code in 0x00CD |
| 8DO | 15 |
| 8DI | 16 |
| 8AI | 17 |
| 5AO | 18 |
Modules that were delivered with the old bootloader report the code 7 for all groups.
This request reads the register map version and the hardware type. The module is an 8DO module (15 = 0x000F).
Request: 01 03 00 CC 00 02 04 34 01 module address 1 03 function code 0x03 00 CC address of the first register, 0x00CC 00 02 number of registers, 2 04 34 CRC (low byte first) Response: 01 03 04 04 FF 00 0F 8B 37 01 module address 1 03 function code 0x03 04 number of data bytes to follow, 4 04 FF 0x00CC: 0x04FF, map version 4 00 0F 0x00CD: 0x000F, hardware type 15 8B 37 CRC (low byte first)
A module answers a request that it cannot carry out with an exception response. The response has 5 bytes: the module address, the function code with bit 7 set (0x80 added), the exception code and the CRC.
| Code | Name | Reason |
| 01 | Illegal function | The function code does not exist for this group. Example: function code 0x05 sent to an 8DI module. |
| 02 | Illegal data address | The start address is outside the block, or the register cannot be written. Example: write to 0x0006 of an output module with 5 outputs. Update commands are function code 0x06 only, so function code 0x10 to 0x00E0 gets exception 02. |
| 03 | Illegal data value | The quantity runs past the block or the value is outside its range. Example: value 1001 for an analog output. |
| 04 | Device failure | The write was refused because the write lock is on. See 8.2 "Write lock". |
These requests were answered with exceptions in a test. The CRC of each frame is included.
8DI, function code 0x05 not supported: 07 05 00 01 FF 00 DD 9C 07 module address 7 05 function code 0x05 00 01 address 0x0001 FF 00 0xFF00 DD 9C CRC (low byte first) Exception 01: 07 85 01 63 51 07 module address 7 85 0x05 + 0x80 01 exception code 01 63 51 CRC (low byte first) 8AI, start address outside the block: 02 04 00 09 00 01 E1 FB 02 module address 2 04 function code 0x04 00 09 address 0x0009 (the block ends at 0x0008) 00 01 number of registers, 1 E1 FB CRC (low byte first) Exception 02: 02 84 02 32 C1 02 module address 2 84 0x04 + 0x80 02 exception code 02 32 C1 CRC (low byte first) 8AI, quantity runs past the block: 02 04 00 01 00 09 61 FF 02 module address 2 04 function code 0x04 00 01 address 0x0001 00 09 number of registers, 9 61 FF CRC (low byte first) Exception 03: 02 84 03 F3 01 02 module address 2 84 0x04 + 0x80 03 exception code 03 F3 01 CRC (low byte first) 5AO, value 1001 is above 1000: 05 06 00 01 03 E9 18 F0 05 module address 5 06 function code 0x06 00 01 register 0x0001 03 E9 value 1001 18 F0 CRC (low byte first) Exception 03: 05 86 03 43 A0 05 module address 5 86 0x06 + 0x80 03 exception code 03 43 A0 CRC (low byte first)

NOTE:
Firmware 3.0 answers a request outside the registers of the group with an exception. Modules with firmware 0.3 answered such requests with wrong data or not at all.
These settings change how a module behaves on the line and what it does when the master stops. All of them are Modbus registers. Each setting is stored in the module and kept after a power-off.
The registers are listed in 7.6 "Settings and monitoring registers". The settings are new in firmware 3.0. A module with the old firmware 0.3 does not have them.
The baud rate and the framing are set with the registers 0x0085 and 0x0086. A new value is stored at once. It is applied when the module starts the next time. The build default is 115200 bit/s with 8N1.

The values of 0x0085 are in the table. The value 0 is the build default of 115200 bit/s.
| Value of 0x0085 | Baud rate |
| 0 | Build default, 115200 bit/s |
| 1 | 9600 bit/s |
| 2 | 19200 bit/s |
| 3 | 57600 bit/s |
| 4 | 115200 bit/s |
| 5 | 230400 bit/s |
Use only the values of the table.
The values of 0x0086 are in the table. Each framing has 8 data bits and 1 stop bit.
| Value of 0x0086 | Framing |
| 0 | 8N1 (no parity) |
| 1 | 8E1 (even parity) |
| 2 | 8O1 (odd parity) |
A value above 2 is answered with exception 03. Bytes with a parity error or a stop bit error are dropped. The registers 0x00D2 and 0x00D3 count them.
The response turnaround is the register 0x008B. It is the time in ms from the end of a request to the first byte of the response. It can be 1 to 20 ms and the factory value is 5. A value of 0 or above 20 is answered with exception 03. The setting is used at once. The module never answers faster than 3.5 characters at the active baud rate.
At 1 ms the shortest first byte was about 2 ms after the request. At 5 ms it was 6.8 ms or more. The values include the PC and its USB adapter.
This request selects 9600 bit/s. The module keeps answering at the old speed until it starts again.
Request: 01 06 00 85 00 01 59 E3 01 module address 1 06 function code 0x06 00 85 register 0x0085, baud rate 00 01 value 1, 9600 bit/s 59 E3 CRC (low byte first) Response: 01 06 00 85 00 01 59 E3 01 module address 1 06 function code 0x06 00 85 register 0x0085 00 01 value written, 1 59 E3 CRC (low byte first)
This request selects even parity (8E1).
Request: 01 06 00 86 00 01 A9 E3 01 module address 1 06 function code 0x06 00 86 register 0x0086, framing 00 01 value 1, 8E1 A9 E3 CRC (low byte first) Response: 01 06 00 86 00 01 A9 E3 01 module address 1 06 function code 0x06 00 86 register 0x0086 00 01 value written, 1 A9 E3 CRC (low byte first)
Follow these steps to change the line settings.

WARNING:
All modules on one line need the same baud rate and framing. A module on a different setting only answers in its own setting.

NOTE:
The firmware update with the old trigger frame always uses 8N1 at the baud rate of the module, whatever 0x0086 says.
The write lock stops a change of these settings (exception 04). See 8.2 "Write lock".
The write lock protects the settings against a change by mistake. When the lock is on, a write to a setting is answered with exception 04.
| Address | Register | Values |
| 0x0089 (137) | Write lock | 0 = off (factory), 1 = on. The value is stored. |
| 0x008A (138) | Write lock key | Write 0x4C4B to open a write window of 120 s. Write 0 to close it. Reads 0. |
The window is also open for 120 s after every start of the module. A module can be set up again after a start without the key.

When the lock is on and the window is closed, these writes are answered with exception 04:
These are always free:
A function code 0x10 request that contains a locked register is refused as a whole with exception 04. Nothing is written.
The register 0x00D1 shows the state of the lock. The high byte is the seconds left in the window, or 0xFF when the lock is off. The low byte counts the writes that were refused.
This request opens the write window.
Request: 01 06 00 8A 4C 4B DC D7 01 module address 1 06 function code 0x06 00 8A register 0x008A, write lock key 4C 4B key 0x4C4B DC D7 CRC (low byte first) Response: 01 06 00 8A 4C 4B DC D7 01 module address 1 06 function code 0x06 00 8A register 0x008A 4C 4B value written, 0x4C4B DC D7 CRC (low byte first) Request, write lock on: 01 06 00 89 00 01 99 E0 01 module address 1 06 function code 0x06 00 89 register 0x0089, write lock 00 01 value 1, lock on 99 E0 CRC (low byte first)
A write to a locked setting is answered like this. The module has the address 3 in the example.
Request, lock on, window closed: 03 06 00 81 00 01 19 C0 03 module address 3 06 function code 0x06 00 81 register 0x0081 00 01 value 1 19 C0 CRC (low byte first) Response: 03 86 04 E2 63 03 module address 3 86 0x06 + 0x80 04 exception code 04 E2 63 CRC (low byte first)

NOTE:
The update commands and the key are refused on broadcast addresses.

WARNING:
Some gateways send Modbus requests from a LoRaWAN downlink to the module without a register filter. Settings, including the write lock and its key, can then be written over LoRaWAN. Check who can send a downlink to the gateway.
The watchdog sets the outputs to safe values when the master stops polling the module. It is available in the output modules: 8DO (HUR118, HUR218, HUR128, HUR228) and 5AO (HUR555, HUR655). In an 8DI or 8AI module the register 0x008D reads 0 and a write is answered with exception 02.

| Address | Register | Values |
| 0x008D (141) | Watchdog time in seconds | 0 = off (factory), 1 to 3600. A value above 3600 is answered with exception 03. The setting is stored and used at once. |
| 0x0048 to 0x004F (72 to 79) | Safe value of each output (8 outputs of an 8DO module, 5 outputs 0x0048 to 0x004C of a 5AO module) | 8DO: 0 or 1. 5AO: 0 to 1000. 0xFFFF = keep the last value (factory). Any other value is answered with exception 03. |
| 0x00D7 (215) | Watchdog state, read only | 1 while the outputs are in the safe state. |
| 0x00D8 (216) | Number of watchdog timeouts, read only | Cleared when 0 is written to 0x00C0. |
The watchdog works like this.

NOTE:
Set the watchdog time longer than the longest pause between two requests of your master to this module. Otherwise the outputs go to the safe state during normal operation.
This request sets the watchdog time to 10 s (0x000A).
Request: 01 06 00 8D 00 0A 99 E6 01 module address 1 06 function code 0x06 00 8D register 0x008D, watchdog time 00 0A 10 seconds 99 E6 CRC (low byte first) Response: 01 06 00 8D 00 0A 99 E6 01 module address 1 06 function code 0x06 00 8D register 0x008D 00 0A value written, 10 99 E6 CRC (low byte first)
This request sets the safe values of outputs 1 and 2 of an 8DO module. Output 1 goes on and output 2 keeps its last value.
Request: 01 10 00 48 00 02 04 00 01 FF FF A6 49 01 module address 1 10 function code 0x10 00 48 address of the first safe value, 0x0048 00 02 number of registers, 2 04 number of data bytes to follow, 4 00 01 output 1: 1, on FF FF output 2: 0xFFFF, keep the last value A6 49 CRC (low byte first) Response: 01 10 00 48 00 02 C1 DE 01 module address 1 10 function code 0x10 00 48 address of the first register 00 02 number of registers written, 2 C1 DE CRC (low byte first)
The write lock stops a change of the watchdog time and of the safe values (exception 04). See 8.2 "Write lock".
A module restarts itself after a number of hours of uptime. This keeps a module stable over a long time. The register 0x008E sets the number of hours.

| Address | Register | Values |
| 0x008E (142) | Automatic restart in hours | 0 = off, 1 to 255. The factory value is 24, which is the fixed 86400 s of the old firmware. A value above 255 is answered with exception 03. |
| 0x00A2 (162) | Uptime in seconds, read only | The module restarts when this value reaches the hours of 0x008E in seconds (24 h = 86400 s). |
This request sets the automatic restart to 24 hours (0x0018).
Request: 01 06 00 8E 00 18 E9 EB 01 module address 1 06 function code 0x06 00 8E register 0x008E, automatic restart 00 18 24 hours E9 EB CRC (low byte first) Response: 01 06 00 8E 00 18 E9 EB 01 module address 1 06 function code 0x06 00 8E register 0x008E 00 18 value written, 24 E9 EB CRC (low byte first)
The write lock stops a change of the time (exception 04). See 8.2 "Write lock".
A master can send one request to all modules of a line. Two broadcast addresses exist.

| Address | Behaviour |
| 0 | The standard Modbus broadcast. A module never answers a request to address 0, in any mode. Writes are applied and reads are ignored. |
| 0xFF | Kept for compatibility. PC tools use it to find a module. The answer depends on the broadcast mode 0x0084. |
The register 0x0084 is the broadcast mode. It applies to the address 0xFF.
| Value of 0x0084 | Mode |
| 0 | Discovery (factory). Broadcast reads are answered. The answer has the source address 0xFF. |
| 1 | Only function code 0x03 reads are answered. |
| 2 | Standard. Broadcast reads are not answered. |

WARNING:
Several modules on one line answer a broadcast read at the same time. The answers collide. A broadcast write of 0x0080 moves every module on the line to the same address.
This request reads the module address with the compatibility address 0xFF. A module with the address 3 answers with the source address 0xFF when it is the only module on the line.
Request: FF 03 00 80 00 01 90 3C FF broadcast address 0xFF 03 function code 0x03 00 80 register 0x0080, module address 00 01 number of registers, 1 90 3C CRC (low byte first) Response: FF 03 02 00 03 D1 91 FF source address 0xFF 03 function code 0x03 02 number of data bytes to follow, 2 00 03 module address, 3 D1 91 CRC (low byte first)
This request writes the watchdog time of all output modules of the line with the standard broadcast address 0. There is no answer.
Request: 00 10 00 8D 00 01 02 00 1E 35 15 00 broadcast address 0 10 function code 0x10 00 8D address of the register, 0x008D, watchdog time 00 01 number of registers, 1 02 number of data bytes to follow, 2 00 1E 30 seconds 35 15 CRC (low byte first) No response. The modules apply the value.
ZTerminal for Windows is the REDZ configuration and monitoring software for the HUR RTU modules. It talks to the modules over the RS485 line through a serial port of the PC.
ZTerminal also has pages for other REDZ products. This chapter describes only the pages for the HUR RTU modules.
A new module runs at 115200 bit/s, 8N1. If the speed or the framing of the module was changed, use the changed values. See 8.1 "Line settings".
ZTerminal has a page for the HUR IO modules. The page works with four module types: 8DO (eight digital outputs), 8DI (eight digital inputs), 8AI (eight analog inputs) and 5AO (five analog outputs). It shows only the parts that belong to the type you select.
The types and the models: 8DO is HUR118, HUR218, HUR128 and HUR228. 8DI is HUR318 and HUR418. 8AI is HUR518 and HUR618. 5AO is HUR555 and HUR655.

NOTE:
After every write on this page, ZTerminal reads the values back. Check that the values read back are the ones you wanted. If a write failed, the session log at the bottom of the window gives the reason.
While a request runs, a thin bar moves under the header. If a request fails, the reason appears in red under the header.

NOTE:
If ZTerminal says that this model may not have a function, check the module type and the unit id first.
The Detect type button asks the module a few read-only questions and selects the type that answered. The result sentence appears on the Diagnostics tab, and the session log lists each question. The result is only a suggestion: change the variant if you know better.
If nothing answers, the result says: Nothing answered. Check the unit id and the line, or pick the variant by hand.
The Find unit id button asks the module for its own Modbus address with a broadcast request. When the module answers, ZTerminal shows the address next to the title and puts it in the unit box. If nothing answers, a red message appears and the unit box keeps its value.
Use Find unit id with only one module on the line.
If the broadcast mode setting (0x0084) of the module is 2, the module does not answer broadcast reads and Find unit id finds nothing. See 8.5 "Broadcast".
The Modbus address row above the tabs is the same for all four types. Read settings fills the box with the current address.
If the write fails, the unit box keeps the old address. To undo a change, write the old address back in the same way while the unit box holds the new one.

WARNING:
While the write lock is on, the module refuses writes of settings, such as a new address, and answers with exception 04. Open the write window first. See 8.2 "Write lock".
The page has three tabs: I/O, Output settings and Diagnostics. The Output settings tab appears only for 8DO and 5AO.
When you open a tab that has not been read yet, ZTerminal reads it once by itself. This only reads: nothing is written without a click.
8DO: the Digital card lists the outputs 1 to 8. The Read button reads the outputs. Each line shows ON or off and a tick box set to the same state.

Both writes act on the live outputs at once, without a confirmation window. To undo, set the tick boxes back and write again.
8DI: the Digital card lists the inputs 1 to 8, each ON or off. The pulse counter card shows one counter for each input. The module counts each rising edge of an input. On this card the counters are read only.

A bouncing contact can add extra counts, and a power cut sets the counters to zero.
The check box Keep counters over the daily restart decides whether the counters survive the daily restart of the module. A power cut still sets them to zero. Tick or clear the box and click the Write next to it: ZTerminal writes only this setting and reads the settings back.
The reset of a counter and the debounce time of the inputs are written with Modbus requests. See 7.3 "Digital input models".
8AI: the Analog card lists the channels 1 to 8. The Read button reads them. Each line shows the raw reading, 0 to 65535, and the converted value.

Choose 0 - 20 mA or 0 - 10 V in the input type list to match how the input is wired. 65535 is 20 mA or 10 V. The choice only changes how the reading is shown: nothing is written to the module.
After each read, a line tells you how many channels answered. A channel that did not answer is shown empty.
The 4 - 20 mA mode with open wire status, the status of each channel and the filter of the analog inputs are written with Modbus requests. See 7.4 "Analog input models".
5AO: the Analog card lists the outputs 1 to 5. The Read button reads the value each output is set to. Each line has a box and a Write button.

The value 0 to 1000 is the range 4 - 20 mA: value = (mA - 4) x 1000 / 16.
The Output settings tab (8DO and 5AO) decides what the outputs do when the module starts. Its card On restart and power-up has two boxes.

Tick or clear both boxes and click the Write under the boxes. ZTerminal writes both settings and reads the settings back. To undo, change the boxes and write again.
The card below lists the power-up values: eight for 8DO, named Repower register 1 to 8, and five for 5AO, named Power-up value 1 to 5. The Read button reads them.
8DO: each value is 1 (the output starts on) or 0 (the output starts off). 5AO: each value is the start value of the output, 0 to 1000.
Type the value in the box of the row and click the Write of the row. Writing here does not move the live output. The value is used after the next power cut, if Start outputs from the power-up values is ticked. To undo, write the earlier value back.
The Diagnostics tab shows the number of reads the module has answered, its uptime, the original firmware version and the updated version, or not upgraded. Press Read settings to refresh the values.
The tab also shows the result of the last Detect type.
The diagnostic block of the module, with the error counters and the restart cause, is read with Modbus requests. See 7.7 "Diagnostic block".
The line settings, the write lock, the communication watchdog and the other settings of firmware 3.0 are written with Modbus requests from your master. See chapter 8 "Communication and Protection Settings".
To update the firmware of a module, see chapter 10 "Firmware Upgrade".
HUR modules with firmware 3.0 and the A/B bootloader can be updated over the same RS485 line, with Modbus requests. The new firmware is first loaded into a second memory area. The running firmware is replaced only after the new image is complete and checked.
Modules with firmware 3.0 have the A/B bootloader. ZTerminal 5.0.0 does not update them; the update tool for these modules is planned for a later release of ZTerminal for Windows. Until then, contact REDZ support for a firmware update of a module with firmware 3.0.

Modules with firmware 0.x (delivered with the legacy bootloader) are updated to firmware 3.0 with ZTerminal for Windows 5.0.0 over the RS485 line.
Use the LEGACY file of the module group made for the speed the module uses now, for example HUR_8_DigitalIn_v3.0_17112026_LEGACY_115200BAUD.bin for an 8DI module at 115200 bit/s (files for 9600, 19200, 57600 and 115200 bit/s). ZTerminal accepts only HUR legacy files but cannot tell the groups apart, so check the group in the file name.





WARNING:
If writing stops halfway, choose the method Recovery, keep the same file, switch the module off and on, and click Start upload again.

WARNING:
The trigger of the legacy update has no address. At power-up, all modules of the same hardware type on the same line and on the same power supply enter the update window and accept the image. Update with only one module on the line.
After the update the module runs firmware 3.0 and keeps its Modbus address; the diagnostic block reports the hardware type 7 (legacy bootloader).

NOTE:
After a legacy update, the module still uses the legacy update for later updates. Only a programmer installs the A/B bootloader. The programmer also resets the stored settings to the factory values.
Order the module by its model name. The models come in pairs with the same I/O and the same Modbus registers: the DC model and the AC model of a pair differ only in the power input.
| Model | Description | Ports | Power input |
| HUR118 | 8 channels 5 - 275 V AC/DC, 100 mA digital optocoupler output Modbus RTU remote I/O device | 1 x RS485 | 9 - 48 V DC |
| HUR128 | 8 channels digital 5 A 250 V AC / 30 V DC relay output Modbus RTU remote I/O device | 1 x RS485 | 9 - 48 V DC |
| HUR218 | 8 channels 5 - 275 V AC/DC, 100 mA digital optocoupler output Modbus RTU remote I/O device | 1 x RS485 | 100 - 240 V AC (120 - 370 V DC), 50 - 60 Hz |
| HUR228 | 8 channels digital 5 A 250 V AC / 30 V DC relay output Modbus RTU remote I/O device | 1 x RS485 | 100 - 240 V AC (120 - 370 V DC), 50 - 60 Hz |
| HUR318 | 8 channels 12 - 275 V AC/DC digital optocoupler input Modbus RTU remote I/O device | 1 x RS485 | 9 - 48 V DC |
| HUR418 | 8 channels 12 - 275 V AC/DC digital optocoupler input Modbus RTU remote I/O device | 1 x RS485 | 100 - 240 V AC (120 - 370 V DC), 50 - 60 Hz |
| HUR518 | 8 channels 0 - 10 V and 0 - 20 mA selectable analog input Modbus RTU remote I/O device | 1 x RS485 | 9 - 48 V DC |
| HUR555 | 5 channels 4 - 20 mA analog output Modbus RTU remote I/O device | 1 x RS485 | 9 - 48 V DC |
| HUR618 | 8 channels 0 - 10 V and 0 - 20 mA selectable analog input Modbus RTU remote I/O device | 1 x RS485 | 100 - 240 V AC (120 - 370 V DC), 50 - 60 Hz |
| HUR655 | 5 channels 4 - 20 mA analog output Modbus RTU remote I/O device | 1 x RS485 | 100 - 240 V AC (120 - 370 V DC), 50 - 60 Hz |
The table shows the power input and the I/O of every model.
| Feature | HUR118 | HUR128 | HUR218 | HUR228 | HUR318 | HUR418 | HUR518 | HUR555 | HUR618 | HUR655 |
| DC power input (9 - 48 V DC) | ● | ● | ● | ● | ● | |||||
| AC power input (100 - 240 V AC, 50 - 60 Hz; 120 - 370 V DC) | ● | ● | ● | ● | ● | |||||
| 1 x RS485 port | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● |
| 8 channel 5 - 275 V AC/DC, 100 mA digital optocoupler output | ● | ● | ||||||||
| 8 channel digital 5 A relay output | ● | ● | ||||||||
| 8 channel 12 - 275 V AC/DC digital optocoupler input | ● | ● | ||||||||
| 8 channel 0 - 10 V and 0 - 20 mA selectable analog input | ● | ● | ||||||||
| 5 channel 4 - 20 mA analog output | ● | ● |
THIS SITE USES COOKIES
Various types of cookies are used on our website (and on all other
digital platforms including mobile applications).
View our new THE INFORMATIVE TEXT ON LPPD AND PRIVACY here.
Google Analytics
Analytical cookies help us to improve our website by collecting and
reporting information on its usage.
Advertising (Google Ads, LinkedIn) and Remarketing
We use marketing cookies to help us improve the relevancy of advertising
campaigns you receive.
I have read the above articles