8 Message Communications
8-32
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
z Service Codes
Specify the service to execute with the service code.
z Request Paths (IOIs) to Specify Objects
When you specify an object, specify the request path (IOI) for each service code as given below.
This object is used to read and write settings such as the IP address, subnet mask, and default gate-
way.
z Class ID
Specify F5 hex.
z Instance ID
You can specify only 01 hex.
z Attribute ID
The attribute ID specifies the information to read.
Class Attribute ID
The class attribute ID specifies the attribute of the entire object.
Service
code
Parameter name Description
Supported services
Classes Instances
01 hex Get_Attribute_All Reads the values of the attributes. Supported. Supported.
0E hex Get_Attribute_Single Reads the value of the specified attribute. Supported. Supported.
05 hex Reset Resets the built-in EtherNet/IP port. This parameter is used to reset
the built-in EtherNet/IP port when you change the IP address or
other parameter settings and want to apply them. Input one of the
following values for the
ServiceDat input variable to the CIPSend
instruction to specify the reset method.
00 hex: Restart the built-in EtherNet/IP port.
01 hex: Clear the tag data link settings and restart.
Not sup-
ported.
Supported.
Service code Class ID Instance ID Attribute ID
01 hex Get_Attribute_All 01 hex • Specifying a service for a class: 00 hex
• Specifying a service for an instance:
Always 01 hex
Not required.
0E hex Get_Attribute_Single • Reading a class attribute: 01 or 02
hex
• Reading an instance attribute: 01 to
07 hex
05 hex Reset Always 01 hex Not required.
8-3-3 TCP/IP Interface Object (Class ID: F5 hex)
Attribute ID Parameter name Description Attribute
Read data
Data
type
Value
01 hex Revision Revision of the object Read UINT 0001 hex
02 hex Max Instance The maximum instance number Read UINT 0001 hex