Вы находитесь на странице: 1из 75

Profibus

Android Profibus DP Network Training

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer
email:sphillips@android-ind.com
Network
Setup/Debug
Overview

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Overview

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Overview

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Overview

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Overview

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Overview

PROFIBUS FMS (Field Message Specification)


PROFIBUS DP (Decentralized Peripherals) 
PROFIBUS PA (Process Automation)

We will focus on Factory


Automation

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Only 1 Master
Network can Write
Setup/Debug outputs to a
single slave
Overview for Safety.

Token Exchange and Telegram structure


message exchange. Profibus - DP Protocol
is Deterministic!
Example Messages

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Overview

The symbol duration time, also known as unit interval, can be directly


measured as the time between transitions by looking at an eye diagram of
the signal on an oscilloscope. The symbol duration time Ts can be
calculated as:

     
where fs is the symbol rate. There is also a chance of miscommunication
which leads to ambiguity.
Example: Communication at the baud rate 1000 Bd means ProfiNET (should not to be confused with
communication by means of sending 1000 symbols per second.
In the case of a modem, this corresponds to 1000 tones per Profibus-DP) is 100 M bits per second.
second; similarly, in the case of a line code, this corresponds There is no equivalent baud rate for
to 1000 pulses per second. The symbol duration time
is 1/1000 second (that is, 1 millisecond). Baud is scaled using standard metric prefixes, so that for example ProfiNet/Ethernet. But; there is a
1 kBd (kilobaud) = 1000 Bd relationship to the gross bit rate of roughly
1 MBd (megabaud) = 1000 kBd 160Kbit/s approx.= 120 kBd
1 GBd (gigabaud) = 1000 MBd

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Wiring/Cabl
e

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Wiring/Cabl
e

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Wiring/Cabl
e

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Wiring/Cabl
e

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Category 1 cables are a 2-pair copper UTP designed for POTS (plain old telephone systems). Capable of up to
1MHz bandwidth, Cat1 cables were once the most common telecommunications cables and were found in
Network almost every home and office. Cat 1, however, isn't capable of carrying data due to its very constricted
bandwidth.
Setup/Debug Category 2 cables upped the game by doubling the conductor count to 4 twisted pairs. This design also

Wiring/Cabl increased bandwidth to a blistering 4Mbps, enough for teletype and fax communications! It's important to note
that both Cat1 and Cat2 are name variations of Level 1 and Level 2 cables, which were originally defined by the

e
low voltage distribution company Anixter International. Neither of these cables is defined in the TIA 568-C
standard.

Category 3 cabling commonly known as Cat3 or "station wire," is an unshielded twisted pair cable designed to
carry data up to 10 Mbps. It was used in the early 1990's for computer networking, in particular in a system
known as "Token Ring." Cat3 is defined in the TIA 568-C standard and is still in use as a telephone wiring.

Category 4 cabling improved on Cat3 and offered up to 16 Mbps of bandwidth and was commonly used in both
Token Ring and early 10Base-T networks. Cat4 is no longer recognized in TIA 568-C.

Category 5 cables are the most ubiquitous UTP networking cables on the planet. Category 5 enhanced cables
are known as Cat5e and offer better crosstalk capability than the original Cat5 but deliver the same 100MHz
bandwidth. Cat5e is used in structured cabling for computer networks such as 10Base-T, 100Base-TX (Fast
Ethernet), and 1000Base-T (Gigabit Ethernet). Cat5e is also used for many A/V and telephony applications.

Category 6 (Cat6) is a standardized cable for Gigabit Ethernet and other network physical layers that is
backward compatible with the Category 5/5e and Category 3 cable standards. Cat6 has much higher
specifications for both crosstalk and system noise, and provides up to 250MHz bandwidth. It's typically used in
1000Base-T (Gigabit Ethernet) and 10GBase-T (10-Gigabit Ethernet). Cat6a is an "augmented" Category 6 cable
that offers up to 500MHz bandwidth. Cat6 is important in digital video applications such as HDBaseT also.

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Wiring/Cabl
e

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Connectors

Note:
This is
no
longer
New!

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Termination

This should Use an active


not be the Terminating
case if you resistor
want to power
down a
station. And,
have the
network run!!
Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Termination
Or, Active
Same Termination.
Power
Source

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com PH:(248)310-1043
Network
Setup/Debug
Termination

Same
Power
Source

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Termination

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Segmentatio
n

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Repeaters

*Diagnostic Repeaters provide Signal, Wire and Data information.

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Repeaters

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Repeaters

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Repeaters

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Reflection

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Reflection

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Reflection

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Reflection

Also good cause of reflection,


is weakening and/or damage
of pins! And/or device
failure. (Increase of
capacitance!)

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Reflection

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Reflection

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Spur-Line

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Spur-Line

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Cable
Requirement

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Cable Building

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Cable Building

Fast Connect Example DP 9-pin Pin-out Diagram Figure:1

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Cable Building

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Cable Building

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Summary

Wiring

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Summary Let’s not forget, broken
wires and proper
shielding.

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
BT200/Networ
k Testing

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
BT200/Networ
k Testing

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Software
Configuration

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com PH:(248)310-1043
Network
Setup/Debug
Software
Configuration
GSD Files

*GSD Files are created by the device vendors

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
 
Network A GSD file may be present either once, as when its
Setup/Debug construction is language-neutral (*.gsd) or several times,
as when it has been written in a particular local language.
Software In this case, a separate GSD file should be used for each
language and they should only differ from each other in
Configuration their visible-string type parameters. Language-related
GSD Files GSD files differ in the last letter of their extensions (*.gs?).
 
Default (language-neutral): ?=d
German ?=g
English ?=e
French ?=f
Italian ?=i
Portuguese ?=p
Spanish ?=s

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
Software
Configuration
Tool

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network TIA Portal V15.1
Setup/Debug
SIEMENS
TIA Portal

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
SIEMENS
Hardware
Configuration

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network Information (GSD) must match!
Setup/Debug Important! Including revision level in some
or most cases.
SIEMENS
Hardware
Configuration

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network ANDROID
Setup/Debug
SIEMENS
Hardware
Configuration Only if
familiar with
the
parameters.

Contact
Bob Grant
Engineering.

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network Only if
familiar with
Setup/Debug the
parameters.
SIEMENS
Hardware Contact
Bob Grant
Configuration Engineering.

This assumes we
are numbering in
order from low to
high.

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network Only if
familiar with
Setup/Debug the
SIEMENS parameters.

Hardware Contact
Bob Grant
Configuration Engineering.

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network Understanding the configuration Tool
Setup/Debug
SIEMENS
Software PROFIBUS DP
Network Name
DP Configuration

Enter Name
under
General Tab

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug Network Settings
SIEMENS
Software
DP Configuration

MODIFY
Highest Address
Transmission Speed
Profile

Contact Controls Engineering

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug Cable Configuration
SIEMENS
Software
DP Configuration

SIEMENS
Cable Configuration
allows the PLC to
determine time needed
for token passing.

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com PH:(248)310-1043
Network Bus Parameters
Setup/Debug This should be enabled.
SIEMENS Reasons for deactivating:
Cylic
Software
DP Configuration

Only if
familiar with
the
parameters.

Contact
Bob Grant
Engineering.

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network Bus Parameters
Setup/Debug This is usually disabled.
SIEMENS Constant bus cycle time is the property of the PROFIBUS-
DP that guarantees bus cycles that are exactly the
Software same length. "Bus cycles of the same length" means that
DP Configuration the DP master always begins the DP bus cycle after the
same time interval.

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Configuring Profibus Field Devices
Network
Setup/Debug
SIEMENS
Hardware
Configuration

Select from Hardware Catalog.


Then drag and drop your hardware

Select Not assigned,


Then which master
you would like to
connect to.
Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug Double Click
to configure
SIEMENS hardware.

Hardware
Configuration Insert and
Add
Hardware

Make sure you are


checking and matching
the correct part
numbers with the actual
part number of the
existing or designed
hardware.

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug Set PG/PC interface to Profibus
SIEMENS
Online Settings Tab
Software Online
Diagnostics

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
SIEMENS
Software Online
Diagnostics

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
SIEMENS
Software Online
Diagnostics

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug Online Monitoring of DP Bus
SIEMENS
Software Online
Diagnostics

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
SIEMENS
Software
Configuration

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
SIEMENS
Network Views

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
SIEMENS
Hardware
Diagnostics

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Diagnostics Tab
Network
Setup/Debug
SIEMENS
Software
Diagnostics

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
SIEMENS
GSD
Revisions

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
SIEMENS
Install
GSD Files

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
SIEMENS
Delete
GSD Files

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
SIEMENS
Finding
GSD Files

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
DP Network with errors
Network
Setup/Debug
SIEMENS
Troubleshooting ADR:2 ADR:12 ADR:13 ADR:15
*DP Network with Node 12 terminating resistor turned ON Device 12 OK

Sometimes isolating certain ADR:2 ADR:12 ADR:13 ADR:15


areas of the network can *DP Network with Node 13 terminating resistor turned ON Device 12 NOT OK
help diagnose the location
and root cause of the
network error. In this case
the issue would lie between
ADR:12 and ADR:13
Possibilities? ADR:2 ADR:12 ADR:13 ADR:15

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network Debug
Setup/Debug A Simple Trouble Shooting Method: B Diagnostic Repeater Trouble Shooting Method:

SIEMENS 1. Use the HMI Nodes Status screen to check


which node is failing and look at the HMI between
each step compleated to check if the network is
working again.
1.       Check terminating resistors…. Check that
they are not loose on d-shell connectors and
the d-shells are full seated and the screws are
tight between the device and the d-shell

Debug 2. If only one node is failing, then find and inspect


the d-shell connector of the failed node following
the step 3, 4, 5 and 6;
connector.

2.       Open the Step 7 project and go online to

Guidelines
hardware config to see which nodes are
active.
3. Unplug the d-shell connector and inspect the
cable shield and connection wires , cut and re-strip 3.       Segment the network to isolate the
the connection points if is necessary; issue, with moving the terminating resistor.
4. The d-shell connector must be tight to the (IE place a terminator halfway down the line
device; and see if the nodes are active to that point.
5. Attention, the last and first node the terminating
resistor must be on and must be off to the nodes 4.       Find the clean point where the network
remaining; is stable for devices that should be seen to
that point of where the terminator is on.
6. Change the d-shell connector if the step 3, 4 and
5 did not help. 5.       Once you have located the last clean
7. If more than one node is failing, then find the point check that connection, cable, and
first CLEAN node where the network IS STABLE and devices on each end.
inspect the d-shell connector following steps 3,4,5, 6.       Take non molded connections apart,
and 6. inspect connections, cut and re-strip the
connection points on the d-shell connectors.
8. Find the first FAILED node where the network IS
NOT STABLE and inspect the d-shell connector
following steps 3, 4, 5 and 6. 7.       Another test you can do at this point is
Emergency BOM to connect the PA+ and PA– at different parts
1.       Profibus Stripping tool 9. Starting at the first FAILED node, unplug the d- of the network and measure the resistance at
shell connector and inspect the cable measuring the start of the network. This will indicate if
2.       Moveable terminating resistors. the resistance on the cable that come to that you have a continuous loop (i.e. low
3.       Multi meter node. This will indicate if you have to fix/change resistance). If you do not, then you have a
4.       Accurate document/drawing of the cable. wire break somewhere in the loop.
existing Profibus network.
5. Profibus Cable
5.       Diagnostic Repeater. (optional)
6. Profibus Diagnostic Tool (optional)

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network Support Help from inside the
Setup/Debug
company
SIEMENS
Contacts
Controls on Call 248-732-0053
Bob Grant 248-941-1124
John Lehman 248-392-8718
Jim Postma 248-453-1536
Bill Magee 586-222-2247
Scott Phillips(Oakland) 248-310-1032

SIEMENS Tech Support Hotline

Johnson City: 1(800) 333-7421

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com
Network
Setup/Debug
SIEMENS
Questions

Questions?

Proprietary & Confidential Created by: Scott Phillips , ANDROID Oakland Controls Engineer email: sphillips@android-ind.com

Оценить