Siemens 7 manual Data Transfer, To th e S e rM u x O b je c t a re in d ic a te d

Page 30

Multiplexer Driver Developer’s Guide

7.4 Data Transfer

s

7.4Data Transfer

7.4.1Block Flow Diagram for Data Received by the Module

S e rM u x fu n c tio n s s e q u e n c e , if c h a ra c te rs fro m th e p h ys ic a l D e vic e

 

to th e S e rM u x O b je c t a re in d ic a te d

 

 

 

W rIn d ic a te R e a d B u ffe r

 

 

re t

y e s

a ll b yte s

 

 

 

 

 

 

 

 

s c a n n e d ?

 

 

 

 

 

 

 

 

 

 

n o

 

 

 

 

 

P ro c e s s C h a r

 

 

 

 

 

 

 

n o

 

 

 

F ra m e va lid ?

 

 

 

 

 

ye s

 

 

 

 

 

D e m u xIn d ic a te F ra m e

 

 

 

 

A d d re s s ! = D L C I 0

 

y e s

 

 

 

 

S e rP o rtIn d ic a te F ra m e

 

 

 

& & U IH -F ra m e ?

 

o th e r p o rts th a n 0

 

 

 

n o

 

 

 

 

 

U IH -F ra m e ?

y e s

 

 

 

 

 

 

 

 

 

 

s e a rc h th e n e xt C o n tro l C o m m a n d

 

 

 

 

in th e

 

 

 

n o

 

In fo rm a tio n fie ld

 

 

 

 

 

a ll U IH -C o n tro l

ye s

 

 

 

 

 

 

 

 

 

C o m m a n d s s c a n n e d ?

 

 

 

 

 

S e rP o rt0 S c a n U IH C onnotro l s e e

 

S e rP o rt0 In d ic a te F ra m e ()

 

n o

 

s h e e t 2 ,

 

 

 

 

c h e c k a U IH -C o n tro lF ra m e

 

 

 

 

 

re tu rn S e n d P o rt

 

 

 

U A -F ra m e

 

ye s

 

 

 

o r

 

S e rP o rt0 C o n firm R e q u e s t

 

 

 

D M -F ra m e ?

 

 

 

 

 

n o

 

 

 

 

 

S A B M o r

 

 

 

 

 

D IS C F ra m e

 

 

 

 

 

n o t v a lid

 

 

 

 

 

(M a s te r)

 

 

 

 

 

S e n d P o rt= =

 

 

 

 

 

T R U E ?

 

 

 

 

 

S e rM u xS e n d (), m u s t

 

 

 

c a ll if re c e ive a F C -B it= 0 , th e n

 

 

 

s ta rt th e s e n d in g

 

 

 

 

 

1

 

 

 

Figure 6: Block flow diagram for data received by the module

Mux_Drv_DevGuide_v07

Page 30 of 36

2006-9-27

Confidential / Released

 

 

Image 30
Contents User’s Guide General Notes CopyrightContents Multiplexer Driver Developer’s Guide Tables List of TablesFigures List of FiguresChapter What is new Document HistoryDocument History Multiplexer Driver Developer’s Guide Introduction IntroductionSupported Product Versions Supported Product VersionsRelated Documents Related DocumentsAbbreviations Abbreviation DescriptionUser Hierarchy Chart in the SystemArchitecture ArchitectureModule Detection Signal DescriptionHandling of the Physical Serial Port 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 after Closing the Last Port Power DownPower Down on PC Suspend Module Re-initializationPower Down on PC Shutdown Power DownInstalling the WinMux2k Driver InstallationFiles Required for WinMux2k Driver Installation InstallationWindows Deinstalling the DriverDeinstalling the Driver 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 Fax Settings Settings for ApplicationsDial-up Network Settings Settings for ApplicationsPreparing the Translation Translate Source CodeSoftware Requirements Compiler FlagsAdditional Source Documentation Interaction of the Different Driver ObjectsAdditional 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 +++-ParserShutdown of the Operating System Known ProblemsBooting Operating System Standby of the Operating SystemAutomatic Shutdown in case of Emergency Special EnvironmentsOperation on Virtual USB Port Special Environments