beautypg.com

Serial port statistics object definition (72 hex), Class attributes, Instance attributes – Comtrol UP DeviceMaster User Guide User Manual

Page 31: Common services

background image

DeviceMaster UP Modbus/TCP User Guide: 2000447 Rev. I

Chapter 2. Programming Interface - 31

Serial Port Statistics Object Definition (72 Hex)

2.3.3. Serial Port Statistics Object Definition (72 Hex)

The Serial Port Statistics object defines the statistics gathered by the DeviceMaster UP on a serial port basis.

Note: There is one instance of this object per serial port. The instance number corresponds to the associated

serial port number on the DeviceMaster UP. (Port numbers are numbered from one to N.)

2.3.3.1. Class Attributes

2.3.3.2. Instance Attributes

2.3.3.3. Common Services

Attribute ID

Name

Data Type

Data Value(s)

Access Rule

1

Revision

UINT

1

Get

2

Max Instance

UINT

Number of ports on the DeviceMaster UP

Get

3

Num Instances

UINT

Number of ports on the DeviceMaster UP

Get

Attribute ID

Name

Data Type

Data

Value(s)

Access Rule

1

Receive Byte Count

UDINT

0=default

Get

2

Receive Packet Count

UDINT

0=default

Get

3

Transmit Byte Count

UDINT

0=default

Get

4

Transmit Packet Count

UDINT

0=default

Get

5

Dropped Packet to PLC Count

UDINT

0=default

Get

6

Parity Error Count

UDINT

0=default

Get

7

Framing Error Count

UDINT

0=default

Get

8

Overrun Error Count

UDINT

0=default

Get

9

Received Consumed Sequence Error Count

UDINT

0=default

Get

10

Duplicate Transmit Sequence Number errors

UDINT

0=default

Get

11

Unexpected Transmit Sequence Number errors

UDINT

0=default

Get

12

Dropped Packet to Application Count

UDINT

0=default

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