日本語 English

CIP Message Communication
Connecting with CipObject (KEYENCE KV Series)

Overview

Explains the CIP objects available on the EtherNet/IP port of KEYENCE KV series PLCs. It summarizes the class IDs, attribute IDs and service codes of the PLC Object (Class 0x65), Identity Object (Class 0x01) and Assembly Object (Class 0x04).

CIP objects for the KV EtherNet/IP port

This page gives an overview of the CIP objects
For details such as the meaning of each parameter value, see the manual (EtherNet/IP Function User's Manual)

Object types
Object nameClass IDDescription
PLC0x65CPU unit status and device read/write
Identity0x01Reading EtherNet/IP unit information, etc.
Message Router0x02Reading EtherNet/IP unit information, etc.
Assembly0x04Access to devices assigned in the tag settings of the EtherNet/IP unit
Connection Manager0x06Used for connected communication
TCP/IP Interface0xF5Reading/writing TCP/IP information, etc.
Ethernet Link0xF6Reading/writing Ethernet information, etc.

PLC Object (ClassID 0x65)

Reads the CPU unit status and reads/writes devices

Service code
Service CodeNameDescription
0x0EGet_Attribute_SingleReads parameter values by specifying the instance and attribute
0x4BRead consecutive data
0x4CWrite consecutive data
0x4DRead expansion unit buffer memory
0x4EWrite expansion unit buffer memory
0x4FChange operating mode
0x50Clear error
Command list
Service CodeClass IDInstance IDAttribute IDTypeParameter
0x0E0x650x000x64Read model
0x65Read operating mode
0x66Read error number
0x4F0x650x00Change operating mode
0x500x650x00Clear error
0x4B0x650x00Read consecutive data
0x4C0x650x00Write consecutive data
0x4D0x650x00Read expansion unit buffer memory
0x4E0x650x00Write expansion unit buffer memory

Identity Object (ClassID 0x01)

Reads CPU unit information and resets the built-in EtherNet/IP port

Service code
Service CodeNameDescription
0x01Get_Attribute_AllReads all parameter values by specifying the instance
0x0EGet_Attribute_SingleReads parameter values by specifying the instance and attribute
Command list
Service CodeClass IDInstance IDAttribute IDTypeParameter
0x010x010x00-Class
0x01-Instance
0x0E0x010x000x01UINTRevision
0x02UINTMaxInstance
0x03UINTNumber of Instances
0x06UINTMaximum ID Number Class Attributes
0x07UINTMaximum ID Number Instance Attributes
0x010x01UINTVenderID
0x02UINTDeviceType
0x03UINTProductCode
0x04StructRevision
USINTMejorRevision
USINTMinorRevision
0x05WORDStatus
0x06UDINTSerialNumber
0x07STRINGProductName

Message Router Object (ClassID 0x02)

Manages received messages

Service code
Service CodeNameDescription
0x0EGet_Attribute_SingleReads parameter values by specifying the instance and attribute
Command list
Service CodeClass IDInstance IDAttribute ID TypeParameter
0x0E0x020x00 0x01UINTRevision
0x02UINTMaxInstance
0x03UINTNumber of Instances
0x06UINTMaximum ID Number Class Attributes
0x07UINTMaximum ID Number Instance Attributes
0x010x01StructObject_list
UINTNumber
UINT[]Classes

Assembly Object (ClassID 0x04)

Accesses devices assigned in the tag settings of the EtherNet/IP unit

Service code
Service CodeNameDescription
0x0EGet_Attribute_SingleReads parameter values by specifying the instance and attribute
Command list
Service CodeClass IDInstance ID Attribute IDTypeParameter
0x0E0x040x00 0x01UINTRevision
0x64-C70x03BYTE[]Data
0x04UINTSize

TCP/IP Interface Object (ClassID 0xF5)

Reads and writes settings such as the IP address, subnet mask and gateway

Service code
Service CodeNameDescription
0x01Get_Attribute_AllReads all parameter values by specifying the instance
0x0EGet_Attribute_SingleReads parameter values by specifying the instance and attribute
0x10Set_Attribute_SingleWrites parameter values by specifying the instance and attribute
Command list
Service CodeClass IDInstance ID Attribute IDTypeParameter
0x010xF50x00-Class
0x0E0xF50x000x01UINTRevision
0x02UINTMaxInstance
0x03UINTNumber of Instances
0x010x01DWORDInterface Configuration Status
0x02DWORDConfigurationCapability
0x03DWORDConfigurationControl
0x04StructPhysicalLinkObject
UINTPath Size
EPATHPath
0x05StructInterface Configuration Status
UDINTIP Address
UDINTNetwork Mask
UDINTGateway Address
UDINTName Server
UDINTName Server2
UDINTDomain Name
0x06STRINGHost Name
0x08USINTTTL Value
0x09StructMcast Config
USINTAlloc Control
USINTReserved
UINTNum Mcast
UDINT Mcast Start Addr
0x14UDINTEncapslation Inactivity Timeout
0x100xF50x010x01-0x06 same as above

Ethernet Link Object (ClassID 0xF6)

Reads Ethernet settings and status

Service code

Service code
Service CodeNameDescription
0x01Get_Attribute_AllReads all parameter values by specifying the instance
0x0EGet_Attribute_SingleReads parameter values by specifying the attribute
0x10Set_Attribute_SingleWrites parameter values by specifying the attribute
0x4CGet_and_ClearClears parameter values to zero by specifying attribute 4 or 5
Command list
Service CodeClass IDInstance ID Attribute IDTypeParameter
0x0E0xF60x00 0x01UINTRevision
0x02UINTMaxInstance
0x03UINTNumber of Instances
0x010x01UDINTInterface Speed
0x02DWORDInterface Flags
0x03USINT[6]Physical Address
0x04StructInterface Counters
UDINTIn Octets
UDINTIn Unicast Packets
UDINTIn NonUnicast Packets
UDINTIn Discards
UDINTIn Errors
UDINTIn Unknown Protos
UDINTOut Octets
UDINTOut Unicast Packetes
UDINTOut NonUnicast Packets
UDINTOut Discards
UDINTOut Errors
0x05StructMedia Counters
UDINTAlignment Errors
UDINTFCS Errors
UDINTSingle Colisions
UDINTMultiple Colisions
UDINTSQE Test Errors
UDINTDeferre Trasmissions
UDINTLate Collisions
UDINTExcessive Collisions
UDINTMAC Transmit Errors
UDINTCarrier Sense Errors
UDINTFrame Too Long
UDINTMAC Receive Errors
0x06StructInterface Control
WORDControl Bits
UINTForced interface Speed
0x07USINTInterface Type
0x0ASTRINGInterface Label
0x0BStructInterface Capability
DWORDCapability Bits
STRUCTSpeed/Duplex Options
USINTSpeed/Duplex Array Count
Speed Duplex Array
UINTInterface Speed
USINTInterface Duplex Mode

Related pages

PLC

Analyze and test EtherNet/IP / CIP communication

CipMes

An application that sends CIP messages using Ethernet socket communication

Comments