Port object (f4 hex - 1 instance), Class attributes, Instance attributes – Comtrol UP DeviceMaster User Guide User Manual
Page 52: Common services, Tcp object (f5 hex - 1 instance)
![background image](/manuals/672010/52/background.png)
52 - Chapter 2. Programming Interface
DeviceMaster UP Modbus/TCP User Guide: 2000447 Rev. I
Port Object (F4 Hex - 1 instance)
2.3.6.4. Port Object (F4 Hex - 1 instance)
The Port Object enumerates the CIP ports on the DeviceMaster UP.
2.3.6.4.1. Class Attributes
2.3.6.4.2. Instance Attributes
2.3.6.4.3. Common Services
2.3.6.5. TCP Object (F5 Hex - 1 instance)
The TCP/IP Interface Object provides the mechanism to retrieve the TCP/IP attributes for DeviceMaster UP.
2.3.6.5.1. Class Attributes
Attribute ID
Name
Data Type
Data Value(s)
Access Rule
1
Revision
UINT
1
Get
2
Max Instance
UINT
1
Get
3
Num Instances
UINT
1
Get
8
Entry Port
UINT
1
Get
9
All Ports
Array of UINT
[0]=0
[1]=0
[2]=TCP_IP_PORT_TYPE (4)
[3]=TCP_IP_PORT_NUMBER(2)
Get
Attribute ID
Name
Data Type
Data Value(s)
Access Rule
1
Port Type
UINT
4 (TCP/IP)
Get
2
Port Number
UINT
2 (TCP/IP)
Get
3
Port Object
Structure of:
16-bit word count in path
Path
UINT
Array of UINT
2
[0]=0212 Hex
[1]=0
Get
Service Code
Implemented in Class
Implemented in Instance
Service Name
01 Hex
Yes
Yes
Get_Attribute_All
0E Hex
Yes
Yes
Get Attribute Single
Attribute ID
Name
Data Type
Data Value(s)
Access Rule
1
Revision
UINT
1
Get
2
Max Instance
UINT
1
Get
3
Num Instances
UINT
1
Get