9.1.3.2
Länge232 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9.1.3.3
ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9.1.3.4
Datenbereich . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9.1.3.5
Checksumme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9.1.3.6
Endezeichen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.1.4 Kommunikationsablauf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.2
Das 3964 R Protokoll . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.2.1 Datenaufbau 3964R . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.2.2 Protokollfestlegungen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
9.2.3 Datenverkehr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
9.2.3.1
Einleitung des Datenverkehrs durch den niederprioren Teilnehmer . . . . . . . . . 25
9.2.3.2
Konfliktfälle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
9.2.3.3
Überwachungszeiten . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
9.2.3.4
Wiederholungen
9.2.3.5
Einleitung des Datenverkehrs durch den hochprioren Teilnehmer . . . . . . . . . . 26
9.2.4 Zustand der 3964R Kommunikation . . . . . . . . . . . . . . . . . . . . . . . 26
9.3
Das RK512-Protokoll . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
9.3.1 Ablauf der Datenübertragung . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.4
Modbus-RTU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.4.1 Hinweise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.4.2 UNIGATE als Modbus-Master . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.4.2.1
Vorbereitung . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.4.2.2
Datenaufbau . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.4.2.3
Kommunikationsablauf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.4.3 UNIGATE als Modbus-Slave . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.4.3.1
Vorbereitung . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.4.3.2
Datenaufbau . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.4.3.3
Kommunikationsablauf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.4.3.4
Statusmeldung . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
10 Erstellung eines Scripts - nur für UNIGATE SC. . . . . . . . . . . . . 31
10.1 Was ist ein Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
10.2 Speichereffizienz der Programme
10.3 Was kann man mit einem Script Gerät machen . . . . . . . . . . . . . 31
10.4 Unabhängigkeit von Bussen . . . . . . . . . . . . . . . . . . . . . . . 31
10.5 Weitere Einstellungen am SC Gateway . . . . . . . . . . . . . . . . . . 31
10.6 Die Benutzung des Protocol Developers . . . . . . . . . . . . . . . . . 32
10.7 Genauigkeiten der Baudraten bei UNIGATE SC . . . . . . . . . . . . . 32
10.8 Scriptabarbeitungszeiten . . . . . . . . . . . . . . . . . . . . . . . . . 33
11 Hardware-Anschlüsse, Schalter und Leuchtdioden . . . . . . . . . . 34
11.1 Gerätezeichnung . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
11.1.1 Ausführung UNIGATE RS / SC 232/485-DeviceNet . . . . . . . . . . . . . . . 34
11.1.2 Ausführung RS / SC 232/422-DeviceNet . . . . . . . . . . . . . . . . . . . . 35
11.2 Konfiguration des UNIGATE RS . . . . . . . . . . . . . . . . . . . . . 35
11.2.1 DeviceNet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
11.2.2 RS232/RS485/RS422 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
11.3 Stecker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
UNIGATE Feldbus-Gateway für DeviceNet V. 4.2
Deutschmann Automation GmbH & Co. KG
. . . . . . . . . . . . . . . . . . . . 31
21.4.11