Академический Документы
Профессиональный Документы
Культура Документы
www.hilscher.com
Feb. 2008
Sensoplex
CAN Profibus DP Process Field Bus Decentral Peripherals Device net/ Controlnet Interbus TCP/IP Real Time Ethernet Protocols * Profinet * MODBUS TCP * EtherCAT * PowerLink * Ethernet IP * Sercos III
www.hilscher.com
Feb. 2008
www.hilscher.com
Feb. 2008
Philosophy
Controler Level
Master
Direct
Field Level
CAN DeviceNet FIP Interbus Profibus etc.
Subordinate
Slave
Slave
Slave
Slave
Slave
Slave
Slave
Slave
Sensor/Aktuator Level
Hilscher Gesellschaft fr Systemautomation mbH www.hilscher.com Feb. 2008
Master
Master
Slave
www.hilscher.com
Feb. 2008
Easy Communication
Controller
Master
Master Request:
An Slave 1 An Slave 2 An Slave 31
An Slave 1
Slave 1
Slave 2
Slave 31
Slave 1
Slave Response
www.hilscher.com
Feb. 2008
AS-Interface
Single-Master / Multiple-Slave Baudrate: 166,7 kBaud Userdata: 4 / 4 Bit In/Output per A Slave 4 / 3 Bit In/Output per B Slave Devices: max. 62 Slaves on one line (CS 2.1) Medium: Copper Lenght: 100 Meter 300 Meter with Repeater Special feature: Powersupply and Data on the same wire
www.hilscher.com
Feb. 2008
www.hilscher.com
Feb. 2008
Formation of CANopen
Out of a development for the automotive-industry,a bussystem was developed by suitable physical adaptations. The CAN only defines the transfer, so they widened this in the specification of the CANopen to a real fieldbus system.
www.hilscher.com
Feb. 2008
Different philosophies
Source/Destination - the old paradigm - Ethernet - Interbus - Profibus (DP, PA, FMS,) - Seriplex
- Modbus
- Remote I/O
- Modbus Plus
- Data Highway Plus
www.hilscher.com
Feb. 2008
Control
CRC
Broadcasts 0 to 8 bytes of data with identifier Non-Destructive Arbitration Similar to Ethernet, each node attempts to transmit when the network is free. Unlike Ethernet, a collision will be avoided with the arbitration. The winning node continues to transmit its message to completion This mechanism GUARANTEES that NEITHER information NOR time is lost !! The value of the Identifier defines priority during arbitration
www.hilscher.com
Feb. 2008
Ack
CSMA / CA - Procedur
CSMA / CA C S M A = Carrier = Sense = Multiple = Access / Trger / hrt / Mehrfach / Zugriff / Kollision / vermeiden
C = Collision A = Avoid
Node 1
send 0
Node 2
0 received 1
Node 3
0 received 1
1 received send 1 0
www.hilscher.com
Feb. 2008
Message identifier
Node 1 Transmits:
10110110100
00000001
xxxx
01
E O F
10110111
Arbitration Field
10110110100
00000001
xxxx
01
E O F
Each device receives the Bit that it sended out at the same time. If it sended a 1 and recieved an 0 then it stoped sending and wait until the transmition was finished. Otherwise it continues transmitting. So there is dominance of the 0.
Hilscher Gesellschaft fr Systemautomation mbH www.hilscher.com Feb. 2008
Characteristics
Multimaster / Multiple-slave
Baudrate : 10kBaud...1MBaud
User data : 8 Byte per telegram Devices : max. 128
www.hilscher.com
Feb. 2008
ControlNet
www.hilscher.com
Feb. 2008
Formation of ControlNet
ControlNet technology was developed by Allen Bradley in Oktober 1995. The technical specification are published at December 1996.
Hilscher Gesellschaft fr Systemautomation mbH www.hilscher.com Feb. 2008
www.hilscher.com
Feb. 2008
www.hilscher.com
Feb. 2008
www.hilscher.com
Feb. 2008
Characteristics
Multiple master / Multiple slave
Special feature
: 5 MBaud : max. 506 Byte/Tel. : 48 without repeater 99 with repeater : Koaxialwire RG-6, fiberoptics : 1000m Coax wire 7km fiberoptics 30km with repeater : Redundance
www.hilscher.com Feb. 2008
DeviceNet
www.hilscher.com
Feb. 2008
The philosophy
Ethernet Nahtlose Integration mit Management- und Informationssystemen ControlNet Deterministisches E/A- und Peer-toPeer High-SpeedNetzwerk DeviceNet Ein kostengnstiger, offener Kommunikationsstandard fr Feldgerte
www.hilscher.com
Feb. 2008
Technology CAN messaging layer 2 (data link layer) - ISO 11898 and 11519-1 DeviceNet is layer 7 (application layer ) and layer 1 (physical layer) designed for industrial automation
www.hilscher.com
Feb. 2008
www.hilscher.com
Feb. 2008
addressing
Each DeviceNet node has its own station address which is represented by a MAC ID (Media Access Control ID) You can use addresses from 0 up to 63
MAC ID #1
DeviceNet Link
MAC ID #2
MAC ID #3
MAC ID #4
www.hilscher.com
Feb. 2008
Object model
DeviceNet used a CIP (Control und Information Protocol). for data transfer. This Protocol defines the following informations
MAC ID #1
DeviceNet Link
Node address (MAC ID) Object Class Identifier Object Instance Identifier Attribute Identifier Service Code
MAC ID #2
Object Class #5
Object Class #5
Object Class #7
MAC ID #3
Hilscher Gesellschaft fr Systemautomation mbH
MAC ID #4
www.hilscher.com Feb. 2008
Explicit Messaging Connections Explicit Messaging Connections - multi-purpose communication paths between two devices. Explicit messages provide the typical request-/response oriented network communications.
Implicit Messaging (I/O Connections) I/O connections - communication path between a producing application and one or more consuming applications, Normally this data is traded as real time proccess data. I/O connection based messages are transferred with little overhead to reach high performance while transferring it.
Hilscher Gesellschaft fr Systemautomation mbH www.hilscher.com Feb. 2008
I/O Connections
I/O Connections provide specialpurpose communication paths between a producing application and one or more consuming applications. Applicationspecific I/O data moves across an I/O Connection. I/O Messages are exchanged across I/O connections. An I/O Message consists of a Connection ID and associated I/O data. The meaning of the data within an I/O Message is implied by the associated Connection ID. The connection endpoints are assumed to have knowledge of the intended use or meaning of the I/O Message.
I/O Message (Connection ID & Data) I/O Producing Application Object I/O Data Producing I/O Connection Consuming I/O Connection I/O Data I/O Consuming Application Object
Module #1
Module #2
www.hilscher.com
Feb. 2008
www.hilscher.com
Feb. 2008
Communication relationships
Polling Cyclic Change-of-State (COS) Combinations
Characteristics
Multiple master / Multiple slave
Baudrate : 125kBaud...500kBaud
User data : 8 Byte per telegram 256 Bytes I/O(segmented)
Devices
: max. 64
www.hilscher.com
Feb. 2008
www.hilscher.com
Feb. 2008
The PB Protocol
PLC
PC
PLC
PROFIBUS
www.hilscher.com
Feb. 2008
PROFIBUS-DP
Monomaster Systems achieve the shortest bus cycle time They consist of: - 1 DP-Master (Class 1) - 1 to max. 125 DP-Slaves - DP-Master (Class 2) - optional
PROFIBUS-DP
DP - Slaves
Distributed Inputs and Outputs
PC
CNC
PLC DP-Master
(Class 1)
Multimaster System several DP-Masters may access a DP-Slave with read functions They consist of: - multiple Masters (Class 1 or 2) - 1 to max. 124 DP-Slaves - max. 126 devices on the same bus
Feb. 2008
DP - Slaves
Distributed Inputs and Outputs
www.hilscher.com
PROFIBUS-PA
CIF 30-DPM
PROFIBUS-DP
+
PROFIBUS-PA
J
Slaves (Field Devices, Distributed I/Os, Single Loop Controllers, Link to PROFIBUS-PA) Hilscher Gesellschaft fr Systemautomation mbH www.hilscher.com Feb. 2008
PROFIBUS-FMS
PROFIBUS-FMS
RS 485 up to 12 MBit/s
Master
Master
Master
www.hilscher.com
Master
Feb. 2008
PROFIBUS-DP
DP-Master DP-Slave DP-Slave DP-Slave
immediate response
Frames
DP-Master
= = = =
Synchronization Time DA = Destination Address DU = Data Unit Start Delimiter 2 SA = Source Address FCS = Frame Check Sequence Length FC = Function Code ED = End Delimiter repeated Length Hilscher Gesellschaft fr Systemautomation mbH www.hilscher.com Feb. 2008
The access to the parameter data assigned to an Service Access Point (SAP). For this the class 1 master uses the SAP 51. One slave can have up to 255 Slots (0..254) The slots may have 256 (0..255) Indices User data (PDU) in a range of 1 to 240 Byte can be transfered with one index. So theoretical is addressable 15.300 kByte per slave device.
Hilscher Gesellschaft fr Systemautomation mbH www.hilscher.com Feb. 2008
GC S1 S2
S31
DPV1
GAP
Token
Reserve GC S1 S2
S31
DPV1
GAP
Token
Reserve
S1 ..S3
S1 ..S3
S1 ..S3
S1 ..S3
www.hilscher.com
Feb. 2008
Publisher
Subscriber
Subscriber
Subscriber ...
www.hilscher.com
Feb. 2008
PB-Characteristics
Multi-master / Multiple-slave
Baudrate : 9600 .. 12MBaud User data : max. 244 Byte per I/O Telegram
www.hilscher.com
Feb. 2008
Creation of INTERBUS
In the context of the development the company phoenix did in Signalmultiplexer,this system was developed to the INTERBUS.
Hilscher Gesellschaft fr Systemautomation mbH www.hilscher.com Feb. 2008
Data transfer
Structure of IBS-Systems
INTERBUS works like a distributed reconnected shift register with different slaves and only one Master. The link between the devices is a point to point connection (RS 422).
process image
www.hilscher.com
Feb. 2008
Master
Loopbackwort Output-Data S4 Output-Data S3 Output-Data S2 Output-Data S1
Slave 1
Output-DataS1 Input-Data S1
Slave 2
Output-DataS2 Input-Data S2
Slave 3
Output-DataS3 Input-Data S3
www.hilscher.com
Feb. 2008
Master
Slave 1
Output-Data S1
Slave 2
Output-Data S2
Slave 4
Output-Data S4
Slave 3
Output-Data S3
www.hilscher.com
Feb. 2008
Topologies
INTERBUS provides
Ring topologie. It`s a ring system with an activ interface of IBS device.
Local bus
Remote bus
Disadvantages of the simple ring structure were extensive eliminated through an optimization of the system. Benefit = Diagnostic
Hilscher Gesellschaft fr Systemautomation mbH
www.hilscher.com
Feb. 2008
Field devices
FB
Remote bus device Remote bus branch interface Local bus device Local bus branch interface
FB
LB
FB
FB
LB
www.hilscher.com
FB
Feb. 2008
Acyclic Services
Additional to the process data (Digital I/O Data or Analog I/O Data) that were basically transmitted cyclic, some applications need some acyclic parameter data. Therefore INTERBUS offers the message orientated Peripherals Communication Protocoll (PCP)
www.hilscher.com
Feb. 2008
ProDa TN 2
ProDa ParaDa TN 3
End
www.hilscher.com
Feb. 2008
IBS characteristics
Single-master / Multiple-slave
Baudrate : 500kBaud User data : max. 4096 I/O
www.hilscher.com
Feb. 2008