Device Description HG G-84300ZC | English, Revision 08 | Date: 28.05.2020
14
Chapter 5 – Configuration via USB
5
Configuration via USB
5.1 USB Interface
The 5 pin connector X1 can be used to establish a connection with a PC. The PC
needs to have a USB interface.
Figure 6
Connection example: USB connection with a PC
Götting offers the optional
connection box M12-5-8-USB
HG G-20960 that can be
used to interconnect the Gyro and the PC. The box allows to connect the gyro using
standard M12 cable.
You can find more information on the connection box at
http://goetting-agv.com/components/20960
The USB chip in the Gyro is addressed as a virtual serial interface (virtual COM Port).
Thus devices with USB interfaces can be configured using the same terminal pro
-
grams (see below) that are used for RS 232 connections. Usually the virtual COM
Port driver is installed automatically in current versions of Microsoft® Windows®.
If the Gyro is not automatically detected as a virtual COM port after establishing the
connection the STM32 Virtual COM Port Driver (STSW-STM32102) has to be in
-
stalled manually.
The driver may be downloaded from the following address:
http://www.st.com/en/development-tools/stsw-stm32102.html
5.2 Terminal Program
Every compatible terminal program
that supports the ANSI emulation
can be
used. Examples are HyperTerminal® and Tara Term®. HyperTerminal used to be part
of the scope of supply of earlier versions of Microsoft® Windows®. Additionally it
can be downloaded from the following address:
https://www.hilgraeve.com/hyperterminal/
Start the terminal program on the PC and connect the Gyro with the PC (see above).
As soon as the connection is established successfully the Gyro‘s main menu accord
-
ing to section 5.3 on page 15 appears in the terminal program.
Usually the port COM1 is used for the connection. This depends on the configuration
of the PC‘s interfaces. If another port is to be used then adjust it as follows (Hyper
-
Terminal®):
USB adapter
(to be tailored
by the customer)
All other pins:
Do not connect
X1
Gyro
Computer (e.g. PC
or Laptop) with
USB interface
1
1
1
Ub (+24V)
Typ A
Typ B
D+
D+
D-
D-
GND
GND
2
2
2
3
3
3
4
4
4
1
2
3
4
5
1
2
3
4
5
+
–
External voltage supply