Herunterladen Inhalt Inhalt Diese Seite drucken

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

Inhaltsverzeichnis

Werbung

MRP21-FBP MODBUS-RTU FieldBusPlug
Technische Beschreibung
Schreiben Binärausgangswerte serielle Geräte (Write binary output values, serial 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 paralleles 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ärausgangsdaten Gerät
Byte 0
Bit 7
Bit 15
Bit 23
MRP21-FBP
1 Byte
2 Bytes
Funktions-
Start-
code
adresse
Ausgänge
0x0F
0x0100
1 Byte
2 Bytes
Funktions-
Start-
code
adresse
Ausgänge
0x0F
0x0100
Byte 1
Byte 2
Bit 6
Bit 5
Bit 14
Bit 13
Bit 22
Bit 21
1 Byte
0x0F
2 Bytes
0x0100 ... 0x01FF
2 Bytes
0x0001 ... 0x0100 (256 Ausgänge)
1 Byte
N*
N* x1 Byte
1 Byte
0x0F
2 Bytes
0x0100 ... 0x017F
2 Bytes
0x0001 ... 0x0100 (256 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
Byte 1
Bit 12
Bit 11
Byte 2
Bit 20
Bit 19
- 32 -
abhängig vom Gerät
abhängig vom Gerät
...
Byte n
*
...
Byte n
Bit 2
Bit 1
Bit 10
Bit 9
Bit 18
Bit 17
FieldBusPlug / Stand: 03.2010
G 6
2 Bytes
CRC
Bit 0
Bit 8
Bit 16

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis