EtherNet/IP

EtherNet/IP™ (ENIP) is an Ethernet communication network that provides users with the tools to deploy standard Ethernet technology (IEEE 802.3 combined with the TCP/IP Suite) in industrial automation applications while enabling Internet and enterprise connectivity.

EtherNet/IP offers various network topology options including star or linear with standard Ethernet infrastructure devices utilizing the “Common Industrial Protocol” (CIP™).

Like all CIP Networks, EtherNet/IP utilizes CIP™ for its upper layers. CIP Networks follow the Open Systems Interconnection (OSI) model, which defines a framework for implementing network protocols in seven layers: physical, data link, network, transport, session, presentation and application. Networks that follow this model define a complete suite of network functionality from the physical implementation through the application or user interface layer.

Topologies are comprised of a Master or Scanner (also called the Originator) and an end-point device or slave called the Adapter (also called the Target).

The following gives a summary Table for the Messaging types and their characteristics:

Item

EXPLICIT Messaging

IMPLICIT Messaging

Characteristics

Requests & defines information

Data only, no protocol information

Form of Messaging

Unconnected or Class 3 Messaging

Connected or Class 1 Messaging

Typical Application

Diagnostic/Event/Config Data

Real-time Control Data

Originator (Master)

Controller = “Client”

Controller = “IO Scanner”

Target (Slave)

Field Device = “Server”

Field device = “IO Adapter”

Communications Layer

TCP/IP

UDP

General Specifications

  • Maximum Adapter nodes supported per Scanner: 64 Adapters

  • Maximum Scanner Connections per Server/Adapter: Up to eight(8) Class 1 Implicit or eight(8) Class 3 Explicit connections.

Note

All the EtherNet/IP device libraries are included free in the P2CDS-622 system. The license is automatically enabled.

The CODESYS Scanner Datasheet can be downloaded from- Scanner

The CODESYS Adapter Datasheet can be downloaded from- Adapter

Scanner

The CODESYS EtherNet/IP Scanner is offered as part of the P2CDS-622 development environment and uses the standard Ethernet ports on the CPU. The bus is configured directly from within the CODESYS Development System. Devices that are configured in this way exchange Ethernet messages with interconnected EtherNet/IP Adapters.

Scanners create connections and scan I/O. The EtherNet/IP scanner can communicate in real time with connected adapters, read their inputs, and write to their outputs. All parameters for communication are predefined in the configurator. These parameters include IP addresses or network cards and adapters, the connections and their properties, the RPI (Requested Packet Interval), as well as the user parameters.

FEATURES

All parameters for communication are predefined in the configurator.

Configurator

Editors

  • Ethernet Bus Editor

  • EtherNet/IP Scanner Editor

  • EtherNet/IP Remote Adapter Module Editor

Communication Settings

  • IP Address

  • Electronics Keying

  • Connections and configuration data

  • Input/Output Assembly layout

Diagnosis

  • Display of device state

  • Display of connection errors

EDS Import

  • Supported

IEC Stack

Supported Platforms

  • 32/64 bit

  • Little/Big Endian

Specification

  • CIP Networks Library Volume 1 and 2

Max. number of Slaves/Connections

  • 64

Connection Types

  • Class 1 (I/O Messaging)

  • Class 3 (Explicit Messaging)

  • UCMM

I/O Connection Types

  • Point to Point and Multicast

  • Cyclic Transmission

  • Exclusive Owner, Listen Only, Input Only

Minimum RPI

  • 1 ms

Supported Objects

  • Identity Object

  • Message Router Object

  • Connection Manager Object

  • TCP/IP Interface Object

  • EtherNet Link Object

Large ForwardOpen

  • (supported)

CIP Motion

  • (not supported)

CIP Sync

  • (not supported)

Device Level Ring (DLR)

  • (not supported)

API

EtherNet/IP Services IEC Library (Function Blocks)

  • Get_Attributes_All, Get_Attributes_Single

  • Set_Attributes_All, Set_Attributes_Single

  • Start/Stop/Reset

  • Apply_Attributes

  • NOP

  • Generic Service

  • Visualization Templates

API IEC Stack (Function Blocks)

  • State/Diagnosis variables for Scanner and Adapters

  • Ethernet status information

  • Reset of Scanner and Adapter

  • Generic Device Diagnosis

  • Reconfigure

Adapter

The CODESYS EtherNet/IP Adapter is an add-on for CODESYS compatible PLCs and uses the CPU Ethernet ports.

The bus is configured directly from within the CODESYS Development System. Adapters are End-point devices and are configured to exchange Ethernet messages with interconnected EtherNet/IP scanners.

FEATURES

The communication parameters are predefined in the configurator, such as the settings of the Ethernet adapter

Configurator

Editors

  • Ethernet Bus Editor

  • EtherNet/IP Adapter Editor

  • EtherNet/IP Module Editor

Communication Settings

  • IP Address

  • Device Identification (Vendor ID, Product Code, …)

  • I/O Data Layout (module configuration)

Diagnosis

  • Display of device state

  • Display of connection errors

EDS Export

  • Export of an EDS file suitable for the configuration.

IEC Stack

Supported Platforms

  • 32/64 bit

  • Little/Big Endian

Specification

  • CIP Networks Library Volume 1 and 2

Max. Number of Connections

  • Up to eight (8) Class 1 Connections and eight (8) Class 3 Connections.

I/O Connection Types

  • Point to Point

  • Cyclic Transmission

  • Exclusive Owner, Listen Only, Input Only

Max. Number of I/O Assemblies

  • The supplied EDS files support only one Input and Output Assembly by default. A custom EDS file can be generated via the CODESYS IDE.

  • 4 Scanners with 8 Connections per. maximum.

Configuration Assembly

  • (not supported)

Connection Types

  • Class 1 (I/O Messaging)

  • Class 3 (Explicit Messaging)

  • UCMM

Maximum Connection Types

  • Class 1 (I/O Messaging) - 8 total

  • Class 3 (Explicit Messaging) - 8 total

Minimum RPI

  • 1 ms

Supported Objects

  • Identity Object

  • Message Router Object

  • Assembly Object

  • Connection Manager Object

  • TCP/IP Interface Object

  • EtherNet Link Object

ACD

  • (currently not supported, see Errata section)

CIP Motion

  • (not supported)

CIP Sync

  • (not supported)

Device Level Ring (DLR)

  • (not supported)

Example Projects

Examples projects a located at these links for Implicit Mode and for Explicit Mode