PI 9359-1 User manual

PG-USB user manual
(english)
Art.Nr. 9359-1
Art.Nr. 9359-1.05M
14.05.2019
© PI 2019

Content
1 Description .......................................................................................................................................3
1.1 Basic circuit diagram ................................................................................................................3
2 ystem requirements ........................................................................................................................3
2.1 Operating system(s) ..................................................................................................................3
2.2 oftware ....................................................................................................................................3
2.3 Hardware ...................................................................................................................................3
3 Installation ........................................................................................................................................3
3.1 Hardware ...................................................................................................................................3
3.1.1 Extension set PG-U B ......................................................................................................4
3.2 oftware ....................................................................................................................................4
3.2.1 Driver for Windows XP .....................................................................................................4
3.2.2 Driver for Windows 98 ......................................................................................................4
3.2.3 Uninstallation of the U B driver and installation of a new version .................................6
3.2.4 Installation of the tep5 © addition driver for PG-U B/ 5-LAN + + / U B-R 232-
converter .....................................................................................................................................6
4 Control elements ...............................................................................................................................7
4.1 tatus-LEDs ..............................................................................................................................7
5 Implementing ....................................................................................................................................7
5.1 Programming software to use with direct access ......................................................................8
5.1.1 PG2000 für 5 (V5.10) .....................................................................................................8
5.1.2 IMATIC tep© 5 Manager .............................................................................................9
5.1.3 Windows Control Center (WinCC) (v6.0) ........................................................................9
5.1.4 Windows Control Center flexible 2004 (WinCC flexibel) (v5.2.0.0) .............................11
5.1.5 ProTool/Pro v6.0 P2 ......................................................................................................12
5.1.6 5 for Windows v5.02 .....................................................................................................14
6 Technical data .................................................................................................................................16
6.1 Pinning (U B) PC ...................................................................................................................16
6.2 Pin assignment TTY / 20mA current loop ..............................................................................17
7 Troubleshooting ..............................................................................................................................17
7.1 Troubleshooting ......................................................................................................................17
Handbook PG-U B Page 2 of 21

1 Descripti n
The PG-U B is an active cable for the connection of a iemens X4/X5 interface to the PC U B
port. The cable does not need any supply from the controller because it is completely supplied from
the connected PC. This supply is also be used so that the cable is active towards the controller.
1.1 Basic circuit diagram
2 System requirements
2.1 Operating system(s)
•Windows 98 + E
•Windows ME/NT/2000
•Windows XP
•Windows Vista
•Windows 7
2.2 S ftware
•PLC - programming software (eg PG2000, tep©5, 5 for Windows, WinCC)
2.3 Hardware
•U B 1.1 - Connection type A
3 Installati n
3.1 Hardware
Plug in the programming cable to the X4/X5 interface of the 5- P and with the U B-plug into
the U B port of your computer. The cables are supplied with voltage from the U B port.
Page 3 of 21 Handbook PG-U B

3.1.1 Extensi n set PG-USB
The PG-U B is active toward his control. An extension is sufficient, in which the following pins are
placed 1:1: 2-2 / 6-6 / 7-7 / 9-9. older on the shield of cables at both ends on the metal case of the
ub-D plug connector.
Cable type: 4 wires, twisted pairs, 0.25mm ² (LIYCY 2x2x0.25). Maximum length: 100m.
Order data
PG-U B Extension set: No. 9359-7 U B
3.2 S ftware
You need a corresponding programming software (eg PG2000, tep©5, 5 for Windows, WinCC)
to can work with the PLC.
You also need the PG-U B driver for Windows.
3.2.1 Driver f r Wind ws XP
1. Download the U B-driver for the product of the you known web-site. Extract the file on your
harddisc.
2. Connect your U B device to the PC and perform the now starting Windows etup Wizard in the
previously extracted folder.
3. During the installation you were asked if you want
to continue this.
Confirm this message with "Continue".
4. Once the U B driver is installed, you have on this PC a new virtual com-port. This com-port can
be viewed in the Device-Manager of your PC and then select it in your 5-application and use it.
Do you use the original iemens 5-software, then you still need to download the " 5-patch" and
also install it.
3.2.2 Driver f r Wind ws 98
Under Windows 98 in a M DO -box can not directly accessed on virtual COM ports like at XP or
2000. Because of that the installation of a driver " 5 VCOM for Win98" is necessary.
Installati n:
1.) Connect the PG-U B-cable / U B-R 232-converter to an U B port on the computer.
2) If not already done, install the drivers for the PG-U B-cable /U B-R 232-converter (This driver
allows WINDOW programs to access on the 5 control )
Handbook PG-U B Page 4 of 21

3) Test the connection optionally with the 5 controller with a Windows program (eg: PG2000 from
this CD)
4.) Then start the ETUP.EXE file on the installation CD for " 5VCOM for Win98"
5.) elect the installation path and click "Next"
6.) elect designation and location for the start menu and click on "Next"
7.) After completion of the installation, the system restarts
5 VCOM was registered in the tartup folder and will be launched at every restart.
Uninstall
1.) Under “ tart => ettings => Control Panel “ click on software
2.) elect " 5 VCOM for Win98" and click "Remove / Change"
3.) Respond with "Yes" to the question to remove the software
4.) When no longer needed at the same place can be also removed the "FTDI U B <-> erial"
driver
5.) Restart system (recommended)
Settings / Start:
After the installation and followed restarting of the computer, the 5VCOM driver starts
automatically. If an error occurs while installing or starting the driver, it will be displayed.
If properly installed, appears at the right bottom of the screen another tray icon.
On this icon you can see if the PG-U B-cable / U B-R 232-converter is recognized or not, and
whether the communication is currently running:
PG-U B-cable / U B-R 232-converter is not recognized or not plugged.
PG-U B-cable / U B-R 232-converter is detected, but it is currently not
communicated via this interface.
PG-U B-cable / U B-R 232-converter is detected and it is currently
communicating.
= sender (from computer to 5)
E = receiver (from 5 to computer)
By clicking this Tray-Icon appears a new dialog:
Under the area " tatus" is displayed via which cable is being communicated and whether there is
established a connection.
Under the area "Virtual port" on the left side is
displayed the COM port that can be used by the
Windows software, and on the right side the COM
port (IO port) is used by the M DO -box.
This must be used in the 5 software.
Depending which COM - ports are already exists, the next free COM port is used:
existing COM used by 5VCOM
Page 5 of 21 Handbook PG-U B

NO COM1 [03F8h,IRQ4]
COM1 COM2 [02F8h,IRQ3]
COM2 COM1 [03F8h,IRQ4]
COM1,COM2 COM3 [03E8h,IRQ4]
COM1,COM3 COM2 [02F8h,IRQ3]
COM2,COM3 COM1 [03F8h,IRQ4]
COM1,COM2,COM3 COM4 [02E8h,IRQ3]
Under the area "Program" the virtual COM port can be closed, the language of the program can be
changed or the program can be minimized as tray icon.
3.2.3 Uninstallati n f the USB driver and installati n f a new versi n
Download the uninstallation tool from the homepage. You can find it on the side of the product PG-
U B or U B-R 232-converter in the download menu at the "Additional Downloads".
Disconnect the cable from the PC and follow the software and the U B driver and the required
entries will be deleted. Then you can download the relevant U B drivers from the download menu
at the "Necessary Downloads" and extract this file to your hard disk. Now plug in the cable and
follow the hardware installation wizard where you point into the folder where you unzipped the
"new" U B driver. Now you can continue to work with the PG-U B or U B-R 232-converter. The
possible patch of tep5 software must not be executed!
3.2.4 Installati n f the Step5 © additi n driver f r PG-USB/S5-LAN + + / USB-
RS232-c nverter
In order to make the the PLC-VCOM furnished virtual COM interface available for iemens tep ©
5 in the DO box, must be installed this addition driver.
! Imp rtant ! PLC-VCOM must be installed before this tep © 5 addition driver. The installation
of the PLC-VCOM software is explained in the chapter „PLC-VCOM installation“ .
Before you start the installation, make sure to stop any possible still running 5 original
software, otherwise the driver can not be installed.
1. Please download from the you known web-site the " 5-patch" and extract the file on your PC.
2. Now start the application " 5U B.exe" from the previously extracted folder
3. Device selection
Now select the type of device.
elect " 5-LAN + + / PG-U B-cable / U B-R 232-
converter" and confirm with "OK".
Handbook PG-U B Page 6 of 21

4.In the next dialog, start the installation by clicking on the
"Install" button.
The installation wizard will now copy the required data.
Please wait a moment.
5. pecify the folder where the software 5 is installed. Please wait while the installation routine
searches for the 5 software version.
6. Next, select the COM port and click "OK".
7. oon as the installation is complete, you press "Finish".
8. When the "Install" button is disabled (gray font), the installation is complete.
9. Now close the wizard with "Finish".
With "Uninstall" you delete the already installed drivers.
If the COM port of the PLC-VCOM is changed afterwards, the tep5 © drivers must be
reinstalled!
Attenti n!
For the tep5 iemens software the COM port must be are between COM1 and COM4. Check and
correct it if necessary.
To do this go into the Control Panel, then into system, select the hardware tab and click the button
Device Manager. In the Device Manager under "Ports (COM & LPT)" appears the virtual COM
port "U B erial Port (COMx)".
Right click on the U B erial Port and then select "Properties" in the context menu. There you click
on the tab "Port ettings". In the next dialog you select the button "Advanced" and in the following
dialog the COM port can be selected.
Page 7 of 21 Handbook PG-U B

4 C ntr l elements
4.1 Status-LEDs
Green LED Off:: No data transmission
Green LED flashes: Computer receives data from the PLC
Yellow LED Off: No data transmission
Yellow LED flashes: Computer sends data to the PLC
5 Implementing
Connect your module as described in the chapter " Hardware installation " to the PLC and to the
programming device or to your computer.
If you want to respond to a PLC via the module you have to comply the requirements as
descript in the chapter "system requirements" . In addition,please make sure that the
module is properly connected
5.1 Pr gramming s ftware t use with direct access
After you have adjusted and connected the PLC-VCOM or the programming adapter to the COM-
port on your computer, you will be able to connect with your programming software
to the PLC and work with it.
How you have to adjust your programming software is described in the following points:
5.1.1 PG2000 für S5 (V5.10)
1. tart the PG 2000 software by using the desktop link or by using the application entry in the start
menu.
Handbook PG-U B Page 8 of 21

2. Choose from menu "View" => " 5 155U-90 ..."
In the menu “Options“ click “Interfaces“.
3. A dialog appears. In the section “Interface“
you can configure the “PLC – Interface“
(COM – Port).
4. et in the section "Bus grip" the tick "Grip
allways only one block from PLC", "FB-
names", "Bst. Info" and "check "COM-Ports"
5. ave your configuration by pressing “OK“.
6. Now the software is ready to establish a
connection to the PLC.
Click the symbol “Open“ and afterwards press
“PLC”.
Alternative you can click “File“ - “Open“ - “PLC“.
The connection between PG 2000 and the PLC is
now established.
A new window appears. Now you can edit the
blocks in the PLC.
Page 9 of 21 Handbook PG-U B

5.1.2 SIMATIC Step© 5 Manager
1. tart your IMATIC tep© 5 Manager by using the desktop link or the application entry in the
start menu.
2. in the "File" menu , in submenu
"project" you can the " etting" dialog
open.
3. In the tab "AG" configure the used PLC interface
(example: "A 511").
Below that, you can set the COM port (example: "COM3").
4. with "F3" change, the "operating
mode" to "online".
The window should display the "AG-
type"
5. The connection with the PLC is successfully established when the "operating mode" changes to
"Online."
5.1.3 Wind ws C ntr l Center (WinCC) (v6.0)
1. tart WinCC by using the desktop link or the program entry in the start menu.
2. Choose „New” in the menu „File” or click on the white („letter”) symbol to start a new project.
3. The next dialog offers you several project
types „ ingle - User Project“, „Multi - User
Project“ and „Client Project“.
The next steps are describing the „ ingle - User
Project“.
Handbook PG-U B Page 10 of 21

4. OK“ leads you to a new dialog. Type in the
„Project Name“ and the „ ubfolder“ of the
„Project Path“
With „Create“ the chosen configuration is
confirmed.
If you want to use one of the other
options, please read this further in
the manual of the WinCC software.
5. Please wait until the project is created. Afterward the project content is shown in the left part of
the main window.
6. For a proper working communication with the
PLC there must be defined how the software has
to communicate with the PLC
Therefore right click on „Tag Management“ to
open the context menu. Choose „Add New
Driver ...“.
7. In the dialog „Add new driver“ select the
driver which fits to your PLC
For a 5 PLC, you can choose the file IMATIC
5 Programmers Port A 511.chn.
If you are using a different PLC please inform
yourself which driver fits with your PLC.
Page 11 of 21 Handbook PG-U B

It is important that the chosen
driver fits with the PLC otherwise
the connection cannot be
established.
8. In the explorer you should see into the
variable manager the branch " IMATIC 5
PROGRAMMER PORT".
Expand the branch and the protocols for several
connections will appear
Right click on the desired connection „ 5-
A 511“. A context menu opens. Click on „New
Connection…”.
9. Now you are able to type in the name of the connection. With a click on „Configuration“ a new
dialog will appear.
et up the station address of the PLC (in this example „3“).
10. Confirm with "OK" until you are back to the main window.
11. Now you can with start the communication and with this end it again.
5.1.4 Wind ws C ntr l Center flexible 2004 (WinCC flexibel) (v5.2.0.0)
1. tart the WinCC flexibel 2004 software by using the desktop link or the program entry in the
start menu.
2. At first click on „Create an empty project“ in the „ tart page“.
3. In the „Device selection“mark the used
operator panel (example: „TP 170A“)
confirm with „OK“.
4. After the project has been created right click in the
project window on „Connections“ of the sub menu
„Communication“.
In the context menu click on „Add Connection“.
5. Right in the main window appears the new tab "Connections" where you are different settings
Handbook PG-U B Page 12 of 21

options.
Important for the connection are:
=> the communication driver (set up which PLC you are using
(eg: „ IMATIC 5 A 511“)
=> select the used "CPU - type" (eg " 5 95U")
=> configure the interface parameters in the section "terminal"
(eg: baud rate „9600“, Parity„even“, Data bits „8“, top bits „1“).
6. Now you can start with your work.
If you have finished work you can
transfer this project to the panel by
reading the next steps.
7. Choose „Transfer ettings“ from the
sub menu „Transfer”.
8. In the new dialog change the „Mode“ to „serial“ and set the „ tation address“ of the operator
panel (e.g. „1“). Please set the baud rate to "19200". The "Delta transfer" is not supported by the
5-LAN. Turn them so "Off".
Page 13 of 21 Handbook PG-U B

9. Press the button „Transfer“ to start communication with the terminal. Your project is about to be
transferred.
The communication with the operator terminal is so successfully established .
5.1.5 Pr T l/Pr v6.0 SP2
1. tart ProTool/Pro by using the desktop link or program entry in the start menu.
2. Choose from the menu „File“ the sub menu „New“ or click on the right symbol.
3. The next dialog askes you which operator panel
you are using.
Mark the used panel (e.g. „TP 170A“)
4. „Next“ leads you to a new dialog. Type in the
specfic fields the name of the PLC device and
choose the used PLC in the driver selection
(e.g. „ IMATIC 5 – A 511 V6.0“)
5. Via „Parameter...“ you are calling an
configuration dialog from the chosen PLC driver
elect the used "CPU type" and the "interface" to
which the terminal is connected (eg "IF1 A").
Furthermore you configure the parameters of the
interface ("type", "bits", "Parity", " top Bits",
"baud rate").
Handbook PG-U B Page 14 of 21

7. confirm with „OK“ until you got back to the „PLC election“.Go on with „Next“.
8. In the main window start the Transfer ettings dialog by clicking on „File“ „Transfer“
„ ettings...“. Coose„ eriall“ and the COM interface of the operating terminal (e.g.: „COM1“). set
the baud rate to "19200".
Confirm with „OK“.
and start with your work
If you have finished working on this project you can go on with the next steps.
9. If you want to transfer you project to the panel
you have to generate the project first. This can be
done with a click on „File“ -„Compile“.
10. To transfer the project just click on „File“
„Download“ „ tart Project Download“ or click
on the right symbol .
Please wait while the project is transferred.
The communication between the operator panel is now established.
5.1.6 S5 f r Wind ws v5.02
Page 15 of 21 Handbook PG-U B

1. tart the “ 5 for Windows” software by using the
link on your desktop or use the link in your start menu
(standard is “Programs\ 5 for Windows\ 5 for
Windows“)
2. Choose File - >Preferences... (top left in the menu
bar) to configure the communication configuration
between the computer and the PLC.
3. A new dialog appears which offers the possibility to
set up a lot of configuration data about the
communication with your PLC.
4. Choose the first registry card „Interface“ (standard) and set up the configuration data as
descriped below:
=> Interface ettings from : „PC“
=> PLC type: „ 5“
=> Protocol: „A 511 ( imatic - 5“)
=> erial Port: elect here the COM port for the AG-access
=> Baud Rate: Choose the speed you want to use at the bus
4. 5. After the software is configured , click “ elect PLC” in the area “MPI Converter“. A new
dialog appears where you can select the desired PLC
Handbook PG-U B Page 16 of 21

5. In this dialog you can see all PLC´s
which are connected to your PC.
Choose from the list box (left) the desired
station (the PLC) and confirm with "OK".
(In the example "2")
6. Close the preferences dialog by pressing
the „OK“ button.
7. Back in the main window press the „PC Block List“
button for testing the new established communication
configuration.
8. 9. Please wait a moment for the software to read the
desired blocks from the PLC. The blocks will be
displayed in the listbox below the menu bar (see
picture to the right).
The communication between the 5 for Windows and the PLC is now established.
Page 17 of 21 Handbook PG-U B

6 Technical data
upply voltage: 5V DC
Power consumption: 0,3 watt
Display: 2 status-LEDs for RXT/TXD
Interfaces:
to the PLC:
TTY/20mA current loop (PG-U B aktiv, PLC passiv)
to the PD/PC:
U B 1.1 cable type A
Operating temperature: 0 - 55°C
Case: metal case
Dimensions: 50 x 40 x 17 mm
cope of delivery:
PG-U B-cable
6.1 Pinning (USB) PC
Pin No. hort form Description Direction (cable – view)
1 Vcc Power supply (DC) In
2 D – Data line – BiDi
3 D + Data line + BiDi
4 GND Ground In
Imp rtant:
Please do not lengthen this side, this side also supports the 5V/DC power supply (max. cable length
are 5 meters)
A longer cable would decrease the quality of the signal on the bus and may cause several
errors in the transmission!
6.2 Pin assignment TTY / 20mA current l p
Pin number hort form Designation Direction
1 NC not used
2 TTY OUT - transmit data - input
3 NC not used
4 NC not used
5 NC not used
6 TTY IN + receive data + output
7 TTY IN - receive data- input
8 NC not used
9 TTY OUT + trasmit data + output
10 NC not used
Handbook PG-U B Page 18 of 21

11 NC not used
12 NC not used
13 NC not used
14 NC not used
15 NC not used
7 Tr ublesh ting
7.1 Tr ublesh ting
When trying t run the installati n appears an err r message that this s ftware is n t
executable under the perating system XP/NT/2000.
The 5VCOM driver is ONLY required for Windows 95/98/Me. The other operating systems like
Windows XP/2000 have integrated this driver in the operating system and do not need it.
A message appears that the PG-USB driver is n t installed.
The 5VCOM driver is based on the standard Windows drivers for the PG-U B-cable / U B-
R 232-cable so that needs to be installed first. Plug in the PG-U B-cable /U B-R 232-converter
into a U B port and follow the installation instructions. (The driver is on the CD)
While c pying files appears an err r message that c pying is n t p ssible.
This can have several causes. Possibly you not have enough space left on the hard disk, the program
is already installed or the tray icon is still running.
After restarting the c mputer appears a message that the Settings.ini c uld n t be pened.
In this file in the installation directory of 5VCOM driver settings are saved. This file is missing (It
is created at program end), it is write protected or you do not have write permissions for the file.
After restarting the c mputer appears a message that the driver failed t l ad and the
pr gram ended.
There was no meaningful COM port to be found, so that the driver failed to load. tart a M DO
box and type in:
„debug <ENTER>“
„d 40:0<ENTER> „
It appears a hexdump of the BIO configuration area (where the existing COM ports are displayed)
Then enter "q < ENTER >" to exit the program:
Page 19 of 21 Handbook PG-U B

In the first 4 * 2 bytes in the system stands the COM ports are known:
F8 03 COM1
F8 02 COM2
E8 03 COM3
E8 02 COM4
00 00 Empty entry (here not available)
In our case there is simply no more free COM port. When an empty entry is present, then cant be
used only the required for this IRQ.
COM1 and COM3 uses both the same IRQ4
COM2 and COM4 uses both the same IRQ3
S5VCOM uses COM3 in the DOS b x, but my S5 s ftware can nly use COM1 r COM2 (eg.:
S5 V3.02)
Try to integrate in the system the from system existing COM 1/2 interface as a COM 3/4 (possibly
by a jumper).
My Wind ws s ftware can n t access the PG-USB-cable / USB-RS232-c nverter, alth ugh this
is set in the c ntr l panel c rrectly and it w rked bef re. It appears the err r message that the
COM p rt is already ccpied r is n t accessible.
The 5VCOM driver opens this COM port to communicate about even if no M DO box is open.
The Windows program would now like to open the same COM port. This fails.
Quit the 5VCOM program (tray icon), thereafter an access from Windows is possible here, but
from a M DO box is not. By restarting the program out from the startup folder, then can be
worked under M DO again. Access under Windows and under M DO exclude each other!
It still w rks n t, th ugh the driver is l aded and the tray ic n appears.
Double click the tray icon and select from the system menu "Information about ..."
Handbook PG-U B Page 20 of 21
This manual suits for next models
1
Table of contents
Other PI Cables And Connectors manuals