SlideShare a Scribd company logo
Date: 04/22/14
File: a_dSwincc03e.1
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Creating a Project, Coupling a PLC, and Tag Simulation 1
Date: 04/22/14
File: a_dSwincc03e.2
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Creating a Project, Coupling a PLC, Variable Simulation 2
Date: 04/22/14
File: a_dSwincc03e.3
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Objectives
- Creating a Project
- Installing Communication Drivers
- Configuring Tags
- Tag Simulation
- Cross Reference
Date: 04/22/14
File: a_dSwincc03e.4
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Configuration Preparation
- Programmable Logic Controllers
- Type of Coupling
- Process Tags
Date: 04/22/14
File: a_dSwincc03e.5
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Creating a Project
SIMATIC NET
PLC
Office PC or
Industrial PC
Date: 04/22/14
File: a_dSwincc03e.6
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
WinCC Project Structure and Files
-Configured Screens (.pdl, .sav)
-Screen Files (.bmp, .emf, .wmf)
-Action Lists (.act)
-Project Functions (.fct)
-Project Library (.pxl)
-Function Declarations (.h)
-Function Library (.dll)
-DBASE Archives of
Tag Logging (.dbf)
-Report Layouts (.rpl)
-Cross Reference List (.xfc)
-Project Actions (.pas)
A project database without Runtime data (for >=V.5 + SP2, WinCCRT_7.DB) can be found in the WinCC
installation directory. Copy this into your project directory and rename the file --> ProjectnameRT.DB. Then,
delete the database Logfile.
-Database with the
Runtime Data
-Internal Data Manage-
ment from the Cross
Reference
-Main File of the Project
-Database Log File
-Database with
Configuration Data
Date: 04/22/14
File: a_dSwincc03e.7
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Interchanging between Projects
Project name. MCP
Date: 04/22/14
File: a_dSwincc03e.8
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Specifying Project Properties
V 5.1
Date: 04/22/14
File: a_dSwincc03e.9
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Computer Properties
Date: 04/22/14
File: a_dSwincc03e.10
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Function Modules within WinCC 1/2
Project(name) with
- Computer
- Tag Management
- Structure Types
Editors
- Graphics system
- Message system
- Measured value
acquisition and
archiving
- Report system
- C-Programs and
actions
- Text library
- Password protection
- Cross Reference
Nodes for
displaying/hiding
the levels
WinCC hierarchical tree structure
Deactivate
Activate
Date: 04/22/14
File: a_dSwincc03e.11
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Function Modules within WinCC 2/2
Editors
- Graphics system
- Message system
- Measured value
acquisition and
archiving
- Report system
- C-Programs and
actions
- Text library
- Password protection
- Cross Reference
-Options
Date: 04/22/14
File: a_dSwincc03e.12
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Task Definition
Start picture
17.02.96 11:15:45
SIMATIC WinCC
Motor picture Bottling plant Trends
Alarm Logging
-
Messages
M
Setpoint speed
Actual speed
Data Management
Reports
Date: 04/22/14
File: a_dSwincc03e.13
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Tags for the Process Connection
M
Setpoint speed
Actual speed
Motor 1 defective
Valve 3 sticks
...
Process Image
Process Function
Coupling
e.g. DB,DW for SIMATIC
10
11
12
13.0
20
30
35
40.0
40.1
Message events
SIMATIC S7
SIMATIC S5
SIMATIC 505
Other drivers
Archive
Date: 04/22/14
File: a_dSwincc03e.14
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Data Exchange SIMATIC S5/S7
DB20
DW10 KF=190
DW11 KF=95
Programmable Logic Controller WinCC Station
Actual value 190
Setpoint value 95
Actual speed
DB20,DW10
Setpoint speed
DB20,DW11
Digital output
Digital input
Image
LAN
MPI
Date: 04/22/14
File: a_dSwincc03e.15
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Data Exchange SIMATIC 505
V010
=190
=95
Programmable Logic Controller WinCC Station
Actual value 190
Setpoint value 95
Actual speed
V010,
Setpoint speed
V010,
Digital output
Digital input
Image
LAN
MPI
Date: 04/22/14
File: a_dSwincc03e.16
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Installation of the SIMATIC Device Drivers (S7-DOS)
Date: 04/22/14
File: a_dSwincc03e.17
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Communication Structure
S7-DOS Driver
CP5611
S7-300
MPI
Lab Station:
PLC
(e.g. SIMATIC S7-300 withCP 342)
Communication processor
(e.g. CP 5613)
Hardware driver
(e.g. S7-CP 5613)
Channel unit
(e.g. PROFIBUS)
WinCC communication drivers
(e.g. SIMATIC S/-Protocol Suite)
WinCC Data Manager
WinCC Application (Graphics RT,
Alarm Logging RT, Tag Logging RT, etc.)
Date: 04/22/14
File: a_dSwincc03e.18
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Selecting Communication Drivers for the Connection
A)
B)
Date: 04/22/14
File: a_dSwincc03e.19
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Exercise: Creating a Project, Configuring the PLC Connection 1
- We will configure the tags for this connection in the next exercise.
Name of the
communication
connection
Always 0 for
integrated MPI
interface.
Date: 04/22/14
File: a_dSwincc03e.20
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Status of the Connection
Date: 04/22/14
File: a_dSwincc03e.21
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Connection Diagnostic with SIMATIC S7 (*.LOG)
C:SiemensWinCCDiagnoseSIMATIC_S7_PROTOCOL_SUITE_01.LOG
Date: 04/22/14
File: a_dSwincc03e.22
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Quality Code
WinCC has to be in Runtime in order to display the Quality Code.
Date: 04/22/14
File: a_dSwincc03e.23
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Exercise: Creating a Project, Configuring the PLC Connection 2
Project name
SIMATIC TI driver
Name of the
communication
connection
Date: 04/22/14
File: a_dSwincc03e.24
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Configuring Process Tags for SIMATIC S5/S7
Note
Use of S7 symbols (TIA)
is possible as of WinCC V5.
Date: 04/22/14
File: a_dSwincc03e.25
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Configuring Tags for SIMATIC 505
Date: 04/22/14
File: a_dSwincc03e.26
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Exercise: Configuring Process Tags and Tag Groups
Configuring Tag Groups
Name of the 1st. group: motor_picture
Name of the 2nd. group: bottling_plant
Name of the 3rd. group: measurement_points
Name of the 4th. group: message_events
Configuring Tags For SIMATIC S7
Name Data Type Address
P_signal0 binary tag DB20.DBX16.0
P_signal1 binary tag DB20.DBX16.1
P_event1 unsigned 16-bit value DB20.DBW12
P_trend_1 signed 16-bit value DB20.DBW6
P_IVar_Mess signed 16-bit value DB20.DBW8
P_Tank1_IB0 unsigned 8-bit value IB0
P_Tank2_QB0 unsigned 8-bit value QB0
P_setpoint_speed signed 16-bit value DB20.DBW10
P_actual_speed signed 16-bit value DB20.DBW14
P_switch1 binary tag DB20.DBX16.2
P_motor1 binary tag DB20.DBX16.3
Date: 04/22/14
File: a_dSwincc03e.27
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Configuring Internal Tags
Shortcut menu
Date: 04/22/14
File: a_dSwincc03e.28
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Exercise: Configuring Internal Tags and Tag Groups 1
Configuring Tag Groups
Name of the 1st. group: I_motor_picture
Name of the 2nd. group: I_bottling_plant
Name of the 3rd. group: I_measurement_points
Name of the 4th. group: I_message_events
Configuring Tags For SIMATIC S7
Name Data type
event1 unsigned 16-bit value
...
...
trend_1 signed 16-bit value
IVar_Mess signed 16-bit value
...
...
setpoint_speed signed 16-bit value
actual_speed signed 16-bit value
switch1 binary tag
motor1 binary tag
Date: 04/22/14
File: a_dSwincc03e.29
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Exercise: Configuring Internal Tags and Tag Groups 2
Configuring Tag Groups
Name of the 1st. group: TI_motor_picture
Name of the 2nd. group: TI_bottling_plant
Name of the 3rd. group: TI_measurement_points
Name of the 4th. group: TI_message events
Configuring Tags For SIMATIC505
Name Data type
TI_event1 binary tag
...
...
TI_trend_1 signed 16-bit value
TI_IVar_Mess signed 16-bit value
...
...
TI_setpoint_speed signed 16-bit value
TI_actual_speed signed 16-bit value
TI_switch1 binary tag
TI_motor1 binary tag
Date: 04/22/14
File: a_dSwincc03e.30
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
"Cross Reference" (Cross Reference List 1/2)
Cross Reference Lists
Filter
Editor
Internal Data Management
WinCC Data
.XFS
.XFC
...
Date: 04/22/14
File: a_dSwincc03e.31
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
"Cross Reference" (Cross Reference List 2/2)
Filter
Linking
Place of Use
Update
Update Data Management and View
Update Data
Management
Export *.CSV
Call
Date: 04/22/14
File: a_dSwincc03e.32
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
SmartTool: Script Converter
Date: 04/22/14
File: a_dSwincc03e.33
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Tag Simulation 1/2
Simulation software on WinCC CD
Testing functions with internal and process tags.
Process tags can only be simulated if the communication
connection to the PLC has been made. Since the tag value in
the PLC can be changed by the simulation, you have to
take the necessary precautions (such as separating the load
current circuits).
- Sine
- Oscillation
- Random numbers
- Increment
- Decrement
- Slider
Date: 04/22/14
File: a_dSwincc03e.34
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Tag Simulation 2/2
Call
Date: 04/22/14
File: a_dSwincc03e.35
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
WinCC Communication with S7 Protocol using MPI to S7- 300/400
DB20
DW10 KF=190
DW11 KF=95
Programmable Logic Controller WinCC Station
Actual value 190
Setpoint value 95
Actual speed
DB20,DW10
Setpoint speed
DB20,DW11
Digital output
Digital input
Image
MPI
Date: 04/22/14
File: a_dSwincc03e.36
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Communication Components
On the PLC side
CP CP Software
MPI interface of the CPU -
On the PG/PC side
CP CP
Software
CP 5611 (S7 DOS from WinCC)
SIMATIC Device Drivers
On the WinCC side
WinCC Channel DLL Core / Option
S7 Protocol Suite - MPI Core
Date: 04/22/14
File: a_dSwincc03e.37
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Procedure
1) Hardware Check of the WinCC computer
for example, Interrupt 11
2) Installation of the CP5511 card according to the product
information
3) Configuration on the WinCC side, see Page 18.
4) Configuration in the SIMATIC CPU.
No communication programs are necessary here.
Date: 04/22/14
File: a_dSwincc03e.38
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Installation of the CP5511 Card in the PC
Date: 04/22/14
File: a_dSwincc03e.39
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Installing Modules
Date: 04/22/14
File: a_dSwincc03e.40
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Windows NT Diagnostics
Date: 04/22/14
File: a_dSwincc03e.41
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Determining Interrupts
Date: 04/22/14
File: a_dSwincc03e.42
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Determining Memory Area
Date: 04/22/14
File: a_dSwincc03e.43
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Specifying Properties of the CP5611 Card
Date: 04/22/14
File: a_dSwincc03e.44
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
S7 Variable Table for Monitoring and Modifying
Date: 04/22/14
File: a_dSwincc03e.45
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Connection Status: Example of the Get/Set Tag State 1/2
0x0001 No connection to the partner is established
0x0002 Protocol error
0x0004 Network module is defective
0x0008 Configured upper limit exceeded
0x0010 Configured lower limit exceeded
0x0020 Format limit exceeded
0x0040 Format limit exceeded
0x0080 Conversion error
0x0100 Initialization value of the tags (Start value)
0x0200 Substitute value of the tags
0x0400 Addressing error in the channel
0x0800 Tag not located or non existent
0x1000 Tag access not permitted
0x2000 Timeout, no response from channel
0x4000 Server not available
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BOOL SetTagDWordState (Tag Tag_Name, DWORD value, PDWORD lp_dwstate)
DWORD GetTagDWordState(Tag Tag_Name, PDWORD lp_dwstate);
Example:SetTagDWordState ("P_Variable1", 100, &Status);
GetTagDWordState ("P_Variable2", &Status1);
the returned bit register can be analyzed according to the following schematic.
Search term: Variablenstati
Date: 04/22/14
File: a_dSwincc03e.46
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Connection Status: Example of the Get/Set Tag State 2/2
0000000000000000 0
Configuration:
-Properties/ I/O field/ output/input/
output value/ dynamic/ C-Action:
int var1,var2;
unsigned long var3;
var1 = GetTagWordState("wert1",&var3);//address
SetTagWord("i_lp_dwatate",(WORD)var3);//content
var2=GetTagWord("i_lp_dwatate");
if(var2!=0) { //!means unequal
SetVisible(lpszPictureName,“PictWindow1",1);
}
else {
SetVisible(lpszPictureName,“PictWindow1",0);
}
return(var1);
Type O
Configuration:
-Properties/ I/O field/ output/input/
output value:i_lp_dwatate
no Connection
Configuration:
-Static text/ colors/ fill pattern color/
dynamic/ C-Action:
int var1,var2;
var1=GetTagWord("i_lp_dwatate");
var2=var1&0x0001;
if(var2==0) {
SetBackColor(lpszPictureName,
lpszObjectName,CO_GREEN);
}
else {
SetBackColor(lpszPictureName,
lpszObjectName,CO_RED);
}
return(var1);
Type O
Date: 04/22/14
File: a_dSwincc03e.47
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
SIMATIC NET Ethernet, Communication to SIMATIC S5
DB20
DW10 KF=190
DW11 KF=95
Programmable Logic Controller WinCC Station
Actual value 190
Setpoint value 95
Actual speed
DB20,DW10
Setpoint speed
DB20,DW11
Digital output
Digital input
Image
SIMATIC NET
Industrial Ethernet
Date: 04/22/14
File: a_dSwincc03e.48
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
TIA Functionality, Mapping Tags
Step7 WinCC
Communication (Mapping)
Database Database
STEP 7
Symbol Table WinCC Tag Management
Data Block
Date: 04/22/14
File: a_dSwincc03e.49
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Creating an OS (Operator Station)
Date: 04/22/14
File: a_dSwincc03e.50
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Creating a Symbol Table, Generating a Data Block 1/2
Mapped tags from the
view of WinCC
Date: 04/22/14
File: a_dSwincc03e.51
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Creating a Symbol Table, Generating a Data Block 2/2
Date: 04/22/14
File: a_dSwincc03e.52
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Creating an S7 Program
Date: 04/22/14
File: a_dSwincc03e.53
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Generating PLC/OS Connection Data (Mapping)
Error Log after mapping
Date: 04/22/14
File: a_dSwincc03e.54
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Transferring (Mapping) Data from Step7 to WinCC 1/2
Symbols from the S7 Symbol Table
Date: 04/22/14
File: a_dSwincc03e.55
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Transferring (Mapping) Data from STEP 7 to WinCC 2/2
Symbols from the data block
Select
Date: 04/22/14
File: a_dSwincc03e.56
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Mapped Symbols in the WinCC Explorer
S7-Programm(1)/DB11.Slip_Speed1 Signed 16-bit Value DB11,DW10
1
2 3
Date: 04/22/14
File: a_dSwincc03e.57
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Mapped Symbols for Tag Connection
Date: 04/22/14
File: a_dSwincc03e.58
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Automatic Mapping in the Background
Drag&Drop
Date: 04/22/14
File: a_dSwincc03e.59
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
TIA: Ladder Rung Jump with Writing Authority in STEP7
STEP7:
Linking STEP7 block.
WinCC call from STEP7
WinCC:
Block call from
WinCC pictures
directly to STEP7
program
Create User with the function
“STEP7 Writing Authority“
Date: 04/22/14
File: a_dSwincc03e.60
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Generating Reference Data for Ladder Rung Jump
Necessary for
ladder rung jump
from WinCC
Date: 04/22/14
File: a_dSwincc03e.61
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
Ladder Rung Jump to STEP 7
Date: 04/22/14
File: a_dSwincc03e.62
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
"Show Picture" Return to WinCC
Shortcu
t
menu
Date: 04/22/14
File: a_dSwincc03e.63
SIMATIC S7
Siemens AG 2000. All rights reserved.
SITRAIN Training für
Automatisierungs- und Antriebstechnik
TIA Functionality, Hardware Diagnosis from WinCC Pictures

More Related Content

PPT
A d swincc01e
PPT
A d swincc03_create_project_pt
PPT
Ch2 v70 config_overview_en
PPT
A d swincc14e
PPT
Ch4 v70 system_configuration_en
PPT
Ae01 system overview
PPT
Pollo con papas estilo sonora tampiqueña.ppt
PPT
Ch9 v70 multiproject_en
A d swincc01e
A d swincc03_create_project_pt
Ch2 v70 config_overview_en
A d swincc14e
Ch4 v70 system_configuration_en
Ae01 system overview
Pollo con papas estilo sonora tampiqueña.ppt
Ch9 v70 multiproject_en

Similar to adswincc03e-phpapp01_tutorial_introduction.pdf (20)

PPT
Ch8 v70 os_en
PPT
Mole de olla para principiantes en cocina.ppt
PPT
A d swincc04e
PPT
S7-300 PLC PRESENTATION FOR ENGINEERS AND TECHNICIANS
PDF
Ch2 v70 config_overview_en
PPT
Ch7 v70 scl_en
PDF
Ch4 v70 system_configuration_en
PPT
Ch3 v70 project_structure_en
PPT
E client server_wincc60engl
PDF
Ch3 v70 project_structure_en
PPT
Ch5 v70 cfc_en
PPT
A d swincc11e
PDF
Sce guide trainer_pakete_en_without_prices
PPT
Ae02 system projecthandling
PPT
Ch1 1 v70_system_overview_en
PPT
S7 bas-16
PDF
Tài liệu hướng dẫn về TIA Portal lệnh và cấu hình. DE_TIA-PRO2_EN_01_V130100.pdf
PDF
Ch1 1 v70_system_overview_en
PDF
1 familia simatic s7
PDF
Siemens s7 300 programming
Ch8 v70 os_en
Mole de olla para principiantes en cocina.ppt
A d swincc04e
S7-300 PLC PRESENTATION FOR ENGINEERS AND TECHNICIANS
Ch2 v70 config_overview_en
Ch7 v70 scl_en
Ch4 v70 system_configuration_en
Ch3 v70 project_structure_en
E client server_wincc60engl
Ch3 v70 project_structure_en
Ch5 v70 cfc_en
A d swincc11e
Sce guide trainer_pakete_en_without_prices
Ae02 system projecthandling
Ch1 1 v70_system_overview_en
S7 bas-16
Tài liệu hướng dẫn về TIA Portal lệnh và cấu hình. DE_TIA-PRO2_EN_01_V130100.pdf
Ch1 1 v70_system_overview_en
1 familia simatic s7
Siemens s7 300 programming
Ad

More from NaderSafaiBagheri1 (10)

PDF
Vibration_and_Its_Causes[1] Vibrations.pdf
PDF
7._Compressors[1] offshore equipment.pdf
PDF
1730972894083 plc logic controller __.pdf
PDF
1730972894083 programmable logic control.pdf
PDF
7. Compressors offshore equipment 123.pdf
PDF
Centrifugal Compressor_Centrifugal Compressor.pdf
PDF
Centrifugal Compressor_Balancing drum.pdf
PDF
variable frequnecy drive vfdvsd inven .pdf
PDF
Basics of Vibration & Compressor Vibration Measurements.pdf
PDF
102602994-wincc-course-ppt-170304000733.pdf
Vibration_and_Its_Causes[1] Vibrations.pdf
7._Compressors[1] offshore equipment.pdf
1730972894083 plc logic controller __.pdf
1730972894083 programmable logic control.pdf
7. Compressors offshore equipment 123.pdf
Centrifugal Compressor_Centrifugal Compressor.pdf
Centrifugal Compressor_Balancing drum.pdf
variable frequnecy drive vfdvsd inven .pdf
Basics of Vibration & Compressor Vibration Measurements.pdf
102602994-wincc-course-ppt-170304000733.pdf
Ad

Recently uploaded (20)

PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Geodesy 1.pptx...............................................
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPT
Mechanical Engineering MATERIALS Selection
PDF
PPT on Performance Review to get promotions
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Construction Project Organization Group 2.pptx
PPTX
Artificial Intelligence
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Geodesy 1.pptx...............................................
Embodied AI: Ushering in the Next Era of Intelligent Systems
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Mechanical Engineering MATERIALS Selection
PPT on Performance Review to get promotions
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
UNIT 4 Total Quality Management .pptx
Operating System & Kernel Study Guide-1 - converted.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Construction Project Organization Group 2.pptx
Artificial Intelligence

adswincc03e-phpapp01_tutorial_introduction.pdf

  • 1. Date: 04/22/14 File: a_dSwincc03e.1 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Creating a Project, Coupling a PLC, and Tag Simulation 1
  • 2. Date: 04/22/14 File: a_dSwincc03e.2 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Creating a Project, Coupling a PLC, Variable Simulation 2
  • 3. Date: 04/22/14 File: a_dSwincc03e.3 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Objectives - Creating a Project - Installing Communication Drivers - Configuring Tags - Tag Simulation - Cross Reference
  • 4. Date: 04/22/14 File: a_dSwincc03e.4 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Configuration Preparation - Programmable Logic Controllers - Type of Coupling - Process Tags
  • 5. Date: 04/22/14 File: a_dSwincc03e.5 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Creating a Project SIMATIC NET PLC Office PC or Industrial PC
  • 6. Date: 04/22/14 File: a_dSwincc03e.6 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik WinCC Project Structure and Files -Configured Screens (.pdl, .sav) -Screen Files (.bmp, .emf, .wmf) -Action Lists (.act) -Project Functions (.fct) -Project Library (.pxl) -Function Declarations (.h) -Function Library (.dll) -DBASE Archives of Tag Logging (.dbf) -Report Layouts (.rpl) -Cross Reference List (.xfc) -Project Actions (.pas) A project database without Runtime data (for >=V.5 + SP2, WinCCRT_7.DB) can be found in the WinCC installation directory. Copy this into your project directory and rename the file --> ProjectnameRT.DB. Then, delete the database Logfile. -Database with the Runtime Data -Internal Data Manage- ment from the Cross Reference -Main File of the Project -Database Log File -Database with Configuration Data
  • 7. Date: 04/22/14 File: a_dSwincc03e.7 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Interchanging between Projects Project name. MCP
  • 8. Date: 04/22/14 File: a_dSwincc03e.8 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Specifying Project Properties V 5.1
  • 9. Date: 04/22/14 File: a_dSwincc03e.9 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Computer Properties
  • 10. Date: 04/22/14 File: a_dSwincc03e.10 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Function Modules within WinCC 1/2 Project(name) with - Computer - Tag Management - Structure Types Editors - Graphics system - Message system - Measured value acquisition and archiving - Report system - C-Programs and actions - Text library - Password protection - Cross Reference Nodes for displaying/hiding the levels WinCC hierarchical tree structure Deactivate Activate
  • 11. Date: 04/22/14 File: a_dSwincc03e.11 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Function Modules within WinCC 2/2 Editors - Graphics system - Message system - Measured value acquisition and archiving - Report system - C-Programs and actions - Text library - Password protection - Cross Reference -Options
  • 12. Date: 04/22/14 File: a_dSwincc03e.12 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Task Definition Start picture 17.02.96 11:15:45 SIMATIC WinCC Motor picture Bottling plant Trends Alarm Logging - Messages M Setpoint speed Actual speed Data Management Reports
  • 13. Date: 04/22/14 File: a_dSwincc03e.13 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Tags for the Process Connection M Setpoint speed Actual speed Motor 1 defective Valve 3 sticks ... Process Image Process Function Coupling e.g. DB,DW for SIMATIC 10 11 12 13.0 20 30 35 40.0 40.1 Message events SIMATIC S7 SIMATIC S5 SIMATIC 505 Other drivers Archive
  • 14. Date: 04/22/14 File: a_dSwincc03e.14 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Data Exchange SIMATIC S5/S7 DB20 DW10 KF=190 DW11 KF=95 Programmable Logic Controller WinCC Station Actual value 190 Setpoint value 95 Actual speed DB20,DW10 Setpoint speed DB20,DW11 Digital output Digital input Image LAN MPI
  • 15. Date: 04/22/14 File: a_dSwincc03e.15 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Data Exchange SIMATIC 505 V010 =190 =95 Programmable Logic Controller WinCC Station Actual value 190 Setpoint value 95 Actual speed V010, Setpoint speed V010, Digital output Digital input Image LAN MPI
  • 16. Date: 04/22/14 File: a_dSwincc03e.16 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Installation of the SIMATIC Device Drivers (S7-DOS)
  • 17. Date: 04/22/14 File: a_dSwincc03e.17 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Communication Structure S7-DOS Driver CP5611 S7-300 MPI Lab Station: PLC (e.g. SIMATIC S7-300 withCP 342) Communication processor (e.g. CP 5613) Hardware driver (e.g. S7-CP 5613) Channel unit (e.g. PROFIBUS) WinCC communication drivers (e.g. SIMATIC S/-Protocol Suite) WinCC Data Manager WinCC Application (Graphics RT, Alarm Logging RT, Tag Logging RT, etc.)
  • 18. Date: 04/22/14 File: a_dSwincc03e.18 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Selecting Communication Drivers for the Connection A) B)
  • 19. Date: 04/22/14 File: a_dSwincc03e.19 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Exercise: Creating a Project, Configuring the PLC Connection 1 - We will configure the tags for this connection in the next exercise. Name of the communication connection Always 0 for integrated MPI interface.
  • 20. Date: 04/22/14 File: a_dSwincc03e.20 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Status of the Connection
  • 21. Date: 04/22/14 File: a_dSwincc03e.21 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Connection Diagnostic with SIMATIC S7 (*.LOG) C:SiemensWinCCDiagnoseSIMATIC_S7_PROTOCOL_SUITE_01.LOG
  • 22. Date: 04/22/14 File: a_dSwincc03e.22 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Quality Code WinCC has to be in Runtime in order to display the Quality Code.
  • 23. Date: 04/22/14 File: a_dSwincc03e.23 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Exercise: Creating a Project, Configuring the PLC Connection 2 Project name SIMATIC TI driver Name of the communication connection
  • 24. Date: 04/22/14 File: a_dSwincc03e.24 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Configuring Process Tags for SIMATIC S5/S7 Note Use of S7 symbols (TIA) is possible as of WinCC V5.
  • 25. Date: 04/22/14 File: a_dSwincc03e.25 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Configuring Tags for SIMATIC 505
  • 26. Date: 04/22/14 File: a_dSwincc03e.26 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Exercise: Configuring Process Tags and Tag Groups Configuring Tag Groups Name of the 1st. group: motor_picture Name of the 2nd. group: bottling_plant Name of the 3rd. group: measurement_points Name of the 4th. group: message_events Configuring Tags For SIMATIC S7 Name Data Type Address P_signal0 binary tag DB20.DBX16.0 P_signal1 binary tag DB20.DBX16.1 P_event1 unsigned 16-bit value DB20.DBW12 P_trend_1 signed 16-bit value DB20.DBW6 P_IVar_Mess signed 16-bit value DB20.DBW8 P_Tank1_IB0 unsigned 8-bit value IB0 P_Tank2_QB0 unsigned 8-bit value QB0 P_setpoint_speed signed 16-bit value DB20.DBW10 P_actual_speed signed 16-bit value DB20.DBW14 P_switch1 binary tag DB20.DBX16.2 P_motor1 binary tag DB20.DBX16.3
  • 27. Date: 04/22/14 File: a_dSwincc03e.27 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Configuring Internal Tags Shortcut menu
  • 28. Date: 04/22/14 File: a_dSwincc03e.28 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Exercise: Configuring Internal Tags and Tag Groups 1 Configuring Tag Groups Name of the 1st. group: I_motor_picture Name of the 2nd. group: I_bottling_plant Name of the 3rd. group: I_measurement_points Name of the 4th. group: I_message_events Configuring Tags For SIMATIC S7 Name Data type event1 unsigned 16-bit value ... ... trend_1 signed 16-bit value IVar_Mess signed 16-bit value ... ... setpoint_speed signed 16-bit value actual_speed signed 16-bit value switch1 binary tag motor1 binary tag
  • 29. Date: 04/22/14 File: a_dSwincc03e.29 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Exercise: Configuring Internal Tags and Tag Groups 2 Configuring Tag Groups Name of the 1st. group: TI_motor_picture Name of the 2nd. group: TI_bottling_plant Name of the 3rd. group: TI_measurement_points Name of the 4th. group: TI_message events Configuring Tags For SIMATIC505 Name Data type TI_event1 binary tag ... ... TI_trend_1 signed 16-bit value TI_IVar_Mess signed 16-bit value ... ... TI_setpoint_speed signed 16-bit value TI_actual_speed signed 16-bit value TI_switch1 binary tag TI_motor1 binary tag
  • 30. Date: 04/22/14 File: a_dSwincc03e.30 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik "Cross Reference" (Cross Reference List 1/2) Cross Reference Lists Filter Editor Internal Data Management WinCC Data .XFS .XFC ...
  • 31. Date: 04/22/14 File: a_dSwincc03e.31 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik "Cross Reference" (Cross Reference List 2/2) Filter Linking Place of Use Update Update Data Management and View Update Data Management Export *.CSV Call
  • 32. Date: 04/22/14 File: a_dSwincc03e.32 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik SmartTool: Script Converter
  • 33. Date: 04/22/14 File: a_dSwincc03e.33 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Tag Simulation 1/2 Simulation software on WinCC CD Testing functions with internal and process tags. Process tags can only be simulated if the communication connection to the PLC has been made. Since the tag value in the PLC can be changed by the simulation, you have to take the necessary precautions (such as separating the load current circuits). - Sine - Oscillation - Random numbers - Increment - Decrement - Slider
  • 34. Date: 04/22/14 File: a_dSwincc03e.34 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Tag Simulation 2/2 Call
  • 35. Date: 04/22/14 File: a_dSwincc03e.35 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik WinCC Communication with S7 Protocol using MPI to S7- 300/400 DB20 DW10 KF=190 DW11 KF=95 Programmable Logic Controller WinCC Station Actual value 190 Setpoint value 95 Actual speed DB20,DW10 Setpoint speed DB20,DW11 Digital output Digital input Image MPI
  • 36. Date: 04/22/14 File: a_dSwincc03e.36 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Communication Components On the PLC side CP CP Software MPI interface of the CPU - On the PG/PC side CP CP Software CP 5611 (S7 DOS from WinCC) SIMATIC Device Drivers On the WinCC side WinCC Channel DLL Core / Option S7 Protocol Suite - MPI Core
  • 37. Date: 04/22/14 File: a_dSwincc03e.37 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Procedure 1) Hardware Check of the WinCC computer for example, Interrupt 11 2) Installation of the CP5511 card according to the product information 3) Configuration on the WinCC side, see Page 18. 4) Configuration in the SIMATIC CPU. No communication programs are necessary here.
  • 38. Date: 04/22/14 File: a_dSwincc03e.38 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Installation of the CP5511 Card in the PC
  • 39. Date: 04/22/14 File: a_dSwincc03e.39 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Installing Modules
  • 40. Date: 04/22/14 File: a_dSwincc03e.40 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Windows NT Diagnostics
  • 41. Date: 04/22/14 File: a_dSwincc03e.41 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Determining Interrupts
  • 42. Date: 04/22/14 File: a_dSwincc03e.42 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Determining Memory Area
  • 43. Date: 04/22/14 File: a_dSwincc03e.43 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Specifying Properties of the CP5611 Card
  • 44. Date: 04/22/14 File: a_dSwincc03e.44 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik S7 Variable Table for Monitoring and Modifying
  • 45. Date: 04/22/14 File: a_dSwincc03e.45 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Connection Status: Example of the Get/Set Tag State 1/2 0x0001 No connection to the partner is established 0x0002 Protocol error 0x0004 Network module is defective 0x0008 Configured upper limit exceeded 0x0010 Configured lower limit exceeded 0x0020 Format limit exceeded 0x0040 Format limit exceeded 0x0080 Conversion error 0x0100 Initialization value of the tags (Start value) 0x0200 Substitute value of the tags 0x0400 Addressing error in the channel 0x0800 Tag not located or non existent 0x1000 Tag access not permitted 0x2000 Timeout, no response from channel 0x4000 Server not available 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BOOL SetTagDWordState (Tag Tag_Name, DWORD value, PDWORD lp_dwstate) DWORD GetTagDWordState(Tag Tag_Name, PDWORD lp_dwstate); Example:SetTagDWordState ("P_Variable1", 100, &Status); GetTagDWordState ("P_Variable2", &Status1); the returned bit register can be analyzed according to the following schematic. Search term: Variablenstati
  • 46. Date: 04/22/14 File: a_dSwincc03e.46 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Connection Status: Example of the Get/Set Tag State 2/2 0000000000000000 0 Configuration: -Properties/ I/O field/ output/input/ output value/ dynamic/ C-Action: int var1,var2; unsigned long var3; var1 = GetTagWordState("wert1",&var3);//address SetTagWord("i_lp_dwatate",(WORD)var3);//content var2=GetTagWord("i_lp_dwatate"); if(var2!=0) { //!means unequal SetVisible(lpszPictureName,“PictWindow1",1); } else { SetVisible(lpszPictureName,“PictWindow1",0); } return(var1); Type O Configuration: -Properties/ I/O field/ output/input/ output value:i_lp_dwatate no Connection Configuration: -Static text/ colors/ fill pattern color/ dynamic/ C-Action: int var1,var2; var1=GetTagWord("i_lp_dwatate"); var2=var1&0x0001; if(var2==0) { SetBackColor(lpszPictureName, lpszObjectName,CO_GREEN); } else { SetBackColor(lpszPictureName, lpszObjectName,CO_RED); } return(var1); Type O
  • 47. Date: 04/22/14 File: a_dSwincc03e.47 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik SIMATIC NET Ethernet, Communication to SIMATIC S5 DB20 DW10 KF=190 DW11 KF=95 Programmable Logic Controller WinCC Station Actual value 190 Setpoint value 95 Actual speed DB20,DW10 Setpoint speed DB20,DW11 Digital output Digital input Image SIMATIC NET Industrial Ethernet
  • 48. Date: 04/22/14 File: a_dSwincc03e.48 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik TIA Functionality, Mapping Tags Step7 WinCC Communication (Mapping) Database Database STEP 7 Symbol Table WinCC Tag Management Data Block
  • 49. Date: 04/22/14 File: a_dSwincc03e.49 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Creating an OS (Operator Station)
  • 50. Date: 04/22/14 File: a_dSwincc03e.50 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Creating a Symbol Table, Generating a Data Block 1/2 Mapped tags from the view of WinCC
  • 51. Date: 04/22/14 File: a_dSwincc03e.51 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Creating a Symbol Table, Generating a Data Block 2/2
  • 52. Date: 04/22/14 File: a_dSwincc03e.52 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Creating an S7 Program
  • 53. Date: 04/22/14 File: a_dSwincc03e.53 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Generating PLC/OS Connection Data (Mapping) Error Log after mapping
  • 54. Date: 04/22/14 File: a_dSwincc03e.54 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Transferring (Mapping) Data from Step7 to WinCC 1/2 Symbols from the S7 Symbol Table
  • 55. Date: 04/22/14 File: a_dSwincc03e.55 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Transferring (Mapping) Data from STEP 7 to WinCC 2/2 Symbols from the data block Select
  • 56. Date: 04/22/14 File: a_dSwincc03e.56 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Mapped Symbols in the WinCC Explorer S7-Programm(1)/DB11.Slip_Speed1 Signed 16-bit Value DB11,DW10 1 2 3
  • 57. Date: 04/22/14 File: a_dSwincc03e.57 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Mapped Symbols for Tag Connection
  • 58. Date: 04/22/14 File: a_dSwincc03e.58 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Automatic Mapping in the Background Drag&Drop
  • 59. Date: 04/22/14 File: a_dSwincc03e.59 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik TIA: Ladder Rung Jump with Writing Authority in STEP7 STEP7: Linking STEP7 block. WinCC call from STEP7 WinCC: Block call from WinCC pictures directly to STEP7 program Create User with the function “STEP7 Writing Authority“
  • 60. Date: 04/22/14 File: a_dSwincc03e.60 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Generating Reference Data for Ladder Rung Jump Necessary for ladder rung jump from WinCC
  • 61. Date: 04/22/14 File: a_dSwincc03e.61 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik Ladder Rung Jump to STEP 7
  • 62. Date: 04/22/14 File: a_dSwincc03e.62 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik "Show Picture" Return to WinCC Shortcu t menu
  • 63. Date: 04/22/14 File: a_dSwincc03e.63 SIMATIC S7 Siemens AG 2000. All rights reserved. SITRAIN Training für Automatisierungs- und Antriebstechnik TIA Functionality, Hardware Diagnosis from WinCC Pictures