E6581581
- 33 -
4.10. TCP/IP interface (F5 hex)
Class code 0xF5: The TCP/IP Interface Object provides the mechanism to configure a device’s
TCP/IP network interface.
Class Attributes available
Instance Attribute ID Access Name Data type Value
1 Get Revision UINT
1
2 Get Max Instances UINT
1
3 Get Number of Instances UINT
1
6 Get Max ID of class attributes UINT
7
0
7 Get Max ID of instance attribute UINT
6
Instance 1 Attribute available
Instance Attribute ID Access Name Data type Details
1 Get Status DWORD 0 = The Interface Configuration attribute has not been
configured.
1 = The Interface Configuration attribute contains valid
configuration.
2 Get Configuration
capability
DWORD Bit 0 = 1 (TRUE) shall indicate the device is capable of
obtaining its network configuration via BOOTP.
Bit 1 = 1 (TRUE) shall indicate the device is capable of
resolving host names by querying a DNS server.
Bit 2 = 1 (TRUE) shall indicate the device is capable of
obtaining its network configuration via DHCP.
Bit 3 = 1 (TRUE) shall indicate the device is capable of
sending its host name in the DHCP request.
Bit 4 = 1 (TRUE) shall indicate the Interface Configuration
attribute is settable.
Bit 5-31 : reserved
3 Get/Set Configuration
control
DWORD Bits 0-3 Start-up configuration
0 = The device shall use the interface configuration values
previously stored.
1 = The device shall obtain its interface configuration values
via BOOTP.
2 = The device shall obtain its interface configuration values
via DHCP upon start-up.
3-15 = Reserved for future use.
Bit 4 = 1 (TRUE), the device shall resolve host names by
querying a DNS server.
Bit 5-31 : reserved
4 Get Physical Link
Object
STRUCT
of
UINT
EPATH
Path Size
Path: Logical segments identifying the physical link object
Example [20][F6][24][01] : [20] = 8 bit class segment type;
[F6] = Ethernet Link Object class; [24] = 8 bit instance
segment type; [01] = instance 1.
5 Get/Set Interface
Configuration
STRUCT
of
UDINT
UDINT
UDINT
UDINT
UDINT
STRING
IP address (0 : no address configured)
Network Mask (0 : no Network mask configured)
Gateway address (0 : no address configured)
Name server address (0 : no address configured)
Name server address 2 (0 : no address configured)
Domain Name
1
6 Get/Set Host Name STRING Reads or writes the name of Drive.
Services
Supported
Service
Code
Service Name
Class Instance
Description of Service
01 hex Get_Attribute_All
Yes Yes
Read all attributes
02 hex Set_Attribute_All
N/A Yes
Write all attributes
0E hex Get_Attribute_Single
Yes Yes
Read one attribute
10 hex Set_Attribute_Single
Yes Yes
Write one attribute