Está en la página 1de 27

Common Industrial Protocol

Dezentrale Automation
SS 2009
Wolfgang Kastner
Dezentrale Automation 2
Automationspyramide
Management und Fhrungsebene
Server und Workstations
Steuer- und Leitebene
Workstations und PCs
Automationsebene
Industrie/Embedded PCs,
SPS
Feldebene
Sensoren, Aktuatoren, Controller
Dezentrale Automation 3
Praktische Umsetzung
Dezentrale Automation 4
Common Industrial Protocol (CIP)
Dezentrale Automation 5
CIP Object Adressing
Node Address / Media Access Control Identifier
Class Identifier
Instance Identifier
Attribute Identifier
Service Identifier
Dezentrale Automation 6
CIP Messaging Protocol
Verbindungsorientiert
Connection Identifier (CID)
Unconnected Message Manager (UCMM):
verwaltet CIDs und deren Attribute: CID Originator (Source) /
CID Target (Sink), Timeout-Information, Messagelnge,
Cyclic, Change of State, Applikationsgetriggert
Dezentrale Automation 7
Communciation Objects
I/O Connection
Producer/Consumer
Multicast
Implicit Messaging
Explicit Messaging
Request/Response
Dezentrale Automation 8
Object Library General Use
Identity zur Gertebeschreibung (e.g.,
Vendor ID, Device Type, Product Code,
Revision, Status, Serial Number, Product
Name, )
Connection fr Verbindungs-
beschreibungen (siehe Abbildung)
Parameter zur Konfiguration, auch als
Variante des Parameter Objects Stubs in
Verbindung mit Electronic Data Sheet
(EDS)
Assembly als Multiplexor fr I/O
Connections
Message Router zur Verteilung von
Explicit Messages
Dezentrale Automation 9
Assembly
Input: vom Prozess
kommend (z.B.
Nherungsschalter)
Output: vom Netzwerk
kommend (z.B. Motor
Speed Control)
Attribute #1 und #2
enthalten Mapping
Information
Auch Mapping von
individuellen Bits ist
mglich; kein individueller
Zugriff ist notwendig
Dezentrale Automation 10
Object Library Application & Network specific
Application specific:
Analog/Discrete Input Group
Analog/Discrete Output
Group
Analog/Discrete Input Point
Analog/Discrete Output
Point
Motor Data
Overload
Position Controller
Position Sensor
Presence Sensing

Network Specific
ControlNet
ControlNet Keeper
ControlNet Scheduling
DeviceNet
Ethernet Link
TCP/IP Interface
Dezentrale Automation 11
DeviceNet
Entwickelt von Allen-Bradley (Rockwell Automation).
bertragungsraten 125, 250 und 500 kbps
4 Leitungen (CAN-L, CAN-H, Vcc, Ground)
Topologie: Stammleitung (Trunk) mit Stichleitungen (Drop), maximal 64
Teilnehmer
Steckervarianten (IP20, IP 65/67)
Dezentrale Automation 12
DeviceNet
Basierend auf Standard CAN (11-bit Message ID)
Nachrichtenlnge: 8 Byte, Fragmentierung mglich
Gruppierung: hochpriore I/O Nachrichten, Master/Slave
Nachrichten, UCCM und explizite Nachrichten, Network
Management
Dezentrale Automation 13
Predefined Master/Slave Connection Set
Polled-I/O: Die Daten der Slaves werden zyklisch vom Master
abgefragt (Master-Slave-Verfahren)
Explicit: Azyklische Kommunikation zwischen Master und Slave,
z.B. zur Parametrisierung
Bit-Strobed: Nachricht vom Master an alle Slaves, die daraufhin
ihre Eingangsinformationen senden
Change-of-State: Der Slave sendet bei einer nderung am
Eingang automatisch die Daten an den Master
Cyclic: Der Slave sendet seine Daten nach Ablauf einer
Zykluszeit selbststndig
Dezentrale Automation 14
Predefined Master/Slave Connection Set
Dezentrale Automation 15
Polled I/O Connection
Master
MAC ID =0
Dezentrale Automation 16
Bit-Strobe I/O Connection
Master
MAC ID =0
Dezentrale Automation 17
COS/Cyclic I/O Connection
Dezentrale Automation 18
ControlNet
Entwickelt von Rockwell Automation und ControlNet
International (CI), seit 2008 von ODVA
bertragungsrate 5 Mbit/s
Topologie:
hauptschlichTrunkline (Koax oder LWL) und Dropline
(BNC-Steckerverbinder), Abschlusswiderstnde
auch mglich: Stern, Ring
maximal 99 Teilnehmer
Dezentrale Automation 19
ControlNet
Zyklische I/O Datenbertragung
Azyklische Datenkommunikation fr Konfiguration und
Programm-Up-/Download
Concurrent Time Domain Multiple Access (CTDMA)
Implizites Tokenverfahren
Zeitscheibenverfahren (Network Update Time, NUT)
Scheduled Service fr zeitkritische Daten (Bandbreite ist vorweg
festzulegen)
Unscheduled Service fr zeitunkritische Daten knnen (je nach
Bedarf) von beliebigen Teilnehmern genutzt werden (Round-Robin-
Verfahren)
Guardband-Slot fr Synchronisations-Daten
Dezentrale Automation 20
Scheduled Service I/O Messaging
Dezentrale Automation 21
Unscheduled Service Explicit Messaging
Dezentrale Automation 22
Ethernet/IP
Entwickelt von Allen-Bradley (Rockwell Automation)
unmodifiziertes (Switched) Ethernet
Enterprise-Netzwerk-Integration (IT-freundlich)
TCP/IP features
Reliable End-to-End Communication
Connection-oriented
Error Control and Correction, Acknowledgments and Retries
Flow control, packet numbering
UDP/IP features
Simple end-to-end communication
Connectionless (Datagrams)
Dezentrale Automation 23
Ethernet/IP
Dezentrale Automation 24
Ethernet/IP
UCMM (unconnected)
TCP Connection mit
Encapsulation Protocol
Connected Class 0 and 1
UDP mit Common Packet
Format
Multicast Connections
verwenden IP Multicast
Mechanismen
Connected Class 2 and 3
TCP Connection mit
Encapsulation Protocol
Multiple CIP Connections
knnen sich selbe TCP
Connection teilen
Dezentrale Automation 25
Ethernet/IP
Command Byte: identifiziert Request
Session Handle: Eindeutig fr Encapsulation Session (generiert bei
Verbindungsaufbau)
Status: gibt an, ob Empfnger Request verarbeiten konnte
Sender Context: fr mehrfach ausstndige Requests
Dezentrale Automation 26
Ethernet/IP Commands
RegisterSession / UnRegisterSession zum Auf und Abbau von
Sessions
ListIdentity (Broadcast) / ListServices zum Austausch von
Protocol Version, Socket Address, Device Identity, und
untersttzten Encapsulation Services
SendRRData (Request and Reply) / SendUnitData (No Reply)
IndicateStatus zur Anzeige von Zustandsnderungen
Cancel zur Signalisierung eines Abbruchs einer
vorangegangenen SendRRData Anweisung
NOP zur berwachung der Verbindung
Dezentrale Automation 27
Literatur
Open Devicenet Vendors Association (ODVA): www.odva.org
ODVA: EtherNet/IP Architecture Summary
V. Schiffer: The CIP family of fieldbus protocols and its newest
member Ethernet/IP," Emerging Technologies and Factory
Automation, 2001. Proceedings. 2001 8th IEEE International
Conference on , vol., no., pp.377-384 vol.1, 2001
EN 50235-2: Industrial communications subsystem based on
ISO 11898 (CAN) for controller-device interfaces - Part 2:
DeviceNet, 2001
IEC 61158 (Type 2): Digital data communication for
measurement and control - Fieldbus for use in industrial control
systems, (ControNet/Ethernet/IP), 2000.

También podría gustarte