MCD Elektronik 153780 Скачать руководство пользователя страница 14

Elektronik GmbH 

USB hub 3.0 6-Port, 2 Control Inputs 

Manual 

 

Page 14 of 18 

6.5.  Command Line Tool 

"USBHubCom.exe" is a small tool which allows communicating with the USB hub via command line. This tool may 
be ued in conjunction with batch files. 

The syntax is USBHubCom 

<COM port> <command>

Example: USBHubCom COM3 P03 

This switches the first two USB ports of the USB hub at the virtual COM port 3 on and all the other USB ports off. 
You can find documentation for all commands in chapter 8. 

 

 

Содержание 153780

Страница 1: ...0 info mcd elektronik de www mcd elektronik com HQ Birkenfeld Germany Managing CEO Bruno Hörter Register Court Mannheim HRB 505692 Template version 5 4 2018 04 09 V1 2 2019 01 21 MR JJ Softline Modline Conline Boardline Avidline Pixline Application Manual USB hub 3 0 6 Port Switchable 2 Control Inputs ...

Страница 2: ...ATURES 6 5 2 CONSTRUCTION 7 5 3 DISPLAY FRONT CONNECTIONS 7 5 4 DISPLAY BACK SIDE 7 5 5 PIN ASSIGNMENTS ON PARALLEL INPUT 7 5 6 FUNCTION OF THE USB PORTS 8 Operating Modes 8 5 6 1 Connection Detection 8 5 6 2 Current Measurement 9 5 6 3 Current Limitation 9 5 6 4 Host Notification 9 5 6 5 Connection Type 9 5 6 6 6 SOFTWARE MANUAL 10 6 1 PROGRAMMING INTERFACE 10 6 2 PROGRAM SETTINGS 10 6 3 USB HUB ...

Страница 3: ...ee chapter 8 This makes is possible to use the USB hub under Linux as well If the operating system does not already provide native support for USB serial converters from FTDI Linux drivers can be found at http www ftdichip com Drivers VCP htm The Toolmonitor USB hub 6 port can also be installed which provides a user interface for the control and configuration of the USB hub It communicates to the ...

Страница 4: ...y Please connect a suitable power supply to the USB hub or plug the USB card into a USB connector on your PC 4 3 Connecting the Hardware The USB hub is powered by a 12 24 VDC power supply self powered with at least 40 W output power which is sufficient for 900 mA output current on each USB port including the power supply of the hub itself Weaker power supplies can lead to functional problems due t...

Страница 5: ...igured correctly the USB ports can also be turned on and off from the parallel input If no USB host is connected to the hub input USB on the right then all USB ports are turned off or remain off The exception to this rule are pure charging ports DCP or charger emulation if a power supply is connected Only if a USB host is connected and as long as it stays connected will the ports be turned on as c...

Страница 6: ...h just one cable Alternatively supports connection of the hub to a host e g an embedded host with simultaneous control from another host such as a PC Host notification can be disabled Permits automated power on after an overload on a USB port without user intervention Parallel control input with internal pull up resistors Permits control via external control elements like switches relays open coll...

Страница 7: ... Only if no standard port SDP 5 4 Display Back Side USB hub turned on Communication between controller and PC Fuse has blown Correct cause of fault and replace the fuse 5 5 Pin Assignments on Parallel Input GND GND Port 5 Port 3 Port 1 GND GND Port 6 Port 4 Port 2 Connecting an input pin to positive voltage high level or leaving it open has the same effect The signal only changes when connected to...

Страница 8: ...he maximum possible value In this mode no USB communication is possible with the connected device Dedicated charging port connection and charger emulation can also be active without a host connected operation as a standalone charger Due to the many charging schemes some of which are manufacturer specific there can be no guarantee that battery charging will succeed with a particular mobile device a...

Страница 9: ...A should be configured The total output current can be no greater than 6000 mA If an attempt is made to configure a higher limit an error message will occur The power supply connected must be able to provide the output current and the operating power for the USB hub see technical data chapter 7 at a stable voltage of 12 V to 24 V Host Notification 5 6 5 If too much current is drawn from a USB port...

Страница 10: ...configured under Setup Options The default settings are sufficient for an initial commissioning Figure 6 Enter Program Settings Port turned off Port turned on no connected device detected if connection detection is enabled Port turned on connected device detected or connection detection turned off Port is off although it should be turned on Possible cause Excess current shutoff Connected device fe...

Страница 11: ...ich USB hubs are shown If this is zero it is automatically set depending on the size of the window Here USB ports can be given names e g the names of the connected devices In USBHub6 the number of USB hubs to be controlled can be configured New USB hubs are given the name USBHub with an incrementing number 6 3 USB Hub Configuration The USB hub can be configured using the configuration dialog This ...

Страница 12: ...correct functioning Devices that consume less than 1 mA from the USB port are frequently not detected and the port is then not released For this case connection detection can be turned off Places the corresponding port into SDP CDP DCP or charger emulation mode This function reports an excess current event to the operating system and leaves further handling to it Without this function the port wil...

Страница 13: ...ommands that can be extended and changed Commands can be sent directly to the USB hub here see chapter 8 To be able to include the command in the list it must be assigned a name The comment is optional When this button is pressed the command is executed Opens or closes the control interface to the USB hub When the interface is closed the hub is released and other applications can access the USB hu...

Страница 14: ...communicating with the USB hub via command line This tool may be ued in conjunction with batch files The syntax is USBHubCom COM port command Example USBHubCom COM3 P03 This switches the first two USB ports of the USB hub at the virtual COM port 3 on and all the other USB ports off You can find documentation for all commands in chapter 8 ...

Страница 15: ... Pin 7 bis 10 Open input corresponds to high level Mechanical Characteristics Dimensions L x W x H 105 mm x 165 mm x 38 mm Without connectors or supporting feet Fastening holes circuit board 150 mm x 50 mm Diameter 3 1 mm Connections 1 x USB B 3 0 1 x USB B 2 0 Upstream to host Optional additional control input 6 x USB A 3 0 Downstream to USB devices Port 1 is on the left Port 6 is on the right fr...

Страница 16: ...uration will be taken when the USB hub is turned on All strings are terminated with a CR ASCII 13 Command Parameters Response value Comment with prefix D Switching P 00 3F ok Bit mask of all six ports in hexadecimal A set bit corresponds to an active USB port Thus if the lowest bit is set then Port 1 is active if the third highest bit is set Port 6 is active The two top bits are unused X R P 00 3F...

Страница 17: ...be active for this 3 USB IF BC1 2 dedicated charging port DCP X R C 0 5 0 3 Read the mode 0 3 see above Port to be read X R B 0 5 0 9 Read the charger emulation currently in use Port to be read L 0 5 0 5 ok USB port to be configured Current limitation see table below If a total of 6000 mA over all ports is exceeded an error message ILim 6000 mA will be emitted and the command ignored X R L 0 5 0 7...

Страница 18: ...parallel port X Y 00 3F ok Bit mask for polarity of parallel inputs 0 active on low level 1 active on high level or open input X R SC A E H Read the selection of the control connection X R N 00 FF Read the ID for identification X R V String Version of Firmware R X 00 3F Read the priority of the parallel inputs X R Y 00 3F Read the polarity of the parallel inputs X Table Parameters for Current Limi...

Отзывы: