Startup sequence – ProSoft Technology PLX8X-MNET-61850 User Manual

Page 166

Advertising
background image

Reference

PLX8x-MNET-61850 ♦ Communication Gateway

User Manual

Modbus TCP/IP to IEC 61850

Page 166 of 228

ProSoft Technology, Inc.

May 14, 2014

6.4.7 Modbus TCP/IP Server

Modbus TCP/IP Server Startup Sequence:

a Connect to Event Logger
b Connect to tag database

– Error message in event log on fail

c Parse configuration file

– Error message if cannot create configuration

object

d Connect to system tag database
e Initialize diagnostics
f

Connect to MCP

– Error message in event log on fail

g Create server pool
h Server pool creates a server thread for each configured server
i

Inform MCP that driver is ready to run

j

Wait for run signal from MCP

k Run server communications: wait for Client to connect
l

If receives quit signal from MCP clean up threads and exit process

Each Client will try to connect in a loop until the connection is made. If the
attempt to connect fails, it will wait 100ms and try again. If a connection is lost it
start trying to connect the same as during startup.

The server will disconnect on connection loss or when there is no communication
for a timeout period. It will then begin listening for a connection request from a
Client.

Advertising