Professional Documents
Culture Documents
UM IndustProtocol en
UM IndustProtocol en
Industrial Protocols
Industrial ETHERNET (Gigabit) Switch
RS20/RS30/RS40, MS20/MS30, OCTOPUS, RSR20/RSR30,
PowerMICE, MACH 100, MACH 1000, MACH 4000
With L2E, L2P, L3E or L3P software
Manuals and software are protected by copyright. All rights reserved. The copying, reproduction,
translation, conversion into any electronic medium or machine scannable form is not permitted,
either in whole or in part. An exception is the preparation of a backup copy of the software for
your own use. For devices with embedded software, the end-user license agreement on the en-
closed CD applies.
The performance features described here are binding only if they have been expressly agreed
when the contract was made. This document was produced by Hirschmann Automation and
Control GmbH according to the best of the company's knowledge. Hirschmann reserves the right
to change the contents of this document without prior notice. Hirschmann can give no guarantee
in respect of the correctness or accuracy of the information in this document.
Hirschmann can accept no responsibility for damages, resulting from the use of the network
components or the associated operating software. In addition, we refer to the conditions of use
specified in the license contract.
You can get the latest version of this manual on the Internet at the Hirschmann product site
(www.hirschmann-ac.de).
Printed in Germany
Hirschmann Automation and Control GmbH
Stuttgarter Str. 45-51
72654 Neckartenzlingen
Germany
Tel.: +49 1805 141538
Content
Content 3
Key 7
1 Industry Protocols 9
2 EtherNet/IP 13
2.1 Integration into a Control System 15
2.2 EtherNet/IP Parameters 19
2.2.1 Identity Object 19
2.2.2 TCP/IP Interface Object 20
2.2.3 Ethernet Link Object 22
2.2.4 Ethernet Switch Agent Object 25
2.2.5 I/O Data 27
2.2.6 Assignment of the Ethernet Link Object Instances 28
2.2.7 Supported Services 29
3 PROFINET IO 31
3.1 Integration into a Control System 34
3.1.1 Preparing the Switch 34
3.1.2 Configuration of the PLC 35
3.1.3 Configuring the device 45
3.1.4 Swapping devices 46
3.1.5 Swapping modules 47
3.1.6 Monitoring the network 48
3.2 PROFINET IO Parameters 52
3.2.1 Alarms 52
3.2.2 Record parameters 52
3.2.3 I/O Data 57
B Readers’ comments 62
Industrial Protocols
Release 6.0 07/2010 3
Content
C Index 65
D Further support 67
Industrial Protocols
4 Release 6.0 07/2010
About this Manual
The “Industry Protocols” user manual describes how the device is connected
by means of a communication protocol commonly used in the industry, such
as EtherNet/IP and PROFINET IO.
You will find detailed descriptions of how to operate the individual functions
in the “Web-based Interface” and “Command Line Interface” reference
manuals.
Industrial Protocols
Release 6.0 07/2010 5
About this Manual
Industrial Protocols
6 Release 6.0 07/2010
Key
Key
X List
Work step
Subheading
Link Indicates a cross-reference with a stored link
Note: A note emphasizes an important fact or draws your
attention to a dependency.
Courier ASCII representation in user interface
Symbols used:
Router
Switch
Bridge
Industrial Protocols
Release 6.0 07/2010 7
Key
Hub
A random computer
Configuration Computer
Server
PLC -
Programmable logic
controller
I/O -
Robot
Industrial Protocols
8 Release 6.0 07/2010
Industry Protocols
1 Industry Protocols
With the creation of the first optical LAN to be active worldwide, at the
University of Stuttgart in 1984, Hirschmann laid the foundation for industry-
compatible office communication devices. Thanks to Hirschmann's initiative
with the world's first rail hub in the 1990s, Ethernet transmission devices such
as switches, routers and firewalls are now available for the toughest
automation conditions.
Industrial Protocols
Release 6.0 07/2010 9
Industry Protocols
Output Input
Input
Ethernet
Output
Industrial Protocols
10 Release 6.0 07/2010
Industry Protocols
Depending on the ordered Industrial Protocol variant the Switch offers the
suitable default settings:
PROFINET IO 0 0 1
Boot-Modus DHCP DHCP Lokal
VLAN 0 Transparent Modus 0 0 1
HiDiscovery Read/Write Read/Write ReadOnly
sysName Product name Product name empty
+ 3 Byte MAC + 3 Byte MAC
Industrial Protocols
Release 6.0 07/2010 11
Industry Protocols
Industrial Protocols
12 Release 6.0 07/2010
EtherNet/IP
2 EtherNet/IP
UDP/IP Unicast
UDP/IP Unicast/Multicast
Controller EtherNet/IP-Stack
Industrial Protocols
Release 6.0 07/2010 13
EtherNet/IP
TCP UDP
IP
In particular, you will find EtherNet/IP in the USA and in conjunction with
Rockwell controllers.
Industrial Protocols
14 Release 6.0 07/2010
EtherNet/IP 2.1 Integration into a Control System
Note: If EtherNet/IP and the router function are switched on at the same time,
malfunctions could occur with EtherNet/IP, for example, in connection with
“RS Who”. Therefore, you should switch off the router function of the device.
X Switch off the router function in the Web-based interface:
Dialog Routing:Global.
X Switch off the router function in the Command Line interface:
in the configuration mode (prompt “..(Config)#”) with the command
no ip routing.
Industrial Protocols
Release 6.0 07/2010 15
EtherNet/IP 2.1 Integration into a Control System
Industrial Protocols
16 Release 6.0 07/2010
EtherNet/IP 2.1 Integration into a Control System
In the module properties, enter a value of at least 100 ms for the Re-
quest Packet Interval (RPI).
Industrial Protocols
Release 6.0 07/2010 17
EtherNet/IP 2.1 Integration into a Control System
Note: If e.g. a management program puts a load on the Switch CPU with
SNMP requests, the I/O connection between controller (PLC) and Switch
may be temporarely disrupted. Because the Switch can further forward
data packets in this case, the installation may also be operative.
Monitoring the I/O connection to the Switch CPU as a failure criterion may
lead to a breakdown of the installation and therefore it is less suitable as
a failure criterion.
Industrial Protocols
18 Release 6.0 07/2010
EtherNet/IP 2.2 EtherNet/IP Parameters
Industrial Protocols
Release 6.0 07/2010 19
EtherNet/IP 2.2 EtherNet/IP Parameters
Note: The Switch replies to the configuration change „Set Request” with a
„Response” although saving of the configuration has not yet been completed.
Industrial Protocols
20 Release 6.0 07/2010
EtherNet/IP 2.2 EtherNet/IP Parameters
Industrial Protocols
Release 6.0 07/2010 21
EtherNet/IP 2.2 EtherNet/IP Parameters
Industrial Protocols
22 Release 6.0 07/2010
EtherNet/IP 2.2 EtherNet/IP Parameters
Industrial Protocols
Release 6.0 07/2010 23
EtherNet/IP 2.2 EtherNet/IP Parameters
Industrial Protocols
24 Release 6.0 07/2010
EtherNet/IP 2.2 EtherNet/IP Parameters
Industrial Protocols
Release 6.0 07/2010 25
EtherNet/IP 2.2 EtherNet/IP Parameters
The Hirschmann specific Ethernet Switch Agent Object provides you with the
additional vendor specific service, with the Service-Code 35H for saving the
Switch configuration. The Switch replies to the request for saving the config-
uration, as soon as it saved the configuration in the flash memory.
Industrial Protocols
26 Release 6.0 07/2010
EtherNet/IP 2.2 EtherNet/IP Parameters
Industrial Protocols
Release 6.0 07/2010 27
EtherNet/IP 2.2 EtherNet/IP Parameters
Table 9: Assignment of the Switch ports to the Ethernet Link Object Instances
Industrial Protocols
28 Release 6.0 07/2010
EtherNet/IP 2.2 EtherNet/IP Parameters
Service code Identity Object TCP/IP Inter- Ethernet Link Switch Agent
face Object Object Object
Get Attribute All All Attributes All Attributes All Attributes All Attributes
(01H)
Set Attribute All - Settable Attri- - -
(02H) butes (3, 5, 6)
Get Attribute All Attributes All Attributes All Attributes All Attributes
Single (0EH)
Set Attribute - Settable Settable Settable
Single (10H) Attributes (3, 5, Attributes (6, Attributes (7)
6) 65H, 67H, 68H,
69H)
Reset (05H) Parameter (0,1) - - -
Save Configura- Parameter (0,1) - - Save Switch
tion (35H) Configuration
Vendor-specific
Industrial Protocols
Release 6.0 07/2010 29
EtherNet/IP 2.2 EtherNet/IP Parameters
Industrial Protocols
30 Release 6.0 07/2010
PROFINET IO
3 PROFINET IO
You will find detailed information on PROFINET on the Internet site of the
PROFIBUS Organization at http://www.profibus.com/pall/meta/downloads/
article/00456/.
The devices conform to conformity class B for PROFINET IO.
Industrial Protocols
Release 6.0 07/2010 31
PROFINET IO
Bus Interface
Bus Interface
Module 1 Module 2
Modular
Port 1 Port 2 Port 1 Port 2
Record 1 Record2 Record 1 Record2
Industrial Protocols
32 Release 6.0 07/2010
PROFINET IO
Bus Interface
Slot 0
Compact
SubSl SubSl SubSl SubSl SubSl SubSl SubSl =Subslot
0x8001 0x8002 0x8003 0x8004 0x8005 0x8006
Bus Interface
Industrial Protocols
Release 6.0 07/2010 33
PROFINET IO 3.1 Integration into a Control System
Load the GSD(ML) file and the icon onto your local computer.
You get the GSD(ML) file and the icon
– by using the Web-based interface in the
Advanced:Industry Protocols dialog or
– by using the software (Stand Alone GSDML File Generator) for creat-
ing the GSD(ML) file, which is included in the delivery.
Configure the alarm setting and the threshold value for the alarms you
want to monitor.
Industrial Protocols
34 Release 6.0 07/2010
PROFINET IO 3.1 Integration into a Control System
Note: If e.g. a management program puts a load on the Switch CPU with
SNMP requests, the I/O connection between controller (PLC) and Switch
may be temporarely disrupted. Because the Switch can further forward data
packets in this case, the installation may also be operative.
Monitoring the I/O connection to the Switch CPU as a failure criterion may
lead to a breakdown of the installation and therefore it is less suitable as a
failure criterion.
In the PLC default setting, the PLC sees the interruption of the I/O connection
to the Switch as a failure criterion. According to the default setting, this leads
to a system failure. To change this default setting, you employ Step7
programming measures.
Industrial Protocols
Release 6.0 07/2010 35
PROFINET IO 3.1 Integration into a Control System
To give the Switch its name, select the Switch and in the menu bar
choose Target System:Ethernet:Edit Ethernet Partici-
pants...
Industrial Protocols
36 Release 6.0 07/2010
PROFINET IO 3.1 Integration into a Control System
Click on “Browse”.
Select your Switch.
Click on “OK”.
Give the Switch its name.
Click on “Assign Name”.
Click on “Close”.
Industrial Protocols
Release 6.0 07/2010 37
PROFINET IO 3.1 Integration into a Control System
Figure 13: Dialog for entering the object name (= name of the Switch) and the IP
parameter
Industrial Protocols
38 Release 6.0 07/2010
PROFINET IO 3.1 Integration into a Control System
Configuring IO Cycle
In the hardware configuration, right-click on the Switch and select Ob-
ject properties.
Industrial Protocols
Release 6.0 07/2010 39
PROFINET IO 3.1 Integration into a Control System
Industrial Protocols
40 Release 6.0 07/2010
PROFINET IO 3.1 Integration into a Control System
Industrial Protocols
Release 6.0 07/2010 41
PROFINET IO 3.1 Integration into a Control System
Configuring Alarms
Right-click on one of the slots 1 to n and select Object properties.
In the Properties window, select the “Parameters” tab.
Select the desired alarms and close the window (see fig. 17).
Industrial Protocols
42 Release 6.0 07/2010
PROFINET IO 3.1 Integration into a Control System
Industrial Protocols
Release 6.0 07/2010 43
PROFINET IO 3.1 Integration into a Control System
Configuring Topology
Right-click on one of the slots 1 to n and select Object proper-
ties.
Industrial Protocols
44 Release 6.0 07/2010
PROFINET IO 3.1 Integration into a Control System
Industrial Protocols
Release 6.0 07/2010 45
PROFINET IO 3.1 Integration into a Control System
Industrial Protocols
46 Release 6.0 07/2010
PROFINET IO 3.1 Integration into a Control System
Industrial Protocols
Release 6.0 07/2010 47
PROFINET IO 3.1 Integration into a Control System
Topology Discovery
After the user initializes the Topology Discovery, the engineering station
looks for connected devices.
Industrial Protocols
48 Release 6.0 07/2010
PROFINET IO 3.1 Integration into a Control System
Industrial Protocols
Release 6.0 07/2010 49
PROFINET IO 3.1 Integration into a Control System
Communication diagnosis
Simatic S7 monitors the communication quality and outputs messages
relating to communication problems.
Figure 23: Diagnosis messages for the communication between the Switches and
IO devices
Industrial Protocols
50 Release 6.0 07/2010
PROFINET IO 3.1 Integration into a Control System
Industrial Protocols
Release 6.0 07/2010 51
PROFINET IO 3.2 PROFINET IO Parameters
3.2.1 Alarms
The Switch supports alarms on the device and port levels (see „Device State“
in the Basic Configuration User Manual or the Web-based Interface Refer-
ence Manual.
Industrial Protocols
52 Release 6.0 07/2010
PROFINET IO 3.2 PROFINET IO Parameters
Industrial Protocols
Release 6.0 07/2010 53
PROFINET IO 3.2 PROFINET IO Parameters
Industrial Protocols
54 Release 6.0 07/2010
PROFINET IO 3.2 PROFINET IO Parameters
Industrial Protocols
Release 6.0 07/2010 55
PROFINET IO 3.2 PROFINET IO Parameters
Industrial Protocols
56 Release 6.0 07/2010
PROFINET IO 3.2 PROFINET IO Parameters
Industrial Protocols
Release 6.0 07/2010 57
PROFINET IO 3.2 PROFINET IO Parameters
Industrial Protocols
58 Release 6.0 07/2010
PROFINET IO 3.2 PROFINET IO Parameters
Industrial Protocols
Release 6.0 07/2010 59
PROFINET IO 3.2 PROFINET IO Parameters
Industrial Protocols
60 Release 6.0 07/2010
GSD File Generator
Industrial Protocols
Release 6.0 07/2010 61
Readers’ comments
B Readers’ Comments
Industrial Protocols
62 Release 6.0 07/2010
Readers’ comments
General comments:
Sender:
Company / Department:
Street:
E-mail:
Date / Signature:
Dear User,
Please fill out and return this page
X as a fax to the number +49 (0)7127/14-1600 or
X by mail to
Hirschmann Automation and Control GmbH
Department AED
Stuttgarter Str. 45-51
72654 Neckartenzlingen
Industrial Protocols
Release 6.0 07/2010 63
Readers’ comments
Industrial Protocols
64 Release 6.0 07/2010
Index
C Index
A PROFIBUS Organization 31
Alarm 52 PROFINET IO 5
Alarm setting 34
R
C Record 42, 52
CIP 13 Redundancy 5
Common Industrial Protocol 13 Request Packet Interval 17
Conformity class 31 Ring/Network Coupling 5
Router Function 15
D RPI 17
Device description language 31 RS Who 15
E S
EDS 15, 61 Simatic S7 35
Engineering Station 46, 47 Symbol 7
Engineering system 35
EtherNet/IP website 14 T
TCP/IP 13, 31
F Technical questions 67
FAQ 67 Threshold value 34
Training courses 67
G
Generic Ethernet Module 16 U
GSD 34, 36, 61 UDP/IP 13, 31
GSD file 31, 36
GSDML 31
GSDML File Generator 34, 35
H
HIPER-Ring 5
HiVision 5
I
Icon 15, 34, 36
IGMP Snooping 15
Industry Protocols 5
M
Module properties 40
MRP 5
N
Network Management Software 5
O
ODVA 13
ODVA website 14
P
PC Worx 35
Industrial Protocols
Release 6.0 07/2010 65
Index
Industrial Protocols
66 Release 6.0 07/2010
Further support
D Further Support
Industrial Protocols
Release 6.0 07/2010 67