5 dfnt server 0 status – ProSoft Technology MVI46-DFNT User Manual

Page 90

Advertising
background image

Reference

MVI46-DFNT ♦ SLC Platform

User Manual

EtherNet/IP Client/Server Communication Module

Page 90 of 177

ProSoft Technology, Inc.

October 12, 2010

The values for the pass-through server state parameter have the following

definition:

State

Definition

-1

Listen function called to set up server

0

Waiting for connection to be established on server

1

Waiting and processing data received

2

Waiting for pass-through port to be free

3

Pass-through server owns port and processes all data

received and written.

100

Closing server on program termination

1000

Initiate a close on the server

1001

Waiting for server to successfully close


The connection state for the pass-through server is not used at this time.
The data set returned to the processor in the M1 file for a 251 request has the

following definition:

Offset

Content

Description

4000

Done Flag

This word contains a value of 0 to indicate the status block

is completely built

4001

Status Code

This word contains the value 251

4.5.5 DFNT Server 0 Status

Offset

Content

Description

4002

Socket State

4003

Connection State

4004

Open Count

Total number of times the server has performed an open

operation.

4005

Establish Count

Total number of times a connection has been established on

the server.

4006

Close Count

Total number of times the server has performed a close

operation.

4007

Read

Total number of packets received by the server.

4008

Message

Total number of message receive by the server.

4009

Write

Total number of packets sent from the server to the client.

4010

Timeout

Total number of times the server as reached a connection

timeout condition.

4011

Host Port

Service port on client connected to the server.

4012 to

4013

Host IP Address

IP address of the client connected to the server.

Advertising