Professional Documents
Culture Documents
Content
www.mmu.ac.uk/profibus
What is PROFINET?
www.mmu.ac.uk/profibus
www.mmu.ac.uk/profibus
PROFINET is based on
100BASE-TX/FX, i.e. Fast Ethernet
Fibre optic medium
Twisted 2-pair copper Cat 5 cable
Max. cable length of 100m between devices
100 mbps
X: means any medium, copper or fibre, but redundant with T or F.
100BASE can also use un-twisted enhanced Cat 5 cable, i.e. Cat 5e.
STP: Shielded Twisted Pair, e.g. 100BASE-TX, STP. PROFINET
only uses STP cables.
UTP: Unshielded Twisted Pair, e.g. 100BASE-TX, UTP.
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford
www.mmu.ac.uk/profibus
IP20 RJ45
Connectors
IP65 RJ45
IP65 M12
Customised
heavy-duty
4 wires or 8 wires?
www.mmu.ac.uk/profibus
Half Duplex
www.mmu.ac.uk/profibus
PC B
2 wires
Transmit
010
Transmit
TX+
TX+
TX-
TX-
0110
Receive
Receive
RX+
RX+
RX-
RX-
Full Duplex
www.mmu.ac.uk/profibus
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 10
Device
Crossover
cable
Transmit
Receive
Receive
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 11
Device
Transmit
Receive
Straight
cable
Switch with
crossover
Transmit
Receive
There are many different cable test tools available for checking
Ethernet cables.
These range in price from less than 100 pounds to over 3000.
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 13
Stripping Tools
www.mmu.ac.uk/profibus
3cm
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 14
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 15
Cable Tester
www.mmu.ac.uk/profibus
Connect the test plug at one end and the tester at the
other end.
Detect many wiring faults:
Wire break
Short circuit
Swapped wires
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 16
Good wiring
www.mmu.ac.uk/profibus
Pin 1
Yellow (TD+)
Pin 3
White (RD+)
Pin 2
Orange (TD-)
Data 2
Pin 6
Blue (RD-)
Select this Mode
Shield present
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 17
Wiring faults
www.mmu.ac.uk/profibus
1
2
3
6
sh
1
2
3
6
sh
1
2
3
6
sh
1
2 Wire break and
3
Effected pins
6
sh
No shield or
Shield broken
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 18
Wiring faults
www.mmu.ac.uk/profibus
1
2
3
6
sh
1
2
3
6
sh
1
2
3
6
sh
Short circuit,
Second
line indicated
as --
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 19
Practical Exercise
www.mmu.ac.uk/profibus
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 20
Configuration:
PROFINET IO Systems
www.mmu.ac.uk/profibus
IO-Controller
PROFINET Supervisor
Ethernet
Configuration
Configuration
Control/monitoring
Control/monitoring
Alarms
Alarms
IO-Device
Diagnosis
Diagnosis
Status/Control
Status/Control
Parameters
Parameters
A PROFINET IO System
www.mmu.ac.uk/profibus
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 22
Step 1
www.mmu.ac.uk/profibus
S7-300
IO Controller
192.168.0.1
255.255.255.0
SCALANCE
X204-2
Westermo
Switch
192.168.0.100
255.255.255.0
IO Supervisor
192.168.0.11
255.255.255.0
Computer name:
MMUPC2
Siemens ET 200S
4 2-in and 4 2-out
WAGO 750-340
2 4-in and 2 4-out
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 23
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 24
Addressing
www.mmu.ac.uk/profibus
Device addresses are NOT set by DIP switch. Instead, Device Name
concept is used.
IO devices much have a device name.
Every device has a unique MAC address. (Media Access Control)
MAC Address must be printed on every IO device.
MAC Address is used for real-time communication.
IP Address is used only for non-real-time data exchange, e.g. configuration
and parameterisation.
IP addresses are allocated by IO Controller every time during start-up or
restart.
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 25
Addressing
www.mmu.ac.uk/profibus
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 26
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 27
Initial Communication
www.mmu.ac.uk/profibus
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 28
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 29
Step 2
www.mmu.ac.uk/profibus
S7-300
Westermo
Switch
SCALANCE
X204-2
IO Controller
192.168.0.4
255.255.255.0
00-30-DE-01-50-89
IO 2
192.168.0.1
255.255.255.0
00-0E-8C-89-5E-39
192.168.0.100
255.255.255.0
00-0E-8C-A1-59-17
192.168.0.2
255.255.255.0
08-00-06-6C-02-90
192.168.0.3
255.255.255.0
00-30-DE-01-50-92
IO Supervisor
ET200S IO 1
WAGO IO 1
192.168.0.11
255.255.255.0
Siemens ET 200S
4 2-in and 4 2-out
WAGO 750-340
2 4-in and 2 4-out
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 30
QW0
1
QB0
QB1
QB2
QB6
QB7
QW8
L
QW4
INC 1
T
QW4
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 31
Program:
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 32
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 33
Switching Technology
www.mmu.ac.uk/profibus
Diagnostics
www.mmu.ac.uk/profibus
Communication faults
www.mmu.ac.uk/profibus
SF
BF
ET200S IO 1
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 36
Peripheral faults
www.mmu.ac.uk/profibus
SF
BF
ET200S IO 1
Sensor
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 37
Diagnostics
www.mmu.ac.uk/profibus
IO-Device3
IO-Device1
IO-Device2
IO-Device1
IO-Device2
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 38
A lost station
www.mmu.ac.uk/profibus
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 39
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 40
Port Mirroring
www.mmu.ac.uk/profibus
Device
PC
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 41
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 42
Monitoring
www.mmu.ac.uk/profibus
PC with
analyzer
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 43
Monitoring
www.mmu.ac.uk/profibus
Mirror port
Monitor port
PC with
analyzer
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 44
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 45
Non-monitoring Port
www.mmu.ac.uk/profibus
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 46
Recording
www.mmu.ac.uk/profibus
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 47
Normal Data
www.mmu.ac.uk/profibus
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 48
Alarms
www.mmu.ac.uk/profibus
VLAN must be used. Alarms are Priority 5, higher than normal data.
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 49
Conclusion
www.mmu.ac.uk/profibus
PROFIBUS - PROFINET User Conference, June 29 30, 2010, Stratford PROFINET Diagnostics by Dr. Xiu Ji, Page 50