Class ID
F5 (hex), 245 (decimal)
Instance IDs
The TCP/IP interface object presents 2 instance values:
0: class
1: instance
Attributes
TCP/IP interface object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
Attribute ID |
Description |
GET |
SET |
---|---|---|---|
01 |
Revision |
X |
— |
02 |
Max Instance |
X |
— |
X = supported — = not supported |
Instance ID = 1 (instance attributes):
Attribute ID |
Description |
Type |
GET |
SET |
Value |
---|---|---|---|---|---|
01 |
Status |
DWORD |
X |
— |
0x01 |
02 |
Configuration capability |
DWORD |
X |
— |
0x01 = from BootP 0x11 = from flash 0x00 = other |
03 |
Configuration control |
DWORD |
X |
X |
0x01 = out-of-box default |
04 |
Physical Link Object |
STRUCT |
X |
— |
|
Path size |
UINT |
||||
Path |
Padded EPATH |
||||
05 |
Interface Configuration |
STRUCT |
X |
X |
0x00 = out-of-box default |
IP address |
UDINT |
||||
Network mask |
UDINT |
||||
Gateway address |
UDINT |
||||
Name server |
UDINT |
||||
Name server 2 |
UDINT |
||||
Domain name |
STRING |
||||
06 |
Host name |
STRING |
X |
— |
|
X = supported — = not supported |
Services
The TCP/IP interface object supports the following services:
Service ID |
Description |
Class |
Instance |
Notes |
|
---|---|---|---|---|---|
hex |
dec |
||||
01 |
01 |
Get_Attributes_All |
X |
X |
Returns the value of all attributes. |
0E |
14 |
Get_Attribute_Single |
X |
X |
Returns the value of the specified attribute. |
10 |
16 |
Set_Attribute_Single1 |
— |
X |
Sets the value of the specified attribute. |
X = supported — = not supported |
|||||
1. The Set_Attribute_Single service can execute only when these preconditions are satisfied:
|