Siemens 7 manual Start

Page 33

Multiplexer Driver Developer’s Guide

7.4 Data Transfer

s

Send function from the virtual Communication Ports

(the SerPort Object)

Function SerMuxSend() only sends UIH-Frames (unnumbered information) which come in from WriteRequest to the virtual serial communication port.

Start

 

WrGetWriteBuffer

 

GetBuffer?

no

 

yes

 

asked all Port two

yes

times and no Frames

 

sent?

 

no

no

 

GetFrameBufferPort

Get

WriteBuffer?

 

no

yes

Frame ?

 

yes

 

WrSubmitWriteBuffer

WrReturnWriteBuffer

ret

Figure 9: Send function from the virtual communication ports

Mux_Drv_DevGuide_v07

Page 33 of 36

2006-9-27

Confidential / Released

 

 

Image 33
Contents User’s Guide Copyright General NotesContents Multiplexer Driver Developer’s Guide List of Tables TablesList of Figures FiguresChapter What is new Document HistoryDocument History Multiplexer Driver Developer’s Guide Introduction IntroductionSupported Product Versions Supported Product VersionsAbbreviations Related DocumentsRelated Documents Abbreviation DescriptionArchitecture Hierarchy Chart in the SystemUser ArchitectureHandling of the Physical Serial Port Signal DescriptionModule Detection Handling of the Physical Serial PortHandling of Control Lines on Virtual Ports Limitation of Virtual PortsHandling of Control Lines on Virtual Ports Command Response Function Associated Registry Value Module Initializing SequenceModule Initializing Sequence Power Down on PC Suspend Power DownPower Down after Closing the Last Port Module Re-initializationPower Down Power Down on PC ShutdownFiles Required for WinMux2k Driver Installation InstallationInstalling the WinMux2k Driver InstallationDeinstalling the Driver Deinstalling the DriverWindows Windows XP new desktop, not the classic desktopDevice Settings and Properties Settings on the Serial Multiplexer 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 Dial-up Network Settings Settings for ApplicationsFax Settings Settings for ApplicationsSoftware Requirements Translate Source CodePreparing the Translation Compiler FlagsAdditional Source Documentation Interaction of the Different Driver ObjectsAdditional Source Documentation Internal Driver States Internal Driver StatesBuffer Handling Buffer HandlingTo th e S e rM u x O b je c t a re in d ic a te d Data TransferMultiplexer Driver Developer’s Guide SerMuxSend and SerMuxSendPort0 Functions SerMuxSend FunctionStart +++-Parser +++-ParserBooting Operating System Known ProblemsShutdown of the Operating System Standby of the Operating SystemOperation on Virtual USB Port Special EnvironmentsAutomatic Shutdown in case of Emergency Special Environments