Metz Connect Logline MR-DIO4/2 User manual

2. Wichtige Hinweise
Konformitätserklärung
Das erät wurde nach den geltenden Normen geprüft.
Die Konformität wurde nachgewiesen. Die Konformitätserklärung
ist beim Hersteller BTR NETCOM mbH abrufbar.
Hinweise zur Gerätebeschreibung
Die Beschreibung enthält Hinweise zum Einsatz und zur Montage
des eräts. Sollten Fragen auftreten, die nicht mit Hilfe dieser
Anleitung geklärt werden können, sind weitere Informationen
beim Lieferanten oder Hersteller einzuholen.
Die angegebenen Vorschriften/Richtlinien zur Installation und
Montage gelten für die Bundes republik Deutschland. Beim Einsatz
des eräts im Ausland sind die nationalen Vorschriften in
Eigenverantwortung des Anlagenbauers oder des Betreibers einzu-
halten.
Sicherheitshinweise
Für die Montage und den Einsatz des eräts sind die jeweils gülti-
gen Arbeitsschutz-, Unfall verhütungs- und VDE-Vorschriften einzu-
halten.
Facharbeiter oder Installateure werden darauf hingewiesen, dass
sie sich vor der Installation oder Wartung der eräte vorschriftsmä-
ßig entladen müssen.
Montage- und Installationsarbeiten an den eräten dürfen grund-
sätzlich nur durch qualifiziertes Fachpersonal durchgeführt wer-
den, siehe Abschnitt “qualifiziertes Fachpersonal”.
Jede Person, die das erät einsetzt, muss die Beschreibungen dieser
Anleitung gelesen und verstanden haben.
Warnung vor gefährlicher elektrischer Spannung
Gefahr
bedeutet, dass bei Nicht beachtung Lebensgefahr besteht,
schwere Körper verletzungen oder erhebliche Sach schäden
auftreten können.
Qualifiziertes Fachpersonal
Qualifiziertes Fachpersonal im Sinne dieser Anleitung sind
Personen, die mit den beschriebenen eräten vertraut sind und
über eine ihrer Tätigkeit entsprechenden Qualifikation verfügen.
Hierzu gehören zum Beispiel:
l Berechtigung zum Anschluss des eräts gemäß den VDE-
Bestimmungen und den örtlichen EVU-Vorschriften sowie
Berechtigung zum Ein-, Aus- und Freischalten des eräts unter
Berück sichtigung der innerbetrieblichen Vorschriften;
l Kenntnis der Unfallverhütungsvorschriften;
l Kenntnisse über den Einsatz und ebrauch des eräts innerhalb
des Anlagensystems usw.
3. Technische Daten
Modbus-Schnittstelle
Protokoll Modbus RTU
Übertragungsrate 1200 ... 115200 Bd
(Werkseinstellung 19200 Bd Even)
Verkabelung RS485 Zweidrahtbus mit Potential-
ausgleich in Bus-/Linientopologie
Versorgung
Betriebsspannungsbereich 20 ... 28 V AC/DC (SELV)
Stromaufnahme 200 mA (AC) / 75 mA (DC)
Einschaltdauer relativ 100 %
Eingangsseite
Spannungseingang 30 V AC/DC
High-Signalerkennung >8 V AC/DC
Ausgangsseite
Ausgangskontakte 2 Wechslerkontakte
Schaltspannung max. 250 V AC
Dauerstrom max. 16 A / Relais (80 A / 20 ms)
Summenstrom über
alle Kontakte 25 A
Gehäuse
Abmessungen BxHxT 50 x 70 x 75 mm
ewicht 126 g
Einbaulage beliebig
Montage Tragschiene TH35 nach IEC 60715
Anreihbar ohne Abstand Nach dem Anreihen von 15 Modulen
oder einer maximalen Stromaufnahme
von 2 A (AC oder DC) pro Anschluss
am Netzgerät muss mit der
Ver sorgungs spannung neu extern
angefahren werden.
Material
ehäuse Polyamid 6.6 V0
Klemmen Polyamid 6.6 V0
Blende Polycarbonat
Schutzart (IEC 60529)
ehäuse IP40
Klemmen IP20
Anschlussklemmen
Versorgung und Bus
4-polige Anschlussklemme max. 1,5 mm² eindrähtig
max. 1,0 mm² feinstdrähtig
Aderndurchmesser 0,3 mm bis max. 1,4 mm
(Anschlussklemme und Brückenstecker
als Zubehör in der Verpackung)
eräteanschluss
Eingänge/Ausgänge max. 4 mm² eindrähtig
max. 2,5 mm² feinstdrähtig
Aderndurchmesser 0,3 mm bis max. 2,7 mm
Temperaturbereich
Betrieb -5 °C ... +55 °C
Lagerung -20 °C ... +70 °C
Schutzbeschaltung Verpolschutz der Betriebsspannung
Verpolschutz von Speisung und Bus
Anzeige
Betrieb und Bustätigkeit grüne LED
Fehlermeldung rote LED
Zustand der Ein-/Ausgänge gelbe LEDs
899290
Digitales Mischmodul
MR-DI 4/2
1108331326
1. Beschreibung
Das Modbus Modul mit 4 digitalen Eingängen und 2
Relaisausgängen wurde für dezentrale Schaltaufgaben entwickelt.
Es ist geeignet um z.B. in einem Raum Lichtschalter und
Fensterkontakte aufzunehmen und zwei Lichtbänder zu schalten
oder als Jalousiesteuerung. Die Steuerung von 2 motorisch betrie-
benen Brandschutzklappen ist ebenso möglich wie viele andere
Anwendungen. Bei starken induktiven Lasten empfehlen wir, die
Relaiskontakte zusätzlich mit einem RC- lied zu schützen. Die
Relais verfügen über eine Handbedienebene. Je nachdem wie der
Jumper J (unter der Blende) eingestellt ist, können die Eingänge als
Kontakt- und Spannungseingänge (A1, 24 V AC/DC; Jumper J - A2)
oder mit einer Ansteuerung nach ND (A2; Jumper J - A1) betrie-
ben werden. Über einen Modbus-Master können die Eingänge und
Ausgänge geschaltet und abgefragt werden. Die Adressierung des
Moduls sowie die Einstellung der Bitrate und Parität erfolgt über
die beiden Adressschalter (x1 / x10) auf der Frontseite. Es können
die Adressen 00 bis 99 sowie die Bitraten 1200, 2400, 4800, 9600,
19200, 38400, 57600 und 115200 Bd eingestellt werden.
Bei Adresse 00 nimmt das erät nicht an der Bus-Kommunikation
teil (reserviert für Broadcast-Adresse).
5. Anschlussbild
4. Prinzipbild
A1 = C1 = 24 VA1 = C1 = 24 V
BTR NETCOM GmbH
Im Tal 2
78176 Blumberg
Deutschla d
Tel. +49 7702 533-0
Fax +49 7702 533-189
Mo tagea leitu g siehe
www.metz-co ect.com

5 6
Das Modul ist ohne Abstand anreihbar. Bei Reihenmontage
Brückenstecker aufstecken, er verbindet Bus und Versorgungs-
spannung bei nebeneinander montierten Modulen.
Nach dem Anreihen von 15 Modulen oder einer maximalen
Stromaufnahme von 2 A (AC oder DC) pro Anschluss am
Netzgerät muss mit der Ver sorgungs spannung neu extern
angefahren werden.
Reihenmontage
7. Bitrate und Parität einstellen
Die Bitrate und Parität kann im Programmiermodus eingestellt
werden, bei dem eine Steckbrücke hinter der Frontblende des
Moduls gesteckt ist. Diese Steckbrücke ist im Normalbetrieb ent-
fernt. Eine Verbindung mit dem Bus ist dazu nicht nötig.
Die Bitrate der Module kann folgendermaßen eingestellt werden:
1. Die Frontblende des Moduls entfernen;
2. auf die beiden mittleren Stifte der 4-poligen Stiftleiste zwi-
schen roter und grüner LED eine Steckbrücke stecken (Á);
3. die gewünschte Parität und Bitrate gemäß untenstehender
Tabelle an den Adressschaltern (3) einstellen;
4. die Versorgungsspannung des Moduls einschalten;
das Modul speichert die Bitrate jetzt dauerhaft in einem
EEPROM;
5. die Versorgungsspannung des Moduls wieder ausschalten;
6. die Steckbrücke von der Stiftleiste entfernen und die
Frontblende montieren.
Weichen die Einstellungen von denen in der Tabelle angegebenen
ab, gilt die Werkseinstellung.
Werkseinstellung: 19200 Bd Even
1
1
44
C1C1
C1C1
1212
2222
22
33
C1C1
C1C1
1111
2121
1414
2424
1
1
22
33
44
24V24V 24V24V
+24V+24V
GNDGND
+24V+24V
GNDGND
ERRORERROR
B +B +
AA--
MR-DIO4/2MR-DIO4/2
B +B +
AA--
BUSYBUSY
x1x1
x10x10
MODBusRTU
MODBus RTU
JJ
+24V+24V
GNDGND
Jumper unterJumper unter
der Blendeder Blende
ÁÁ
ÂÂ
Schalter
x1 0123 4 5 6 7
Bitrate
(Bit/s) 1200 2400 4800 9600 19200 38400 57600 115200
Schalter
x10 0 1 2
Parität even odd none
8. Anschlussbeispiele
Anschlussbeispiele 1+2
11
44
C1C1
C1C1
1212
2222
22
33
C1C1
C1C1
1111
2121
1414
2424
11
22
33
44
24V24V 24V24V
+24V+24V
GNDGND
+24V+24V
GNDGND
ERRORERROR
B +B +
AA--
MR-DIO4/2MR-DIO4/2
B +B +
AA--
BUSYBUSY
x1x1
x10x10
MODBus RTU
MODBus RTU
A1 (24 VA1 (24 VAAC/DC)C/DC) NN
LL
Jumper unterJumper unter
der Blendeder Blende
Anschlussbeispiel 3
A2 (GND)A2 (GND) NN
LL
11
44
C1C1
C1C1
1212
2222
22
33
C1C1
C1C1
1111
2121
1414
2424
11
22
33
44
24V24V 24V24V
+24V+24V
GNDGND
+24V+24V
GNDGND
ERRORERROR
B +B +
AA--
MR-DIO4/2MR-DIO4/2
B +B +
AA--
BUSYBUSY
x1x1
x10x10
MODBus RTU
MODBus RTU
Jumper unterJumper unter
der Blendeder Blende
9. Beschreibung der Software
9.1 I/ Kommandos
"01 (0x01) Read Coils"
Request
Valid Starting Address 0 .. 3
Valid Quantity of Outputs 1 .. 4
Response
Byte Count 1
Output Status Bit0 .. Bit3 (Bit 4 .. 7=0)
Bit Information
00 = Status relay 1 off
1 = Status relay 1 on
10 = Status relay 2 off
1 = Status relay 2 on
20 = relay 1 switched via bus
1 = relay 1 switched via manual control
30 = relay 2 switched via bus
1 = relay 2 switched via manual control
"02 (0x02) Read Discrete Inputs"
Request
Valid 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
“05 (0x05) Write Single Coil”
Request
Valid Output Address 0 .. 1
Valid Output Value 0x0000 or 0xFF00
Response
Echo of the request
“15 (0x0F) Write Multiple Coils”
Request
Valid Starting Address 0 .. 1
Valid Quantity of Outputs 1 .. 2
Valid Byte Count 1
Output Value 0 or 1 in Bit0 .. Bit1
Bit Information
00 = Status relay 1 off
1 = Status relay 1 on
10 = Status relay 2 off
1 = Status relay 2 on
Response: Function Code, Starting Adress,
Quantity of Outputs
BTR NETCOM GmbH
Im Tal 2
78176 Blumberg
Deutschla d
Tel. +49 7702 533-0
Fax +49 7702 533-189
Mo tagea leitu g siehe
www.metz-co ect.com
21
6. Montage
Anlage spannungsfrei schalten
erät auf Tragschiene (TH35 nach IEC 60715, Einbau in
Elektroverteiler / Schalttafel) setzen
Installation
Die Elektroinstallation und der Geräteanschluss dürfen nur
durch qualifiziertes Fachpersonal unter Beachtung der VDE-
Bestimmungen und örtlicher Vorschriften vorgenommen wer-
den..
Anschlussklemme für Busanschluss einstecken.
43
5 mm
Kabel für Busanschluss anschließen

Fortsetzung Beschreibung der Software
9.3 Allgemeine Kommandos
“08 (0x08) Diagnostics”
Subfunction “0 ( 0x0000) Return Query Data”
Data Field Any
Response: Echo of Request
Subfunction “1 (0x0001) Restart Communication Option”
Data Field 0x0000 oder 0xFF00
Response: Echo of Request
Action: Clears all Error Counters, Restarts node
Subfunction “4 (0x0004) Force Listen Only Mode”
Data Field 0x0000
No Response
Action: No response until Node Reset or Function Code 08
Subcode 01
Subfunction “10 ( 0x000A) Clear Counters”
Data Field 0x0000
Response: Echo of Request
Action: Clears all Error Counters
Subfunction “11 ( 0x000B) Return Bus Message Count”
Data Field 0x0000
Response: Quantity of messages that the remote device has
detected on the communications system since its last restart,
clear counters operation, or power-up.
Subfunction “12 ( 0x000C) Return Bus Communication Error Count”
Data Field 0x0000
RResponse: Quantity of errors encountered by the remote
device since its last restart, clear counters operation,
or power–up. (CRC, Length <3, Parity, Frame)
Subfunction “13 ( 0x000D) Return Bus Exception Error Count”
Data Field 0x0000
Response: Quantity of MODBUS exception responses returned
by the remote device since its last restart, clear counters
operation, or power–up.
Subfunction “14 (0x000E) Return Slave Message Count”
Data Field 0x0000
Response: quantity of messages addressed to the remote
device, or broadcast, that the remote device has processed
since its last restart, clear counters operation, or power-up.
Subfunction “15 (0x000F) Return Slave No Response Count”
Data Field 0x0000
Response: Quantity of messages addressed to the remote
device for which it has returned no response (neither a normal
response nor an exception response), since its last restart, clear
counters operation, or power-up.
“43 /14 (0x2B / 0x0E) Read Device Identification”
Request
Read Device ID code: 0x01
Object ID 0x00
Fortsetzung Beschreibung der Software
Response
Device ID code 0x01
Conformity level 0x01
More follows 0x00
Next object ID 0x00
Number of objects 0x03
Object ID 0x00
Object Length 0x03
Object Value “BTR”
Object ID 0x01
Object Length 0x09
Object Value “MR-DIO4/2”
Object ID 0x02
Object Length 0x04
Object Value “V1.0”
Fortsetzung Beschreibung der Software
9.2 Bitrate einstellen über Modbus-Kommando
Parität und Bitrate haben die gleichen Werte wie bei der
Einstellung über die Adressschalter.
Wenn Parity oder Baud 0 ist, erfolgt keine Einstellung und
Speicherung.
Der Registerinhalt wird im EEPROM gespeichert.
“06 (0x06) Write Single Register”
Request
Valid Register Address 0x41 (65)
Valid Register Value 2 Bytes
Bit 15-8: Magic-Number 0x53 = 83 zum Schutz vor versehent-
lichem Schreiben. Nur mit dieser Nummer wird das
Kommando weiter ausgewertet.
Response
Echo of Request
Beispiel für einen Frame:
Slave-Adresse 0x12 Drehschalter-Einstellung (18)
Funktion 0x06 Write Single Register
Register-Adresse Hi 0x00
Register-Adresse Lo 0x41 Bitrate und Parität (65)
Register-Inhalt Hi 0x53 Magic-Number
Register-Inhalt Lo 0x15 Parity Even, 19200 Baud
Alle eräte können mit einem Broadcast-Kommando ( Slave-
Adresse 0x00 ) gleichzeitig umgeschaltet werden. Davon wird aber
abgeraten, weil es zu Problemen führen kann:
- eräte von anderen Herstellern haben an dieser Adresse
eventuell ein Register für einen anderen Zweck, das dann
falsch bedient wird.
- Es gibt keine Rückmeldung von den einzelnen eräten. Die
Steuerung kann also nicht sofort erkennen, ob das
Kommando richtig angekommen ist.
Sicherer ist es, jedes erät einzeln anzusprechen und umzuschal-
ten. Das erät antwortet dann noch mit der alten Einstellung von
Parität und Bitrate. Erst danach wird umgeschaltet. Die Antwort
kann bei gestörtem Bus allerdings verloren gehen.
Nach dem Umschalten aller eräte sollte die Kommunikation über-
prüft werden. Dazu ist jede Funktion der eräte geeignet, die eine
Rückmeldung liefert. Wenn dafür eine einheitliche Funktion ver-
wendet werden soll, die unabhängig von der Prozess-Peripherie
ist, eignet sich die Funktion "Diagnostic", Subfunktion "Return
Query Data", die die gesendeten Daten zurück schickt.
Wenn bei einem erät nicht bekannt ist, welche Bitrate und
Parität eingestellt ist, kann man es nacheinander mit allen
Kombinationen von Bitrate und Parität ansprechen, bis es antwor-
tet. Die wahrscheinlichsten Kombinationen sollten dabei zuerst
probiert werden. Die niedrigeren Bitraten sollten zuletzt probiert
werden, weil sie länger dauern.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0x53 Parität Bitrate
Bit 3-0 1 234 5 6 7 8
Bitrate 1200 2400 4800 9600 19200 38400 57600 115200
Bit 7-4 1 2 3
Parität even odd none
BTR NETCOM GmbH
Im Tal 2
78176 Blumberg
Deutschla d
Tel. +49 7702 533-0
Fax +49 7702 533-189
Mo tagea leitu g siehe
www.metz-co ect.com

2. Declaration of Conformity
The device was tested according to the applicable standards.
Conformity was proofed. The declaration of conformity is available
at the manufacturer BTR NETCOM mbH.
Notes Regarding Device Description
These instructions include indications for use and mounting of the
device. In case of questions that cannot be answered with these
instructions please consult supplier or manufacturer.
The indicated installation directions or rules are applicable to the
Federal Republic of ermany. If the device is used in other countries
it applies to the equipment installer or the user to meet the
national directions.
Safety Instructions
Keep the applicable directions for industrial safety and prevention
of accidents as well as the VDE rules.
Technicians and/or installers are informed that they have to
electrically discharge themselves as prescribed before installation
or maintenance of the devices.
Only qualified personnel shall do mounting and installation work
with the devices, see section “qualified personnel”.
The information of these instructions have to be read and under-
stood by every person using this device.
Symbols
Warning of dangerous electrical voltage
Danger
means that non-observance may cause risk of life,
grievous bodily harm or heavy material damage.
Qualified Personnel
Qualified personnel in the sense of these instructions are persons
who are well versed in the use and installation of such devices and
whose professional qualification meets the requirements of their
work.
This includes for example:
l Qualification to connect the device according to the VDE
specifications and the local regulations and a qualification to put
this device into operation, to power it down or to activate it by
respecting the internal directions.
l Knowledge of safety rules.
l Knowledge about application and use of the device within the
equipment system etc.
3. Technical Data
Modbus Interface
Protocoll Modbus RTU
Transmission rate 1200 ... 115200 Bd
(factory setting 19200 Bd Even)
Cabling RS485 two wire bus with voltage
equalizing cable in bus / line topology
Supply
Operating voltage range 20 ... 28 V AC/DC (SELV)
Current consumption 200 mA (AC) / 75 mA (DC)
Relative duty cycle 100 %
Input
Voltage input 30 V AC/DC
High-signal recognition >8 V AC/DC
utput
Output contacts 2 changeover contacts
Switching voltage max. 250 V AC
Continuous current max. 16 A / relay (80 A / 20 ms)
Total current for
all contacts 25 A
Housing
Dimensions WxHxD 2.0 x 2.8 x 3.0 in. (50 x 70 x 75 mm)
Weight 126 g
Mounting position any
Mounting standard rail TH35 per IEC 60715
Mounting in series the maximum quantity of modules
without space 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.
Material
Housing Polyamide 6.6 V0
Terminal blocks Polyamide 6.6 V0
Cover plate Polycarbonate
Type of protection
(IEC 60529)
Housing IP40
Terminal blocks IP20
Terminal blocks
Supply and bus
4 pole terminal block max. AW 16 (1,5 mm²) solid wireg
max. AW 18 (1,0 mm²) stranded wire
Wire diameter min. 0.3 mm up to max. 1.4 mm
(terminal block and jumper plug are
included to each packing unit)
Module connection
Input/Output max. AW 12 (4.0 mm²) solid wire
max. AW 14 (2.5 mm²) stranded wire
Wire diameter min. 0.3 mm up to max 2.7 mm
Temperature range
Operation -5 °C ... +55 °C
Storage -20 °C ... +70 °C
Protective circuitry polarity reversal protection of
operating voltage
polarity reversal protection of supply
and bus
Display
Operating and bus activity green LED
Error indication red LED
Status of the
inputs & outputs yellow LED
1. Description
The Modbus module with 4 digital inputs and 2 relay outputs is
designed for local switching operations. It is suitable to receive for
example light switches and window contacts in a room and to ope-
rate two light bands or to be used as sunblind control. It can also
be used to control two motor driven fire dampers or for many
other applications. We recommend to protect the relay contacts
additionally by a RC-element or high inductive loads. The relays are
provided with a manual control facility. Depending on the position
of the jumper (below the faceplate) the inputs can be operated as
contact and voltage inputs (A1, 24 V AC/DC; jumper J - A2) or with
actuation to ND (A2; jumper J - A1. Inputs and outputs can be
operated and scanned via a Modbus-Master. Addressing of the
module as well as baud rate and parity setting are done with the
two address switches (x1 / x10) on the front. Possible settings are
addresses 00 to 99 and baud rates 1200, 2400, 4800, 9600, 19200,
38400, 57600 und 115200 Bd.
The device does not participate in bus communication if the
address is 00 (reserved for broadcast address).
899290
Digital I/ Module
MR-DI 4/2
1108331326 5. Connection Diagram
4. Wiring Diagram
A1 = C1 = 24 VA1 = C1 = 24 V
BTR NETCOM GmbH
Im Tal 2
78176 Blumberg
Germa y
Pho e +49 7702 533-0
Fax +49 7702 533-189
Mou ti g i structio see
www.metz-co ect.com

8. Connection examples
Connection examples 1 and 2
11
44
C1C1
C1C1
1212
2222
22
33
C1C1
C1C1
1111
2121
1414
2424
11
22
33
44
24V24V 24V24V
+24V+24V
GNDGND
+24V+24V
GNDGND
ERRORERROR
B +B +
AA--
MR-DIO4/2MR-DIO4/2
B +B +
AA--
BUSYBUSY
x1x1
x10x10
MODBus RTU
MODBus RTU
A1 (24 VA1 (24 VAAC/DC)C/DC) NN
LL
Jumper unterJumper unter
der Blendeder Blende
Connection example 3
A2 (GND)A2 (GND) NN
LL
11
44
C1C1
C1C1
1212
2222
22
33
C1C1
C1C1
1111
2121
1414
2424
11
22
33
44
24V24V 24V24V
+24V+24V
GNDGND
+24V+24V
GNDGND
ERRORERROR
B +B +
AA--
MR-DIO4/2MR-DIO4/2
B +B +
AA--
BUSYBUSY
x1x1
x10x10
MODBus RTU
MODBus RTU
Jumper unterJumper unter
der Blendeder Blende
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.
Mounting in series
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. 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.
If the settings differ from the settings specified in the chart the
factory setting applies.
Factory setting: 19200 Bd Even
1
1
44
C1C1
C1C1
1212
2222
22
33
C1C1
C1C1
1111
2121
1414
2424
1
1
22
33
44
24V24V 24V24V
+24V+24V
GNDGND
+24V+24V
GNDGND
ERRORERROR
B +B +
AA--
MR-DIO4/2MR-DIO4/2
B +B +
AA--
BUSYBUSY
x1x1
x10x10
MODBus RTU
MODBusRTU
JJ
+24V+24V
GNDGND
Jumper belowJumper below
the faceplatethe faceplate
ÁÁ
ÂÂ
Switch
x1 0123 4 5 6 7
Bitrate
(Bit/s) 1200 2400 4800 9600 19200 38400 57600 115200
Switch
x10 012
Parity even odd none
9. Software description
9.1 I/ Commands
"01 (0x01) Read Coils"
Request
Valid Starting Address 0 .. 3
Valid Quantity of Outputs 1 .. 4
Response
Byte Count 1
Output Status Bit0 .. Bit3 (Bit 4 .. 7=0)
Bit Information
00 = Status relay 1 off
1 = Status relay 1 on
10 = Status relay 2 off
1 = Status relay 2 on
20 = relay 1 switched via bus
1 = relay 1 switched via manual control
30 = relay 2 switched via bus
1 = relay 2 switched via manual control
"02 (0x02) Read Discrete Inputs"
Request
Valid 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
“05 (0x05) Write Single Coil”
Request
Valid Output Address 0 .. 1
Valid Output Value 0x0000 or 0xFF00
Response
Echo of the request
“15 (0x0F) Write Multiple Coils”
Request
Valid Starting Address 0 .. 1
Valid Quantity of Outputs 1 .. 2
Valid Byte Count 1
Output Value 0 or 1 in Bit0 .. Bit1
Bit Information
00 = Status relay 1 off
1 = Status relay 1 on
10 = Status relay 2 off
1 = Status relay 2 on
Response: Function Code, Starting Adress,
Quantity of Outputs
BTR NETCOM GmbH
Im Tal 2
78176 Blumberg
Germa y
Pho e +49 7702 533-0
Fax +49 7702 533-189
Mou ti g i structio see
www.metz-co ect.com
21
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
43
5 mm
Connect the cable for bus supply

BTR NETCOM GmbH
Im Tal 2
78176 Blumberg
Germa y
Pho e +49 7702 533-0
Fax +49 7702 533-189
Mou ti g i structio see
www.metz-co ect.com
Continuation Software description
“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 0x03
Object Value “BTR”
Object ID 0x01
Object Length 0x09
Object Value “MR-DIO4/2”
Object ID 0x02
Object Length 0x04
Object Value “V1.0”
Continuation Software description
9.3 General Commands
“08 (0x08) Diagnostics”
Subfunction “0 ( 0x0000) Return Query Data”
Data Field Any
Response: Echo of Request
Subfunction “1 (0x0001) Restart Communication Option”
Data Field 0x0000 oder 0xFF00
Response: Echo of Request
Action: Clears all Error Counters, Restarts node
Subfunction “4 (0x0004) Force Listen Only Mode”
Data Field 0x0000
No Response
Action: No response until Node Reset or Function Code 08
Subcode 01
Subfunction “10 ( 0x000A) Clear Counters”
Data Field 0x0000
Response: Echo of Request
Action: Clears all Error Counters
Subfunction “11 ( 0x000B) Return Bus Message Count”
Data Field 0x0000
Response: Quantity of messages that the remote device has
detected on the communications system since its last restart,
clear counters operation, or power-up.
Subfunction “12 ( 0x000C) Return Bus Communication Error Count”
Data Field 0x0000
RResponse: Quantity of errors encountered by the remote
device since its last restart, clear counters operation,
or power–up. (CRC, Length <3, Parity, Frame)
Subfunction “13 ( 0x000D) Return Bus Exception Error Count”
Data Field 0x0000
Response: Quantity of MODBUS exception responses returned
by the remote device since its last restart, clear counters
operation, or power–up.
Subfunction “14 (0x000E) Return Slave Message Count”
Data Field 0x0000
Response: quantity of messages addressed to the remote
device, or broadcast, that the remote device has processed
since its last restart, clear counters operation, or power-up.
Subfunction “15 (0x000F) Return Slave No Response Count”
Data Field 0x0000
Response: Quantity of messages addressed to the remote
device for which it has returned no response (neither a normal
response nor an exception response), since its last restart, clear
counters operation, or power-up.
Continuation Software description
9.2 Bit rate setting with Modbus command
Parity and bit rate have the same value as when setting them by
address switch.
If Parity or Bit has the value 0, no setting or storage is carried out.
The register content is stored in the EEPROM.
“06 (0x06) Write Single Register”
Request
Valid Register Address 0x41 ( 65 )
Valid Register Value 2 Bytes
Bit 15-8: Magic-Number 0x53 = 83 as protection against
accidental writing.
The command will be further analysed only with this
number.
Response
Echo of Request
Example for a frame:
Slave address 0x12 Setting of rotary switch (18)
Function 0x06 Write Single Register
Register address Hi 0x00
Register address Lo 0x41 Bit rate and parity (65)
Register contents Hi 0x53 Magic-Number
Register contents Lo 0x15 Parity Even, 19200 Baud
All devices can be switched simultaneously with a Broadcast com-
mand (Slave address 0x00) However, it is advised not to do so as
this can 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 only afterwards. However, the ans-
wer can get lost if the bus is disturbed.
When all devices are switched; it is advised to check communicati-
on. Any function of the device providing a feedback is suitable. If
a single function is to be used being independent from the pro-
cess 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 combinati-
ons first. Try the lower bit rates last as they take longer.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0x53 Parity Bit rate
Bit 3-0 1 234 5 6 7 8
Bit rate 1200 2400 4800 9600 19200 38400 57600 115200
Bit 7-4 1 2 3
Parity even odd none
This manual suits for next models
1
Table of contents
Languages:
Other Metz Connect I/O System manuals

Metz Connect
Metz Connect EWIO2 User manual

Metz Connect
Metz Connect LF-SI4 User manual

Metz Connect
Metz Connect BMT-RTR User manual

Metz Connect
Metz Connect BMT-AO4 User manual

Metz Connect
Metz Connect C Logline MR-DO4 User manual

Metz Connect
Metz Connect Logline LF-DO4 User manual

Metz Connect
Metz Connect MR-DI10 User manual

Metz Connect
Metz Connect IP44SG Quick start guide

Metz Connect
Metz Connect C Logline 11085913 User manual

Metz Connect
Metz Connect MR-TO4 User manual