If you wish to exchange a line or graphics operator panel, which is connected to a SIMATIC S5 controller via a PROFIBUS DP link, for a Windows-based operator panel, this necessitates the program changes described below.
This example describes which settings need to be taken into consideration when exchanging an "OP25" for an "MP 277 Key". The S5 controller is an S5 115U / CPU 944A.
This also applies to the following line and graphics operator panels:
TD10, TD20 and OP20 (PROFIBUS DP interface module and
firmware memory module.)
OP5 and OP15: the OP5/A2, OP15/A2 or OP15/C2 versions of the operator panel.
OP7: the OP7/DP or OP7/DP–12 versions of the operator panel.
OP17: the OP17/DP or OP17/DP–12 versions of the operator panel.
OP25/35, OP27/37 and TP27/37.
Make a backup copy of your configuration before making any changes to your project.
Open your COM PROFIBUS configuration.
Take a note of the settings of the HMI station(s) - in particular the
I/O addresses, as well as the PROFIBUS address which has been used.
Changing the operator panel and assigning addresses
Once you have taken note of all the settings, delete the "old" HMI station (OP25).
Then insert the "new" HMI station (MP277).
Insert a module into the "new" HMI station, in this case "class B tiny".
Enter the addresses of the "old" HMI station into the "new" HMI station.
Use the "Auto addressing" function to have the assignment of the I/O addresses added automatically.
This concludes the configuration changes on the COM PROFIBUS side.
The data now still has to be transferred to the IM module.
Adding GSD files If the replacement operator panel is not listed in your COM PROFIBUS software, you can add the missing GSD file afterwards.
The relevant GSD file is to be found in the installation directory*) of WinCC flexible, e.g. under "C:\Program Files\Siemens\SIMATIC WinCC flexible\WinCC flexible Support\PlcProg\GSD".
This is the "Siem813F.gsd" file for the MP 277. You can open the separate GSD files with a text editor, e.g. Notepad. The operator panels for which this GSD file is valid are listed in the header.
Copy the GSD files to the COM PROFIBUS folder, for example: C:\Siemens\CPBV51\gsd\ ....
Then open the COM PROFIBUS software.
The new GSD files are read in and updated in the "File > Read in GSD files" folder.
*) Alternatively you can download the GSD files for SIMATIC panels in Entry ID: 39329178 .
Basics You need to make program changes on the S5 side.
Here is a summary of the essential differences.
Graphics operator panel:
FB58 -- Standard FB (TDOP:DP)
DB51 -- Interface DB (length 256DW)
DB52 -- Communication DB (DB-ZU, min. length 16DW)
Windows-based operator panel:
FB158 -- Protocol processing
FB159 -- Copies data to/from the memory
DB58 -- Free DB, main memory for FB158 (free DB with 11 data words in length. This DB can be used by the user from the eleventh data word.)
The following communication manuals contain detailed information about the structure of the FBs and DBs used:
SIMATIC HMI Communication for Line and Graphics Systems - Entry ID 1137086
SIMATIC WinCC flexible ES Communication Part 1 - Entry ID 18797552
S5 program changes: If you replace a line or graphics operator panel with DP link with a Windows-based operator panel, the following blocks are no longer required.
The following blocks are required for communication with a Windows-based operator panel with DP link.
DBxx (free DB with 11 data words in length. This DB can be used by the user from the eleventh data word.)
FB158 and FB159 are installed together with WinCC flexible.
You can find the S5 file in the installation directory of WinCC flexible, for example, at: C:\...\Siemens\SIMATIC WinCC flexible\WinCC flexible Support\PlcProg\SimaticS5\DEU\ag...
Open the appropriate S5 program file (depending on which CPU you use) and copy the FB158 and FB159 blocks to your configuration.
Calling FB 158 FB 158 must be called in the cyclic program, e.g. OB 1, with the following parameters:
PERA: I/O start address, must match the configuration in the COM PROFIBUS.
BLEN: Block length - not in AG (PLC) 95U (only supports tiny)
CADB: free DB, serves as a main memory for FB 158. The first 11 words of the DB are used by FB 158 to save data temporarily. This DB can be used by the user from the eleventh data word.
The block length must match the configuration in WinCC flexible (Controller > Parameters).
0=tiny has been selected as the block length in our example (see Fig. 02).
Sample call for FB 158:
:SPA FB 158
PERA :KF 128
BLEN :KF 0
CADB :DB 58
Multiple FB 158 calls:
When using multiple operator panels, the FB must be called for each operator panel once.
Calling FB 159: FB 159 is only transferred to the PLC.
FB 159 may not be called by the user in the actual S5 program.
This concludes the changes which are required for communication.
Configuring WinCC flexible:
Converting projects When using WinCC flexible, you can convert "text devices" and "graphics devices" into a Windows-based system.
You can convert provided the project does not exceed the system limits for the Windows-based operator panel.
Detailed information on the topic of "Migration" is available in the Online Help of WinCC flexible under "Help > Contents > Getting Started > Migration".
Refer to the following table to find out which operator panel you should prefer with a view towards achieving an optimum result for the conversion.
Converting OP25 --> MP277
Before converting the project, open "OP25 Project" under ProTool and change the protocol from "SIMATIC S5 L2-DP" to "SIMATIC S5 - AS511". Close the project and terminate ProTool.
Open WinCC flexible and select the option "Open ProTool Project".
Select the ProTool project to be converted and click on the "Open" button. The Migration Wizard starts.
In the course of the migration you enter the target device to which the ProTool project is to be migrated.
See Fig. 07 for which panel you should choose. You can also use a different operator panel.
After converting the project, go to "Communication > Connections" and change the communication driver from "SIMATIC S5 - AS511" to "SIMATIC S5 - DP".
Then check the settings under "Parameters".
The settings must match the settings saved in the COM PROFIBUS configuration.
A few points are summarized below which you should perform or check before and after converting a project.
The "Interface area" pointer is divided into three area pointers in Windows-based systems: ""Coordination", "Job mailbox" and "Date/time".
This split serves to simplify data exchange between the operator panel and the controller. Following conversion you have to insert the new area pointers into the target project and set up the source project accordingly.
The transfer of S5 time values (timer data type) to the controller is implemented in the operator panels via various time bases.
Line / graphics operator panels: S5 time has a time base of seconds.
Windows-based operator panels: S5 time has a time base of milliseconds.
When a line/graphics operator panel is converted into a Windows-based operator panel with integrated timer variables, the time bases for the timer variables change from 1s in the case of a line/graphics operator panel to 10 ms in the case of a Windows-based operator panel.
The entry of 1 s for a graphics operator panel corresponds to 10 ms for a Windows-based operator panel.
In order to create a time base of 1 s for a Windows-based operator panel as well, a conversion with a factor of 100 has to be set up for all timer variables.
Keywords: RMOS operator panel, Panel
How is the connection between a Windows-based panel and a SIMATIC S5 set up?
Instructions: SIMATIC HMI Windows-based panels do not possess a TTY (20mA) interface which is needed for communication with a SIMATIC S5 PLC.
The MP 370 operator panel possesses a TTY interface. Furthermore, the interface can be switched between V24 and TTY on a panel PC in the BIOS.
For all other Windows-based panels you need an adapter (9-pin female to 25-pin male) and an RS232/TTY converter cable for connecting to a SIMATIC S5.
The AS511 driver is no longer available for some operator panels for connecting to a SIMATIC S5 controller.
The latest information about which devices support the AS511 driver is available in the Online Help of WinCC flexible and ProTool, in the relevant manual of each operator panel, in the communication manual and in the ST80 catalog.
Below is an excerpt from the WinCC flexible Online Help.
There are two possible options:
Option 1: for a maximum distance of 3.2 meters
Siemens TTY/RS232 converter cable and an adapter (9-pin female to 25-pin male)
Siemens TTY/RS232 converter cable
PLC 15-pin / PC 25-pin
ELV V24-20mA interface converter, ready-made device
Do-it-yourself instructions and description are available for downloading in a PDF file from the supplier.
For connecting the ELV interface converter to the SIMATIC S5 you need an adapter cable (ELV interface converter Sub-D 25-pin male connector to S5 PLC Sub-D 15-pin male connector) wired according to the following pin assignment:
ELV interface converter
25-pin Sub-D male connector
PLC / IP / CP
15-pin Sub-D male connector
+ 20 mA
< jumper from
pin 11 to pin 18
< jumper from
pin 18 to pin 11
< to >
TTY IN +
< to >
TTY IN -
+ 20 mA
< to >
TTY OUT +
< to >
TTY OUT -
< jumper from
pin 10 to pin 14
< jumper from
pin 14 to pin 10
Connecting a Windows-based panel to an IM308C (SIMATIC S5) via PROFIBUS DP
Configuration Notes: You can find detailed information about the topic of communication in association with WinCC flexible and the different types of interface in the "Communication User Manual".
The manual provides an overview of the possible types of interfaces between the operator panels and the different controllers.
Depending on which controller is used, it contains a brief description of the essential features of the individual types of interface and the corresponding type of connector. The individual chapters describe each type of interface in greater detail with connection-specific configuration notes.
For example, the Communication User Manual describes
The configuration and function of the individual user-data areas.
The different types of interface between the operator panel and the controller.
The requisite measures which have to be performed in the controller program.
Interface possibilities for the SIMATIC S5 / S7 controllers.
The descriptions apply to operator panels which are configured using WinCC flexible.
You can find instructions/descriptions relating to the points listed below, for example:
possible from WinCC flexible 2005 SP1 and the SINUMERIK V6.0 SP1 options package
only supports transfer
Note: The type of interface is dependent upon the version of the configuration software, the relevant controller, as well as upon the type and image version of the operator panel! Some communication systems (controllers) and operator panels do not support all the types of interface which are listed in the table (e.g. OP77A does not possess an Ethernet interface). You can find further information in the Help system for WinCC flexible or in the relevant manual.
Communication manuals (ProTool) to download:
Manual for Windows-based systems, Part 1