Hirschmann RS20 User Manual

Hirschmann RS20 User Manual

Industrial ethernet (gigabit-)switch with software l2e, l2p, l3e or l3p
Hide thumbs Also See for RS20:

Advertisement

User Manual

Industrial Protocols
Industrial ETHERNET (Gigabit-)Switch
RS20/RS30/RS40, MS20/MS30, OCTOPUS, RSR20/RSR30,
Power MICE, MACH 100, MACH 1000, MACH 4000
With software L2E, L2P, L3E or L3P
Industrial Protocols
Technical Support
Release 5.0 04/09
HAC-Support@hirschmann.de

Advertisement

Table of Contents
loading

Summary of Contents for Hirschmann RS20

  • Page 1: User Manual

    User Manual Industrial Protocols Industrial ETHERNET (Gigabit-)Switch RS20/RS30/RS40, MS20/MS30, OCTOPUS, RSR20/RSR30, Power MICE, MACH 100, MACH 1000, MACH 4000 With software L2E, L2P, L3E or L3P Industrial Protocols Technical Support Release 5.0 04/09 HAC-Support@hirschmann.de...
  • Page 2 This publication has been created by Hirschmann Automation and Control GmbH according to the best of our knowledge. Hirschmann reserves the right to change the con- tents of this manual without prior notice. Hirschmann can give no guarantee in respect of the correctness or accuracy of the details in this publication.
  • Page 3: Table Of Contents

    Content Content Content About this Manual Industry Protocols EtherNet/IP Integration in Control System EtherNet/IP Parameters 2.2.1 Identity Objekt 2.2.2 TCP/IP Interface Object 2.2.3 Ethernet Link Object 2.2.4 Ethernet Switch Agent Object 2.2.5 I/O Data 2.2.6 Mapping of the Ethernet Link Object Instances 2.2.7 Supported services PROFINET IO Integration in Control System...
  • Page 4 Content Index Further support Industrial Protocols Release 5.0 04/09...
  • Page 5: About This Manual

    About this Manual 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. The following thematic sequence has proven itself in practice: Device configuration in line with the “Basic Configuration”...
  • Page 6 About this Manual Industrial Protocols Release 5.0 04/09...
  • Page 7: Key

    The designations used in this manual have the following meanings: 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. ASCII representation in user interface Courier Symbols used: Router with firewall...
  • Page 8 A random computer Configuration Computer Server PLC - Programmable logic controller I/O - Robot Industrial Protocols Release 5.0 04/09...
  • Page 9: 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.
  • Page 10 Industry Protocols Output Input Input Ethernet Output Figure 1: Example of communication. Hirschmann switches support the following industry protocols and systems EtherNet/IP PROFINET Industrial Protocols Release 5.0 04/09...
  • Page 11 Industry Protocols Depending on the ordered Industrial Protocol variant the Switch offers the suitable default settings: Settings / Variant Standard EtherNet/IP PROFINET IO Order code EtherNet/IP IGMP Snooping IGMP Querier Unknown Multicast Send To All Discard Discard Ports Known Multicasts Send to Query Send to regis- Send to Query...
  • Page 12 Industry Protocols Parameter Dialog Action PROFINET IO Activate PROFINET IO. Erweitert:Industrie- Protokolle Boot Mode Select “Local”. Grundeinstellungen:Netz/ Modus IP Address Enter the “IP address” 0.0.0.0. Grundeinstellungen:Netz/ Lokal Netmask Enter the “netmask” 0.0.0.0. Grundeinstellungen:Netz/ Lokal Gateway Address Enter the “gateway address” Grundeinstellungen:Netz/ Lokal 0.0.0.0.
  • Page 13: Ethernet/Ip

    EtherNet/IP 2 EtherNet/IP EtherNet/IP, which is accepted worldwide, is an industrial communication protocol standardized by ODVA (Open DeviceNet Vendor Association) on the basis of Ethernet. It is based on the widely used transport protocols TCP/ IP and UDP/IP (standard). EtherNet/IP thus provides a wide basis, supported by leading manufacturers, for effective data communication in the industry sector.
  • Page 14: Integration In Control System

    EtherNet/IP 2.1 Integration in Control System 2.1 Integration in Control System After installing and connecting the Switch, you configure it according to the “Basic Configuration” user manual. Then: Use the Web-based interface in the Switching:Multicasts dialog to check whether the IGMP Snooping is activated. Use the Web-based interface in the Advanced:Industry Protocols dialog to check whether EtherNet/IP is activated.
  • Page 15 EtherNet/IP 2.1 Integration in Control System Configuration of the PLC using the example of the Rockwell software Open the “EDS Hardware Installation Tool” of RSLinx. Use the “EDS Hardware Installation Tool” to add the EDS file. Restart the “RSLinx” service so that RSLinx takes over the EDS file of the Switch.
  • Page 16 HMI and drive applications.Look inside the http://samplecode.rockwellautomation.com web site for the „Catalog Number“ 9701. This is the catalog number of an example for integrating Hirschmann Switches into RS Logix 5000 Rel. 16, PLC Firmware Release 16. Industrial Protocols...
  • Page 17: Ethernet/Ip Parameters

    2.2 EtherNet/IP Parameters 2.2.1 Identity Objekt The Switch supports the identity object (class code 01) of EtherNet/IP. The Hirschmann manufacturer ID is 634. Hirschmann uses the manufacturer- specific ID 149 (95hex) to designate the “Managed Ethernet Switch” product type. Attribute...
  • Page 18: Tcp/Ip Interface Object

    EtherNet/IP 2.2 EtherNet/IP Parameters 2.2.2 TCP/IP Interface Object The Switch supports an instance (instance 1) of the TCP/IP Interface Object (class code f5hex) of EtherNet/IP. In the case of write access, the Switch stores the complete configuration in its flash memory. Saving can take 10 seconds. If the save process is inter- rupted, for example, by a power cut, the Switch may crash.
  • Page 19 EtherNet/IP 2.2 EtherNet/IP Parameters Attribute Access Data type Description rule Status DWORD Interface Status (0 = Interface not configured, 1 = Interface contains valid config). Interface Capa- DWORD Bit 0 = BOOTP Client, bility flags Bit 1 = DNS Client, Bit 2 = DHCP Client, Bit 3 = DHCP-DNS Update, Bit 4 = Configuration setable (within CIP).
  • Page 20: Ethernet Link Object

    EtherNet/IP 2.2 EtherNet/IP Parameters 2.2.3 Ethernet Link Object The Switch supports at least one instance (instance 1 is the instance of the CPU Ethernet Interface) of the Ethernet Link Object (class code f6hex) of EtherNet/IP. Attribute Access Data type Description rule Interface Speed Get UDINT...
  • Page 21 [max. 64 Bytes] (from MIB II ifDescr), e.g. "Unit: 1 Slot: 2 Port: Description even number of 1 - 10/100 Mbit TX", or "unavailable", Bytes max. 64 Bytes. Table 6: Enhancements to Ethernet Link Object by Hirschmann Industrial Protocols Release 5.0 04/09...
  • Page 22: Ethernet Switch Agent Object

    EtherNet/IP 2.2 EtherNet/IP Parameters 2.2.4 Ethernet Switch Agent Object The Switch supports the Hirschmann-specific Ethernet Switch Agent Object (class code f5hex = 149dec) for the Switch configuration and information pa- rameters with an instance (instance 1). You will find further information on these parameters and how to set them in the “Web-based Interface”...
  • Page 23 Bit 1 Flash write failed Table 7: Hirschmann Ethernet Switch Agent Object a. RS20/RS30/RS40, MS20/MS30, OCTOPUS, Power MICE and MACH 1000: 32 bit MACH 4000: 64 Bit The Hirschmann-specific Ethernet Switch Agent Object provides you with the additional manufacturer-specific service with service code 0x35 for saving the Switch configuration.
  • Page 24: I/O Data

    Input, 1 DINT 32 bit tions Link admin state Bitmask, one Bit per port Output, DWORD 0=Port enabled, 1=Port disabled Table 8: I/O datd a. RS20/RS30/RS40, MS20/MS30, OCTOPUS, Power MICE and MACH 1000: 32 bit MACH 4000: 64 Bit Industrial Protocols Release 5.0 04/09...
  • Page 25: Mapping Of The Ethernet Link Object Instances

    EtherNet/IP 2.2 EtherNet/IP Parameters 2.2.6 Mapping of the Ethernet Link Object Instances The table displays the mapping of the Switch port number to the EthernetLink Object Instance. Ethernet Link RS20/RS30/RS40 MS20/MS30 MACH 4000 Object Instance OCTOPUS, Power MICE MACH 1000...
  • Page 26: Supported Services

    EtherNet/IP 2.2 EtherNet/IP Parameters 2.2.7 Supported services The following table gives an overview of the supported services by the Ethernet/IP implementation for the objects instance. Service code Identity Object TCP/IP Inter- Ethernet Link Switch Agent face Object Object Object Get Attribute All All attributes All attributes All attributes...
  • Page 27: Profinet Io

    PROFINET IO 3 PROFINET IO PROFINET IO is an industrial communication network based on Ethernet that is accepted worldwide. It is based on the widely used transport protocols TCP/IP and UDP/IP (standard). This is an important aspect for fulfilling the requirements for consistency from the management level down to the field level.
  • Page 28 PROFINET IO Switch Models for PROFINET IO GSDML Version 1.0 Bus Interface Slot 1 Slot 2 Slot 3 Slot 4 Slot 0 Port 1 Port 2 Port 3 Port 4 Compact Figure 6: Compact Switch Bus Interface Slot 0 Slot 1 Slot 2 Module 1 Module 2...
  • Page 29 PROFINET IO Switch Models for PROFINET IO GSDML Version 2.0 Bus Interface Slot 0 Compact SubSl SubSl SubSl SubSl SubSl SubSl SubSl =Subslot 0x8001 0x8002 0x8003 0x8004 0x8005 0x8006 Port 1 Port 2 Port 3 Port 4 Port 5 Port 6 Figure 8: Compact Switch Bus Interface Slot 0...
  • Page 30: Integration In Control System

    PROFINET IO 3.1 Integration in Control System 3.1 Integration in Control System 3.1.1 Preparing the Switch After installing and connecting the Switch, you configure it according to the “Basic Configuration” user manual: Use the Web-based interface in the Basic Settings:Network dialog to check whether Local is selected in the “Mode”...
  • Page 31: Configuration Of The Plc

    To change this default setting, you employ Step7 programming measures. Providing the GDSML file The Hirschmann provides you with the following options for generating GDSML files and icons: you can use the Web-based interface in the...
  • Page 32 Select the GSD file previously saved on your PC. Simatic S7 installs the file together with the icon. You will find the new Switch under Profinet IO:Other Field Devices:Switching Devices:Hirschmann.. or under Profinet IO:Other Field Devices:Network Compo nents:Hirschmann... Use Drag & Drop to pull the Switch onto the bus cable.
  • Page 33 PROFINET IO 3.1 Integration in Control System Figure 11: Dialog for entering the Switch name Click on “Browse”. Select your Switch. Click on “OK”. Give the Switch its name. Click on “Assign Name”. Click on “Close”. In the hardware configuration, right-click on the Switch and select Object properties.
  • Page 34 PROFINET IO 3.1 Integration in Control System Figure 12: Dialog for entering the object name (= name of the Switch) and the IP parameter Enter the same device name here. Click on “Ethernet”. Enter the IP parameters. Close the Ethernet input window. Click on “OK”...
  • Page 35 On slot 0 you enter the settings for the entire Switch. Select the Switch. Right-click on slot 0. To configure the entire device, select Object properties. In the Properties window, select the “Parameters” tab. Figure 13: Configuring device alarms for e.g. RS20/RS30. Industrial Protocols Release 5.0 04/09...
  • Page 36 PROFINET IO 3.1 Integration in Control System Configuring the Port Properties For modular devices, slots 1 to n represent the modules. The ports are represented as records within the slots. For non-modular devices, slots 1 to n represent the ports. Right-click on one of slots 1 to n and select Object Properties.
  • Page 37: Configuring The Device

    01000). After installing the program “Hirschmann Tool Calling Interface”, you have the option of starting two Hirschmann operating programs in Simatic S7 in order to perform more detailed device configurations. In Simatic S7, right-click on a device and select Web-based Interface (WWW) or Telnet in the drop-down menu.
  • Page 38: Swapping Devices

    PROFINET IO 3.1 Integration in Control System 3.1.4 Swapping devices Hirschmann devices support the device swapping function with an engineering station. If identical devices are being swapped, the engineering station assigns the parameters of the original device to the new device.
  • Page 39: Swapping Modules

    PROFINET IO 3.1 Integration in Control System 3.1.5 Swapping modules The PROFINET IO stack in the device detects a change in the modules connected and reports the change to the engineering station. If a previously configured module is removed from the device, the engineering station reports an error.
  • Page 40: Monitoring The Network

    PROFINET IO 3.1 Integration in Control System 3.1.6 Monitoring the network Topology discovery After the user initializes the Topology Discovery, the engineering station looks for connected devices. Figure 16: Topology Discovery Industrial Protocols Release 5.0 04/09...
  • Page 41 PROFINET IO 3.1 Integration in Control System Configuring the topology Simatic S7 gives the user the option to configure the topology and monitor it accordingly. Simatic S7 displays the connection parameters (quality and settings) in a colored graphic. Figure 17: Configuring the topology Industrial Protocols Release 5.0 04/09...
  • Page 42 PROFINET IO 3.1 Integration in Control System Communication diagnosis Simatic S7 monitors the communication quality and outputs messages relating to communication problems. Figure 18: Diagnosis messages for the communication between the Switches and IO devices Industrial Protocols Release 5.0 04/09...
  • Page 43 PROFINET IO 3.1 Integration in Control System Outputting port statistics Simatic S7 counts for each port the number of data packets received and sent, the collisions, etc. You can view these figures in the form of statistic tables in Simatic S7. Figure 19: Example of a port statistic table Industrial Protocols Release 5.0 04/09...
  • Page 44: Profinet Io Parameters

    PROFINET IO 3.2 PROFINET IO Parameters 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. Alarms on device level Change in device status - Failure of redundant power supply - Failure/removal of ACA Alarms on port level...
  • Page 45 PROFINET IO 3.2 PROFINET IO Parameters Byte Content Value Meaning cess Send alarm if status Do not send alarms changes Send alarm if one of the following alarm reasons occurs. Power Alarm Do not send alarm Send alarm if a power supply fails. ACA Alarm Do not send alarm Send alarm if the ACA is removed.
  • Page 46 PROFINET IO 3.2 PROFINET IO Parameters Byte Content Value Meaning cess Device Status Unavailable Error Power supply unit 1 Unavailable Error Power supply unit 2 Unavailable Error Power supply unit 3 Unavailable Error Power supply unit 4 Unavailable Error Power supply unit 5 Unavailable Error Power supply unit 6...
  • Page 47 PROFINET IO 3.2 PROFINET IO Parameters Byte Content Value Meaning cess Module removal Unavailable A module has been removed. ACA removal Unavailable The ACA has been removed. HIPER_Ring Unavailable Redundancy failure. Ring/Network coupling ro Unavailable Redundancy failure. Connection Unavailable Connection failure. Table 13: Device status Industrial Protocols Release 5.0 04/09...
  • Page 48 PROFINET IO 3.2 PROFINET IO Parameters Byte Content Value Meaning cess Report port error Do not send alarms Send alarm if one of the following alarm rea- sons occurs. Report connection er- Do not send alarm Send alarm if the connection has failed. Transmission rate too Do not send alarm high...
  • Page 49: I/O Data

    PROFINET IO 3.2 PROFINET IO Parameters 3.2.3 I/O Data You will find the bit assignment for the transferred I/O data in the following table. Direction Byte Bit Meaning Input General Device status Signal contact 1 Signal contact 2 Temperature Module removal ACA removal Not used Input...
  • Page 50 PROFINET IO 3.2 PROFINET IO Parameters Direction Byte Bit Meaning Input Connection status for ports 1 to 8 Port 1 Port 2 Port 3 Port 4 Port 5 Port 6 Port 7 Port 8 Input Connection status for ports 9 to 16 Port 9 Port 10 Port 11...
  • Page 51 PROFINET IO 3.2 PROFINET IO Parameters Direction Byte Bit Meaning Output “Port activated” for ports 9 to 16 Port 9 activated Port 10 activated Port 11 activated Port 12 activated Port 13 activated Port 14 activated Port 15 activated Port 16 activated Output “Port activated”...
  • Page 52 PROFINET IO 3.2 PROFINET IO Parameters Industrial Protocols Release 5.0 04/09...
  • Page 53: Agsd/Eds File Generator

    GSD/EDS File Generator A GSD/EDS File Generator The program “Stand-alone GSD/EDS File Generator” is located on the prod- uct CD. The program allows you to generate a GSD file (PROFINET IO) and/ or an EDS file (Ethernet/IP, EDS file from a later release on) with an icon from a non-existent device.
  • Page 54: B Readers' Comments

    Readers’ comments B Readers’ comments What is your opinion of this manual? We are always striving to provide as comprehensive a description of our product as possible, as well as important information that will ensure trouble-free operation. Your comments and suggestions help us to further improve the quality of our documentation.
  • Page 55 Zip code / City: E-mail: Date / Signature: Dear User, Please fill out and return this page as a fax to the number +49 (0)7127/14-1600 or Hirschmann Automation and Control GmbH Department AED Stuttgarter Str. 45-51 72654 Neckartenzlingen Industrial Protocols Release 5.0 04/09...
  • Page 56 Readers’ comments Industrial Protocols Release 5.0 04/09...
  • Page 57 Index C Index Alarm Record 36, 44 Alarm setting Redundancy Request Packet Interval Router-Funktion Common Industrial Protocol Conformity class Device description language 14, 53 Engineering Station 38, 39 Engineering system Generic Ethernet Module 30, 32, 53 GSD file 27, 32 GSDML GSDML File Generator 30, 31...
  • Page 58 Index Industrial Protocols Release 5.0 04/09...
  • Page 59 Further support D Further support Technical questions and training courses In the event of technical queries, please contact your local Hirschmann distributor or Hirschmann office. You can find the addresses of our distributors on the Internet: www.hirschmann-ac.codrm. Our support line is also at your disposal: Tel.

Table of Contents