Siemens 7 manual Handling of Control Lines on Virtual Ports, Limitation of Virtual Ports

Page 14

Multiplexer Driver Developer’s Guide

2.4 Handling of Control Lines on Virtual Ports

s

2.4Handling of Control Lines on Virtual Ports

Summary of control line handling.

Table 2: Virtual serial port with Multiplexer Protocol version 2

Signal

Description

 

 

RING

Read from hardware port, distributed to the first virtual port

 

 

DCD

Read from hardware port, distributed to the first virtual port

 

 

DSR

Received with Modem Status Command

 

 

DTR

Set by user, sent with Modem Status Command, initialized with 1

 

 

CTS

Received with Modem Status Command

 

 

RTS

Set by user, sent with Modem Status Command, initialized with 1

 

 

Table 3: Virtual serial port with Multiplexer Protocol version 3

 

 

Signal

Description

 

 

RING

Received with Modem Status Command

 

 

DCD

Received with Modem Status Command

 

 

DSR

Received with Modem Status Command

 

 

DTR

Set by user, sent with Modem Status Command, initialized with 1

 

 

CTS

Received with Modem Status Command

 

 

RTS

Set by user, Send with Modem Status Command, initialized with 1

 

 

2.5Limitation of Virtual Ports

Flow control can be set to RTS/CTS or DSR/DTR. XON/XOFF flow control is not supported. Hardware flow con- trol on the virtual COM ports is handled internally by the Multiplexer Protocol.

The WinMux2k driver handles neither modem nor serenum IO-control requests. The WinMux2k driver supports only 8 data bits, no parity, and one stop bit. The function IOCTL_SERIAL_XOFF_COUNTER is not supported.

The following functions return “success”, but have no effect at all:

IOCTL_SERIAL_SET_BREAK_ON

IOCTL_SERIAL_SET_BREAK_OFF

IOCTL_SERIAL_SET_XOFF

IOCTL_SERIAL_SET_XON

IOCTL_SERIAL_RESET_DEVICE

Virtual ports accept any baud rate, though the changed setting will be ignored. Calling the function Open() to a virtual port can take up to 40 seconds. It fails if the module is not connected.

Mux_Drv_DevGuide_v07

Page 14 of 36

2006-9-27

Confidential / Released

 

 

Image 14
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 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 Handling of Control Lines on Virtual PortsLimitation of Virtual Ports Module Initializing Sequence Command Response Function Associated Registry ValueModule 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 Device Settings and PropertiesSettings on the Serial Multiplexer Properties Value Data Example Properties Settings Stored in the Windows RegistrySettings Stored in the Windows Registry 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 Additional Source DocumentationInteraction of the Different Driver Objects 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