Industrial Protocols User's Guide: Etherline Access M05T/M08T
Industrial Protocols User's Guide: Etherline Access M05T/M08T
Industrial Protocols User's Guide: Etherline Access M05T/M08T
The software described in this manual is furnished under a license agreement and may be used only in accordance
with the terms of that agreement.
Copyright Notice
Disclaimer
Information in this document is subject to change without notice and does not represent a commitment on the part of
LAPP.
LAPP provides this document as is, without warranty of any kind, either expressed or implied, including, but not
limited to, its particular purpose. LAPP reserves the right to make improvements and/or changes to this manual, or to
the products and/or the programs described in this manual, at any time.
Information provided in this manual is intended to be accurate and reliable. However, LAPP assumes no responsibility
for its use, or for any infringements on the rights of third parties that may result from its use.
This product might include unintentional technical or typographical errors. Changes are periodically made to the
information herein to correct such errors, and these changes are incorporated into new editions of the publication.
Contact Information
U.I. Lapp GmbH
Schulze-Delitzsch-Straße 25
D-70565 Stuttgart
Tel.: +49 (711) 78 38-01
Fax: +49 (711) 78 38-2640
E-Mail: info@lappkabel.de
Table of Contents
Introduction
MODBUS TCP is a protocol commonly used for the integration of a SCADA system. It is also a vendor-
neutral communication protocol used to monitor and control industrial automation equipment such as PLCs,
sensors, and meters. In order to be fully integrated into industrial systems, LAPP’s switches support Modbus
TCP/IP protocol for real-time monitoring in a SCADA system.
LAPP switches support Function Code 4 with 16-bit (2-word) data access for read-only information.
Select the checkbox and click Activate to enable the Modbus TCP.
Industrial Protocols MODBUS/TCP MAP
1-2
Industrial Protocols MODBUS/TCP MAP
1-3
Industrial Protocols MODBUS/TCP MAP
1-4
Industrial Protocols MODBUS/TCP MAP
1-5
Industrial Protocols MODBUS/TCP MAP
1-6
2
2. EtherNet/IP
Introduction
EtherNet/IP is an Industrial Ethernet Protocol defined by the ODVA association. The protocol is open to the
public and vendors can implement EtherNet/IP into their industrial devices without incurring a license fee.
Many vendors have adopted this protocol as the standard communication protocol between devices. For
example, Rockwell Automation uses EtherNet/IP as the standard protocol for their Logix controllers over
Ethernet networks.
To allow complete integration with a Rockwell system, LAPP switches not only provide a full-functioning of
industrial network infrastructure, but also enable the SCADA system to monitor the status of the switches
as well as that of the PLCs, .making the switches part of a Rockwell system.
Messaging Types
EtherNet/IP supports two types of communication methods for EtherNet/IP devices: Explicit Messaging and
Implicit Messaging. Explicit Messaging is unscheduled and is used for a request/response communication
procedure (or client/server procedure). Explicit Messaging uses TCP/IP over Ethernet. Implicit Messaging is
scheduled and is used for a producer/consumer communication with UDP over Ethernet. Implicit Messaging
is also called I/O Messaging.
Check the Enable checkbox to enable EtherNet/IP. With EtherNet/IP enabled, IGMP Snooping and IGMP
Query functions will be enabled automatically to be properly integrated in Rockwell systems for multicast
Implicit (I/O) Messaging.
• Identity Object
Industrial Protocols EtherNet/IP
The supported attributes and services of the above objects are introduced in the table below, including the
access rules for each attribute. To understand the details of each attribute of the standard objects, refer to
the official documents of CIP introduction (Vol. 1) and the EtherNet/IP Adaptation of CIP (Vol. 2).
Identity Object
The Class code of Identity object is 0x01 (Defined in CIP Vol1, 5-2).
There is one instance of this object in our product. It stores the information of the production and the
device. The following tables summarize the class attributes and the instance attributes.
The Identity Object Instance supports the following CIP Common services:
2-2
Industrial Protocols EtherNet/IP
2-3
Industrial Protocols EtherNet/IP
The TCP/IP Object Instance supports the following CIP Common services:
2-4
Industrial Protocols EtherNet/IP
The following tables summarize the attributes of the Ethernet Link object.
There are some vendor specific attributes in the table (Starting from attribute Id 100).
2-5
Industrial Protocols EtherNet/IP
2-6
Industrial Protocols EtherNet/IP
Interface Flags
Bit(s) Called Definition
0 Link Status 0 indicates an inactive link;
1 indicates an active link.
1 Half/Full Duplex 0 indicates half duplex;
1 indicates full duplex.
2-4 Negotiation Status Indicates the status of link auto-negotiation
0 = Auto-negotiation in progress.
1 = Auto-negotiation and speed detection failed. Using default values
for speed and duplex. Default values are product-dependent;
recommended defaults are 10Mbps and half duplex.
2 = Auto negotiation failed but detected speed. Duplex was defaulted.
Default value is product-dependent; recommended default is half
duplex.
3 = Successfully negotiated speed and duplex.
4 = Auto-negotiation not attempted. Forced speed and duplex.
5 Manual Setting Requires 0 indicates the interface can activate changes to link parameters
Reset (auto-negotiate, duplex mode, interface speed) automatically. 1
indicates the device requires a Reset service be issued to its Identity
Object in order for the changes to take effect.
6 Local Hardware 0 indicates the interface detects no local hardware fault; 1 indicates a
Fault local hardware fault is detected. The meaning of this is product-
specific. For example, an AUI/MII interface might detect no
transceiver attached, or a radio modem might detect no antenna
attached. In contrast to the soft, possibly self-correcting nature of the
Link Status being inactive, this is assumed a hard-fault requiring user
intervention.
7~31 Reserved. Shall be set to zero
The Ethernet Link Object Instance supports the following CIP common services:
Assembly Object
The LAPP switch support static assembly object for CIP I/O messaging.
2-7
Industrial Protocols EtherNet/IP
For the definition of the I/O messaging, see the following table for details.
• Explicit Messaging
• Unconnected Messaging
• Implicit messaging
When using the UCMM to establish an explicit messaging connection, the target application object is the
Message Router object (Class Code 2).
2-8
Industrial Protocols EtherNet/IP
Port Object
The port object represents the underlying interface of CIP which is EtherNet/IP.
2-9
Industrial Protocols EtherNet/IP
It can also be used to do the device diagnostic & configuration through explicit messaging.
2-10
Industrial Protocols EtherNet/IP
2-11
Industrial Protocols EtherNet/IP
The list includes the sections which are described in our EDS file.
• [File]
• [Device]
• [Device Classification]
• [Port]
Our AOI would provide logic of LAPP switch configuration and monitoring by using EtherNet/IP in explicit
messaging and implicit messaging. The AOI also provides some tags for RSLogix 5000/SCADA
programming.
AOI Installation
To install the AOI, you must use Rockwell RSLogix 5000 version 20 or later and LAPP managed Ethernet
switches with firmware version 3.0 or later.
In order to import the AOI, the first step is to create a new Ethernet Module in RSLogix 5000.
2-12
Industrial Protocols EtherNet/IP
2-13
Industrial Protocols EtherNet/IP
3. Under the Communications group, select Generic Ethernet Module to represent LAPP Ethernet
switches
4. Configure the Ethernet module with the correct name, description, IP address and connection parameters
and click OK.
2-14
Industrial Protocols EtherNet/IP
5. After finishing configuration, the new Ethernet module representing the LAPP Ethernet switch will appear
under the I/O Configuration list in the controller organizer window.
1. In the controller organizer window, right click the Add-On Instructions folder, select Import Add-On
Instructions and select the correct AOI file (xxx.L5X) to import.
NOTE The AOI file is available from the LAPP website. Please make sure to use the latest switch firmware and AOI
for programming.
2-15
Industrial Protocols EtherNet/IP
2. After importing, the controller organizer window shows all AOI for LAPP Ethernet switches under the
Add-On Instructions folder.
1. Double click the MainRoutine in the Controller Organizer to start the ladder programming. Add the AOI
for the specific LAPP Ethernet switch to create a new rung.
2-16
Industrial Protocols EtherNet/IP
1. Right click on the ? in the field of each tag, select New Tag and input a Name for each new tag.
For “Switch_Input” and “Switch_Output”, use the scrollbar to select the tag name
2-17
Industrial Protocols EtherNet/IP
Click the Communication tab and set up the communication path to the LAPP Ethernet switch for
2-18
Industrial Protocols EtherNet/IP
Get_AllMessage
4. Click the square button to the right of the Set_Message tag and configure all parameters as follows:
(Service Code: 10; Class: f6; Instance: 1; Attribute: 1; Source Ethernet: LAPP_SetData)
Click the Communication tab and set up the communication path to the LAPP Ethernet switch for
Set_Message
2-19
Industrial Protocols EtherNet/IP
5. Click the square button to the right of the Get_SingMessage tag and configure all parameters as
follows:
(Service Code: e; Class: f6; Instance: 1; Attribute: 1; Destination: LAPP_Singlestorage[0])
Click the Communication tab and set up the communication path to the LAPP Ethernet switch for
Get_SingMessage
2-20
Industrial Protocols EtherNet/IP
1. Click the Network Icon, select the Rockwell PLC connected to the LAPP switch and click Download to
install the AOI configuration to the PLC.
2. After finishing configuration, go to the controller organizer window, right click Controller Tags and
select Monitor Tags to check if each tag can display the correct value transferred from the Ethernet
device.
2-21
Industrial Protocols EtherNet/IP
NOTE Only LAPP pre-configured tags will display the correct values. Refer to the CIP Tags section below for
detailed information.
For easier AOI installation, LAPP has also provided a sample AOI project, in which all the parameters are
configured with default values. The sample project is a (.ACD) file, which is available for download from the
LAPP website. You may import the sample project in RSLogix 5000, and directly download this AOI to the
PLC with minimal installation steps. But to use the sample project, you still must change or set up the
parameters below.
NOTE The sample AOI project supports RSLogix 5000 version 20.
CIP Tags
There are tags for each CIP object. The tags correspond to the object’s attributes.
2-22
Industrial Protocols EtherNet/IP
2-23
Industrial Protocols EtherNet/IP
Rate
Tx Multicast Packet DINT Total number of TX multicast packets
Rx Multicast Packet DINT Total number of RX multicast packets
Tx Broadcast Packet DINT Total number of TX multicast packets
Rx Broadcast Packet DINT Total number of RX broadcast packets
Redundant Port Status DINT Bit 0 = Disable,
Bit 1 = Not Redundant port,
Bit 2 = Link down,
Bit 3 = Blocking,
Bit 4 = Learning,
Bit 5 = Forwarding
2-24
Industrial Protocols EtherNet/IP
The LAPP AOI supports all the CIP tags listed in the tables above. But in the AOI, we only pre-configure
logic links between selected tags and LAPP switches. To monitor the non-configured tags, PLC programmers
need to create the links manually. Otherwise, in RSLogix 5000, the value column of these tags will display
as “0”. If you experience problems creating new links, please contact LAPP technical support for assistance.
NOTE For pre-configured tags, LAPP has already created the logic links between the CIP tags and LAPP Ethernet
switches so RSLogix 5000 can get/set the switch information correctly.
The table below specifies all the pre-configured tags in LAPP AOI with a ※ m a rk .
2-25
Industrial Protocols EtherNet/IP
Interface Description
Interface Port Description
Broadcast Storm Protection
※ Interface Utizatiion
Utilization Alarm Upper Threshold
Utilization Alarm Lower Threshold
Port Link Alarm
Port Traffic-Overload Alarm
※ Tx Unicast Packet Rate
※ Rx Unicast Packet Rate
※ Tx Multicast Packet Rate
※ Rx Multicast Packet Rate
※ Tx Broadcast Packet Rate
※ Rx Broadcast Packet Rate
Tx Multicast Packet
Rx Multicast Packet
Tx Broadcast Packet
Rx Broadcast Packet
※ Redundant port status
Port Object (0xf4)
Port Type
Port Number
Link Object
Port Name
Port Type Name
Port Description
Node Address
Port Key
LAPP Networking Object (0x404)
※ Firmware Version
※ System Fault Status
Switch Port Number
※ Port Exist
※ Port Enable
※ Port Link Status
IGMP Snooping Enable
※ Query Interval
※ IGMP Enhanced Mode
Relay1
Relay2
Power 1 relay waring
Power 2 relay waring
DI 1(off) relay warning
DI 1(on) relay warning
DI 2(off) relay warning
DI 2(on) relay warning
Turbo Ring Break relay warning
※ CPU usage
Device Up Time
※ Reset MIB Counts
※ Redundant device mode
reset device
I/O message Object
※ Switch Fault Status
※ Port Exist
※ Port Link Status
※ Port Enable
NOTE Only LAPP pre-configured tags will display the correct values. Refer to the CIP Tags section above for
detailed information.
2-26
Industrial Protocols EtherNet/IP
Click LAPP_param Switch_Identity and expand the list to check the values for Identity tags.
Click LAPP_param Switch_TCPIP and expand the list to check the values for TCPIP tags.
Click LAPP_param Switch_Ethernet_Link and expand the list to check the values for per port Ethernet
Link tags.
Click LAPP_param Switch_Vendor and expand the list to check the values for LAPP custom tags.
1. Start the FactoryTalk® View Studio software and select Site Edition (Local).
2-27
Industrial Protocols EtherNet/IP
2. Add a new Site Edition (Local) and enter the Application name.
2-28
Industrial Protocols EtherNet/IP
1. Right click Displays in the FactoryTalk® View Explorer window, select Import and Export and choose
Import graphic information into displays.
NOTE LAPP provides sample graphics files for selected switches, which are available for download at the LAPP
website.
2-29
Industrial Protocols EtherNet/IP
4. After import, these objects will appear under Displays in the Explorer window.
1. Right click Global Object in the FactoryTalk® View Explorer window, select Import and Export and
choose Import graphic information into displays.
2. Select No and Multiple displays batch import file.
3. Import all graphics files (such as below) for FactoryTalk® View faceplate global object.
1. Right click Local Message in the FactoryTalk® View Explorer window, select Add Component Into
Application and import all the local message files (.loc)
NOTE LAPP provides sample local message files for selected switches, which are available for download at the
LAPP website.
2-30
Industrial Protocols EtherNet/IP
2. After import, these objects will appear under “Local Message” in the Explorer window.
1. Right click Images in the FactoryTalk® View Explorer window, select Add Component Into
Application and import all the image files (.bmp)
NOTE LAPP provides sample image files for selected switches, which are available for download at the LAPP
website
2. After import, these objects will appear under “Local Message” in the Explorer window.
2-31
Industrial Protocols EtherNet/IP
1. Right click Parameters in the FactoryTalk® View Explorer window, and select Add Component Into
Application and import the LAPP PARAM file (.par).
2-32
Industrial Protocols EtherNet/IP
In the parameter definition, the shortcut PLC was created earlier. (Refer to Create a FactoryTalk®
View Shortcut to PLC)
Another important piece is lapp_param, which is the name of the Switch_Parameters tag created for
the LAPP_SWITCH_AOI in your RSLogix project. (Refer to Create and configure tags for the AOI)
For easier FactoryTalk® View Faceplate installation, LAPP also provides a sample project, in which all the
parameters are configured with default values. The sample project is a (.APA) file, which is available for
download from the LAPP website. You may import the sample project in FactoryTalk® View Faceplate Site
Edition (SE).
2-33
Industrial Protocols EtherNet/IP
2-34
Industrial Protocols EtherNet/IP
5. Configure the FactoryTalk® View SE Client Components and set Initial Display to LAPP_Device_Info
6. Configure the FactoryTalk® View SE Window Properties and input Title bar text with the text you
would like to appear in the title bar.
Device Information
The device information display shows general switch information and power and link status.
2-35
Industrial Protocols EtherNet/IP
2-36
Industrial Protocols EtherNet/IP
Port Status
The port status display shows information for a selected switch port. Use the right/left buttons to select a
switch port.
2-37
Industrial Protocols EtherNet/IP
Port Setting
The Port Setting allows some switch port settings to be changed. Use the right/left buttons to select a
switch port and click the Activate button to save the change.
2-38