Siemens 7 manual Contents

Page 3

Multiplexer Driver Developer’s Guide

Contents

s

Contents

0

Document History

7

1

Introduction

 

9

 

 

1.1

Supported Product Versions

10

 

 

1.2

Related Documents

11

 

 

1.3

Abbreviations

11

2

Architecture

 

12

 

 

2.1

Hierarchy Chart in the System

12

 

 

2.2

Handling of the Physical Serial Port

13

 

 

2.3

Module Detection

13

 

 

2.4

Handling of Control Lines on Virtual Ports

14

 

 

2.5

Limitation of Virtual Ports

14

 

 

2.6

Module Initializing Sequence

15

 

 

2.7

Module Re-initialization

16

 

 

2.8

Power Down

16

 

 

 

2.8.1

Power Down on PC Suspend

16

 

 

 

2.8.2

Power Down after Closing the Last Port

16

 

 

 

2.8.3

Power Down on PC Shutdown

17

3

Installation

 

18

 

 

3.1

Files Required for WinMux2k Driver Installation

18

 

 

3.2

Installing the WinMux2k Driver

18

 

 

3.3

Deinstalling the Driver

19

4

Device Settings and Properties

20

 

 

4.1

Settings on the Serial Multiplexer Properties Page

20

 

 

4.2

Settings Stored in the Windows Registry

21

5

Settings for Applications

25

 

 

5.1

Dial-up Network Settings

25

 

 

5.2

Fax Settings

25

6

Translate Source Code

26

 

 

6.1

Software Requirements

26

 

 

6.2

Preparing the Translation

26

 

 

6.3

Compiler Flags

26

7

Additional Source Documentation

27

 

 

7.1

Interaction of the Different Driver Objects

27

 

 

7.2

Internal Driver States

28

 

 

7.3

Buffer Handling

29

 

 

7.4

Data Transfer

30

 

 

 

7.4.1

Block Flow Diagram for Data Received by the Module

30

 

 

 

7.4.2

Block Flow Diagram for Data Sent to the Module via Virtual Port

31

 

 

 

7.4.3

SerMuxSend Function

32

 

 

7.5

The +++-Parser

34

8

Known Problems

35

 

 

8.1

Booting Operating System

35

 

 

 

 

 

Mux_Drv_DevGuide_v07

Page 3 of 36

2006-9-27

 

Confidential / Released

 

 

 

Image 3
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 VersionsAbbreviation Description Related DocumentsAbbreviations Related DocumentsArchitecture Hierarchy Chart in the SystemArchitecture UserHandling of the Physical Serial Port Signal DescriptionHandling of the Physical Serial Port Module DetectionHandling 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 Module Re-initialization Power DownPower Down on PC Suspend Power Down after Closing the Last PortPower Down Power Down on PC ShutdownInstallation InstallationFiles Required for WinMux2k Driver Installation Installing the WinMux2k DriverWindows XP new desktop, not the classic desktop Deinstalling the DriverDeinstalling the Driver WindowsDevice 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 Settings for Applications Settings for ApplicationsDial-up Network Settings Fax SettingsCompiler Flags Translate Source CodeSoftware Requirements Preparing the TranslationAdditional 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 +++-ParserStandby of the Operating System Known ProblemsBooting Operating System Shutdown of the Operating SystemSpecial Environments Special EnvironmentsOperation on Virtual USB Port Automatic Shutdown in case of Emergency