Sicar
Sicar
Sicar
siemens.com/automotive
Agenda
Day 1
3 Initialization / HMIs and Operation Mode Areas
Core PLC/HMI
4 Safety
5 Production Data
6 Diagnostics
Day 2
7 Tec Units and Device Interfaces
Library
8 Alarming
9 GRAPH Sequence
Siemens Automotive
We support customers to standardize
Certified suppliers
Clear installation
guidelines Reduced troubleshooting
Compact
Shorten ramp-up
cabinet
Pre-configured HMI screens Pre-validated Hardware and Software
Defined interfaces Common training program
Reusable
projects
EDDI
APA
What is SICAR?
PLC and HMI framework for Customers without own standards
Innovation based on
TIA
TIA Portal
SICAR
What is our approach? – Help to help themselves
Documen- Documen-
tation
Customer Application
tation System-/ System-/
Alarming + Alarming + Process
Basic HMI&PLC
Process
Digitalization
Online
Digitalization
Online diagnostic
UseCases
diagnostic
help
Library
help Library
Proven
for
for
Conveyor Battery
Integrated system
HW/SW platform functions
• System diagnostics
• Code viewer
STEP 7/WinCC Adv. IPC/Panels (LAD/FBD/GRAPH)
• Integrated
message system
• SiVArc – HMI
SINAMICS S7-151x F
Standardization framework screen generation
Basic application
Executable basic project Extendable Simple architecture
PLC + HMI = Start up Documentation
GRAP • Online help
H/ • STEP 7 (Project)
LAD/ • WinCC Adv. RT
FBD
SICAR
Coverage of an automation software standard
Customer
Customer specific Customer specific Customer specific Customer specific Tec Customer specific Customer specific Customer specific Responsibility
PLC program HMI screens Units Interfaces Alarms Documentation
application Customer specific
• Process specific • For non-Siemens • Process specific • Automation standard PLC + HMI application
• Application specific • Plant overview
• Tec Units products alarms and description
Customer specific standard @SICAR
Executable basic
• Templates for Tec • E-stop / Euchner - User Operation • PLC Checksum
PLC + HMI application
Unit Doorsystem • Energy
- E-Meter (E2M)
- EEM
• Production data
- Counter, Shift-Cnt.
- Limits- & Cycle-Val.
- OEE/Trend
• Shift model
• G/S-Drive blocks
• Create:
• 2 x HMI
• 2 x Op Mode Areas
• 2 x Tec Units
• Alarming using ProDiag
• GRAPH Sequence
Page 8
Requirements for SICAR
V4.0
• Software
TIA Portal V15.1 Upd4 and above
• STEP 7 Professional
• STEP 7 Safety
• WinCC Comfort
• ProDiag
• SINAMICS Startdrive
• Hardware
• S7-15xx PLC firmware V2.x
• TPxxxx Comfort Panel HMI 12” and above or IPC with
WinCC Runtime Advanced
• Hardware Simulation
• PLCSIM V15.1 or PLCSIM Advanced V2.0 and above
• WinCC Comfort simulator
• Additional Licenses
• ProDiag tag license for PLC (max. 5 licenses @ 250
supervisions/license)
• ProDiag RT license for Comfort or Advanced
Page 9
SICAR
Provided information
User documentation Getting started
• Multilingual
Implemented languages are English and German
Additional languages can activated by user
Page 11
SICAR
Documentation
Page 12
SICAR
Training / Support
Page 13
Tesla Software Template
Getting started
Page 14
Project Overview
PLC project structure
Page 16
Project Overview
Where does line builder put screens / logic?
• HMI
• ES project
• User folder
• RT project
• create button on top of 4 more in each Op Mode Area
• create button on top of 4 more in main screen
• create button in 4more pop area
• PLC
• User folder contains user library blocks
• 04_User contains calls to user logic (if not pertaining to
already created Op Mode Tec Unit)
Page 17
Project Overview
Where does Tesla line builder put screens / logic?
• Library
• Project
Page 18
SICAR Naming Conventions
For machine builder
Page 19
SICAR Naming Conventions
For machine builder
Page 20
Naming Conventions
What are Tesla naming conventions?
• Based on ePLAN
Page 21
Terminology
HMI
• Operation Mode: auto, manual, single step, etc.
• HMI/Panel
• HMI: touchscreen
Panel(s)
• Panel: pushbuttons, e.g. Key Panel, pushbuttons
Page 22
SICAR
Core PLC project
Alarms/ Documen-
PLC HMI Tec Units AddOn
Diag. tation
• Control ON/OFF
Centralized switch ON / OFF function of the control
• HMI
Management of HMI (IPC / Panels) and Push Button panels
Interface between HMI and PLC (max. 8 HMI)
• Operation mode management
Realize the management of operation modes
12 Operation Mode Areas
Each Operation Mode Area can change operation mode (AUTO, Manual) independently
• Safety: Startup blocks
Example template for E-Stop and F_OUT with feedback control
Example template for an Euchner gate entry device
Page 23
SICAR
Core HMI project
Alarms/ Documen-
PLC HMI Tec Units AddOn
Diag. tation
• Menu guidance
• Operation modes
• Overview screens
Page 24
Hands On: Overview of HMI with working simulation
Page 25
Basic Configuration
PLC
The system and clock memory byte are set in the CPU properties under the
corresponding context menu.
Page 26
Basic Configuration
PLC license enable (if used)
Page 27
Basic Configuration
Tesla PLC
• Enable F-activation
Page 28
Constants
Initialize system limits
Customer Responsibility
Modify constants
to lowest value
• Reduce scan load on
PLC
• Free memory of PLC
Page 29
Tesla User Constants
Initialize system limits
Customer Responsibility
Modify constants
• Set quantities
Page 30
Hands On: Setup PLC data from previous slides
Page 31
Overview of Cyclic OB
Calling of SICAR blocks
OB1
Page 32
Overview of Cyclic OB
Network 2: PLC initialization
OB1
Page 33
Global Info
Provides user signals
• Number of HMIs
Page 34
Control On/Off
Power on to cell
• The block supports the On/Off function from the HMI with the pop
up dialog or alternative using external pushbuttons.
Page 35
Hands On: Set up PLC init
Page 36
Overview of Cyclic OB
Network 3: Define Op Mode Areas and HMIs/Panels; Safety Decoupling
OB1
Page 37
Config of Op Mode Areas / HMIs
Reminder
Page 38
Config of HMIs
Create a call of PanelHMI for each HMI / Panel
1 5 8
3
9
7
2 10
6
Page 39
Config of HMIs
TypeOfPanelHMI -> constants
Page 40
Config of HMIs
Connect predefined parameters
• The following structures are available to the user for assigning signals and
reading the status.
• All other variables in the typePanelHMI structure are for internal use only.
Page 42
Config of Op Mode Areas
Creating new Op Mode Areas
Page 43
Config of Op Mode Areas
User logic above Opmode call
1
Page 44
Config of Op Mode Areas
User logic above Opmode call
Page 45
Config of Op Mode Areas
Statuses readable after Opmode call
• opmodeArea, controlNoHMI
• Reset
Page 46
Config of Op Mode Areas
Statuses readable after Opmode call
Page 47
Hands On: Insert second HMI and second Op Mode Area
Page 49
SICAR Safety
What is provided?
Page 50
Safety Startup
Safety – standard program decoupling
• These data blocks serve as the data interface-DB to transfer data between
the standard and the safety program. This helps avoid direct accesses
between the standard and safety program.
• Data flow:
• standard (write) -> safety (read)
• standard (read) <- safety (write)
Data Buffer
CallInterfaceStndTo
InterfaceStndToSafe MAIN_FFB
Safe
InstMAIN
InterfaceSafeToStnd
Page 51
Safety Tips
safety – F-Source and Destination addressing
https://support.industry.siemens.com/cs/us/en/view/109740240
Page 52
Hands On: Safety
Page 53
Overview of Cyclic OB
Network 4: Operation Mode Areas
OB1
• Process logic
• Tec Units / Devices
• Sequences
• Empty in SICAR base
project
Page 54
Overview of Cyclic OB
Network 5: User blocks
OB1
Page 55
Overview of Cyclic OB
Network 6: Production Data
OB1
Page 56
Production Data
Counter
TIP: To Reset counter,
ensure you click on
• With this block, counters can be realized via a simple user
interface and displayed on a HMI. The value range of the counter dataset to
counters is the data type “UInt“. enable reset
Page 57
Production Data
Shift Counter
Page 58
Production Data
Cycle Timer 3
Page 59
Production Data
Limit Values
• numberConfigDataSets
• Maximum of 8 with 10 limit values
• dataSetNumber
• Dataset number of block call
• dataSet
• The parameter is predefined, only the number of
the dataset [1..8] needs to be assigned
• colorCodeSelectButton
• The color-code for the animation of the select
buttons (1..8). The parameter is predefined, on the
number of the dataset [1..8] needs to be assigned.
Page 60
Production Data
Shift Models
• dateAndTime
• The block needs the current date and time for
internal comparisons. The parameter is predefined
and does not need to be modified.
• remoteOnOff
• 0 : Remote Off – use time values in the instance DB
• 1 : Remote On – copy time values from a global DB
into the instance DB
• The time values in the static part of the instance
DB, in the structure “statDayTimesHMI”
• shiftmodelTimesRemote
• Assign a global DB to this parameter. These values
are then transferred to the instance DB.
Page 61
Production Data
Shift Counter + OEE + Trend
2
• OEE trends on HMI separated by shift
Shows target vs. actual performance per shift
• Set user constant NO_OF_DATASETS_SHIFTCOUNTER
• Set dataSetNumber and set dataSet index in brackets
• Tie target and expired times from shift model FB above to
shiftProdTimeTarget, shiftProdTimeExpired
• Leave numberOfDataSets alone
• Write to dataSet in network above
• countPartsCurrent
1
• countPartsCurrentOK
Page 62
Hands On: Production Data
Page 63
SICAR
Alarms & Diagnostics
Alarms/ Documen-
PLC HMI Tec Units AddOn
Diag. tation
1
1• PN Diagnostics (customized)
2
Diagnosis and visualization of PROFINet devices
2• PLC Diagnostics (customized) & SMC Diagnostic
Read and display Times, Ident & Maintenance data, SMC data, PLC-checksum of the PLC
3 3• System diagnostics (WinCC Control)
Overview about the available devices of the installation
4• WEB-Server (WinCC Control)
HTML-Browser provides information about the status of all Webserver based devices
4
(Identification, diagnosis buffer, device status, messages, communication data and
5 topology data)
• Alarming (customized)
Multilingual alarm block package. It is possible to create own alarm texts which can be
activated with a trigger bit and displayed in the WinCC alarm control.
5• Alarming (ProDiag)
6 6
Integrated Process Diagnostic based on ProDiag functionality
6• Code viewer
Integrated Code viewer for Process alarms and GRAPH
Page 64
Overview of Cyclic OB
Network 8: Diagnostics
OB1
Page 65
Diagnostics
Interface Signals Bool
Page 66
Diagnostics
PROFINET
• Set plantIdentifier
Page 67
Diagnostics
PLC
• Set plantIdentifier
• Set plantIdentifier
Page 68
Diagnostics
PLC – Set language
Page 69
Diagnostics
Others
• PROFINET diagnostics
• Video player
• PDF viewer
Page 70
Hands On: Diagnostics
Page 71
Overview of Cyclic OB
Networks 9-12: Demo
Page 72
User Operation
Custom pushbuttons with feedback
• Located in
\_SICAR_MasterCopies_PLC\UserOperation\
Page 73
Library
Overview
Page 74
SICAR
Tec Units
Alarms/ Documen-
PLC HMI Tec Units AddOn
Diag. tation
• Device ON / OFF
Tec Unit to control the ON /OFF function of a device with feedback monitoring
• Lifter function
Tec Unit to control a lifting device with 2 speeds, 2 directions and 2 positions
• Positioning devices
Tec Unit to control a positioning device with 1 speed, 2 directions and 2 positions.
Tec Unit to control a positioning device with 2 speeds, 2 directions and 2 positions.
Tec Unit to control a positioning device with 2 speeds, 2 directions und 2 positions,
including part detection
• Valve control
Tec Unit to control a valve with 1 cylinder.
Tec Unit to control a valve with up to 8 cylinders.
Page 75
SICAR
Interfaces
Alarms/ Documen-
PLC HMI Tec Units AddOn Diag. tation
1
2 1• Drive
Interface to control a SINAMICS G120 drive
2• Ident
Interface to control read / write functions of data from / to a tag (RF200/RF300),
3
4 read 1D/2D code with machine vision camera MV400/500
Page 76
Tec Units
What is a Tec Unit?
• Tec Unit: drag-and-drop PLC FB, UDT, faceplates, screens for non-
vendor specific control (motions, valves, power on/off) with built-in
process diagnostics
Page 77
Tec Units
Overview
• DevOnOff: Switch device on or off with feedback
Page 78
Interfaces
Overview
• DriveG120: G120 drive with free telegram
Page 79
Tec Units
Integration
• Tec Unit documentation in user documentation
Page 80
Tec Units
Integration – FB, faceplate, manual moveline
Page 81
Tec Units
Integration – Diagnostic screen
Page 82
Hands on -> Configure positioning Tec Unit
Page 83
Tec Unit Alarms
What is ProDiag?
Page 85
Tec Unit Alarms
Comparison to Program_Alarm
Page 86
Tec Unit Alarms
Comparison to Program_Alarm
Integration
Page 87
Tec Unit Alarms
ProDiag block calls
Page 88
Tec Unit Alarms
ProDiag code viewer
Page 89
Hands on -> Configure positioning with ProDiag
Page 90
Alarming
Alarms with ProDiag
Page 91
Alarming
Alarms with ProDiag - Implementation 1
2
Create entry in
Global_General_AlarmTextList
linking PLC alarm text list
2
3
Call the alarm block linking entry in 3
Global_General_AlarmtextList
Page 92
Alarming
Alarms without ProDiag – Program_Alarm
Page 93
Operator Prompt
Page 94
Tesla Alarming Concept
• Tesla alarming is based on ProDiag – see TS-0011193 Tesla Siemens Controls Standard
chapter 6, “Alarm Structures”
• “Design alarming for the end user – do not display alarms that do not directly help the end user
solve the problem.”
• Alarms must follow documented hierarchy of importance/priority, and if two are triggered, only
the most important is shown
• Function blocks must be programmed so that they are compliant with the PLC code viewer HMI
control
• E.g. if an emergency stop button is pressed which causes a safety interlock on all the
corresponding equipment, the equipment must not alarm, only the emergency stop alarm must
be present. Additionally, if the hardware that is handling the emergency stop is not
communicating, then filter out the emergency stop alarm.
Page 95
Hands on -> Configure Alarms
Page 96
Sequence
GRAPH programming language
• GRAPH: Siemens graphical programming language for
creating linear and parallel sequencers broken down into
individual steps
Page 97
Sequence
GRAPH programming language
• Quickly program sequential manufacturing process into a
“flow” of steps with branches and parallel operation
Page 98
Sequence
Creating a sequence using GRAPH
• SICAR provides template FB for creating a new GRAPH sequence (Program
blocks\_SICAR_MasterCopies_PLC\Sequencer\StartUpSequence)
StartUpSequence
Page 99
Sequence
HMI sequence viewer
• Can view status of sequences using HMI sequence
viewers using SICAR GRAPH overview popup
Page 100
Hands On: Insert GRAPH sequence
Page 101
Reference: Underbody line in body shop of JMC, China
installed by DEMC, China (line builder) based on SICAR@TIA Portal
Installed Hardware:
1x SIMATIC S7-1500F, CPU 1517F-PN/DP
2x SIMATIC HMI Comfort Panel TP1500
8x SINAMICS G120D (CU240)
7x SIMATIC ET 200SP (Failsafe)
2x SIMATIC PN/PN Koppler
1x SCALANCE X224
Page 102
Reference: “Bush pressing“ Opel Kaiserslautern
Installed by FFT (line builder) based on SICAR@TIA Portal
Overview
Installed Hardware:
SIMATIC S7-1500F, CPU 1516F-PN/DP
SIMATIC HMI IPC277E 15“ Touch
SIMATIC HMI KP8F
SIMATIC ET 200SP (standard & failsafe)
Page 103
Questions
Page 104
Thank you for your attention!