본문으로 건너뛰기

EtherNet/IP Protocol

Table of Contents

  1. Overview
  2. Quick Link
  3. Key Features
  4. Communication Methods
  5. Message Types
  6. Service Codes
  7. Object Model
  8. Data Types
  9. Error Codes

Overview

EtherNet/IP (Ethernet Industrial Protocol) is a standard ethernet communication protocol for industrial automation. It is based on CIP (Common Industrial Protocol) and supports real-time data exchange in manufacturing environments.

Related Protocols: SECS/GEM | Modbus | OPC UA | RTSP

Key Features

  • Standard Ethernet: Utilizes standard TCP/IP and ethernet technologies
  • Real-time Communication: Real-time data exchange based on UDP
  • Scalability: Supports large-scale network configurations
  • Interoperability: Compatibility between various vendor equipment
  • Security: Provides industrial security features

Communication Methods

MethodDescriptionProtocolPurpose
Explicit MessagingClient-server communicationTCPConfiguration, diagnostics, non-real-time data
Implicit MessagingReal-time data exchangeUDPReal-time control data
I/O MessagingI/O data exchangeUDPSensor/actuator data

Message Types

TypeDescriptionCharacteristics
RequestRequest from client to serverExplicit messaging
ResponseResponse from server to clientExplicit messaging
I/O DataReal-time I/O dataImplicit messaging
HeartbeatConnection status checkPeriodic messaging

Service Codes

CodeDescriptionPurpose
0x01Get_Attribute_SingleRead single attribute
0x02Set_Attribute_SingleWrite single attribute
0x03Get_Attribute_AllRead all attributes
0x04Set_Attribute_AllWrite all attributes
0x05ResetDevice reset
0x06StartDevice start
0x07StopDevice stop
0x08CreateObject creation
0x09DeleteObject deletion
0x0AMultiple_Service_PacketMultiple service packet

Object Model

ObjectDescriptionFunction
Identity ObjectDevice identification informationProvides device information
Message Router ObjectMessage routingMessage processing
Assembly ObjectData assemblyData packaging
Connection ObjectConnection managementCommunication connection management
TCP/IP ObjectTCP/IP configurationNetwork configuration

Data Types

TypeDescriptionSize
BOOLBoolean value1 bit
SINT8-bit integer1 byte
INT16-bit integer2 bytes
DINT32-bit integer4 bytes
REAL32-bit real number4 bytes
STRINGStringVariable length
ARRAYArrayVariable length

Error Codes

CodeDescription
0x00Success
0x01Invalid Command
0x02Insufficient Memory
0x03Incorrect Data
0x04Invalid Attribute Value
0x05Invalid Attribute
0x06Service Not Supported
0x07Invalid Parameter
0x08Lost Connection
0x09Invalid Segment
0x0AInvalid Service Request