2 internal driver states, Internal driver states, Figure 4 – Siemens 7 User Manual

Page 28: State diagram of the internal driver states, Multiplexer driver developer’s guide, Sermux internal states

Advertising
background image

Multiplexer Driver Developer’s Guide

7.2 Internal Driver States

s

Mux_Drv_DevGuide_v07

Page 28 of 36

2006-9-27

Confidential / Released

7.2

Internal Driver States

Figure 4: State diagram of the internal driver states

STATE_CLOSE_

DOWN

initial state

STATE_

VERSION_

REQUEST

this state exists

only for port 0

STATE_

CONNECT_

REQUEST

STATE_

DISCONNECT

REQUEST

STATE_

CONNECT

STATE_

VERSION_ERROR

this state exists

only for port 0

send a SABM-Frame

rcv. a TEST-command

with a VERSION Controlbyte

STATE_

DISCONNECT

Versionstring from

MS- and TS-Version are identical

not correct Version

WrDisconnectPort(),

send a DISC-Frame

rcv. a DM-Frame

WrConnectPort()

send aSABM-Frame

WrConnectPort()

send a SABM-Frame

SerMux internal states

for Ports other than port 0

receive a UA-Frame for the desired port

rcv. a DM (Disconnect)

Frame

Advertising