6. Mounting
Power down the equipment
Mount the module on standard rail (TH35 per IEC 60715 in
junction boxes and/or on distribution panels).
Installation
Electric installation and device termination shall be done
by qualified persons only, by respecting all applicable
specifications and regulations.
Plug in the terminal block for bus connection
1
2
Connect the cable for bus supply
5 mm
3
4
Mounting in series
5
6
The module can be aligned without interspace. Use the jumper
plug to connect bus and supply voltage when the modules are
mounted in series.
The maximum quantity of modules connected in line is limited
to 15 or to a maximum power consumption of 2 Amps (AC or
DC) per connection to the power supply. For any similar block
of additional modules a separate connection to the power
supply is mandatory.
METZ CONNECT | Im Tal 2 | 78176 Blumberg | Germany | Phone +49 7702 533-0 | Fax +49 7702 533-433
Distributed by RIA CONNECT GmbH and BTR NETCOM GmbH
Mounting instruction see www.metz-connect.com
7. Bit rate and Parity setting
The bit rate and parity can be set in the programming mode when
ajumper is plugged behind the front cover of the module. This
jumper is removed in normal mode. A connection to the bus is not
required during bit rate setting.
The bit rate of the modules can be set in the following way:
1. remove the front cover of the module;
2. plug a jumper to the two middle pins of the 4 pole header
between the red and green LED (Á);
3. set the desired parity and bit rate with the address switches
(Â) in accordance to the chart below.
4.
42
41
44
32
31
34
24V
24V
+24V
+24V
GND
GND
x10
Â
B +
B+
x1
-
-
A
A
ERROR
BUSY
Jumper below
Á
1
the faceplate
A
O
MR-DO4
MODBus RTU
11
14
12
21
24 22
switch on the supply voltage of the module; it is now perma-
nently saving the bit rate in an EEPROM;
5. switch off the supply voltage of the module;
6. remove the jumper from the header and place the front cover.
Switch
1
2
3
x10
Parity
even odd none
Switch
1
2
3
4
5
6
7
x1
Bitrate
1200 2400 4800 9600 19200 38400 57600 115200
(Bit/s)
If the settings differ from the settings specified in the chart the
factory setting applies.
Factory setting: 19200 Bd Even
8. Software description
8.1 I/O commands
„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
"05 (0x05) Write Single Coil"
Request
Valid Output Address
0 .. 3
8
Valid Output Value
0x0000 or 0xFF00
Response
Echo of the request
"15 (0x0F) Write Multiple Coils"
Request
Valid Coil Starting Address 0 .. 3
Valid Quantity of Outputs
1 .. 4
Valid Byte Count
1
Output Value
0 or 1 in Bit0 .. Bit3
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 Adress, Quantity of Outputs
Continuation Software description
"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