4. User User Guideli ne
SICAR Standard
Disclaimer
Because of the variety of uses for SICAR described in this publication, those responsible for the use of SICAR must satisfy themselves that all necessary steps have been taken to assure that each use meets all performance and safety requirements, including any applicable laws, regulations, codes and standards.
The illustrations, charts, sample programs and layout examples shown in this guide are intended solely for purposes of example. Since there are many variables and requirements associated with any particular installation Siemens does not assume responsibility or liability (to include intellectual property liability) for actual use based upon the examples shown in this publication.
Reproduction of the contents of this copyrighted manual, in whole or in part, without the written permission of Siemens, is prohibited.
Manual
page 1 / 41
Edition: 2012-04
4. User User Guideli ne
SICAR Standard
4
User Guideline
Table of conte cont ents 1.
SICAR SICAR PLC basic 1.1
Guideline for PLC settings
1.1.1 1.1.2 1.1.3 1.1.4 2.
System Resources Clock memory F-Parameters Basic monitoring monitori ng
4 5 5 6
2.2
8
Addi Ad di tion ti on al inf i nf ormati or mati on fo r HMI pr oj ect
2.1.1 2.1.2 2.1.3
8
Screen navigation Manual operation Additional Additional screens
8 9 10
Guideline for HMI HMI settings
13
2.2.1 2.2.2 2.2.3 2.2.4
4.
3
SICAR HMI basi c 2.1
3.
3
Device Setting Connection Setting Configuration of movements Implementation Implementati on of a Tec_unit
14 14 15 21
Implementation of an addition al HMI HMI
35
3.1
Modification on PLC project
35
3.2
Modification on HMI HMI project
39
Multi ling ual Step 7
Manual
41
page 2 / 41
Edition: 2012-04
4. User User Guideli ne
SICAR Standard
4
User Guideline
Table of conte cont ents 1.
SICAR SICAR PLC basic 1.1
Guideline for PLC settings
1.1.1 1.1.2 1.1.3 1.1.4 2.
System Resources Clock memory F-Parameters Basic monitoring monitori ng
4 5 5 6
2.2
8
Addi Ad di tion ti on al inf i nf ormati or mati on fo r HMI pr oj ect
2.1.1 2.1.2 2.1.3
8
Screen navigation Manual operation Additional Additional screens
8 9 10
Guideline for HMI HMI settings
13
2.2.1 2.2.2 2.2.3 2.2.4
4.
3
SICAR HMI basi c 2.1
3.
3
Device Setting Connection Setting Configuration of movements Implementation Implementati on of a Tec_unit
14 14 15 21
Implementation of an addition al HMI HMI
35
3.1
Modification on PLC project
35
3.2
Modification on HMI HMI project
39
Multi ling ual Step 7
Manual
41
page 2 / 41
Edition: 2012-04
4. User User Guideli ne
SICAR Standard
1. SICAR PLC basic This S7-project should be the entrance to build up a PLC-project and contains all basic function so that the project engineer can start to design the program without any ideas about the basic structure.
1.1 1.1
Guideline for PLC settin gs
On the CD you will find a prepared basic project, as well as a sample project based on our demo demo kit.
Rename the SICAR basic project with with your own project name
Hardware configuration configurati on Important: Indicate MB1 as clock memory for the CPU-parameterization
Init FC981: Adaptation of of the initialisation initialisation FC999 FC999 if demanded, demanded, otherwise otherwise default input extension extension Adjustment Adjustment of FB981 depending depending on on the parameteriza parameterization tion of of FC999 Parameterization FB300
FC983: Reading in of all panels (operator panels, manual on-site panels, robots and so on) into the FC983 by means of the FC996 / FC997. Program the operating modes by means of FC995
For each mode (if required) required) the signals signals "Emergency stop", “Protection doors”, “Basic start conditions”, “Initial position” / “Position stop end of cycle” must be programmed in a message block (Zone 1 -> FB1001)
Program user sequence cascades - Sequence -FC (FC1004, etc.) - Call and parameterisation of the sequence cascades FB (FB1000) with generation of the sequence cascades DB - Load sequence flag - Process outputs - Call of the Tec-unit and Drive interface - Sequence FB (FB1004, etc.) - Automatic - Monitoring times - Branchings
Program in the FC986 the calls of of the FCs for message block and user sequence cascades
Programming manual movements
Productiondatas
Program the FB981 user interface interf ace
Manual
page 3 / 41
Edition: 2012-04
4. User User Guideli ne
SICAR Standard
1.1.1 1.1.1 System Resources Resour ces
Function
Number Range
Blocks
FB
FC
DB
0-199
0-199
0-199
User: Section 1
200-299
200-299 200-2 99
200-299
System Librar y: Technological -Units for Body & Assembly and conveyors
300-499
300-499
300-499
User: Section 2 for Safety program
500-599
500-599
500-599
System Librar y: Safety Program
600-799
--
600-799
User: Section 3
800-899
600-899 600-8 99
To FB/FC
System Librar y: Initialization and Sequence_Engine incl. Process-Diagnostics
900-1299
900-1299
900-1299
1300…
1300…
1300…
System Librar y: HMI-Interface and System-Diagnostics
User Section Section 4
Manual
page 4 / 41
UDT
900-999
Edition: 2012-04
4. User Guideli ne
SICAR Standard
1.1.2 Clock memory In the hardware configuration it is mandatory to set the Clock memory on to memory byte 1 in the CPU properties.
1.1.3 F-Parameters If you use a Failsafe-PLC adjust the suggested settings from the systemresources.
Manual
page 5 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
1.1.4 Basic moni tor ing The over all monitoring for zone_no1 will be programmed in the message block FB1001. The following memory bits are relevant for starting an operation mode. If one is missing the operation mode start will be switched off immediately. M 10.0 M 10.1 M 10.4
Z1 emergency_stop Z1 protection door Z1 basic start condit
In the project SICAR_basic all these bits are pre-set with log1. All project specific conditions has to be programmed instead of the log1 bit. Additional messages can be programmed in following (those like safety messages,…) The diagnosis of these messages will be displayed in the “Seq diag” screen.
The displayed message texts are generated automatically from the source of the S7-block FB1001.
Manual
page 6 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
The messages can also be displayed in the WinCC flexible alarm window. For that purpose it is necessary to type in the the message texts in the WinCC flexible project. The WinCC flexible project SICAR_basic contains a prepared fault-/alarm list in discrete alarms.
Basic-Project
Demo-Project The HMI interface for the discrete alarms is the DB126. Therefor the information must be transferred from the message block DB to the HMI interface block.
Manual
page 7 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
2. SICAR HMI basi c The WinCC flexible project SICAR_Basic_V1.x_HMI contains the following screen forms: Standard screen forms as described in chapter 3.5. Faceplates and diag_pics of the tec_units Operation mode selection and Sequence diagnosis screen
2.1
Additi onal infor mation for HMI project
2.1.1 Screen navigati on
Main menu
OEM
Special Overview
User Overview_1
Manual Overview_1
Seq Diag
Process Diagnostic
Hardware Diagnostic
Main menu
OP-Mode
Special Overview
User Overview_1
Manual Overview_2
Seq Diag
Process Diagnostic
Hardware Diagnostic
Main menu
Manual Operation
Al arm
Al arm History
Manual Operation
Detail Diag
Cursor to right
Main menu
Seq Diag
Al arm History
Manual Operation
Seq Diag
Version
Main menu
Process Diagnostic
RF300 Diag
Manual Operations
Seq Diag
Process Diagnostics
Drives
Main menu
Hardware Diagnostic
Manual Operation
Seq Diag
Process Diagnostic
Hardware Diagnostic
Main menu
Production data
Manual Operation
Seq Diag
Process Diagnostic
Save Settings
Main menu
System
Web Server
Version
Panel control
Line Up
Page Up
Interlocks
Line Dn
Page Dn
Monitor Variables
Submenus
Main
The screen navigation was modified as such that it is possible to change to the diagnosis or manual operating screens from any active screen.
Manual
page 8 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
2.1.2 Manual operatio n For the manual operations, SICAR is using the following screen types SS_11_ManualMovement with up to 100 lines (according to 20 screens) SS_12_UserOperation with up to 64 lines (according to 13 screens) SS_13_SpecialFunctions with up to 32 lines (according to 7 screens) For each type an overview provides a direct access to a particular screen.
By pressing the Manual operation button the visualization will change to the screen Man_Overview_1.
From these screen you can select a manual operation screen directly by pressing the corresponding button (1..10 in the overview_1 and 11…20 in the overview_2) or you can change to the overview of the other types of manual operation.
Manual
page 9 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
2.1.3 Addi tio nal scr eens Additionally to the standard screens, SICAR provides a screen for operation mode selection named “SS_91_OM_screen“
The OP-mode screen can be selected directly from header or from the main screen.
Additionally to the function open OM-screen, the button displays the operation-mode status of the activate Zone
Manual
page 10 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Another additionally screen is the sequence diagnosis screen named “SS_94_seq_Diag_CE/_PC” This screen provides a dignosis of the message blocks and
the sequence blocks.
Manual
page 11 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
The screen can be selected with the button “Seq Diag”.
Manual
page 12 / 41
Edition: 2012-04
4. User Guideli ne
2.2
SICAR Standard
Guideline for HMI setti ngs The prepared basic_project, as well as the demo_project contains a WinCC flexible project.
Configuration of the HMI in menu “Device Settings/Device Settings”
Configuration of the PLC -> HMI connection in menu “Communication/connections”
Define the manual operations and type in the relevant texts in the corresponding textlist in menu “Text and Graphics Lists/Text Lists”.
Create an overview screen
Integratation of the faceplates for the tec_units
Manual
page 13 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
2.2.1 Device Setti ng
2.2.2 Connectio n Setti ng
Manual
page 14 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
2.2.3 Confi gurati on of movements At first it is possible to assign a name for the screen in the Manual Overview.
The name of the screen will be assigned in the WinCC flexible project. Select the textlist “SO_111_Man_overview”. In the text list there are placeholders for each possible screen.
The placeholder texts can be modified individually Manual
page 15 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
The configuration of movements will be described on a sample of the first movement screen of the project SICAR_demo and there for the first line.
Manual
page 16 / 41
Edition: 2012-04
4. User Guideli ne
2.2.3.1
SICAR Standard
Act iv ities in the HMI pr oject
The SICAR_HMI_basic project provides default textlists for the displayed texts of the movement lines. The corresponding value is: Line 01 : 10…19, : Line10 : 100…109, : Line 100 : 1000…1009
SICAR_HMI_basic Default text mov_line_01
Manual
SICAR_HMI_demo Project specific text mov_line_01
page 17 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
2.2.3.2 Activ ities in the PLC project The PLC project SICAR_basic provides a prepared interface to the movement lines. For the “SO_11_ManualMovement” it is FC61 “FC_IF_screen_manual”. In this block an interface for 25 lines is preconfigured and can be easily extended up to the maximum of 100 lines. Each line uses 8 bits in the standard interface. The first network contains the declaration of used numbers of movement lines. In this case there are 25 lines declared which means that the HMI project will reserve 5 movement screens with 5 lines each.
The bits for the color change are preset by log0. The user has to program the relevant conditions for color change (left ->yellow, right ->blue) and for the indication of executablity. The bits representing the button left/right are assigned to a memory bit which is reserved in the symbol list. This bits can be used as pushbuttons in the user program.
1. 2. 3. 4. 5. 6. 7. 8.
Manual
ROW[n, 0] -> executable left ROW[n, 1] -> executable right ROW[n, 2] -> action left ROW[n, 3] -> action right ROW[n, 4] -> position left ROW[n, 5] -> position right ROW[n, 6] -> button pressed left ROW[n, 7] -> button pressed right
page 18 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Example for line 1:
Manual
page 19 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Additionally to the prepared interface of the active elements of the movement lines, the FC61 provides a prepared interface for hiding not used elements as well.
The value B#16#40 effects that the indication of the position will not be displayed.
The procedure for the other types of movement screens will be the same.
“Manual operation”
text list SO_111_Manual_overview text list SO_11_ManualOperation Interface block FC61
“User operation”
text list SO_121_User_overview text list SO_12_UserOperation Interface block FC62
“Special function”
text list SO_131_Special_overview text list SO_13_SpecialFunction Interface block FC63
Manual
page 20 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
2.2.4 Implementation of a Tec_unit 2.2.4.1 Activ ities in the PLC project The tec_unit FB has to be called in the FC of the corresponding sequence e.g. FC1004. The block call needs an instance DB. The DB_No. range is from DB401…499. The interface to HMI faceplates is defined with DB110 for the Interface_Visu (diag_pics) and DB119 Interface Alarms (discrete alarms). The declaration (ARRAY) of the DBs has to be modified according to the number of used Tec_units. DB110 “Interface_Visu”
DB119 “Interface_Alarms”
Manual
page 21 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Example of a call of FB370 “PosDev_2D2S2P_PC”:
Enable Signal from sequence
Interface to Visu
Pushbutton Interface from movement screen
Operation mode from Zone 1 Reset from O -mode screen
Manual
page 22 / 41
Edition: 2012-04
4. User Guideli ne
2.2.4.2
SICAR Standard
Act iv ities in the HMI pr oject
The implementation will be demonstrated based on the tec-unit PosDev_2S2D2P Create a tag-folder with the name of the screen.
New tag folder named “Model”
Manual
page 23 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Create a tag for the “Model_Alarms” and a tag for the visu of the corresponding Diag_pic “Diag_PosDev_2S2D2P” The relation of the output-parameter of the tec_unit block FB370 to the projected tag will be shown in the following figure.
Manual
page 24 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Connecting the tag “ST010_Carr_Visu” as a multiplex tag in tag-folder “Diag”, in this case as Index 1. Open the tag folder “Diag”, select the corresponding Tec_unit, open the properties and select “Multiplexing” Note: Index 0 cannot be used and is reserved with the internal variable ULg_Dummy.
Manual
page 25 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Insert the tag “ST010_Carr_Visu” from the tag folder “Model” as Index 1.
Additional PosDev_2S2D2P types are added with there own Tagname and to the next free Index position.
Manual
page 26 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Open the Main screen and copy the faceplate from the project library into the screen. Connect the faceplate with the tag “ST010_Carr_Visu”.
Manual
page 27 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
To give the faceplate an individual name is mandatory
Manual
page 28 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
To activate the Diag -and Statusscreen of the PosDev you have to do the following steps: 1. Acti vateScreen : Select the Diag screen name 2. SetValue: Give the tag “DiagIndexDLG” a unique number corresponding to the multiplex setting of the tec_unit tag
Manual
page 29 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Create a Tag “Model_Alarms” with a number of Arrays fitting to the used Tec-Unit blocks in the Station.
Manual
page 30 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
In the Alarm management/Temp_Messages you can find prepared messages for each Tec-Unit block naming is $Name of the FB$ message. (in this case $FB370$)
Copy all 16 Messages to the folder “Discrete alarms”
Replace the Class “Errors” with “Warnings”
Manual
page 31 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Replace the TriggerTag “Messages” with “Model_Alarms”
Manual
page 32 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Note: Relationship between Trigger Tag / Trigger bit and DB-Adress at TEC-Unit Output ALARMS
If you add an additional Tec-Unit in your project you use as a Trigger Tag e.g. again Model_Alarms. Next step is to adjust the Trigger bit The calculation of the start address of your first Trigger bit is DBW (X) * 2 1. Tec-Unit: DBx.DBW0 -> First Trigger bit 0 2. Tec-Unit: DBx.DBW2 -> First Trigger bit 16 3. Tec-Unit: DBx.DBW4 -> First Trigger bit 32 …….. 8. Tec-Unit: DBx.DBW0 -> First Trigger bit 64 The calculation of the Trigger address reguarding to the Trigger bit is done automatically by WINCCflex. Step7: Declaration of DB119
Manual
WINCC flex: Declarati on of variable Model_Alarms
page 33 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Replace “$Name of FB$” in this case “$FB370$ with the right name e.g. “ST010_Carr” by using the search and replace function
Manual
page 34 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
3. Implementation of an additional HMI If several SICAR operator panels are to be connected with a controller, a new DB interface must be provided in the controller for the second and each additional operator panel. This requires the duplication of the SICAR DBs and the modification of the numbers in Step7 and WinCC flexible.
3.1 Modification on PLC project Duplicate the DB_HMI_DATA (DB67) as runtime interface for the second operator panel.(e.g. DB70) Duplicate the DB_HMI_CONFIG (DB68) for the configuration of the second operator panel.(e.g.DB71) All following modifications must be done in FC67 The FC_HMILITE_BASIC (FC68) must be called once in the program for each operator panel. The "HMI_DATA_DB" and "HMI_CONFIG_DB" input parameters must be supplied with the appropriate DB numbers.
Manual
page 35 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
The FC_HMILITE_MANUAL (FC69) must be called once in the program for each operator panel. The "HMI_DATA_DB" and "HMI_CONFIG_DB" input parameters must be supplied with the appropriate DB numbers
Manual
page 36 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
Change the interface for the screen name in the header
The interface for the manual operation screens FC61,FC62,FC63 needs to be duplicated. Internally the interface address must be supplied with the appropriate DBNo.
The duplicated FCs (e.g. FC64,65,66) must be called in the FC67
Manual
page 37 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
In FC983 an additional call of FC997 for HMI_2 is necessary.
Manual
page 38 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
3.2 Modif icati on o n HMI project Make a copy of the current HMI project and make the following modifications The number of the DB_HMILITE_DATA (DB67) is parameterized in the WinCC flexible "SO_00_DBNumberData" variable. This number must be changed in the corresponding WinCC flexible configuration. The new number of the duplicated DB_HMILITE_DATA must be entered as start value in the properties dialog of the WinCC flexible "SO_00_ DBNumberData" variable for the "initial settings".
Change base value of this variable from DB67 to e.g. DB70
Manual
page 39 / 41
Edition: 2012-04
4. User Guideli ne
SICAR Standard
The number of the DB_HMILITE_CONFIG (DB68) is parameterized in the WinCC flexible "SO_00_DBNumberData" variable. This number must be changed in the corresponding WinCC flexible configuration. The new number of the duplicated DB_HMILITE_CONFIG must be entered as start value in the properties dialog of the WinCC flexible "SO_00_DBNumberConfiguration" variable for the "initial settings
Change base value of this variable from DB68 to e.g. DB71 The WinCC flexible area pointers with the DB67 (DB_HMILITE_DATA) absolute address must receive the duplicated DB_HMILITE_DATA as new absolute address.
Change base value of this variable from DB67 to e.g. DB70
Manual
page 40 / 41
Edition: 2012-04