Logline
Logline
Summary
General commands
Bit 3-0 1 2 3 4 5 6 7 8
Bit rate 1200 2400 4800 9600 19200 38400 57600 115200
Response
Echo of Request
Example for a frame:
Slave address 0x12 Rotary switch setting (18)
Function 0x06 Write Single Register
Register address Hi 0x00
Register address Lo 0x41 Bit rate and Parity (65)
Register content Hi 0x53 Magic number
Register content Lo 0x15 Parity Even, 19200 Bit/s
All devices can be switched simultaneously with a Broadcast command (Slave address 0x00)
However, it is advised not to do so as this may cause problems:
Devices from other manufacturers may have under this address a register for a different
purpose that will then be operated in the wrong way.
There is no feedback from the individual devices. Consequently the control cannot
immediately recognize if the command was correctly received.
It is safer to address and switch each device individually. The device will then answer with
the old settings of parity and bit rate. Switching will take place afterwards. However, the
answer can get lost if the bus is disturbed.
When all devices are switched; it is advised to check communication. Any function of the
device providing a feedback is suitable. If a single function is to be used being independent
from the process periphery then the function „Diagnostic“ sub-function „Return Query
Data“ is suitable, it returns the transferred data.
If bit rate and parity setting of a device are unknown it is possible to address the device
successively with all combinations of bit rate and parity until the device answers. Try the
most likely combinations first. Try the lower bit rates last as they take longer.
MR-DO4 / MR-DOA4
I/O commands
Modbus Function “01 (0x01) Read Coils“
Request
Valid Coil Starting Address 0 .. 7
* for MR-DOA4 Address 4 .. 7 = 0
Valid Quantity of Outputs 1 .. 8
Response
Byte Count 1
Output Status Bit0 .. Bit7
Bit Information
0 = Status relay 1 off
0
1 = Status relay 1 on
0 = Status relay 2 off
1
1 = Status relay 2 on
0 = Status relay 3 off
2
1 = Status relay 3 on
0 = Status relay 4 off
3
1 = Status relay 4 on
0 = relay 1 switched via bus
4*
1 = relay 1 switched via manual control
0 = relay 2 switched via bus
5*
1 = relay 2 switched via manual control
0 = relay 3 switched via bus
6*
1 = relay 3 switched via manual control
0 = relay 4 switched via bus
7*
1 = relay 4 switched via manual control
Bit Information
0 = Status relay 1 off
0
1 = Status relay 1 on
0 = Status relay 2 off
1
1 = Status relay 2 on
0 = Status relay 3 off
2
1 = Status relay 3 on
0 = Status relay 4 off
3
1 = Status relay 4 on
Response
Function Code, Starting Address, Quantity of Outputs
Modbus Function “03 (0x03) Read Holding Registers”
Request
Valid Register Starting Address 0..1 or 66
Valid Quantity of Registers 2 or 1
Response
Function Code, Byte Count, Register Values
Values Register 0:
Bit Information
0 = Status relay 1 off
0
1 = Status relay 1 on
0 = Status relay 2 off
1
1 = Status relay 2 on
0 = Status relay 3 off
2
1 = Status relay 3 on
0 = Status relay 4 off
3
1 = Status relay 4 on
0 = relay 1 switched via bus
4
1 = relay 1 switched via manual control
0 = relay 2 switched via bus
5
1 = relay 2 switched via manual control
0 = relay 3 switched via bus
6
1 = relay 3 switched via manual control
0 = relay 4 switched via bus
7
1 = relay 4 switched via manual control
Values Register 1:
Bit Information
0 = Initial state after Reset or communication; monitoring relay 1 off
0
1 = Initial state after Reset or communication; monitoring relay 1 on
0 = Initial state after Reset or communication; monitoring relay 2 off
1
1 = Initial state after Reset or communication; monitoring relay 2 on
0 = Initial state after Reset or communication; monitoring relay 3 off
2
1 = Initial state after Reset or communication; monitoring relay 3 on
0 = Initial state after Reset or communication; monitoring relay 4 off
3
1 = Initial state after Reset or communication; monitoring relay 4 on
Value Register 66:
Time constant for communication monitoring.
Register Value = 0 (0x0000) (default) there is no communication monitoring, all other
values are for communication monitoring with a solution of 10 ms.
0x0001 to 0xFFFF => 0.01 to 655.35 seconds = 10.9 minutes
MR-TO4
I/O commands
Modbus Function “01 (0x01) Read Coils“
Request
Valid Coil Starting Address 0 .. 7
Valid Quantity of Outputs 1 .. 8
Response
Byte Count 1
Output Status Bit0 .. Bit7
Bit Information
0 = Status Triac 1 off
0
1 = Status Triac 1 on
0 = Status Triac 2 off
1
1 = Status Triac 2 on
0 = Status Triac 3 off
2
1 = Status Triac 3 on
0 = Status Triac 4 off
3
1 = Status Triac 4 on
0 = Triac 1 switched via bus
4*
1 = Triac 1 switched via manual control
0 = Triac 2 switched via bus
5*
1 = Triac 2 switched via manual control
0 = Triac 3 switched via bus
6*
1 = Triac 3 switched via manual control
0 = Triac 4 switched via bus
7*
1 = Triac 4 switched via manual control
Bit Information
0 = Status Triac 1 off
0
1 = Status Triac 1 on
0 = Status Triac 2 off
1
1 = Status Triac 2 on
0 = Status Triac 3 off
2
1 = Status Triac 3 on
0 = Status Triac 4 off
3
1 = Status Triac 4 on
Response
Function Code, Starting Address, Quantity of Outputs
Factory setting 0,
Storage in EEPROM
6–9 Basic settings of the pulse durations
Holding Registers
Adresse Beschreibung
66 Time constant for connection monitoring
MR-DI4 / MR-DI4-IP
Modbus Function “02 (0x02) Read Discrete Inputs“
Request
Valid Input Starting Address 0 .. 3
Valid Quantity of Inputs 1 .. 4
Response
Byte Count 1
Input Status Bit0 .. Bit3 ( Bit 4 .. 7 = 0 )
Information
1= Status input closed
0= Status input open
Modbus Function “04 (0x04) Read Input Registers”
Request
Valid Register Starting Address 0
Valid Quantity of Registers 1
Response
Byte Count 2
Values Register Input Status Bit 0..3
Modbus Function “43 /14 (0x2B / 0x0E) Read Device Identification”
Request
Read Device ID code: 0x01
Object ID 0x00
Response
Device ID code 0x01
Conformity level 0x01
More follows 0x00
Next object ID 0x00
Number of objects 0x03
Object ID 0x00
Object Length 0x11
Object Value “METZ CONNECT GmbH”
Object ID 0x01
Object Length 0x06
Object Value “MR-DI4”
Object ID 0x02
Object Length 0x04
Object Value “V1.4”
MR-DI10
Modbus Function “02 (0x02) Read Discrete Inputs“
Request
Valid Input Starting Address 0 .. 9
Valid Quantity of Inputs 1 .. 10
Response
Byte Count 1 or 2
Input Status Bit0 .. Bit9
Information
1= Status input closed
0= Status input open
Modbus Function “04 (0x04) Read Input Registers”
Request
Valid Register Starting Address 0
Valid Quantity of Registers 1
Response
Byte Count 2
Values Register Input Status Bit 0..9
Modbus Function “43 /14 (0x2B / 0x0E) Read Device Identification”
Request
Read Device ID code: 0x01
Object ID 0x00
Response
Device ID code 0x01
Conformity level 0x01
More follows 0x00
Next object ID 0x00
Number of objects 0x03
Object ID 0x00
Object Length 0x11
Object Value “METZ CONNECT GmbH”
Object ID 0x01
Object Length 0x07
Object Value “MR-DI10”
Object ID 0x02
Object Length 0x04
Object Value “V1.4”
MR-SI4
I/O functions
Modbus Function “02 (0x02) Read Discrete Inputs“
Request
Valid Input Starting Address 0 .. 3
Valid Quantity of Inputs 1 .. 4
Response
Byte Count 1
Input Status Bit0 .. Bit3 ( Bit 4 .. 7 = 0 )
Information
1= Status input closed
0= Status input open
Modbus Function “04 (0x04) Read Input Registers”
Request
Valid Register Starting Address 0
Valid Quantity of Registers 21
Response
Byte Count 2
Values Register Input Status Bit 0..3
Counter functions
The following functions are used to read or write the registers. The valid address ranges are
indicated in brackets.
“04 (0x04) Read Input Registers“ (0-20)
„03 (0x03) Read Holding Registers” (0-43)
“06 (0x06) Write Single Register” (20-43)
“06 (0x06) Write Single Register“ (65)
“16 (0x10) Write Multiple Registers (0-43, 65)
For long data types with a length of several registers, these registers are listed directly one
after the other and the one with the highest value is indicated first. This data can only be
transmitted as complete set.
Holding Register
Address Name Description
0 – 11 IT Copy of the pulse counter after having pressed the key
Data type uint48_t (3 registers each) (EEPROM)
12 – 19 AZ Initial counter reading
Data type uint32_t (2 registers each)
Factory setting 0 (EEPROM)
20 – 23 IE Pulses per unit
Data type uint16_t (1 register each)
Factory setting 1 (EEPROM)
24 – 27 WI Transformation factor for current
Data type uint16_t (1 register each)
Factory setting 1 (EEPROM)
28 – 31 WU Transformation factor for voltage
Data type uint16_t (1 register each)
Factory setting 1 (EEPROM)
32 – 35 WP Operating mode for calculation with transformation factor
Data type uint16_t (1 register each, only Bit 0 is valid)
Value range 0…1, see below
Factory setting 0 (EEPROM)
36 – 39 ZS Format of the counter digit display
Data type uint16_t (1 register each) (EEPROM)
High-Byte for counter digits,
Value range 0…9, factory setting 7,
higher values are limited to 9.
Low-Byte for places after the decimal point,
Value range 0…3, factory setting 1,
higher values are limited to 3.
40 – 43 TA Flag for key activation
Data type uint16_t (1 register each, only Flag in Bit 0)
0: key is blocked, 1: key is operational
Factory setting 1 (EEPROM)
65 Bit rate Codes for bit rate and Parity
Factory setting 19200 bit/s, Even Parity (EEPROM)
Consumption and display of the transformer counter are different. Both can be calculated
using a different configuration (WI, WU).
Factors: WI = WU = 1:
The calculated counter reading corresponds to the
display of the transformer counter.
Species: DIN rail counter with mechanical drum-type
counting mechanism, Ferraris counter.
IZ – IT
BZ = ( ---------- + AZ ) ∙ WI ∙ WU , BZ = counter reading or consumption
IE
Start of operation
The user reads on site the initial count from the electricity meter and presses the key on the
MR-SI4. After this key press, the pulse counter of register IZ is copied into register IT.
Afterwards, the user configures the MR-SI4 via the Modbus using a service program. The
following must be entered:
- initial counter reading from the counter
- pulses per unit,
e.g. indication on the electricity meter 2000 pulses per kWh
- formula type for calculation with transformation factors
- factor for current transformation,
e.g. indication on the transformer 200/5A → factor = 40
- factor for voltage conversion,
e.g. indication on the transformer 20000/100V → factor = 200
- number of digits and places after the decimal point
- deactivate the key to protect the IT register
Details for calculation
The calculated counter reading should behave exactly as the electricity meter. This requires
that there should be no overflows and rounding errors for the intermediate results.
Therefore, particularly large data types are used for counting and calculation
Every 60 milliseconds, a pulse can be emitted by the electricity meter. This results in up to
1,440,000 pulses per day or about 526,000,000 pulses per year.
If the pulse counter was realized with 4 bytes, it could be count to 4,294,967,295. At
highest pulse frequency, this would be enough for approx. 8.2 years.
Therefore it is provided with 6 bytes and cannot overflow.
The number of places after the decimal point is considered as an additional multiplier with
a power of ten during the calculation. Furthermore, it determines the place of the decimal
point in the display of BZ and AZ.
As for the electricity counter which only has a specified number of decimal places, the
number of places is limited with the last step in the calculation. This is why the calculated
counter reading of the MR-SI4 overflows to 0 as often as the counter reading of the
electricity meter.
Calculated counter reading if WP = 0:
BZ = ( (uint96_t) (IZ - IT) * WU * WI * power of ten [places after decimal point] / IE +
(uint96_t) AZ * WU * WI )
% power of ten [counter digits]
Calculated counter reading if WP = 1:
BZ = ( (uint96_t) (IZ - IT) * WU * WI * power of ten [places after decimal point] / IE +
(uint96_t) AZ )
% power of ten [counter digits]
MR-DIO4/2 / MR-DIO4/2S
MR-DIO4/2-IP
I/O commands
Modbus Function “01 (0x01) Read Coils“
Request
Valid Coil Starting Address 0 .. 3
Valid Quantity of Outputs 1 .. 4
Response
Byte Count 1
Output Status Bit0 .. Bit3 (Bit4 .. 7=0)
Bit Information
0 = Status relay 1 off
0
1 = Status relay 1 on
0 = Status relay 2 off
1
1 = Status relay 2 on
0 = relay 1 switched via bus
2
1 = relay 1 switched via manual control
0 = relay 2 switched via bus
3
1 = relay 2 switched via manual control
Manual operations of the outputs are enabled in Direct_Control mode only.
Bit Information
0 = Status relay 1 off
0
1 = Status relay 1 on
0 = Status relay 2 off
1
1 = Status relay 2 on
Response
Function Code, Starting Address, Quantity of Outputs
Values Register 12: Position request of the 1st fire damper (ActuPos_1) or
Values Register 13: Position request of the 1st fire damper (ActuPos_2)
Value Information
1 Fire damper open
2 Fire damper closed
3 Fire damper moving
Values Register 14: Position request of the 2nd fire damper (ActuPos_1a) or
Values Register 15: Position request of the 2nd fire damper (ActuPos_2a)
Value Information
1 Fire damper open
2 Fire damper closed
3 Fire damper moving
Values Register 16: Reporting and reset of alarm codes Channel 1(AlarmCode_1) or
Values Register 17: Reporting and reset of alarm codes Channel 2(AlarmCode_2)
Value Information
1 OK, no alarm
3 Runtime_Error
4 Manipulation
5 Update_Error
6 Alarm
7 Alarm_a
ActuDrive_1…2
Only with operating mode Motorized_SafetyOpen and Motorized_SafetyClose.
The damper position is controlled in this register.
Values: open (1), close (2), basic setting after reset is the normal position.
ActuPos_1…2
Operating modes Motorized_SafetyOpen, Motorized_SafetyClose and
LimitSwitch_Open_Close:
The damper position is reported in this register.
The report comes from limit switches OPEN1, CLOSED1, OPEN2, CLOSED2 (NO).
Values: open (1), close (2), running (3).
ActuPos_1a…2a
Operating modes Motorized_SafetyOpen, Motorized_SafetyClose and
LimitSwitch_Open_Close:
Values: inactive (0).
Operating modes LimitSwitch_Open and Limit_Switch_Close:
In this register, the position of the second fire damper is reported.
The report comes from the limit switches at inputs OPEN1a/CLOSE1a, OPEN2a/CLOSE2a
(NO contact for LimitSwitch_Open, NC contact for LimitSwitch_Close).
Values: open (1), close (2).
AlarmCode_1…2
In this register, the error states are reported. The first error code (3…7) is stored until it has
been eliminated, only after that another error message is possible.
The values and resetting of errors are described below.
Values with operating mode Motorized_ SafetyOpen and Motorized_ SafetyClose:
OK (1), Runtime_Error (3), Manipulation (4), Update_Error (5), Alarm (6).
Values with operating mode LimitSwitch_Open_Close:
OK (1), Manipulation (4), Alarm (6).
Values with operating modes LimitSwitch_Open and LimitSwitch_Close:
OK (1), Alarm (6) for inputs OPEN1/CLOSE1, OPEN2/CLOSE2,
Alarm_a (7) for inputs OPEN1a/CLOSE1a, OPEN2a/CLOSE2a.
Alarm (6) has priority over Alarm_a (7), if both dampers are in Fire position.
DriveTime_1…2
Only with operating mode Motorized_SafetyOpen and Motorized_SafetyClose.
The maximum opening duration of the damper is set in this register.
If the time is exceeded, the alarm code Runtime_Error is reported.
For value 0, the time measurement is off.
Values: 0…6553.5 sec., resolution 0.1 sec., factory setting 240 sec.
TurnOffTime_1…2
Only with operating mode Motorized_SafetyOpen and Motorized_SafetyClose.
The maximum closing duration of the damper is set in this register.
If the time is exceeded, the alarm code Runtime_Error is reported.
For value 0, the time measurement is off.
Values: 0…6553.5 sec., resolution 0.1 sec., factory setting 35 sec.
RcvHeartBeat_1…2
Only with operating mode Motorized_SafetyOpen and Motorized_SafetyClose.
The maximum duration between write accesses is set in ActuDrive_1…2. It can be used to
implement connection monitoring.
If the time is exceeded, the alarm code Update_Error is reported.
For value 0, the time measurement is off.
Values: 0…6553.5 sec., resolution 0.1 sec., factory setting 0 sec.
Fire position
Depending on the operating mode, the fire position is derived from the limit switches.
Operating mode Fire position if
Motorized_SafetyClose Damper not OPEN
Motorized_SafetyOpen Damper not CLOSED
LimitSwitch_Open_Close Damper not OPEN
LimitSwitch_Open minimum 1 damper not OPEN
LimitSwitch_Close minimum 1 damper CLOSED
If the damper position is Fire position and no other alarm code has been reported yet,
alarm is reported in the AlarmCode register.
For the operating modes LimitSwitch_Open and LimitSwitch_Close, the alarm for the first
damper or alarm_a for the second damper is reported. Alarm has priority over Alarm_a.
In the operating modes Motorized_SafetyOpen and Motorized_SafetyClose, self-holding in
the safe position can be activated via the Fire position. Then the relay is switched to the
safe state. To move the fire damper to the normal position, first, the normal position is
written in ActuDrive and then the AlarmCode is reset to OK. Then the alarm reset is
initiated during which the self-holding is interrupted.
Runtime_Error
(Operating mode Motorized_SafetyOpen, Motorized_SafetyClose)
The time during which the damper opens or closes can be measured. If the allowed
duration is exceeded, this error will be reported.
The time measurement with DriveTime_1…2 starts when the relay is switched on (open
damper) and ends when the limit switches report the OPEN position.
The time measurement with TurnOffTime_1…2 starts when the relay is switched off (close
damper) and ends when the limit switches report the CLOSED position.
Each of the 2 time measurements can be switched off using the value 0.
An error remains stored, then the relay switches to the safe position.
Possible causes: damper becomes jammed, limit switch defective, input for limit switch
defective, cable to the limit switch interrupted, cable to the motor interrupted, motor
defective.
Manipulation
(Operating mode Motorized_SafetyOpen, Motorized_SafetyClose, LimitSwitch_Open_Close)
If both limit switches are switched on simultaneously, this error will be reported.
In ActuPos_1…2, the running value is reported at the same time.
An error remains stored, then the relay is switched off.
Possible causes: limit switch defective, input for limit switch defective, cable to the limit
switch short-circuited.
Update_Error
(Operating mode Motorized_SafetyOpen, Motorized_SafetyClose)
The time interval between write accesses to ActuDrive_1…2 can be monitored. If the
allowed duration (RcvHeartBeat_1…2) is exceeded, this error will be reported.
The monitoring also starts if the error is reset or RcvHeartBeat is set to unequal to 0.
The time measurement can be switched off using the value 0.
An error remains stored, then the relay switches to the safe position.
Possible causes: remote terminal on the bus out of operation, bus connection interrupted
(e.g. cable, repeater, switch).
MR-TP
I/O commands
Modbus Function “02 (0x02) Read Discrete Inputs”
Request
Valid Input Starting Address 0 .. 15
Valid Quantity of Inputs 1 .. 16
Response
Byte Count 1..2
Input Status Bit0 .. Bit15
Information
Discrete Input 0-5: switching status of the digital inputs,
0: OFF, 1: ON
Discrete Input 6-7: feedback of transistor outputs,
0: OFF, 1: ON
Discrete Input 8-9: feedback of switching status of relay 1,
0: Off, 2: level 1 (open),
3: level 2 (close)
Discrete Input 10-11: Cause of the switching status of relay 1,
for sunblind mode see table of priorities,
otherwise 3: trigger switch, 0: Modbus coils
Discrete Input 12-13: feedback of switching status of relay 2,
0: OFF, 2: level 1 (open),
3: level 2 (close)
Discrete Input 14-15: Cause of the switching status of relay 2,
for sunblind mode see table of priorities,
otherwise 3: trigger switch, 0: Modbus coils
Modbus Function “04 (0x04) Read Input Registers”
Request
Valid Register Starting Address 0
Valid Quantity of Registers 1
Response
Byte Count 2
Values Register Bit0 .. Bit15
Information
See information Discrete Input 0-15
Bit Information
0 = Status digital output 1 off
0
1 = Status digital output 1 on
0 = Status digital output 2 off
1
1 = Status digital output 2 on
Status relay 1 in “switch” mode: 0: relay contact 11-14-24 open
1: relay contact 11-14-24 open
2-3
2: relay contact 11-14 closed
3: relay contact 11-24 closed
Status relay 2 in “switch” mode: 0: relay contact 31-34-44 open
1: relay contact 31-34-44 open
4-5
2: relay contact 31-34 closed
3: relay contact 31-44 closed
Modbus Function “05 (0x05) Write Single Coil”
Request
Valid Output Address 0 .. 5
Valid Output Value 0x0000 or 0xFF00
Response
Echo of request
Value Register 3:
Bits 0-5 contain the basic setting for coils 0-5
Factory setting 0, storage in EEPROM
Value Register 4:
Time constant push-button short/long,
Unit 10 ms, factory setting 2 s, storage in EEPROM
Value Register 5:
Time constant short pulse,
Unit 10 ms, factory setting 0,5 s, storage in EEPROM
Value Register 6:
Time constant long pulse,
Unit 10 ms, factory setting 60 s, storage in EEPROM
Value Register 7:
Time constant rotating pulse (position the blades horizontally),
Unit 10 ms, factory setting 1 s, storage in EEPROM
Value Register 66
Time constant for connection monitoring
Unit 10 ms, factory setting 0 s, storage in EEPROM
Modbus Function “06 (0x06) Write Single Register”
Request
Register Address 0 - 7 or 66
Register Value according to tables or descriptions above
and below
Response
Echo of the request
Modbus Function “16 (0x10) Write Multiple Registers”
Request
Valid Register Starting Address 0 – 7 or 66
Valid Quantity of Registers 1–8
Byte Count 2 x Quantity of registers
Registers Value according to tables or descriptions above
and below
Response
Function Code, Register Starting Address, Quantity of Registers
Operating modes
The operating mode is selected by using the low bits of the operating mode register. The
high bits contain more flags for sunblind operation (sunblind 1 / 2).
In all operating modes, a pause of 0.5 seconds of the Off status is included between level 1
and level 2 when the relay outputs are switched.
Operating mode 0 (Modbus Off)
The digital inputs and transistor outputs are queried and controlled by the Modbus.
The relay outputs are only controlled via the built-in trigger switches.
Function of the trigger switches: Top = level 1, center = OFF, bottom = level 2.
Operating mode 1 (Switch 0-1-2)
The digital inputs and transistor outputs are queried and controlled by the Modbus.
The relay outputs are controlled by the Modbus or by the built-in trigger switches.
Function of the trigger switches: Top = OFF, center = level 1, bottom = level 2.
Operating mode 2 (Switch 1-0-2)
The digital inputs and transistor outputs are queried and controlled by the Modbus.
The relay outputs are controlled by the Modbus or by the built-in trigger switches.
Function of the trigger switches: Top = level 1, center = OFF, bottom = level 2.
Operating mode 3 (Sunblind 1)
Unused digital inputs and transistor outputs are queried and controlled by the Modbus.
The relay outputs and digital inputs are used to control 2 sunblinds.
Used for AC/DC motors with separate coils for opening and closing.
Relay contact 11: operating voltage for motor 1
Relay contact 14: motor and limit switch 1 for opening
Relay contact 24: motor and limit switch 1 for closing
Relay contact 31: operating voltage for motor 2
Relay contact 34: motor and limit switch 2 for opening
Relay contact 44: motor and limit switch 2 for closing
Operating push-buttons and switching contacts are connected to the digital inputs.
Input 1: open sunblind 1
Input 2: close sunblind 1
Input 3: optional wind contact (NC or NO contact)
Input 4: open sunblind 2
Input 5: close sunblind 2
Input 6: optional door contact (NC or NO contact)
Different operation modes and time constants can be set for the operation pushbuttons.
Flags in operating mode register for sunblind mode
Bit Value Description
0 No wind contact at input 3
15
1 Wind contact at input 3
0 Wind contact is NO contact
14
1 Wind contact is NC contact
0 No door contact at input 6
13
1 Door contact at input 6
0 Door contact is NO contact
12
1 Door contact is NC contact
0-3 Short pulse starts with key press
0 Short pulse ends after the time constant „Short“
1 Short pulse ends after the minimum of time constant „Short“ and key press
2 Short pulse ends after the maximum of time constant „Short“ and key press
3 Short pulse ends with key press
10-
8 4 Short pulse starts at the end of key press, ends after the time constant
„Short“
7 Pulse lasts as long as key press
0-4 Long pulse starts after time constant „pushbutton“, ends after time constant
„Long“ and ends earlier in case of a short key press
7 No long pulse
Simultaneous control of both sunblinds with the sunblind command register is possible via
the bus. The command sequence begins as soon as the register content is changed.
Coding of the sunblind commands
0 Normal operation, control by operating pushbuttons possible
1 Switch off relay, lock control by operation pushbuttons (lock)
2 Long pulse for opening, then lock
3 Long pulse for closing, then lock
4 Long pulse for closing, then rotating pulse (blades horizontal), then lock
MR-AO4
I/O commands
Modbus Function “03 (0x03) Read Holding Registers”
Holding Register 0-3: output value of the outputs,
Signed Integer16,
Holding Register 4-7: basic settings of the output values
Request
Valid Register Starting Address 0..7 or 66
Valid Quantity of Registers 1..8 or 1
Response
Byte Count 2 x Quantity of Registers
Values Register 0..7 0x0000 to 0xFFFF (0x7FFF = 10.24 Volt)
Unit = 10.24V / 215 = 1V / 3200 = 0.3125 mV
Value Register 66
Time constant for communication monitoring.
Register Value = 0 (0x0000) there is no communication monitoring, all other values are for
communication monitoring with a solution of 10 ms.
0x0000 to 0xFFFF => 0 to 655.35 seconds = 10.9 minutes
Modbus Function “06 (0x06) Write Single Register”
Request
Valid Register Address 0..7 or 66
Valid Value Register 0..7 0x0000 to 0xFFFF (0x7FFF = 10.24 Volt)
Valid Value Register 66 0x0000 to 0xFFFF
(0 to 655.35 seconds)
Response
Echo of the request
Modbus Function “16 (0x10) Write Multiple Registers”
Request
Valid Register Starting Address 0..7 or 66
Valid Quantity of Registers 1..8
Valid Byte Count 2 x Quantity of Registers (QoR)
Valid Value Register 0..7 QoR x 0x0000 to 0xFFFF (0x7FFF = 10.24 Volt)
Response
Function Code, Register Starting Address, Quantity of Registers
MR-AOP4
I/O commands
Modbus Function “01 (0x01) Read Coils“
Modbus Function “02 (0x02) Read Discrete Inputs“
Modbus Function “04 (0x04) Read Input Registers”
Request
Valid Starting Address 0 .. 3
Valid Quantities 1 .. 4
Response
Byte Count 1
Status Bit0 .. Bit3 1 = manual mode
0 = automatic mode
Modbus Function “03 (0x03) Read Holding Registers”
Holding Register 0-3: output values of the outputs,
Signed Integer16,
Holding Register 4-7: basic settings of the output values
Request
Valid Register Starting Address 0..7 or 66
Valid Quantity of Registers 1..8 or 1
Response
Byte Count 2 x Quantity of Registers
Values Register 0..7 0x0000 to 0xFFFF (0x7FFF = 10.24 Volt)
Unit = 10.24V / 215 = 1V / 3200 = 0.3125 mV
Value Register 66
Time constant for communication monitoring.
Register Value = 0 (0x0000) there is no communication monitoring, all other values are for
communication monitoring with a solution of 10 ms.
0x0000 to 0xFFFF => 0 to 655.35 seconds = 10.9 minutes
Modbus Function “06 (0x06) Write Single Register”
Request
Valid Register Address 0..7 or 66
Valid Value Register 0..7 0x0000 to 0xFFFF (0x7FFF = 10.24 Volt)
Valid Value Register 66 0x0000 to 0xFFFF
(0 to 655.35 seconds)
Response
Echo of the request
MR-AI8
I/O commands
Modbus Function “04 (0x04) Read Input Registers”
Request
Valid Starting Address 0 .. 15
Valid Quantities 1 .. 16 (1 .. 8 inputs)
Response
Byte Count 2 x Quantity o. R.
Registers Values Quantity o. R. x 12 Bytes
Figure 1
Byte1 Bit7 Byte1 Bit6..0 Byte2 Bit7 Byte2 Bit6..0 Byte3 Byte4
Configuration registers
Input circuit and measuring range, data type and value unit and the sensor characteristic
for usual temperature sensors are set for the 8 inputs with the 8 configuration registers.
Modbus Function “03 (0x03) Read Holding Registers“
Modbus Function “06 (0x06) Write Single Registers“
Modbus Function “16 (0x10) Write Multiple Registers“
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 range number
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 Number Type
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Configurations registers are shown above in a way to display the meaning of the individual
bit. For the application it is more convenient if the register contents is displayed as a whole,
see the following chart.
The nodes are filled beginning at the top of the chart, with a maximum of 10, and end
with temperature = resistance = 0, if there are less nodes. Temperature and resistance
values have to be in ascending or descending order. So the combination 0,0 as a node is
not allowed. Data type in the registers: float temperature, float resistance.
MR-CI4
I/O commands
Modbus Function “04 (0x04) Read Input Registers”
Input Registers
Address Information
0–3 Measured values of inputs 1-4,
Data type Signed Integer16,
Value ranges:
Value 0 = 0 V ,... Value 32767 = 10.24 V
Value 0 = 0 mA ,... Value 32767 = 20.48 mA
Value 0 = 4 mA ,... Value 32767 = 20.38 mA
4 Status register
Bit 0...7: Position of DIP switches 1...8
Bit value 0 = OFF
Bit value 1 = ON
Bit 8...11: Status of inputs 1...4
Bit value 0 = voltage < 2 V or current < 4 mA
Bit value 1 = voltage ≥ 2 V or current ≥ 4 mA
MR-AIO4/2-IP
I/O commands
Modbus Function “04 (0x04) Read Input Registers”
Request
Valid Starting Address 0 .. 7
Valid Quantities 1 .. 8 ( 1 .. 4 inputs )
Response
Byte Count 2 x Quantity o. R.
Registers Values Quantity o. R. x 12 Bytes
Figure 1
Byte1 Bit7 Byte1 Bit6..0 Byte2 Bit7 Byte2 Bit6..0 Byte3 Byte4
Configuration registers
These 4 configuration registers are used for the setting of input circuit and measuring
range, data type and unit of the measured value and the sensor characteristic for usual
temperature sensors for each of the 4 inputs.
The register content is stored at the EEPROM.
Modbus Function “03 (0x03) Read Holding Registers“ (max 20 at once)
Modbus Function “06 (0x06) Write Single Registers“
Modbus Function “03 (0x03) Write Multiple Registers“ (max 20 at once)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 Range Number
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 Number Type
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Configurations registers are shown above in a way to display the meaning of the individual
bit. For the application it is more convenient if the register contents is displayed as a whole,
see the following chart
The nodes are filled beginning at the top of the chart, with a maximum of 10, and end
with temperature = resistance = 0, if there are less nodes. Temperature and resistance
values have to be in ascending or descending order. So the combination 0,0 as a node is
not allowed. Data type in the registers: float temperature, float resistance.
Y Yp Yi Ydt
Yp Fp Xw
t
1
Yi Fp ( Xw ) d
Ti 0
d (Ydt ) d ( Xwd )
Ydt T 1 Fp Td
dt dt
Output limitation
The I-share Yi and the Y output are limited by the Ymin and Ymax constants.
In addition, the Y output is limited by the values which can be changed during operation.
PID1 controller has the input Amin which represents the lower limit for its Y output.
PID2 controller has the Bmax input which represents the upper limit for its Y output.
Dead range
This parameter can be used to prevent continuous small changes at the Y output.
Otherwise, they can lead to wear of the valve controlled by the output.
The Y output changes if the change is greater than DeadR and remains constant in all other
cases.
Manual operation
In the Automatic mode, the value at the Y output is also constantly saved in ManY register.
If the controller is switched to the Manual mode, it keeps its last value.
By changing the ManY in the Manual mode, the Y output is set to the new value.
If the Manual mode is quit, the Y output starts controlling at the current value.
Activity
The controller can be set to activated or deactivated.
If it is deactivated, the Y output is set to DeactY permanently.
If it is activated, the Y output starts its controlling activity with the InitY value.
Controller structure
Amin
Bmax
Yp
W Xw Yi
Dif Ppi I
Y
Sum
X Yq Ydt
Pdt DT
Fp Td Ti Ymin
PropF T1 Ymin Ymax
Action Manual Ymax Amin
InputD Enable ManY Bmax
Manual EnAmin
InitY EnBmax
Enable ManY
Manual
DeactY
Enable
DeadR
Controller algorithm
(Parameter): if (PropF) Fp = (Ymax – Ymin) / Fp_Xp
else Fp = Fp_Xp
Block Dif: Xw = X – W
Block Ppi: Yp = Fp * Xw
if (Action) Yp = – Yp
Block I: Yi = Yi_1
if (Enable 0 –> 1) Yi = InitY – Yp (Start PID)
if (Manual 1 –> 0) Yi = ManY – Yp (Auto PID)
if (Ti > 0) Yi = Yi + Yp * Te / Ti
if (Yi < Ymin) Yi = Ymin
if (Yi > Ymax) Yi = Ymax
if (!Enable) Yi = 0
if (Manual) Yi = 0
Block DT: Yd = 0
if (Td > 0) Yd = (Yq – Yq_1) * Td / Te
Ydt = Yd
if (T1 > 0) Ydt = Ydt_1 + (Yd – Ydt_1) * Te / T1
if (!Enable) Ydt = 0
if (Manual) Ydt = 0
Modbus registers
The controller parameters belong to the data type float. They are saved permanently in
EEPROM.
They can be accessed using the following Modbus registers.
Name Configuration Registers, storage in EEPROM Adr. Adr.
(Modbus Holding Registers) PID1 PID2
Mode Option Flags for Operating Mode: 101 151
.Enable Activation signal of controller. Bit 0 Bit 0
0: Controller is inactive
1: Controller is active (Default)
.PropF The Proportional factor can be specified in two ways. Bit 1 Bit 1
0: Amplification Fp (Default)
1: Range Xp
.Action The difference Xw = ± (X – W) can be used directly or Bit 2 Bit 2
negated.
0: Difference used directly, Xw = + (X – W)
1: Difference used negated, Xw = – (X – W) (Default)
.InputD The derivated part can be calculated from Xw or X. Bit 3 Bit 3
0: D-Part calculated from ± Xw (Default)
1: D-Part calculated from ± X
.EnAmin Enable for minimum input Amin (only PID1). Bit 4 ---
0: Disable (Default)
1: Enable
.EnBmax Enable for maximum input Bmax (only PID2). --- Bit 4
0: Disable (Default)
1: Enable
.Manual 0: Automatic mode (Default) Bit 5 Bit 5
1: Manual mode
Fp_Xp Proportional factor specified in one of two ways: 102 152
- Amplification Fp (Default 3, Unit % / °C)
- Range Xp ( Unit °C)
Relation: Fp * Xp = (Ymax – Ymin)
Ti Integration time (Default 300, Unit s) 104 154
Td Derivation time (Default 1, Unit s) 106 156
T1 Filter time (Default 10, Unit s) 108 158
Ymin Lower limit of output Y (Unit %) 110 160
Ymax Upper limit of output Y (Unit %) 112 162
DeadR Dead range of output Y, 114 164
Y changes in minimum steps of DeadR (Unit %)
DeactY Y value when controller is inactive (Default 0, Unit %) 116 166
InitY Y start value when controller is switched to active 118 168
(Default 0, Unit %)
Y1 Y1 Y1
X1 X2 X X2 X X2 X1 X
X1
Y Y Y
Y1 Y1 Y1
Y2 Y2 Y2
X2 X1 X X1 X X1 X2 X
X2
Modbus registers
The parameters belong to the float data type. They are saved permanently in EEPROM.
Separate holding registers for each function block LCL1…LCL2:
Y4
Y1
Y3
X1 X2 X
Modbus registers
The parameters belong to the float data type. They are saved permanently in EEPROM.
Separate holding registers for each function block LCL1…LCL4:
AI1 X
SW1 Y SW3
PID1
W Amin AO1
AI3 X
SW2 Y SW4
PID2
W Bmax AO2
Depending on the operating mode, nominal value and actual value can originate from the
analog inputs. These inputs provide values in Volts, Ohms or degrees of Celsius. If the
function block Linear conversion / limit or freely programmable interpolation table is used
in the analog input, adjustment to other value ranges and units can be performed at the
controller input.
If the controller nominal value is set via Modbus, there are 2 separate registers:
- The initial nominal value InitW_1/2 is saved permanently in EEPROM.
- The nominal value W_1/2 can be written or read out anytime using Modbus.
The output value for an analog output can originate from the registers OutI and OutF or
from a PID controller. After each selection, the output value is reported in OutL and OutF.
When switching on the device and after the Watchdog timer has elapsed, these registers
are copied:
Default setting Current value
InitOutI_1/2 → OutI_1/2
InitOutF_1/2 → OutF_1/2
InitW_1/2 → W_1/2
Modbus registers
One PID controller is assigned to one output and 2 inputs respectively.
A register contains fields for the switches shown in the figure.
Other registers contain the nominal value and output value.
MR-SM3
I/O commands
Modbus Function “03 (0x03) Read Holding Registers” (R)
Modbus Function “04 (0x04) Read Input Registers” (R)
Modbus Function “06 (0x06) Write Single Register” (W)
Modbus Function “16 (0x10) Write Multiple Registers” (W)
Information
The Input Registers 0 and 31 to 38 are only relevant for production process.
Read Holding Registers (0 - 127, 256 – 383, 512 – 639, 768 - 895)
Read Input Registers (0 - 127, 256 – 383, 512 – 639, 768 - 895)
Write Single Register (0, 31, 32, 42 to 59, 65, 120 - 127)
Write Multiple Registers (42 to 59, 65, 120 - 127)
I/O-commands
Modbus-Function “01 (0x01) Read Coils“ (R)
Modbus-Function “02 (0x02) Read Discrete Inputs“ (R)
Modbus-Function “03 (0x03) Read Holding Registers” (R)
Modbus-Function “04 (0x04) Read Input Registers” (R)
Modbus-Function “06 (0x06) Write Single Register” (W)
Modbus-Function “16 (0x10) Write Multiple Registers” (W)
Information
The holding registers 64 and 67 to 69 are only relevant for production process.
Read Discrete Inputs (0 - 15)
Read Coils (0 - 31)
Write Multiple Coils (0 - 31)
Write Single Coil (0 - 31)
Read Input Registers (0 - 99)
Read Holding Registers (0 - 99)
Write Multiple Registers (0 - 99)
Write Single Register (0 - 99)
Holding Registers
Addr. Description
66 Time constant of communication monitoring
Data type uint16, resolution 10 ms
Maximum value = 65535 = 655.35 seconds = 10.9 minutes
Factory default 0 (watchdog inactive)
Storage in EEPROM
While defining the time constant you have to respect several items, which effects how
offen the slave has to be addressed:
Discrete Inputs
Addr. Description
0 - 10 Value of digital inputs 1…11
11 Value of digital input S0 (usable as counter input)
Value 0: off, 1: on
Coils
Addr. Description
0-3 Value of relay outputs 1…4
Value 0: off, 1: on
4-7 Value of Photo-MOS outputs 1…4
Value 0: off, 1: on
Holding Registers
Addr. Description
71 Value of digital outputs
Same as Coils 0-15
72 Operating mode (automatic, manual) of digital outputs (read only)
Same as Coils 16-31
Storage in EEPROM
73 Default values of digital outputs
Factory default 0
Storage in EEPROM
Holding Registers
Addr. Description
74 - 75 Values of analog outputs O1…O2
Data type int16,
Range: value 0 = 0 Volt ,… value 32767 = 10.24 Volt
78 - 79 Default values of analog outputs O1…O2
Data type int16,
Factory default 0,
Storage in EEPROM
An analog to digital conversion takes about 0.2 seconds and measurements are taken
alternatively at the inputs. A measurement is taken at each input with an interval of about
1.8 seconds, it takes a bit longer when the resistance measuring range is changed because
several measurements are taken.
There are operating mode to calculate the temperature of standard temperature sensors.
The measured voltage or resistance value is converted with a value chart and interpolation
into the temperature. There are several pre-programmed charts for standard sensors and a
freely programmable chart with up to 10 nodes.
An offset can be added to the measured value. This allows an adaptation to the sensor and
the supply line or a fine tuning.
Config[7]
E1
V/A/
… ADC Interp Sum Input[7]
Ohm
Mux
E6
Const Var
I Offset[7]
Table Table[10]
Modbus registers:
Config Configuration Register
Input Measured Value Register
Offset Offset Register
VarTable Value chart for specific sensor type
Modbus register
The messured values may be configured as float or 16 bit integer with leading sign.
Input Registers
Addr. AI Name Description
0 E1 Input 1…7 Measured value
2 E2 2 consecutive registers, float in both or int16_t in first.
4 E3
6 E4
8 E5
10 E6
12 I
Holding Registers
Addr. AI Name Description
0-1 E1 Offset 1…7 Offset register
2-3 E2 The offset is added to the measured value.
4-5 E3 2 consecutive registers, float in both or int16_t in first,
6-7 E4 same data type as measured value.
8-9 E5 Factory default 0.
Storage in EEPROM.
10 - 11 E6
12 -13 I
14 -15 -
16 E1 Config 1…7 Configuration register
17 E2 Number (see below), used to select the
18 E3 - measuring range,
19 E4 - data type of measured value (float / int16_t),
- unit of measured value,
20 E5
- sensor characteristic.
21 E6 Factory default 0 (Voltage 0-10V, float).
22 I Storage in EEPROM.
23 -
24 - 27 - VarTable Variable lookup table used for interpolation
28 - 31 1…10
Alternately temperature and resistance (see below).
32 - 35
Float in 2 consecutive registers each.
…
Factory default 0.
60 - 63
Storage in EEPROM.
Configuration registers
Input circuit and measuring range, data type and value unit and the sensor characteristic
for usual temperature sensors are set for the 7 inputs with the 7 configuration registers.
With the aid of the following charts the values of the registers are shown decimal and
hexadecimal.
For voltage with type signed integer: 10.24V / 2^15 = 1V / 3200 = 0.3125mV
For current with type signed integer: 20.48mA / 2^15 = 1mA / 1600 = 0.625µA
Temperature measurement with data type signed int (register number is by 1 larger than above):
129 0x81 Sensor PT100 int16_t 0.1°C -50..150°C
131 0x83 Sensor PT500 -50..150°C
… … … …
153 0x99 Sensor LM235 -40..120°C
Interpolation chart
This chart can be used to convert and linearize values for sensors without a characteristic
already defined in the device. The chart contains up to 10 nodes of the sensor characteristic
to interpolate between.
Example: transformation from resistance to temperature for temperature sensors.
Register contents is stored in the EEPROM.
The description refers to temperature sensors. Other sensors than temperature sensors (e.g.
humidity) are also possible and it is also possible to measure voltage instead of resistance.
These properties can be set in the configuration register:
Measuring range voltage
voltage, pullup 2k at 5 V (for ex. for LM235)
resistance (normal case with temperature sensors)
Interpolation sensor characteristic is nearly linear
sensor characteristic is nearly exponential
(for NTCs)
Data type of measuring range float (unit 1 °C)
signed int (unit 0.1 °C)
The nodes are filled beginning at the top of the chart, with a maximum of 10, and end
with temperature = resistance = 0, if there are less nodes. Temperature and resistance
values have to be in ascending or descending order. So the combination 0,0 as a node is
not allowed. Data type in the registers: float temperature, float resistance.
Input Registers
Addr. Name Description
70 INPUT Value of digital inputs
Same as Discrete Inputs 0-15
84 - 87 IZ Pulse counter
Data type uint64 (lower 48 bits are used, highest 16 bits are 0)
88 - 89 BZ Calculated counter reading
Data type uint32
Holding Registers
Addr. Name Description
84 - 87 IT Copy of pulse counter when key was pressed
Value may be overwritten
Data type uint64 (lower 48 bits are used, highest 16 bits are 0)
Storage in EEPROM
88 - 89 AZ Initial calculated counter reading
Data type uint32
Factory default 0
Storage in EEPROM
90 IE Pulses per unit
Data type uint16
Factory default 1
Storage in EEPROM
91 WI Ratio of current transformer
Data type uint16
Factory default 1
Storage in EEPROM
METZ CONNECT GmbH | Im Tal 2 | 78176 Blumberg | Germany
Phone +49 7702 533-0 | Fax +49 7702 533-433
Additional documents see www.metz-connect.com
Software description Modbus RTU V.1.8 | updated 03/2020 Page 86 of 95
Holding Registers
Addr. Name Description
92 WU Ratio of voltage transformer
Data type uint16
Factory default 1
Storage in EEPROM
93 WP Mode of calculation with current/voltage transformer
Data type: flag in bit 0
Value 0…1, see below
Factory default 0
Storage in EEPROM
94 ZS Format of counter display
Data type uint16
High byte contains total counter digits,
range 0…9, factory default 7,
higher values are limited to 9
Low byte contains fractional counter digits,
range 0…3, factory default 1,
higher values are limited to 3
Storage in EEPROM
95 TA Flag for enabling the key
Data type: flag in bit 0
Value 0: key is disabled, 1: key is enabled
Factory default 1
Storage in EEPROM
Start of operation
The user reads on site the initial count from the electricity meter and presses the key on the
MR-Multi I/O. After this key press, the pulse counter of register IZ is copied into register IT.
Afterwards, the user configures the MR-Multi I/O via the Modbus using a service program.
The following must be entered:
- initial counter reading from the counter
- pulses per unit,
e.g. indication on the electricity meter 2000 pulses per kWh
- formula type for calculation with transformation factors
- factor for current transformation,
e.g. indication on the transformer 200/5A → factor = 40
- factor for voltage conversion,
e.g. indication on the transformer 20000/100V → factor = 200
- number of digits and places after the decimal point
- deactivate the key to protect the IT register
The number of places after the decimal point is considered as an additional multiplier with
a power of ten during the calculation. Furthermore, it determines the place of the decimal
point in the display of BZ and AZ.
As for the electricity counter which only has a specified number of decimal places, the
number of places is limited with the last step in the calculation. This is why the calculated
counter reading of the MR-Multi I/O overflows to 0 as often as the counter reading of the
electricity meter.
Calculated counter reading if WP = 0:
BZ = ( (uint96_t) (IZ - IT) * WU * WI * power of ten [places after decimal point] / IE +
(uint96_t) AZ * WU * WI )
% power of ten [counter digits]
Calculated counter reading if WP = 1:
BZ = ( (uint96_t) (IZ - IT) * WU * WI * power of ten [places after decimal point] / IE +
(uint96_t) AZ )
% power of ten [counter digits]
Calculation: BZ = IZ – IT + AZ
MR-LD6
I/O commands
Modbus Function “01 (0x01) Read Coils“
Modbus Function “03 (0x03) Read Holding Registers” (R)
Modbus Function “04 (0x04) Read Input Registers” (R)
Modbus Function “06 (0x06) Write Single Register” (W)
Modbus Function “16 (0x10) Write Multiple Registers” (W)
Information
Read Discrete Inputs (0 - 15)
Read Coils (0 - 31)
Write Multiple Coils (0 - 31)
Write Single Coil (0 - 31)
Read Input Registers (0 - 99)
Read Holding Registers (0 - 99)
Write Multiple Registers (0 - 99)
Write Single Register (0 - 99)
Function block Bus-Watchdog
The Modbus communication may be controlled by a watchdog timer. The timer restarts
with every valid message, that was directed to the device. Only the devices address is
relevant, not the rest of the message. If the bus master or the connection fails and the
timer will elapse, the outputs switch to their default values (save state) and the red LED will
shine. With the time constants value of 0 the watchdog timer is inactive.
Holding Registers
Addr. Description
66 BusTimeout Time constant of communication monitoring
The time applies only when the relays are controlled via
Modbus. The relays switch into the inactive state when the
timeout is reached. The time restarts with each valid
message that is addressed to the device.
Data type uint16, resolution 10 ms
Maximum value = 65535 (= 655.35 seconds = 10.9
minutes
Factory default 0 (watchdog inactive)
Storage in EEPROM
When defining the time constant several items have to be considered that influence how
often a specific slave will be addressed:
Coils
Addr. Name Description
0…1 Relay_1 … Switching state of a relay (0 = ON, 1 = OFF)
Relay_2 read-only for leakage identification or level
monitoring, also writable when controlled via Modbus.
Leakage message:
Active state if a leak is signaled.
Level monitor:
Active state if both electrodes are touched,
inactive state if none of the electrodes is touched
keep state if only one of the electrodes is touched.
Holding Registers
Addr. Name Description
0 Relay Switching state of the relays in bit 0…1,
the bits Relay_1…2 are combined here.
1 RelayPolarity The two relays have make contacts with switching
state “OFF“ or “ON“.
They are triggered with the states “inactive” or
“active” by the leakage/level monitoring.
Holding Registers
Addr. Name Description
2…7 SensorThresh_1 ... Switching thresholds for the sensor resistances
SensorThresh_6
Data type uint16,
Resolution: 100 Ohm,
Factory default 200 (= 20 kOhm),
Storage in EEPROM
8…13 ZenerThresh_1 ... Switching thresholds for the Z-diodes for wire break
ZenerThresh_6 monitoring
Factory default 0,
Storage in EEPROM
16 LeakEnable_1 Analog inputs for leakage message with relays 1 / 2.
17 LeakEnable_2
If bits 0…5 are set, the respective bits in LeakDetect in
the operating mode leakage message make relays 1 or
2 switch into the active state.
Holding Registers
Addr. Name Description
19 BreakEnable_1 Inputs for the cable break message with relays 1 / 2.
20 BreakEnable_2
If bits 0…5 are set, the respective bits in CableBreak in
the operating mode leakage message make relays 1 or
2 switch into the active state.