Siemens 7 manual Internal Driver States

Page 28

Multiplexer Driver Developer’s Guide

7.2 Internal Driver States

s

7.2Internal Driver States

rcv. a DM-Frame

STATE_

DISCONNECT

REQUEST

WrDisconnectPort(), send a DISC-Frame

STATE_

CONNECT

SerMux internal states

STATE_CLOSE_

DOWN

initial state

send a SABM-Frame

STATE_

DISCONNECT

WrConnectPort()

 

send aSABM-Frame

 

rcv. a DM (Disconnect)

 

Frame

 

 

STATE_

 

CONNECT_

WrConnectPort()

REQUEST

 

send a SABM-Frame

 

STATE_

rcv. a TEST-command

VERSION_ERROR

this state exists

with a VERSION Controlbyte

only for port 0

 

STATE_

not correct Version VERSION_

REQUEST

this state exists only for port 0

Versionstring from

MS- and TS-Version are identical

for Ports other than port 0

receive a UA-Frame for the desired port

Figure 4: State diagram of the internal driver states

Mux_Drv_DevGuide_v07

Page 28 of 36

2006-9-27

Confidential / Released

 

 

Image 28
Contents User’s Guide General Notes CopyrightContents Multiplexer Driver Developer’s Guide Tables List of TablesFigures List of FiguresDocument History Chapter What is newDocument History Multiplexer Driver Developer’s Guide Introduction IntroductionSupported Product Versions Supported Product VersionsRelated Documents AbbreviationsRelated Documents Abbreviation DescriptionHierarchy Chart in the System ArchitectureUser ArchitectureSignal Description Handling of the Physical Serial PortModule Detection Handling of the Physical Serial PortLimitation of Virtual Ports Handling of Control Lines on Virtual PortsHandling of Control Lines on Virtual Ports Module Initializing Sequence Command Response Function Associated Registry ValueModule Initializing Sequence Power Down Power Down on PC SuspendPower Down after Closing the Last Port Module Re-initializationPower Down on PC Shutdown Power DownInstallation Files Required for WinMux2k Driver InstallationInstalling the WinMux2k Driver InstallationDeinstalling the Driver Deinstalling the DriverWindows Windows XP new desktop, not the classic desktopSettings on the Serial Multiplexer Properties Device Settings and PropertiesDevice Settings and Properties Settings Stored in the Windows Registry Settings Stored in the Windows RegistryValue Data Example Properties TC45, XC18 only Multiplexer Driver Developer’s Guide Values Data Example Properties Settings for Applications Dial-up Network SettingsFax Settings Settings for ApplicationsTranslate Source Code Software RequirementsPreparing the Translation Compiler FlagsInteraction of the Different Driver Objects Additional Source DocumentationAdditional Source Documentation Internal Driver States Internal Driver StatesBuffer Handling Buffer HandlingData Transfer To th e S e rM u x O b je c t a re in d ic a te dMultiplexer Driver Developer’s Guide SerMuxSend Function SerMuxSend and SerMuxSendPort0 FunctionsStart +++-Parser +++-ParserKnown Problems Booting Operating SystemShutdown of the Operating System Standby of the Operating SystemSpecial Environments Operation on Virtual USB PortAutomatic Shutdown in case of Emergency Special Environments