Socket object class attributes – Rockwell Automation 1768-EWEB EtherNet/IP Web Server Module User Manual User Manual

Page 158

Advertising
background image

Publication ENET-UM527E-EN-P - October 2006

158 Socket Interface

Socket Object Class Attributes

The Class attributes apply to the Socket Object, not to specific socket
instances. When you get or set a Class attribute, set the instance to 0.

If you use Get Attributes All to get the class attributes, the response
contains all of the above attributes, in the order shown above (total
size of 10 bytes). Since there is only one attribute (Log Enable) a Set
Attributes All request contains only the Log Enable attribute.

Class
Attribute

Name

Data Type

Access

Description

1

Revision

INT

Get

Object revision

2

Max Instance

INT

Get

Largest socket instance number currently created

3

Number of Instances

INT

Get

Number of socket instances currently created

8

Log Enable

DINT

Get

Set

Enable or disable logging to the Socket Object Log web page.

Each socket service has a corresponding bit. If enabled,
requests for that service request are logged. If clear, then
requests for that service are not logged.

Bit 0: CreateSocket requests

Bit 1: OpenConnection requests

Bit 2: AcceptConnection requests

Bit 3: Read requests

Bit 4: Write requests

Bit 5: DeleteSocket and DeleteAllSockets requests

Bit 6: Get / Set Attribute requests

Bit 7: Log all service errors

Advertising
This manual is related to the following products: