Traeger S7-USB User Manual

Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0

S7-USB user manual

Art.Nr. 9352-S7-USB
documentation of version XXX

1 Description

The MPI-USB cable connects the computer via USB with a MPI interface (9 pin interface of the PLC).

2 System requirements

Windows 98 + SE Windows ME/NT/2000 Windows XP Windows Vista Windows 7

2.2 Software

PLC - programming software (eg PG2000, Step © 7, S7 for Windows, Microwin) Direct driver for Simatic­Manager for USB PLC - VCOM Software A video description of the installation of direct-driver and how to configure it can be found on the page support!

2.3 Hardware

USB 1.1 - Type A

2.4 Provided PLCs

S7-200 S7-300 (provides baudrates up to 12M (when the PLC is able to support this) S7-400 (provides baudrates up to 12M) FM-devices Sinamix (Step7-direct-driver up V1.20 or PLCVCom up V2.71) MicroMaster and other electrical drives and inverter-feds (Step7-direct-driver up V1.20 or PLCVCom up
S7-USB user manual 1 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
V2.71) Sinumerik (only PLC-side) SEW-EURODRIVE power inverter and at last routing of S7-PLCs

3 Connecting options

S7-USB directly connected to the PC. S7-USB is connected to the PC via a USB hub. S7-USB Connection options with control terminal

4 Installation

4.1 Hardware

The S7/MPI-USB is plugged directly into the PLC. Via the USB cable of the module can be connected to the PLC as follows:
Normal installation (for programming)
The MPI cable will be connected to the S7 PLC via the 9 pin connector (short side of the cable). The USB connector on the long side of the cable will be connected with the computer.
S7/MPI-USB as HMI (Human Machine Interface) – adapter
The HMI – function provides the possibility to connect a operator panel (which has instead of a MPI interface a USB device and understands the HMI protocol) with a S7 PLC (300/400). Connect the cable between the terminal and the PLC. The HMI – protocol must be part of the operator panel.
There must be a serial communication with the operator panel if this op is new/used at the first time. Therefore connect your operator panel with the serial COM interface of your computer. After the communication has been running successfully the panel is ready to be connected to the PLC.

4.2 Software

To communicate with the PLC, please install following products for MPI-USB, S7-USB, MPI-II[only USB], MPI­LAN and S7-LAN:
Product Driver
TIA-Portal
Simatic-Manager TIC ⇒ “TIC ETH/USB” for MPI, PPI or PROFIBUS Starter-Software TIC ⇒ “TIC ETH/USB” for MPI or PROFIBUS MicroWin TIC ⇒ “TIC ETH/USB” for PPI and S7-22x-PLC MicroWin PLCVCom for S7-21x-PLC (no MultiMaster-protocol) PG-2000 PLCVCom or for S7-LAN/MPI-LAN direct in interface-settings S7 for Windows TIC ⇒ “TIC ETH/USB” for MPI or PROFIBUS over PD/PC-interface S7 for Windows PLCVCom
To communicate with the PLC, please install following products for MPI/PPI and MPI-II[only serial]:
TIC ⇒ “TIC ETH/USB” for MPI, PPI or PROFIBUS configuration of driver with control-panel ⇒ setting PD/PC-interface
Product Driver
TIA-Portal no support because Siemens has taken out the serial support in the driver “PC-Adapter”
S7-USB user manual 2 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
Product Driver
Simatic-Manager included driver “PC-Adapter” for MPI and PROFIBUS Starter-Software included driver “PC-Adapter” for MPI and PROFIBUS MicroWin included driver “PC/PPI-cable” PG-2000 Standard-function, configuration in the interface-settings S7 for Windows Standard-function, configuration in the interface-settings

4.3 USB-driver-installation for 32-bit-systems

The S7-Interface S7-USB, MPI-USB or MPI-II-Cabel over USB as well as the devices of TeleService-family will be connected to USB 1.1-compatible port of the PC. This opens the Hardware-Installation-Wizard:
We don´t need a connection to Windows update. Select now “Install from a list or specific location”:
S7-USB user manual 3 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
Enter as source the folder “..\USB-Treiber-x86”. Either in the folder where the downloaded drivers were extracted or the directory on the product CD:
S7-USB user manual 4 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
The message of windows logo test skip with “Continue Anyway”:
After copying the data appears a little moment later the success message:
S7-USB user manual 5 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
Upon a successful installation the “PI_Usb.Sys driver” will be displayed without any warnings in the device manager:
Will this entry in the device manager shown with a “yellow exclamation mark”, then please install the driver again or look in the driver properties about the reason.
If the driver has to be updated, please use the function “Update …” in the driver properties:
S7-USB user manual 6 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
If the driver has to be deleted, please use the function “Uninstall” in the driver properties:
If you install older versions of PLCVCom, Step7-direct-driver or S7IFC, the actual usb-driver will be possible overwritten by previous versions because it was included until 01/11/2012 in their install-shields!

4.4 USB-driver-installation for Win7 64-bit

The S7-Interface S7-USB, MPI-USB or MPI-II-Cabel over USB as well as the devices of TeleService-family will be connected to USB 1.1-compatible port of the PC. After the first plug of the device Win7 displays the message „Installing device driver software“ and after some time „Device driver software was not installed“. This messages could be closed. Please start the windows device manager in the control panel.
S7-USB user manual 7 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
In the device manager would be the new device shown with a exclamation mark:
With a right mouse-button-click you will open the properties of the new device:
S7-USB user manual 8 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
Now select “Update Driver…”:
S7-USB user manual 9 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
Please select “Browse my computer for driver software” and define as source the folder “..\USB-Treiber­x64”. Either in the folder where the downloaded drivers were extracted or the directory on the product CD:
After pressing “Next” the message appears of windows UAC
S7-USB user manual 10 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
Please press install and a little moment later appears the success message
To verify the successful installation, you can look again in the device manager:
S7-USB user manual 11 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
Here may appear no exclamation mark!
If the driver has to be updated, please use the function “Update driver …” in the driver properties:
S7-USB user manual 12 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
If the driver has to be deleted, please use the function “Uninstall” and set the check-box in “Delete the driver software for this device”:
If you install older versions of PLCVCom, Step7-direct-driver or S7IFC, the actual usb-driver will be possible overwritten by previous versions because it was included until 01/11/2012 in their install-shields!
S7-USB user manual 13 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0

5 Control elements

5.1 Lateral LEDs

Green LED OFF Power OFF (S7-USB is not supplied with voltage) Green LED is blinking BUS Communication Green LED is on Power ON (S7-USB is supplied with voltage) Yellow LED is OFF no error in the communication
1x Module does not come into bus 2x Participants provided with the same MPI address
Yellow LED is blinking
3x Wrong MPI baud rate is used 4x Detected parity error on the bus 5x Buffer overflow condition in module

6 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 described in the chapter “system requirements” . In addition,please make sure that the module is properly connected

6.1 Using the PLC-VCOM

(The PLC-VCOM is only needed if your module is not connected via the 9 pin COM port to the computer. For products with USB, Ethernet connection, etc., the PLC-VCOM is required)
1. Start the PLC - VCOM application (If it has not already started yet).
2. Click in the main window of the PLC-VCOM, in the status area “configure”. The configuration wizard will start.
3. It lists all the found modules / cables and the additional information’s such as IP address and MAC address of the module.
4. Choose the desired MPI cable and click „OK“ to go on.
5. If the connection is established the chosen cable is shown in the section state and on the left side you can see the status connected.
6. It also displays, the PLC-VCOM the IP address for the module and the IP address of the computer which is connected to the module.
If you have any problems with the use of PLC-VCOM software, go to the chapter PLC – VCOM and look there for operating instructions.
S7-USB user manual 14 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0

6.2 Programming software to 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:

6.2.1 PG2000 für S7 (V5.10)

1. Start the PG 2000 software by using the desktop link or by using the application entry in the start menu.
2. Choose from “View” ⇒ “S7-300/400” In the menu “Options“ click “Interfaces“..
S7-USB user manual 15 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
3. A dialog appears, in which you are able to set the “AG-Interface” (COM-port) in the section “Interfaces”.
4. Configure the baud rate in the section “Bus access“ to “19,2k“. Below change the value for PC - MPI to “187,5kBaud“.
5. Save 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“
S7-USB user manual 16 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
The connection between PG 2000 and the PLC is now established. A new window appears. Now you can edit the blocks in the PLC.

6.2.2 PSet PG/PC interface

This step is required for the following software: ⇒ SIMATIC Step© 7 Manager (v5.2 + SP1)Windows Control Center (WinCC) (v6.0)Windows Control Center flexible 2004 (WinCC flexible) (v5.2.0.0)ProTool/Pro (v6.0 + SP2)Microwin 3.2
1. Open the system configuration by using the start menu. 2. Click on „Set PG/PC interface“.
S7-USB user manual 17 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
3. A Dialog with a list box named “Interface Parameter Assignment Used:” appears. This box should offer some “PC - Adapter” entries If this is the case, please continue with the step MPI settings or Profibus
settings. If you can't find these entries go ahead with step PC-Adapter orTCP/IP installation.
6.2.2.1 PC-Adapter(Auto, MPI, PROFIBUS)
4. Click on „Choose“ to add these entries to the PG/PC interface configuration
\
5. In this dialog you can deinstall every installed construction set Furthermore you can add various modules (see “Selection”) Choose „PC - Adapter“ from the „Selection“ box on the left side and click on „Install“.
6. The chosen construction set will be installed and a question appears which asks you to use the “MPI“
S7-USB user manual 18 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
access for the PLC used. Click “Yes“ if you want to use the „MPI“communication type. Otherwise click “No“(e.g. if you want to use the “PROFIBUS“ communication type).
6.2.2.2 TCP/IP RFC1006 Communication
7. Press “Select” to add the RFC1006 required elements to the PG / PC - interface configuration.
8. In the dialog “Select”, choose“ TCP / IP” and click on “Install”.
9. After successful installation, click “Close”.
10. Back to the “Set PG/PC interface“ dialog you will now find the desired entries called “PC ­Adapter(Auto)“ (not supported), “PC - Adapter(MPI)“ and “PC - Adapter(PROFIBUS)“. Now you are able to configure the bus. If you want to use the “MPI“communication type go ahead with step MPI setting . The settings for “PROFIBUS” is explained in Profibus setting .
6.2.2.3 MPI setting
S7-USB user manual 19 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
11. Select “PC Adapter (MPI)” and click “Properties”.
12. Open the properties dialog Choose the register “Local Connection”
13. Set here the COM port.
14. You also change the “transfer rate” to “19200”.
S7-USB user manual 20 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
15. In the register card “MPI“choose the “Transmission Rate” to “187,5 kbit/s“. Change the “Highest Station Address” (HSA) to “126”.
16. Accept your settings with “OK” and exit the “PG / PC interface setting” dialog with “OK”.
6.2.2.4 Profibus setting
17. Mark the entry „PC - Adapter(PROFIBUS)“ and click on „Properties“.
S7-USB user manual 21 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
18. In the registry card “Locale connection” you have to set the COM Port. 19. Set the “Transmission Rate” to “19200”
20. Choose the registry card “PROFIBUS” and set the “Transmission Rate” to “187,5kbit/s”.
S7-USB user manual 22 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
21. Set the “Profile“ to “DP“ (“decentralized Peripherals “).
22. Save your settings by clicking the “OK“button and close the opened “Set PG/PC - interface“dialog
6.2.2.5 TCP/IP RFC1006 setting
23. For this kind of communication you only have to install the corresponding software.
6.2.2.6 ProTool/Pro RunTime (RT) Configuration
24. If you want to use ProTool/Pro RunTime you can set the “PG/PC Interface” by selecting the entry “DPSONLINE”. Therefore you have to select “Access Point of Application” and configure it as described above. The easiest way is to use the S7-LAN/MPI-LAN/MPI-USB- driver which supports USB and LAN products. The interface configuration for these programs is finished. Continue with the software which you want to use: ⇒ SIMATIC Step© 7 Manager (v5.2 + SP1)Windows Control Center (WinCC) (v6.0)Windows Control Center flexible 2004 (WinCC flexible) (v5.2.0.0)ProTool/Pro (v6.0 + SP2)Microwin 3.2

6.2.3 SIMATIC Step© 7 Manager (v5.2 + SP1)

Configure the interface as described in Set PD/PC-Interface.
S7-USB user manual 23 / 85 2019/10/05 05:07
To use one of the other options please go ahead and read in the manual of WinCC software.
5. Please wait until the project is created. The project content will be shown in the left part of the main window.
1. Click in the drop - down menu “target system” on “Display Accessible Nodes”.
2. If you can see the list with possible Bus-devices, a communication over the cable has taken place. “Direct” connected devices will be shown, also the conditions if it is an “active” or “passive” assembly.
3. In this window you can edit each assembly with his blocks.
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0

6.2.4 Windows Control Center (WinCC) (v6.0)

6. For a proper working communication with the PLC there must be defined how the software has to Configure the interface as described in Set PD/PC-Interface.
communicate with the PLC Therefore you have to right-click on “Tag Management” it opens the context
1. Start WinCC by using the desktop link or the program entry in the start menu.
menu. Choose “New Driver Connection … “.
2. Choose „New” in the menu „File” or click on the white („letter”) symbol to start a new project.
7. In the „Add new driver“ dialog select the driver which fits to your PLC For a S7 PLC choose „SIMATIC S7 Protocol Suite.chn“. If you want to use an other PLC please inform yourself first, which driver fits with your PLC.
It is very important that the selected driver fits with the PLC otherwise the connection cannot be
3. The next dialog offers you several project types “Single-User Project”, “Multi-User Project” and “Client
established.. Project”. The next steps are the describing for the “Single- User Project”.
8. You should see now in the Explorer under the branch “Tag Management” the branch “SIMATIC S7 PROTOCOL SUITE”. Expand the branch and many protocols for various compounds will appear. The General way of proceeding a new connection is to: Right-click on the desired connection (MPI - > Picture: “MPI“, TCP/IP - > Picture: “TCP/IP“). A context menu opens. Click on „New Driver Connection…”. This manual describes the connection configurations for MPI and TCP/IP
MPI
4. “OK” leads you to a new dialog. Type in the “Project Name” and the “Subfolder” of the project path. The chosen configuration is confirmed with “Create”.
S7-USB user manual 24 / 85 2019/10/05 05:07
TCP/IP
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
6.2.4.1 MPI Configuration
9. Now you are able to type in the name of the connection. With a click on “Configuration“ a new dialog will appear. Now you are able to set the properties of the connection. Set up the station address of the PLC (in this example “2“). Confirm with “OK” until you are back to the main window. Read further ”Communication and fault diagnosis “ .
S7-USB user manual 25 / 85 2019/10/05 05:07
Söllnerstr. 9 92637 Weiden info@traeger.de +49 (0)961 48 23 0 0
6.2.4.2 TCP/IP Configuration
10. A dialog appears where you can configure the connection parameters. Set up the IP - Address of the module and configure the rack number as well as the slot number. Confirm this configuration by clicking “OK”. Example configuration: IP - address 192.168.1.55 Rack - Number: 0 Slot - Nr.: 2
11. With a right-click on the new connection you can start the properties dialog. In this dialog please click on properties.
12. In this “Channel unit properties” you are able to see all “available connections”. Choose the latest created connection and click again on „Properties”. Now you can see all the variables which has been created for this connection. In fact this connection is a new connection so there should not be any variable in the list. To add a new variable click on „New”.
13. Now you are able to set up the name of the variable and different more properties. In our example, we assign the following values: Name: „S7LAN_MW0“ Data type : „unsigned 16 - Bit value“ Length: „2“ Address: „MW0“ Format adaptation: „WordToUnsignedWord“ Click on „Choose” beside the Address to define the address from the variable. Example configuration: The data area from the variable is set to „Mark“ and the address is set to „Word”. The edit box „MW“ is set to „0”.
14. Confirm all open dialogs with „OK“ until you reach the main window.
15. The connection needs to know which network interface card it should be used to send data via the
S7-USB user manual 26 / 85 2019/10/05 05:07
+ 59 hidden pages