8 Message Communications
8-34
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
Instance Attribute ID
The instance attribute ID specifies the attribute of the instance.
Service Codes
Specify the service to execute with the service code.
Attribute ID Parameter name Description Attribute
Read/write data
Data
type
Value
01 hex Interface Configuration
Status
Indicates the IP address settings
status of the EtherNet/IP Unit.
Read DWORD Bits 0 to 3: Interface Configuration
Status
0 = IP address is not set.
(This includes when BOOTP
is starting.)
1 = IP address is set.
Bits 4 to 31: Reserved (always
FALSE).
02 hex Configuration Capability Indicates a Controller Configura-
tions and Setup that can be set to
the EtherNet/IP Unit.
Read DWORD Bit 0: BOOTP Client: Always
TRUE.
Bit 1: DNS Client: Always TRUE.
Bit 2: DHCP Client: Always
FALSE.
Bit 3: DHCP-DNS Update: Always
FALSE.
Bit 4: Configuration Settable:
Always TRUE.
Bits 5 to 31: Reserved (always
FALSE).
03 hex Configuration Control Sets the method used to set the
IP address when the EtherNet/IP
Unit starts.
Write DWORD Bit 0: Static IP address.
Bit 1: Set by BOOTP.
04 hex Physical Link Object The path to the link object in the
physical layer.
Read Struct ---
Path size The path size (WORD size). UINT 0002 hex
Path The path to the link object in the
physical layer (static).
EPATH 20 F6 24 01 hex
05 hex Interface Configuration The EtherNet/IP Unit settings. Write Struct ---
IP Address IP address. UDINT Set value
Network Mask Subnet mask. UDINT Set value
Gateway Address The default gateway. UDINT Set value
Nama Server The primary name server. UDINT Set value
Nama Server2 The secondary name server . UDINT Set value
Domain Name The domain name. STRING Set value
06 hex Host Name The host name (reserved). Write STRING Always 0000 hex.
Service
code
Parameter name Description
Supported services
Classes Instances
01 hex Get_Attribute_All Reads the values of the attributes. Sup-
ported.
No sup-
ported.
0E hex Get_Attribute_Single Reads the value of the specified attribute. Sup-
ported.
Sup-
ported.
10 hex Set_Attribute_Single Writes a value to the specified attribute. The EtherNet/IP Unit restarts
automatically after the value is written to the attribute. When the
restart process is not completed and the next Set_Attribute_Single is
executed, the general status “0C hex” (Object State Conflict) is
returned.
No sup-
ported.
Sup-
ported.