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 name
Class ID
Description
PLC
0x65
CPU unit status and device read/write
Identity
0x01
Reading EtherNet/IP unit information, etc.
Message Router
0x02
Reading EtherNet/IP unit information, etc.
Assembly
0x04
Access to devices assigned in the tag settings of the EtherNet/IP unit
Connection Manager
0x06
Used for connected communication
TCP/IP Interface
0xF5
Reading/writing TCP/IP information, etc.
Ethernet Link
0xF6
Reading/writing Ethernet information, etc.
PLC Object (ClassID 0x65)
Reads the CPU unit status and reads/writes devices
Service code
Service Code
Name
Description
0x0E
Get_Attribute_Single
Reads parameter values by specifying the instance and attribute
0x4B
Read consecutive data
0x4C
Write consecutive data
0x4D
Read expansion unit buffer memory
0x4E
Write expansion unit buffer memory
0x4F
Change operating mode
0x50
Clear error
Command list
Service Code
Class ID
Instance ID
Attribute ID
Type
Parameter
0x0E
0x65
0x00
0x64
Read model
0x65
Read operating mode
0x66
Read error number
0x4F
0x65
0x00
Change operating mode
0x50
0x65
0x00
Clear error
0x4B
0x65
0x00
Read consecutive data
0x4C
0x65
0x00
Write consecutive data
0x4D
0x65
0x00
Read expansion unit buffer memory
0x4E
0x65
0x00
Write expansion unit buffer memory
Identity Object (ClassID 0x01)
Reads CPU unit information and resets the built-in EtherNet/IP port
Service code
Service Code
Name
Description
0x01
Get_Attribute_All
Reads all parameter values by specifying the instance
0x0E
Get_Attribute_Single
Reads parameter values by specifying the instance and attribute
Command list
Service Code
Class ID
Instance ID
Attribute ID
Type
Parameter
0x01
0x01
0x00
-
Class
0x01
-
Instance
0x0E
0x01
0x00
0x01
UINT
Revision
0x02
UINT
MaxInstance
0x03
UINT
Number of Instances
0x06
UINT
Maximum ID Number Class Attributes
0x07
UINT
Maximum ID Number Instance Attributes
0x01
0x01
UINT
VenderID
0x02
UINT
DeviceType
0x03
UINT
ProductCode
0x04
Struct
Revision
USINT
MejorRevision
USINT
MinorRevision
0x05
WORD
Status
0x06
UDINT
SerialNumber
0x07
STRING
ProductName
Message Router Object (ClassID 0x02)
Manages received messages
Service code
Service Code
Name
Description
0x0E
Get_Attribute_Single
Reads parameter values by specifying the instance and attribute
Command list
Service Code
Class ID
Instance ID
Attribute ID
Type
Parameter
0x0E
0x02
0x00
0x01
UINT
Revision
0x02
UINT
MaxInstance
0x03
UINT
Number of Instances
0x06
UINT
Maximum ID Number Class Attributes
0x07
UINT
Maximum ID Number Instance Attributes
0x01
0x01
Struct
Object_list
UINT
Number
UINT[]
Classes
Assembly Object (ClassID 0x04)
Accesses devices assigned in the tag settings of the EtherNet/IP unit
Service code
Service Code
Name
Description
0x0E
Get_Attribute_Single
Reads parameter values by specifying the instance and attribute
Command list
Service Code
Class ID
Instance ID
Attribute ID
Type
Parameter
0x0E
0x04
0x00
0x01
UINT
Revision
0x64-C7
0x03
BYTE[]
Data
0x04
UINT
Size
TCP/IP Interface Object (ClassID 0xF5)
Reads and writes settings such as the IP address, subnet mask and gateway
Service code
Service Code
Name
Description
0x01
Get_Attribute_All
Reads all parameter values by specifying the instance
0x0E
Get_Attribute_Single
Reads parameter values by specifying the instance and attribute
0x10
Set_Attribute_Single
Writes parameter values by specifying the instance and attribute
Command list
Service Code
Class ID
Instance ID
Attribute ID
Type
Parameter
0x01
0xF5
0x00
-
Class
0x0E
0xF5
0x00
0x01
UINT
Revision
0x02
UINT
MaxInstance
0x03
UINT
Number of Instances
0x01
0x01
DWORD
Interface Configuration Status
0x02
DWORD
ConfigurationCapability
0x03
DWORD
ConfigurationControl
0x04
Struct
PhysicalLinkObject
UINT
Path Size
EPATH
Path
0x05
Struct
Interface Configuration Status
UDINT
IP Address
UDINT
Network Mask
UDINT
Gateway Address
UDINT
Name Server
UDINT
Name Server2
UDINT
Domain Name
0x06
STRING
Host Name
0x08
USINT
TTL Value
0x09
Struct
Mcast Config
USINT
Alloc Control
USINT
Reserved
UINT
Num Mcast
UDINT
Mcast Start Addr
0x14
UDINT
Encapslation Inactivity Timeout
0x10
0xF5
0x01
0x01-0x06 same as above
Ethernet Link Object (ClassID 0xF6)
Reads Ethernet settings and status
Service code
Service code
Service Code
Name
Description
0x01
Get_Attribute_All
Reads all parameter values by specifying the instance
0x0E
Get_Attribute_Single
Reads parameter values by specifying the attribute
0x10
Set_Attribute_Single
Writes parameter values by specifying the attribute
0x4C
Get_and_Clear
Clears parameter values to zero by specifying attribute 4 or 5