background image

3

The Drivers for Windows

3.3.2.7 Disable Modem Ctrl At Startup

Usually on startup the modem control signals RTS

and DTR follow the behavior of standard ports (i.e. Com1). Due to the longer timing compared
to built-in serial ports a very short enable or disable pulse on the control signals may become a
comparably long pulse on the USB serial port. Such a long pulse can cause external hardware
to malfunction. By correct configuration of the serial port application software can avoid that
problem. However since it does not appear on Com1, most software does not care about that. This
option will help to “heal” such problem.

Note that if the "Serial Enumerator" option is enabled, in the enumeration sequence Windows causes
the control signals to change. So if it is necessary to select "Disable Modem Ctrl At Startup", it is
likely that "Serial Enumerator" should be disabled.

3.4 Optimizing Data Throughput

Roughly speaking, the USB allows one operation between Host PC and attached USB device per
millisecond. This is the basic reason why the Latency (see

3.3.2.1

) can’t be shorter than 1 ms. But

there is a second effect causing slow transmissions.

Many software sends the data to the driver byte-by-byte. This is not a problem with built-in ports
like Com1. Except for extreme high transmission rates the operation time of the driver is much
shorter than the serial transmission time. So when the second and following byte are sent to the
driver, the previous bytes did not completely leave the PC and its buffers. The serial port does not
run out of data.

This is different with USB serial ports. Now matter how fast the byte is transmitted over the USB
cable (12 Mbit/s or 48Mbit/s), it takes 1 ms to send the next byte. Calculated the other way
this is 1000 byte per second, which is equivalent to 9600 bit/s. The user feels the transmission as
sluggish. Raising the serial speed does not help, since this is not the problem.

However it requires nearly the same millisecond to send one byte or more. So if the application
sends complete buffers instead byte-by-byte, the driver can send more than one byte per millisecond.
This way the USB serial port is permanently fed with work to send.

June 2009

USB-COM PRO User Manual

18

Summary of Contents for USB-2COM PRO

Page 1: ...Manual USB COM User Manual USB COM USB COM PRO USB COM PRO USB COM PRO USB COM PRO USB COM PRO USB COM PRO USB COM PRO USB COM PRO USB COM PRO USB COM PRO USB COM PRO USB COM PRO USB COM PRO USB COM...

Page 2: ...out warranty of any kind either expressed or implied including but not limited to its particular purpose Vision Systems reserves the right to make improvements and or changes to this manual or to the...

Page 3: ...16 3 3 2 Miscellaneous Options 16 3 3 2 1 Enable faster Responses 16 3 3 2 2 Serial Enumerator 17 3 3 2 3 Serial Printer 17 3 3 2 4 Cancel if Power Off 17 3 3 2 5 Event On Surprise Removal 17 3 3 2 6...

Page 4: ...on 21 16 UsbComCfg Multi Device Selection 22 17 Open Terminal Configuration 23 18 Terminal Main Menu 23 19 Exit Terminal Configuration 23 20 Show all port configurations 24 21 Change port configuratio...

Page 5: ...a bitrate of up to 3 Mbps Of course RS232 can not reliably transport very high bitrates even under best conditions 1 Mbit s is the limit As the result of the very high maximum speed the USB COM will g...

Page 6: ...isted below The Mode LED related to each port is light in a certain color to indicate the mode used Mode Comment LED RS485 4w RTS Full Duplex Transmitter controlled by RTS signal Orange RS485 2w RTS n...

Page 7: ...The modes of RS422 and RS485 allow to configure BIASing of the data lines as well as connecting 120 termination resistors between the positive and negative wire These three options can be selected pe...

Page 8: ...e Yellow per port 2 Mode On Top 3 Color Table 4 Features of VScom USB 2COM PRO Dual Port 2 2 3 VScom USB 4COM PRO Figure 4 VScom USB 4COM PRO Serial Ports 4 Connectors 4 DB9 male RS232 RS422 RS485 6 1...

Page 9: ...software and manuals Metal plates for Wall mounting or DIN Rail clips Power supply hardware if required 2 4 About this Manual This manual describes the hardware of VScom USB COM PROs as well as signa...

Page 10: ...e followed by instructions for removing the drivers in the unlikely case you wish to do this After this the configuration of the serial ports is described There is no option to configure the other dri...

Page 11: ...drivers just say No not this time to this question In the next steps select the Automatic option and click on Next and Finish as requested Windows knows about the drivers and installs all components a...

Page 12: ...PRO to a free USB port of your computer Windows will detect the new hardware and identify it as an unknown type Of course unknown only if this is the first time drivers are installed to the system Th...

Page 13: ...if the driver is saved on a CD ROM the automatic option uses a long time to search So instead select the Advanced option and click on Next Figure 10 Select appropriate driver Guide Windows to the dire...

Page 14: ...of each serial port 3 2 2 Uninstall Drivers from Classical Way First disconnect all USB COM from your system On the CD ROM or in the downloaded files find the folder named FTClean Inside this you ll...

Page 15: ...e Drivers for Windows Figure 12 USB Serial Port Properties Click on the button named Advanced to see the special configuration options They are available via panel 13 June 2009 USB COM PRO User Manual...

Page 16: ...3 3 2 1 Enable faster Responses In the middle of the left part is the section named BM Op tions The parameter Latency Timer can be reduced to 1 millisecond if there are problems with certain applicat...

Page 17: ...he attached serial device is a printer sometimes this will halt for paper feed especially for manual interaction This will cause the data flow to stop for a significant long time Enabling this option...

Page 18: ...is is the basic reason why the Latency see 3 3 2 1 can t be shorter than 1 ms But there is a second effect causing slow transmissions Many software sends the data to the driver byte by byte This is no...

Page 19: ...is not a problem because without such driver the VScom USB COM PRO can not be used anyway The configuration parameters are saved to a non volatile memory inside the USB COM PRO so configuration and us...

Page 20: ...earch when the appropriate button is clicked By clicking a device in the left pane a port in the middle pane can be selected The operation mode is then changed by the radio buttons and check boxes in...

Page 21: ...everal ports of one device at the same time This is done by the usual Windows method i e clicking with Shift or Ctrl Key pressed The selected configuration then applies to all selected ports Commit Ch...

Page 22: ...bComCfg program available when they want to reconfigure the USB COM PRO Even then the configuration is possible via the virtual serial port implemented by the driver If no driver is available on the s...

Page 23: ...hange port configurations 3 Default port configurations 4 Save port configurations 5 Show configuration file 6 Upload configuration file Figure 18 Terminal Main Menu The Main Menu appears In this and...

Page 24: ...2 0 Back 1 Port 1 2 Port 2 3 All Ports Figure 21 Change port configurations Command 2 allows to change the configuration of some ports The ports may be selected individ ually or all at once for common...

Page 25: ...rd configuration for all ports This is RS232 Termination and BIAS is disabled 4 2 5 Save Port Configurations 4 Each change in Port configuration is temporary only saved in volatile memory It needs exp...

Page 26: ...mentation The configuration of each serial port is written on three distinct lines followed by an empty line Port number and operation mode are already described The definition of the control options...

Page 27: ...as measured against the local GND of the receiver The specification of the common voltage range has been given to make the design of receiver circuits more simple and cost effective To make sure the s...

Page 28: ...r provides up to 60 mA of current in high and low level 5 4 2 Wire Scheme In many configurations a very simple cabling is required RS485 allows for so called 2 wire cabling as shown below Several devi...

Page 29: ...receive information from another device Figure 25 4 wire cabling scheme Figure 25 displays the wire pairs Tx and Rx as named for Devices 1 and 2 There are more slave devices only two of them are shown...

Page 30: ...defined by the term RS232 already The same is for the DB25 male connector Below is the signal definition for all connectors used by the USB COMs 6 1 DB9 male Usually this type of connector is used by...

Page 31: ...232 Figure 27 DB25 male RS232 6 3 Terminal Block The Terminal Block connector is designed for connecting RS422 or RS485 signals However it may be used for RS232 because the most important signals are...

Reviews: