Herunterladen Inhalt Inhalt Diese Seite drucken

ABB MODBUS-RTU FieldBusPlug MRP21-FBP Technische Beschreibung Seite 34

Inhaltsverzeichnis

Werbung

MRP21-FBP MODBUS-RTU FieldBusPlug
Technische Beschreibung
Schreiben Binärausgangswerte parallele Geräte (Write binary output values, parallel device)
Es wird der MODBUS-Funktionscode 15 "Write Multiple Coils" verwendet.
Anforderung
MODBUS-Funktionscode
Startadresse
Anzahl Spulen / Ausgänge
Byte-Zählung
Ausgangswert
N* = Anzahl Ausgänge / 8, wenn Division mit Rest ungleich 0  N = N+1
Antwort
MODBUS-Funktionscode
Startadresse
Anzahl Spulen / Ausgänge
Fehlerantwort
Fehlercode
Fehlermeldung (Exception Code)
Hinweis: Wenn ein serielles Gerät angeschlossen ist, erscheint eine Fehlerantwort.
MODBUS-Frame auf der seriellen Leitung
Anforderung
1 Byte
Slave-
Adresse
*
* abhängig vom Gerät
Antwort
1 Byte
Slave-
Adresse
*
* abhängig vom Gerät
Binäreingangsdaten Gerät
Bit 7
MRP21-FBP
1 Byte
2 Bytes
Funktions-
Start-
code
adresse
Ausgänge
0x0F
0x1100
1 Byte
2 Bytes
Funktions-
Start-
code
adresse
Ausgänge
0x0F
0x1100
Bit 6
Bit 5
1 Byte
0x0F
2 Bytes
0x1100 ... 0x1107
2 Bytes
0x0001 ... 0x0008 (8 Ausgänge)
1 Byte
N*
N* x1 Byte
1 Byte
0x0F
2 Bytes
0x1100 ... 0x1107
2 Bytes
0x0001 ... 0x0008 (8 Eingänge)
1 Byte
0x8F
1 Byte
01 oder 02 oder 03 oder 04
2 Bytes
1 Byte
Byte 0
Anzahl
Byte-
Binärausgangsdaten Gerät
Zählung
*
*
2 Bytes
2 Bytes
Anzahl
CRC
*
Byte 0
Bit 4
Bit 3
- 34 -
abhängig vom Gerät
abhängig vom Gerät
...
Byte n
*
Bit 2
Bit 1
FieldBusPlug / Stand: 03.2010
G 6
2 Bytes
CRC
Bit 0

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis