tia portal v13 - team engineeringjpkc.ybzy.cn/plczxkfk/wljc1500/2.pdf · connection between tia...
TRANSCRIPT
4.1 PLC Proxy for HMI Motivation
New in V13
Connection between TIA Portal HMIs and STEP 7 V5.5 SP3 PLCs Classic Panels can‘t be ordered as new devices up from 1.10.2014 anymore. New Panels (Comfort, Basic, Mobile) can only be engineered in the TIA Portal. Customers want to use STEP 7 V5.5 together with the new panels. Migration of T-CPUs or Sinumerik controllers to TIA Portal not possible Difficulties connecting STEP 7 V5.5 in TIA Portal V12 SP1: Mapping PLC tags onto HMI devices. No integrated connections possible (Tag browsing, Alarms, symbolic
addressing,..)
Team Engineering Multiple persons shall work on a project at the same time. E.g.: 1 Project including 1 PLC and 1 HMI.
Both devices are engineered by different developers.
► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
PLC STEP 7 V5.5
HMI TIA Portal V13
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 2 2014-04-04 TIA Portal V13 - Team Engineering
PLC Proxy for HMI Connect HMI with CPU via PLC Proxy
New in V13
► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
PLC project 1 PLC project 2 PLC project 3
PLC Proxy 3
PLC Proxy 2
HMI project
IPE
Inter Project Engineering (IPE)
PLC Tags
Data blocks Alarms
PLC Proxy 1
Insert PLC Proxy in TIA Portal
V13
Define PLC Proxy: Connect data of another project
Connect PLC Proxy and HMI
Use PLC Proxy like a “normal“ PLC
Import from
project
Import from
project
Import
Export
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 3 2014-04-04 TIA Portal V13 - Team Engineering
PLC Proxy for HMI 4.1.1 STEP 7 V5.5
New in V13
2 Initialize
PLC Proxy
Add new PLC Proxy
3
1
Import data ► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
Caution: STEP 7 V5.5 SP3 must be installed and licensed..
Browse STEP 7 V5.5 project and select the components
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 4 2014-04-04 TIA Portal V13 - Team Engineering
PLC Proxy for HMI STEP 7 V5.5
New in V13
PLC-Proxy after Initialization PLC-Proxy in project tree
contains all selected data blocks, PLC tags and alarms
All PLC internal interfaces as well as CP interfaces imported with the right Ethernet/Profibus address from the original project
HMI – Connection to PLC proxy possible
HMI Engineering with access to all imported data blocks and symbols possible
HMI alarms contains also the controller alarms (e.g. Alarm S)
► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
Page 5 2014-04-04 TIA Portal V13 - Team Engineering
PLC Proxy for HMI STEP 7 V5.5
New in V13
ts Reserved.
Update PLC-Proxy: Update via context menu
New / Changed data blocks, symbols and alarms in the original project can be updated or added in the HMI project
► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
Unrestricted / © Siemens AG 2014. All Righ
Page 6 2014-04-04 TIA Portal V13 - Team Engineering
PLC Proxy for HMI STEP 7 V5.5
New in V13
Symbol name
marked red
Hint: Synchronization also can be done in via right click on the tag table.
Address changed
Address is updated
automatically
Synchronization to reconnect with the
PLC tag Symbol name changed
Symbol name marked red
Synchronization via address possible
Variable deleted
Source project is updated
Symbol name a. address changed
Symbol name marked red
No automatic synchronization possible
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 7 2014-04-04 TIA Portal V13 - Team Engineering
PLC Proxy for HMI STEP 7 V5.5
New in V13
Supported controllers S7-300 / S7-300F
S7-400 / S7-400F
S7-300 T
ET200 (IM 151-7 CPU)
Sinumerik 840D (300er part)
WinAC
Supported alarming Bit alarms
Analog alarms
Report system error (RSE)
Alarm S
Alarm D
► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
Notes The STEP 7 V5.5 project has to be consistent. The STEP 7 V5.5 project can be opened during initializing/updating. The STEP 7 V5.5 project can be accessed via network. For more information refer to FAQ: http://support.automation.siemens.com/WW/view/en/73502293
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 8 2014-04-04 TIA Portal V13 - Team Engineering
PLC Proxy for HMI STEP 7 V5.5
New in V13
Installation and licenses The PLC Proxy will be installed with STEP 7 V13 Professional or WinCC V13 Basic and higher. The PLC Proxy uses the STEP 7 command interface STEP 7 V5.5 and all used options have to
be installed and licensed on the computer.
Restrictions Multiprojects are not supported. No multi computing. MPI is not supported.
Hint: PLC-Sim (STEP 7 V5.5) and HMI-Simulation (TIA Portal V13) also do communicate via PLC Proxy
► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 9 2014-04-04 TIA Portal V13 - Team Engineering
PLC Proxy for HMI 4.1.2 TIA Portal
New in V13
Import aus Projekt
PLC project 1 PLC project 2 Path A
STEP 7 V13 and options must be installed and licensed on the target system.
Import/updating the project via network possible.
► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
IPE
Path B Path A
Path B STEP 7 V13 does not have to be installed on the
target system.
HMI project Export / import of the IPE file via network possible.
PLC Proxy 1
PLC Proxy 2
Import
Export
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 10 2014-04-04 TIA Portal V13 - Team Engineering
PLC Proxy for HMI TIA Portal
New in V13
Prepare Source project. Consistent project necessary: Compile the controller.
► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
Path A finished
Path B
finished
IPE
Page 11 2014-04-04 TIA Portal V13 - Team Engineering
3 Double click
2
Add new proxy data
4 Select elements
5 Start export
11.
Name of the export data
and comments
PLC Proxy for HMI TIA Portal
New in V13
IPE
Import Data Path A:
Path B:
► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
Page 12 2014-04-04 TIA Portal V13 - Team Engineering
Use like a “normal“
4 Add new PLC Proxy
1
3 Select source
2 Initialize PLC Proxy
PLC Proxy for HMI TIA Portal
New in V13
PLC-Proxy after Initialization PLC-Proxy in project tree contains
all selected data blocks, PLC tags and alarms
All PLC internal interfaces as well as CP interfaces imported with the right Ethernet/Profibus address from the original project
HMI – Connection to PLC proxy possible
HMI Engineering with access to all imported data blocks and symbols possible
► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 13 2014-04-04 TIA Portal V13 - Team Engineering
PLC Proxy for HMI TIA Portal
New in V13
► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
Update PLC-Proxy: Update via context menu
New / Changed data blocks, symbols and alarms in the original project can be updated or added in the HMI project
For each PLC several PLC proxy data with different configuration can be added (for example for each HMI station in a production line)
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 14 2014-04-04 TIA Portal V13 - Team Engineering
PLC Proxy for HMI TIA Portal
New in V13
Source project is updated
Hint: Identic behavior independent of the controller
► Team
Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
Address changed, renamed,
both together
Automatic update
Independent of symbolic or absolute access
Variable deleted
Symbol name
marked red
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 15 2014-04-04 TIA Portal V13 - Team Engineering
PLC Proxy for HMI TIA Portal
New in V13
Installation of the PLC Proxy The PLC Proxy will be installed with all STEP 7 V13 and WinCC V13 installations. Supports STEP 7 V13 projects or higher.
Notes The STEP 7 V13 Project has to be consistent and must be compiled. For each PLC several device proxy data with different configuration can be added (e.g. data block
DB_Station for HMI 1, data block DB_Staion2 for HMI 2, etc.) Device proxy data for all in TIA V13 supported PLCs can be added (e.g. S7-1200, S7-300,. WinAC,…) Configured connections between PLCs are not possible The source project has be closed during initializing/updating. For further information check the online help using the key word IPE (Inter Project Engineering).
► Team Engineering ► PLC Proxy for
HMI ► Online
Commissioning of a S7-1500
► Libraries
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 16 2014-04-04 TIA Portal V13 - Team Engineering
Hands-on
Let’s just do it...
Let’s just do it... the lab for you!
Exercise PLC Proxy for HMI
Hands-on Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 17 2014-04-04 TIA Portal V13 - Team Engineering
4.2 Online Commissioning of a S7-1500
S7-1500 S7-1200 S7-300/400/WinAC Shared Commissioning of Projects - Overview
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
User 1
User 2
Shared commissioning i
With the new S7-1500 V1.5, up to 5 users can monitor different program blocks at the same time
The system automatically informs the user about PLC progam changes done by other users
Automatic synchronisation of standard FBs/FCs/DBs
Download to PLC is not possible, while other users are online. Planed for > V13
New n V13
Page 18 2014-04-04 TIA Portal V13 - Team Engineering
New in V13 Online Commissioning of a S7-1500
Shared Commissioning of Projects - Procedure S7-1500 S7-1200 S7-300/400/WinAC
Engineering phase Commissioning phase ► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
• Specify a project language, used exclusively by all participating ES
• Fully configure the hardware
• Create folders and groups for the blocks to be edited by the individual ES
• Create fully programmed and executable user program
Project copy 1
Changes to FBs/FCs/DBs in the program part 1
Shared CPU Project copy 2
Changes to FBs/FCs/DBs in the program part 2
•
•
•
Master project Download master project to CPU
Save the master project
Create and distribute master copies
Project copy 3
Changes to FBs/FCs/DBs in the program part 3
Download to PLC is only possible, while other users are offline
Executing central changes
that affect shared project parts All changes have to be merged with Master project
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 19 2014-04-04 TIA Portal V13 - Team Engineering
New in V13 Online Commissioning of a S7-1500
Shared Commissioning of Projects S7-1500 S7-1200 S7-300/400/WinAC
Requirements Software TIA Portal V13 and "SIMATIC STEP 7 Professional" software package have to be installed on the
involved engineering systems The master project must be created with V13 or later. (not possible with V12 SP1 compatibility mode)
Hardware S7-1500 V1.5 necessary
Restrictions Editors may only download the project copies one after the other No other Engineering System may bei connected online with the CPU during download Forcing tags can only be implemented on the CPU from one Engineering System at a time
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 20 2014-04-04 TIA Portal V13 - Team Engineering
New in V13 Online Commissioning of a S7-1500
Software Synchronization – Sample Workflow S7-1500 S7-1200 S7-300/400/WinAC
6
S7-1500
TIA Project copy 2
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
3 Synchronization Dialog Info: Block A was changed!
A A * Delta
User 2
► Libraries
Upload 4 5
Compile
B * Consistent Download B *
Synchronize
1) Upload 2) Delta Compile 3) Download
User 2 changes block B and wants to download his change
2
TIA Project copy 1
User 1
A * B
1 Initial Situation: Both users have copies of the same project (master project), that is already loaded to the PLC. User 1 has downloaded his change of block A to the PLC.
HW
CN
U
ser p
rogr
am
*
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 21 2014-04-04 TIA Portal V13 - Team Engineering
New in V13 Online Commissioning of a S7-1500
Software Synchronization – Use Cases S7-1500 S7-1200 S7-300/400/WinAC
S7-1500
User 2 Master project
Functions in synchronization dialog: 1. Offline / Online Comparison of programs 2. Synchronize offline program with PLC 3. Continue Download without synchronization 4. Cancel Download
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
FC
* * FB Global
1 2 3 4
.
User 1
Page 22 2014-04-04 TIA Portal V13 - Team Engineering
Initial Situation: Both users have copies of the same project (master project), that is already loaded to the PLC. User 1 has downloaded his change of block A to the PLC.
*
New in V13 Online Commissioning of a S7-1500
Software Synchronization – Use Case 1 S7-1500 S7-1200 S7-300/400/WinAC
Start offline / online comparison
Execute selected actions (Upload / Download)
Start Offline / Online compare of programs
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Page 23 2014-04-04 TIA Portal V13 - Team Engineering
Offline / Online comparison opens
compare editor
Upload program changes from other editors to your
project
Download your own program changes to the
PLC
New in V13 Online Commissioning of a S7-1500
Software Synchronization – Use Case 2 S7-1500 S7-1200 S7-300/400/WinAC
Synchronize your program blocks with PLC program
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Page 24 2014-04-04 TIA Portal V13 - Team Engineering
Synchronize starts upload of program blocks, which
were modified by other editors before
After Synchronization, user can decide to continue or cancel
download
Download continues in its normal sequence
Synchronize modified blocks
New in V13 Online Commissioning of a S7-1500
Software Synchronization – Use Case 3 S7-1500 S7-1200 S7-300/400/WinAC
Continue Download without synchronization
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Page 25 2014-04-04 TIA Portal V13 - Team Engineering
Overwrite modified program blocks
Load preview dialog displays conflicts, compiler errors, …
Load results
Continue Download without synchronization
New in V13 Online Commissioning of a S7-1500
Software Synchronization - Restrictions S7-1500 S7-1200 S7-300/400/WinAC
Synchronize manually Changing tags, HWCN, OBs, TOs, F-program and text
lists requires manual synchronization
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
OBs and PLC tags were changed, so no synchronization
is possible
No automatic software synchronization possible. All changes
have to be manually synchronized
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 26 2014-04-04 TIA Portal V13 - Team Engineering
New in V13 Online Commissioning of a S7-1500
Software Synchronization - Restrictions S7-1500 S7-1200 S7-300/400/WinAC
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Further recommendations for shared commissioning
Rules for working within master copy: Editors only edits the blocks within their assigned groups. Do not use rebuild all blocks, only delta compile.
Do not change
− Hardware Configuration
− PLC-tags, text lists und project language
− OBs, F-Blocks und Technological Objects
The project language spezified in the master project may not be changed in the project copies
Automatic software synchronization is based on a comparison of a unique download identifier between online und offline project. Before distributing copies of the master project, keep on the following procedure:
1. Load master project
2. Save master project
3. Create master copies and distriubte copies to editors
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 27 2014-04-04 TIA Portal V13 - Team Engineering
Hands-on Let’s just do it...
Let’s just do it... the lab for you!
Exercise Shared Commissioning of a S7-1500
Hands-on Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 28 2014-04-04 TIA Portal V13 - Team Engineering
4.3 Libraries 4.3.1 Introduction
2 kinds of libraries Project library Unique for each project Attached to the project (opened,
saved and closed with the project).
Global library Independent from projects For cross-project use of objects Can be opened Read-Only by
multiple users at the same time.
Global library
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Project library
Types
Master copies
Types
Master copies
Common data
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 29 2014-04-04 TIA Portal V13 - Team Engineering
Libraries Introduction
Library elements Types Are centralized templates Are implemented as instances in the project Instances are linked to the type central management
Master copies The project uses copies of the master copy Copies and master copies are not linked no central
management
Common Data General data like protocols
Library
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Page 30 2014-04-04 TIA Portal V13 - Team Engineering
Types
Master copies
Common Data
4.3.2 TYPES AND VERSIONS Reusability – Today
Type-Instance concept Central update via button click. The versions of a type are write-protected. Secure criteria (GUID) to trace the utilization of the version’s type.
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Page 31 2014-04-04 TIA Portal V13 - Team Engineering
User library Project
Copy
Copy Master
Copy
Type V1 Update
Central update to the new version
Type V2
Instance V2
Instance V2
Instance V2
Without types
With types
TYPES AND VERSIONS UseCase 1 - Create type
FB and all used blocks and UDTs become types
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Page 32 2014-04-04 TIA Portal V13 - Team Engineering
Version number
1 Drag&Drop of the FB
2 Dialog for generating a type
3
TYPES AND VERSIONS UseCase 2 - Edit type
The block is write-protected After the generation of a type its instances in the project are write-
protected. To edit a type, a new version of the type must be created
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Page 33 2014-04-04 TIA Portal V13 - Team Engineering
TYPES AND VERSIONS UseCase 2 - Edit type
When setting the instance to edit Each controller has an own instance Only the selected instance goes into “test
mode” Changes can be tested first in
one controller
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Display of the devices
Selection dialog of the instance
Page 34 2014-04-04 TIA Portal V13 - Team Engineering
TYPES AND VERSIONS UseCase 2 - Edit type
The library edit mode opens A new version is created The block is in “test mode” The block can be downloaded and all the online functions are
available.
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Depending types are automatically in
“test mode”
Work in the familiar editor
Page 35 2014-04-04 TIA Portal V13 - Team Engineering
TYPES AND VERSIONS UseCase 2 - Edit type
Version can be defined
Comment possible: e.g.: “Input
‚Heat‘ added“
All instances can be updated immediately
Release
After the release the new version can also be used for all other instances
Release dialog:
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 36 2014-04-04 TIA Portal V13 - Team Engineering
TYPES AND VERSIONS UseCase 2 - Edit type
HMI
Updating all instances ► Team
Engineering
Right click on the project library „Update Project“ ► PLC Proxy for
► Online Commissioning of a S7-1500
► Libraries
Mass data operations to release versions Right click on folder All elements in the folder are released Release of a superior element (e.g.: FB_A)
also subordinate elements will be released Release of a subordinate element (e.g.: UDT_1)
only this element will be released
FB_A (In Test)
UDT_1 (In Test) UDT_2
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 37 2014-04-04 TIA Portal V13 - Team Engineering
TYPES AND VERSIONS UseCase 3 - Set up global library
New global library opened Right click on project library
Select the library All the types are automatically transferred.
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Note: All types can be copied via Drag&Drop
2
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 38 2014-04-04 TIA Portal V13 - Team Engineering
TYPES AND VERSIONS UseCase 4 - Update global library
Update of global libraries with older versions Move via Drag&Drop possible Can be triggered via library update
If the folder structure is modified, it can be updated if desired
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Project library
FB_A V1.5.0
UDT_1 V1.5.0
UDT_2 V1.5.0
Global library
FB_A V1.0.0
UDT_1 V1.0.0
UDT_2 V1.0.0
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 39 2014-04-04 TIA Portal V13 - Team Engineering
TYPES AND VERSIONS UseCase 5 - New project with global library
Global library with types opened Drag types to their point of use (e.g.: OB1) Subordinate types (e.g.: UDTs) will be copied automatically Used types can be found in the project library afterwards
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Updated project
OB_1
FB_A V1.0.2
UDT_1 V1.0.2
UDT_2 V1.0.1
OB_1
New project
Using the block
FB_A V1.0.2
UDT_1 V1.0.2
UDT_2 V1.0.1
Global library Drag&Drop
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 40 2014-04-04 TIA Portal V13 - Team Engineering
TYPES AND VERSIONS UseCase 6 - Update project with a global library
Global library with newer versions
Instances in the project will be updated.
Instances in the project will
not be updated Serves as storage for later
use
► Team Engineering ► PLC Proxy for
HMI
► Online Commissioning of a S7-1500
► Libraries
Page 41 2014-04-04 TIA Portal V13 - Team Engineering
Hands-on Let’s just do it...
Let’s just do it... the lab for you!
Exercise Team Engineering - Types
Hands-on Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 42 2014-04-04 TIA Portal V13 - Team Engineering
TYPES AND VERSIONS References and administration
New in V13
Open library management
1
References into the project Points of use and versions in the project can be found in the library management
Versions and locations in the project
2
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 43 2014-04-04 TIA Portal V13 - Team Engineering
TYPES AND VERSIONS References and administration
Library management Points of use and versions in the library
Filter options
In work
Without instance
Instances with different versions
Released
Type is used by: Clean up
library Harmonize
project
Adjust instance names in the project
Adjust instance paths in the project
Central management via types possible
Refresh view Type uses
following types:
Unrestricted / © Siemens AG 2014. All Rights Reserved.
Page 44 2014-04-04 TIA Portal V13 - Team Engineering