LCFLHMRSen US
LCFLHMRSen US
Upgrading Control
Function Library V2.0 to 2
V3.1
References 10
Online documentation
09/2024;V3.1
Online documentation
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended or
approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance
are required to ensure that the products operate safely and without any problems. The permissible ambient
conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens Aktiengesellschaft. The remaining trademarks in
this publication may be trademarks whose use by third parties for their own purposes could violate the rights of
the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens Aktiengesellschaft Document order number: Online documentation Copyright © Siemens 2024.
Digital Industries Ⓟ 09/2024 Subject to change All rights reserved
Postfach 48 48
90026 NÜRNBERG
GERMANY
Table of contents
1 Basics ................................................................................................................................................... 11
1.1 Introduction....................................................................................................................... 11
1.2 Software and hardware requirements................................................................................. 11
1.3 Configuration concept........................................................................................................ 12
1.4 Simulation with SIMATIC S7-PLCSIM / SIMATIC S7-PLCSIM Advanced.................................... 12
1.5 Using styles ....................................................................................................................... 13
1.6 Units of measurement........................................................................................................ 14
2 Upgrading Control Function Library V2.0 to V3.1................................................................................ 17
2.1 Introduction....................................................................................................................... 17
2.2 Preparations for the upgrade.............................................................................................. 18
2.2.1 Upgrade TIA Portal project from V18 to V19 Update 3......................................................... 18
2.2.2 Changing the Runtime version of the HMI device to V19 Update 3 ...................................... 19
2.2.3 Deleting LCFL screens from the TIA Portal project................................................................ 20
2.2.4 Deleting LCFL screens from the project library .................................................................... 20
2.2.5 Deleting SiVarc rules from the TIA Portal project ................................................................. 20
2.2.6 Deleting SiVarc rules from the project library ...................................................................... 21
2.3 Upgrading the Control Function Library.............................................................................. 21
2.3.1 Updating project types ....................................................................................................... 21
2.3.2 Cleaning up the project library ........................................................................................... 22
2.3.3 Copying master copies to the project library ....................................................................... 24
3 Control Function Library ...................................................................................................................... 25
4 Defining multilingual support ............................................................................................................. 43
5 Alarms.................................................................................................................................................. 45
5.1 Defining alarm classes........................................................................................................ 45
5.2 Activating alarm classes ..................................................................................................... 46
5.3 Monitoring with ProDiag .................................................................................................... 47
5.4 ProDiag function block ....................................................................................................... 48
5.5 Monitoring properties in the function blocks ...................................................................... 50
5.6 Discrete alarms .................................................................................................................. 51
6 Program blocks .................................................................................................................................... 55
6.1 Common Blocks ................................................................................................................. 55
6.1.1 DriveInterconnector ........................................................................................................... 55
6.1.1.1 LCFL_DriveInterconnector – Description of function............................................................ 55
6.1.2 FeedbackMonitoring .......................................................................................................... 57
6.1.2.1 LCFL_FeedbackMonitoring – Description of function........................................................... 57
6.1.3 Interlock ............................................................................................................................ 58
Hardware requirements
All blocks of the Control Function Library are activated for the following controllers:
• SIMATIC S7-1200 (firmware V4.3 and higher)
• SIMATIC S7-1500 (firmware V2.8 and higher)
• SIMATIC S7 Open Controller (firmware V2.5 and higher)
• SIMATIC ET200 SP CPU (firmware V2.8 and higher)
• SIMATIC S7-1500 Software Controller (firmware V2.5 and higher)
• Simulation with SIMATIC S7-PLCSIM (V19 and higher)
Only applies to S7-1500, S7-1200 and ET200 CPU
• Simulation with SIMATIC S7-PLCSIM Advanced (V6.0 and higher)
Only applies to S7-1500 and ET200 CPU
Software requirements
To use and configure the blocks, you need the following product:
• SIMATIC STEP 7 Basic/Professional (TIA Portal V19 Update 3) or higher
You need the following product to visualize the blocks:
• WinCC Unified V19 Update 3 or higher
• WinCC Unified PC Runtime V19 Update 3
Additional software:
• SiVarc V19
Note
GDPR - General Data Protection Regulation
Comply with the General Data Protection Regulations (GDPR) of WinCC Unified V19
More information can be found in the online help of WinCC Unified Runtime (start page of the
web client > WinCC Unified Help > Runtime Readme > Data Protection Regulation (GDPR)).
Introduction
You can simulate function blocks with SIMATIC S7-PLCSIM or SIMATIC S7-PLCSIM Advanced. The
simulation is already activated in the properties of the function blocks. All you have to do is
activate the simulation capability of the function blocks in the project properties.
Note
Function blocks with activated simulation capability use more memory in the PLC.
Requirement
• Your project is completely compiled.
Procedure
1. Select the project in the project tree.
2. Click "Properties" in the context menu.
The project properties are displayed.
3. Select the "Protect" tab.
4. Select the option "Support simulation during block compilation".
Introduction
You can change the style of the drive symbols in Control Function Library V3.1. Only the I/O field
and the circle are supported in V3.1. To do this, use WinCC Unified Corporate Designer.
Note
To use the style file in TIA Portal, copy the file into the project that you want to use:
Tia Portal Project\UserFiles\Styles\LCFLStyles.cd19
Procedure
To use a style in the TIA project, follow these steps:
1. Select the "Runtime settings" command under the HMI device.
2. Select "LCFLStyles" under "General > Screen".
Note
As of V3.1, Control Function Library cannot be used without styles. If no style is specified,
elements that are used on the drive symbols are displayed with the TIA Portal default color (grey).
Predefined styles
With the setup, a Corporate Designer Project (CDP) and the exported style file are provided
under lib\Sys\Control Function Library\UserFiles. The project can be exported
and imported. The style file can be copied into a TIA Portal project. After the Control Function
Library setup, you have the possibility to open the CDP project and import it again.
After the import, you can change the background color, border color or border width, export
the styles into your own project and select them as active style on the device in the TIA
Portal. Your styles are stored in the "UserFiles" folder. To use them, import them into the
TIA Portal.
Color palettes
The default colors are already defined in the color palette (in the CDE project) and are used on
the "Circle" object as predefined colors. If a different color is needed on the field, this must be
changed in the color palette.
You can define your own color. A change to the style is also necessary in this case.
Limitations
You cannot change the file name of the CDE project and the names of the objects contained in
it.
Colors and symbol graphics are not applied to the "LCFL_*Home" views.
You can find the list with the units of measurement and their values in the section References
(Page 497).
Note
To save space in the system, not all units of measurement are displayed in their totality. The units
of measurement are displayed left-justified. If you want to abbreviate the unit of measurement,
use the "Customer-specific units".
Preparations
1. Upgrade your TIA Portal project from V18 to V19 Update 3. (Page 18)
2. Change the configured Runtime version of the HMI device used to V19 Update 3. (Page 19)
3. Delete the LCFL screens from your TIA Portal project. (Page 20)
4. Delete the LCFL screens from the project library. (Page 20)
5. Delete the SiVarc rules "LCFL_1200_CopyRules" and "LCFL_CopyRules" from your TIA Portal
project. (Page 20)
6. Delete the SiVarc rules "LCFL_1200_CopyRules" and "LCFL_CopyRules" from the project
library. (Page 21)
Note
Manual migration of the symbol faceplate within a process screen is not necessary. They are
updated automatically.
Note
Control Function Library V3.1 uses the faceplate-in-faceplate technology. For this reason, the
LCFL screens of the master copies in the project library are no longer available. Since the SiVarc
rules "LCFL_1200_CopyRules" and "LCFL_CopyRules" have a reference to these LCFL screens, you
must delete them manually.
Procedure
1. Open your V18 project in TIA Portal V19 Update 3.
The "Open project" dialog opens:
Note
An upgrading is not possible if a product is not installed in V19 Update 3, but is used in the
V18 project. Install the missing product and then perform the upgrade.
2. Click "Upgrade".
The upgrade will take a few minutes.
The project is opened.
Result
• The contents of the V18 project are saved in a new project with the V19 Update 3 project
version.
• The original project is not overwritten and can still be used with TIA Portal V18.
2.2.2 Changing the Runtime version of the HMI device to V19 Update 3
Procedure
1. Right-click on the HMI device in the project tree.
2. Select "Change device / version".
The "Change device - SIMATIC WinCC Unified PC" dialog opens.
3. Navigate to "SIMATIC WinCC Unified PC" in the right tree.
The existing HMI device with version V19 Update 3 is automatically displayed under "New
device".
Introduction
The LCFL screens of Control Function Library V2.0 that were used in the TIA Portal project are no
longer needed due to the faceplate-in-faceplate technology.
Procedure
1. Navigate in the project tree to the "Screens" folder below your HMI device.
2. Delete the entire subfolder "LCFL".
Introduction
To prevent the LCFL screens of Control Function Library V2.0 from being used in the TIA Portal
project, delete the LCFL screens from the project library.
Procedure
1. Navigate in the project library to "Master copies > LCFL"
2. Delete the following folders:
– Drives
– Interlock
– Monitoring
– Operate
Introduction
The SiVarc rules "LCFL_1200_CopyRules" and "LCFL_CopyRules" of Control Function Library V2.0
that were used in the TIA Portal project are no longer needed due to the faceplate-in-faceplate
technology.
Procedure
1. Navigate in the project tree to "SiVarc > Copy rule table".
2. Double-click on the table "Default copy rule table".
The table is opened in the work area.
3. Delete the following folders:
– LCFL_1200_CopyRules
– LCFL_CopyRules
Introduction
To prevent the SiVarc rules of Control Function Library V2.0 from being used in the TIA Portal
project, delete the SiVarc rules from the project library.
Procedure
1. Navigate in the project library to "Master copies > LCFL > SiVarc"
2. Delete the following rules:
– LCFL_1200_CopyRules
– LCFL_CopyRules
Procedure
1. Open the "Libraries" task card.
2. Expand the "Global libraries".
3. Click "Update types > Library" in the context menu of "Control Function Library".
The "Update types in the project" dialog opens.
4. Select the options "Update instances in the project" and "Delete unused type versions without
the "Default" identifier from the library", if not selected by default:
5. Click "OK".
Note
If a window with the message "Inconsistent update" appears, click "No".
Introduction
The "Clean up project library" function is used to remove old types of the Control Function Library
that are not contained in the Control Function Library V3.1.
Procedure
1. Navigate in the project library to "Types > LCFL".
2. Click "Library management" in the context menu of the "LCFL" folder.
The "Library view" opens.
Result
All types that are not used in the project have been deleted from the project library. The folder
structure is retained.
Introduction
To use the master copies in your TIA Portal project, copy the master copies to the project library.
Procedure
1. Expand the "Control Function Library" library under "Global libraries".
2. Using drag-and-drop, move the "Master copies" folder of the global library onto the "Master
copies" folder of the project library.
More information on libraries is available in the STEP 7 manual under "Using libraries".
"Types" folder
The following folders with the corresponding function blocks, PLC data types, and faceplates
are available under "Types > LCFL". A distinction is made here between the hardware families
"SIMATIC S7-1200" and "SIMATIC S7-1500", as well as "PLC Hardware" and "PLC Software".
Folder Sub folder Program block PLC data types Program blocks Program blocks Faceplates
(Family) (Control (hardware fami‐ (PLC hardware) (PLC software) (WinCC Unified)
module) ly)
Common Diagnostics SIMATIC S7-1200 LCFL_1200_type - - LCFL_1200_Sta‐
Blocks Diagnostics tus
SIMATIC S7-1500 LCFL_typeDiag‐ - - LCFL_Status
nostics
DriveInter‐ SIMATIC S7-1200 LCFL_1200_Driv‐ - - -
connector eInterconnector
SIMATIC S7-1500 LCFL_DriveInter‐ - - -
connector
Feedback SIMATIC S7-1200 - LCFL_1200_Feed - -
Monitoring backMonitoring
SIMATIC S7-1500 - LCFL_Feedback‐ LCFL_SW_Feed‐ -
Monitoring backMonitoring
Interlock SIMATIC S7-1200 - LCFL_1200_In‐ - -
terlock
SIMATIC S7-1500 - LCFL_Interlock LCFL_SW_Inter‐ -
lock
Maintenance SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Mai - LCFL_1200_Main‐
Maintenance ntenance tenance1
LCFL_1200_type LCFL_1200_Main‐
ConfigMainte‐ tenance2
nance
LCFL_1200_type
ConfigMainte‐
nanceSiemens
SIMATIC S7-1500 LCFL_typeMain‐ LCFL_Mainte‐ LCFL_SW_Main‐ LCFL_Mainte‐
tenance nance tenance nance1
LCFL_typeCon‐ LCFL_Mainte‐
figMaintenance nance2
LCFL_typeCon‐
figMaintenance‐
Siemens
Operation SIMATIC S7-1200 - LCFL_1200_Op‐ - LCFL_Operation‐
Mode erationMode Mode
SIMATIC S7-1500 - LCFL_Operation‐ LCFL_SW_Opera‐ -
Mode tionMode
OS Level SIMATIC S7-1200 LCFL_1200_type - - LCFL_1200_OSLe‐
MTPOSLevel velControl
LCFL_1200_type LCFL_1200_OSLe‐
MTPOSLevelSie‐ velIcon
mens
LCFL_1200_type
OSLevelSiemens
SIMATIC S7-1500 LCFL_typeMTPO‐ - - LCFL_OSLevel‐
SLevel Control
LCFL_typeMTPO‐ LCFL_OSLevelIcon
SLevelSiemens
Folder Sub folder Program block PLC data types Program blocks Program blocks Faceplates
(Family) (Control (hardware fami‐ (PLC hardware) (PLC software) (WinCC Unified)
module) ly)
LCFL_typeOSLe‐
velSiemens
Source Mode SIMATIC S7-1200 - LCFL_1200_Sour - -
ceMode
SIMATIC S7-1500 - LCFL_Source‐ LCFL_SW_Sour‐ -
Mode ceMode
LCFL_Navi‐ SIMATIC S7-1200 - - - LCFL_1200_Navi‐
gationBar gationBar
SIMATIC S7-1500 - - - LCFL_Navigation‐
Bar
Folder Sub folder Program block PLC data types Program blocks Program blocks Faceplates
(Family) (Control (hardware fami‐ (PLC hardware) (PLC software) (WinCC Unified)
module) ly)
Drives MonAnaDrv SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Mo‐ - LCFL_1200_Mo‐
ConfigMonA‐ nAnaDrv nAnaDrvBasic
naDrv LCFL_1200_Mo‐
LCFL_1200_type nAnaDrvHome1
MTPMonAnaDrv LCFL_1200_Mo‐
LCFL_1200_type nAnaDrvHome2
MTPMonAnaDrv‐ LCFL_1200_Mo‐
Siemens nAnaDrvHome3
LCFL_1200_Mo‐
nAnaDrvSettings1
LCFL_1200_Mo‐
nAnaDrvSettings2
LCFL_1200_Mo‐
nAnaDrvSymbol
SIMATIC S7-1500 LCFL_typeCon‐ LCFL_MonAn‐ LCFL_SW_Mo‐ LCFL_MonAn‐
figMonAnaDrv aDrv nAnaDrv aDrvBasic
LCFL_type‐ LCFL_MonAn‐
MTPMonAnaDrv aDrvHome1
LCFL_type‐ LCFL_MonAn‐
MTPMonAnaDrv‐ aDrvHome2
Siemens LCFL_MonAn‐
aDrvHome3
LCFL_MonAn‐
aDrvSettings1
LCFL_MonAn‐
aDrvSettings2
LCFL_MonAn‐
aDrvSymbol
MonAnaVlv SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Mo‐ - LCFL_1200_Mo‐
ConfigMonA‐ nAnaVlv nAnaVlvBasic
naVlv LCFL_1200_Mo‐
LCFL_1200_type nAnaVlvHome1
MTPMonAnaVlv LCFL_1200_Mo‐
LCFL_1200_type nAnaVlvHome2
MTPMonAnaVlv‐ LCFL_1200_Mo‐
Siemens nAnaVlvSettings
LCFL_1200_Mo‐
nAnaVlvSymbol
SIMATIC S7-1500 LCFL_typeCon‐ LCFL_MonAn‐ LCFL_SW_Mo‐ LCFL_MonAnaVlv‐
figMonAnaVlv aVlv nAnaVlv Basic
LCFL_type‐ LCFL_MonAnaVlv‐
MTPMonAnaVlv Home1
LCFL_type‐ LCFL_MonAnaVlv‐
MTPMonAnaVlv‐ Home2
Siemens LCFL_MonAnaVlv‐
Settings
Folder Sub folder Program block PLC data types Program blocks Program blocks Faceplates
(Family) (Control (hardware fami‐ (PLC hardware) (PLC software) (WinCC Unified)
module) ly)
LCFL_MonAnaVlv‐
Symbol
MonBinDrv SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Mon - LCFL_1200_Mon‐
ConfigMon‐ BinDrv BinDrvBasic
BinDrv LCFL_1200_Mon‐
LCFL_1200_type BinDrvHome
MTPMonBinDrv LCFL_1200_Mon‐
LCFL_1200_type BinDrvSettings
MTPMonBinDrv‐ LCFL_1200_Mon‐
Siemens BinDrvSymbol
SIMATIC S7-1500 LCFL_typeCon‐ LCFL_MonBinDrv LCFL_SW_Mon‐ LCFL_MonBinDrv‐
figMonBinDrv BinDrv Basic
LCFL_type‐ LCFL_MonBinDrv‐
MTPMonBinDrv Home
LCFL_type‐ LCFL_MonBinDrv‐
MTPMonBinDrv‐ Settings
Siemens LCFL_MonBinDrv‐
Symbol
MonBinVlv SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Mon - LCFL_1200_Mon‐
ConfigMon‐ BinVlv BinVlvBasic
BinVlv LCFL_1200_Mon‐
LCFL_1200_type BinVlvHome
MTPMonBinVlv LCFL_1200_Mon‐
LCFL_1200_type BinVlvSettings1
MTPMonBinVlv‐ LCFL_1200_Mon‐
Siemens BinVlvSettings2
LCFL_1200_Mon‐
BinVlvSymbol
SIMATIC S7-1500 LCFL_typeCon‐ LCFL_MonBinVlv LCFL_SW_Mon‐ LCFL_MonBinVlv‐
figMonBinVlv BinVlv Basic
LCFL_type‐ LCFL_MonBinVlv‐
MTPMonBinVlv Home
LCFL_type‐ LCFL_MonBinVlv‐
MTPMonBinVlv‐ Settings1
Siemens LCFL_MonBinVlv‐
Settings2
LCFL_MonBinVlv‐
Symbol
Folder Sub folder Program block PLC data types Program blocks Program blocks Faceplates
(Family) (Control (hardware fami‐ (PLC hardware) (PLC software) (WinCC Unified)
module) ly)
Interlock LockView4 SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Lock - LCFL_1200_Lock‐
ConfigLock‐ View4 View4Basic
View4 LCFL_1200_Lock‐
LCFL_1200_type View4Home
MTPLockView4 LCFL_1200_Lock‐
LCFL_1200_type View4Symbol
MTPLock‐
View4Siemens
SIMATIC S7-1500 LCFL_typeConfi‐ LCFL_LockView4 LCFL_SW_Lock‐ LCFL_Lock‐
gLockView4 View4 View4Basic
LCFL_type‐ LCFL_Lock‐
MTPLockView4 View4Home
LCFL_type‐ LCFL_Lock‐
MTPLock‐ View4Symbol
View4Siemens
LockView8 SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Lock - LCFL_1200_Lock‐
ConfigLock‐ View8 View8Basic
View8 LCFL_1200_Lock‐
LCFL_1200_type View8Home
MTPLockView8 LCFL_1200_Lock‐
LCFL_1200_type View8Symbol
MTPLock‐
View8Siemens
SIMATIC S7-1500 LCFL_typeConfi‐ LCFL_LockView8 LCFL_SW_Lock‐ LCFL_Lock‐
gLockView8 View8 View8Basic
LCFL_type‐ LCFL_Lock‐
MTPLockView8 View8Home
LCFL_type‐ LCFL_Lock‐
MTPLock‐ View8Symbol
View8Siemens
Folder Sub folder Program block PLC data types Program blocks Program blocks Faceplates
(Family) (Control (hardware fami‐ (PLC hardware) (PLC software) (WinCC Unified)
module) ly)
Monitoring AnaMon SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Ana‐ - LCFL_1200_Ana‐
ConfigAnaMon Mon MonBasic
LCFL_1200_type LCFL_1200_Ana‐
MTPAnaMon MonHome
LCFL_1200_type LCFL_1200_Ana‐
MTPAnaMonSie‐ MonSettings1
mens LCFL_1200_Ana‐
MonSettings2
LCFL_1200_Ana‐
MonSymbol
SIMATIC S7-1500 LCFL_typeConfi‐ LCFL_AnaMon LCFL_SW_Ana‐ LCFL_AnaMonBa‐
gAnaMon Mon sic
LCFL_typeMTPA‐ LCFL_AnaMon‐
naMon Home
LCFL_typeMTPA‐ LCFL_AnaMonSet‐
naMonSiemens tings1
LCFL_AnaMonSet‐
tings2
LCFL_AnaMon‐
Symbol
BinMon SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Bin‐ - LCFL_1200_Bin‐
ConfigBinMon Mon MonBasic
LCFL_1200_type LCFL_1200_Bin‐
MTPBinMon MonHome
LCFL_1200_type LCFL_1200_Bin‐
MTPBinMonSie‐ MonSettings
mens LCFL_1200_Bin‐
MonSymbol
SIMATIC S7-1500 LCFL_typeCon‐ LCFL_BinMon LCFL_SW_Bin‐ LCFL_BinMonBa‐
figBinMon Mon sic
LCFL_type‐ LCFL_BinMon‐
MTPBinMon Home
LCFL_type‐ LCFL_BinMonSet‐
MTPBinMonSie‐ tings
mens LCFL_BinMon‐
Symbol
DIntMon SIMATIC S7-1200 LCFL_1200_type LCFL_1200_DInt - LCFL_1200_DInt‐
ConfigDIntMon Mon MonBasic
LCFL_1200_type LCFL_1200_DInt‐
MTPDIntMon MonHome
LCFL_1200_type LCFL_1200_DInt‐
MTPDIntMonSie‐ MonSettings1
mens LCFL_1200_DInt‐
MonSettings2
LCFL_1200_DInt‐
MonSymbol
Folder Sub folder Program block PLC data types Program blocks Program blocks Faceplates
(Family) (Control (hardware fami‐ (PLC hardware) (PLC software) (WinCC Unified)
module) ly)
SIMATIC S7-1500 LCFL_typeCon‐ LCFL_DIntMon LCFL_SW_DInt‐ LCFL_DIntMonBa‐
figDIntMon Mon sic
LCFL_type‐ LCFL_DIntMon‐
MTPDIntMon Home
LCFL_type‐ LCFL_DIntMon‐
MTPDIntMonSie‐ Settings1
mens LCFL_DIntMon‐
Settings2
LCFL_DIntMon‐
Symbol
StringView SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Strin - LCFL_1200_String
ConfigString‐ gView ViewBasic
View LCFL_1200_String
LCFL_1200_type ViewHome
MTPStringView LCFL_1200_String
LCFL_1200_type ViewSymbol
MTPStringView‐
Siemens
SIMATIC S7-1500 LCFL_typeCon‐ LCFL_StringView LCFL_SW_String‐ LCFL_StringView‐
figStringView View Basic
LCFL_type‐ LCFL_StringVie‐
MTPStringView wHome
LCFL_type‐ LCFL_StringView‐
MTPStringView‐ Symbol
Siemens
Folder Sub folder Program block PLC data types Program blocks Program blocks Faceplates
(Family) (Control (hardware fami‐ (PLC hardware) (PLC software) (WinCC Unified)
module) ly)
Operate AnaManInt SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Ana‐ - LCFL_1200_Ana‐
ConfigAnaMa‐ ManInt ManIntBasic
nInt LCFL_1200_Ana‐
LCFL_1200_type ManIntHome
MTPAnaManInt LCFL_1200_Ana‐
LCFL_1200_type ManIntSymbol
MTPAnaManInt‐
Siemens
SIMATIC S7-1500 LCFL_typeConfi‐ LCFL_AnaManInt LCFL_SW_Ana‐ LCFL_AnaManInt‐
gAnaManInt ManInt Basic
LCFL_typeMTPA‐ LCFL_AnaManIn‐
naManInt tHome
LCFL_typeMTPA‐ LCFL_AnaManInt‐
naManIntSie‐ Symbol
mens
BinManInt SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Bin‐ - LCFL_1200_Bin‐
ConfigBinManInt ManInt ManIntBasic
LCFL_1200_type LCFL_1200_Bin‐
MTPBinManInt ManIntHome
LCFL_1200_type LCFL_1200_Bin‐
MTPBinManInt‐ ManIntSymbol
Siemens
SIMATIC S7-1500 LCFL_typeCon‐ LCFL_BinManInt LCFL_SW_BinMa‐ LCFL_BinManInt‐
figBinManInt nInt Basic
LCFL_type‐ LCFL_BinManIn‐
MTPBinManInt tHome
LCFL_type‐ LCFL_BinManInt‐
MTPBinManInt‐ Symbol
Siemens
DIntManInt SIMATIC S7-1200 LCFL_1200_type LCFL_1200_DInt - LCFL_1200_DInt‐
ConfigDIntMa‐ ManInt ManIntBasic
nInt LCFL_1200_DInt‐
LCFL_1200_type ManIntHome
MTPDIntManInt LCFL_1200_DInt‐
LCFL_1200_type ManIntSymbol
MTPDIntManInt‐
Siemens
SIMATIC S7-1500 LCFL_typeCon‐ LCFL_DIntMa‐ LCFL_SW_DInt‐ LCFL_DIntManInt‐
figDIntManInt nInt ManInt Basic
LCFL_type‐ LCFL_DIntManIn‐
MTPDIntManInt tHome
LCFL_type‐ LCFL_DIntManInt‐
MTPDIntManInt‐ Symbol
Siemens
Folder Sub folder Program block PLC data types Program blocks Program blocks Faceplates
(Family) (Control (hardware fami‐ (PLC hardware) (PLC software) (WinCC Unified)
module) ly)
Control Aggr8 SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Aggr - LCFL_1200_Aggr8
ConfigAggr8 8 Basic
LCFL_1200_type LCFL_1200_Aggr8
MTPAggr8 Home1
LCFL_1200_type LCFL_1200_Aggr8
MTPAggr8Sie‐ Home2
mens LCFL_1200_Aggr8
Home3
LCFL_1200_Aggr8
Settings1
LCFL_1200_Aggr8
Settings2
LCFL_1200_Aggr8
Symbol
SIMATIC S7-1500 LCFL_typeConfi‐ LCFL_Aggr8 LCFL_SW_Aggr8 LCFL_Aggr8Basic
gAggr8 LCFL_Aggr8Home
LCFL_typeAggr8 1
LCFL_type‐ LCFL_Aggr8Home
Aggr8Siemens 2
LCFL_Aggr8Home
3
LCFL_Aggr8Set‐
tings1
LCFL_Aggr8Set‐
tings2
LCFL_Aggr8Sym‐
bol
PIDCtrl SIMATIC S7-1200 LCFL_1200_type LCFL_1200_PIDC - LCFL_1200_PIDCt
ConfigPIDCtrl trl rlBasic
LCFL_1200_type LCFL_1200_PIDCt
MTPPIDCtrl rlHome
LCFL_1200_type LCFL_1200_PIDCt
MTPPIDCtrlSie‐ rlSettings
mens LCFL_1200_PIDCt
rlSymbol
SIMATIC S7-1500 LCFL_typeCon‐ LCFL_PIDCtrl LCFL_SW_PIDCtrl LCFL_PIDCtrlBasic
figPIDCtrl LCFL_PIDCtrl‐
LCFL_type‐ Home
MTPPIDCtrl LCFL_PIDCtrlSet‐
LCFL_type‐ tings
MTPPIDCtrlSie‐ LCFL_PIDCtrlSym‐
mens bol
TimeSwitch8 SIMATIC S7-1500 LCFL_typeCon‐ LCFL_Time‐ LCFL_SW_Time‐ LCFL_Time‐
figTimeSwitch8 Switch8 Switch8 Switch8Basic
LCFL_typeTimeS‐ LCFL_Time‐
witch8 Switch8Home1
Folder Sub folder Program block PLC data types Program blocks Program blocks Faceplates
(Family) (Control (hardware fami‐ (PLC hardware) (PLC software) (WinCC Unified)
module) ly)
LCFL_typeTimeS‐ LCFL_Time‐
witch8Siemens Switch8Home2
LCFL_Time‐
Switch8Settings
LCFL_Time‐
Switch8Symbol
Polyline16 SIMATIC S7-1200 LCFL_1200_type LCFL_1200_Poly‐ - LCFL_1200_Poly‐
ConfigPoly‐ line16 line16Basic
line16 LCFL_1200_Poly‐
LCFL_1200_type line16Home1
Polyline16 LCFL_1200_Poly‐
LCFL_1200_type line16Home2
Polyline16Sie‐ LCFL_1200_Poly‐
mens line16Settings
LCFL_1200_Poly‐
line16Symbol
SIMATIC S7-1500 LCFL_typeCon‐ LCFL_Polyline16 LCFL_SW_Poly‐ LCFL_Poly‐
figPolyline16 line16 line16Basic
LCFL_typePoly‐ LCFL_Poly‐
line16 line16Home1
LCFL_typePoly‐ LCFL_Poly‐
line16Siemens line16Home2
LCFL_Poly‐
line16Settings
LCFL_Poly‐
line16Symbol
SetCrv16 SIMATIC S7-1200 LCFL_1200_type LCFL_1200_SetC - LCFL_1200_SetCr
ConfigSetCrv16 rv16 v16Basic
LCFL_1200_type LCFL_1200_SetCr
SetCrv16 v16Home1
LCFL_1200_type LCFL_1200_SetCr
SetCrv16Sie‐ v16Home2
mens LCFL_1200_SetCr
v16Settings
LCFL_1200_SetCr
v16Symbol
SIMATIC S7-1500 LCFL_typeCon‐ LCFL_SetCrv16 LCFL_SW_SetCrv LCFL_SetCrv16Ba‐
figSetCrv16 16 sic
LCFL_type‐ LCFL_SetCrv16Ho
SetCrv16 me1
LCFL_type‐ LCFL_SetCrv16Ho
SetCrv16Sie‐ me2
mens LCFL_SetCrv16Set
tings
LCFL_SetCrv16Sy
mbol
Note
In the following sections, in which the function blocks, PLC data types, and faceplates are
described in more detail, no distinction is made between the hardware families or program
blocks. The function descriptions are identical.
The following folder with the graphics used in the faceplate is located under "Types > LCFL":
Monitoring
• AnaMon
LCFL_AnaMon_AlarmHighMessage
LCFL_AnaMon_AlarmLowMessage
LCFL_AnaMon_ToleranceHighMessage
LCFL_AnaMon_ToleranceLowMessage
LCFL_AnaMon_WarningHighMessage
LCFL_AnaMon_WarningLowMessage
• BinMon
Result
The "Types" folder with the function blocks, PLC data types and faceplates has been created
in the project library.
Note
The master copies must be moved separately from the global library to the project library using
drag-and-drop.
Result
All types that are not used in the project have been deleted from the project library. The
folder structure is retained.
Note
When all "Types" folders with the function blocks, PLC data types, and faceplates for each
hardware family have been updated or copied, the unused objects can be deleted again by
means of "Clean up project library". This can simplify the use of the objects, e.g. if only objects
from one hardware family are used. This also reduces the memory size of the TIA Portal project.
Note
Open faceplates are closed automatically when the language is changed.
Requirement
• Your TIA Portal project is open.
Note
If the title and comment are not configured for the selected reference language in the block, the
name of the block is exported as TagName and TagDescription.
Additional languages are exported as multilingual text if the title and comment are configured
in the block. If additional languages are configured, configuration of the English values is
mandatory.
Note
If the "Comment" field is not configured for the selected reference language in the technology
data block, the composite names of multi-instance and lower-level instance data blocks are
exported as TagName and TagDescription.
Additional languages are exported as multilingual text if the comment field is configured in the
technology data block. If additional languages are configured, configuration of the English value
is mandatory.
Introduction
In your project tree under "Common data > Alarm classes" the Control Function Library provides
you with 8 alarm classes with the following properties:
• Alarm (ID = 35; Acknowledgment = Yes; Priority = 12)
• Process alarm (ID = 36; Acknowledgment = Yes; Priority = 4)
• Status (ID = 37; Acknowledgment = No; Priority = 12)
• Tolerance (ID = 38; Acknowledgment = Yes; Priority = 8)
• Event message (ID = 39; Acknowledgment = No; Priority = 8)
• Maintenance demanded (ID = 40; Acknowledgment = Yes; Priority = 1)
Note
The alarm classes are additionally provided as an external object under "Control Function Library
> UserFiles > AlarmClasses.dat" and can be imported into the alarm classes under "Common
data" using the import function.
The alarm classes are automatically transferred from the "Common data" folder to your
HMI device. Each alarm class has the same default settings for colors and flash attributes.
Therefore, adapt the colors and flash attributes for all 8 alarm classes. You only need to make
these settings once for a TIA Portal project.
A proposal for each individual color and its flash attributes for each individual alarm class
is stored under the master copies in the "General > WinCC Unified > Alarm classes > HMI
alarms" folder. The master copies begin with the name "LCFL_Color".
Procedure
1. In your project tree, navigate to "<HMI device>[WinCC Unified PC RT] > HMI alarms".
2. In the display area, navigate to the "Alarm classes" tab.
The alarm classes are automatically taken from the "Common data" folder and displayed.
3. Select an alarm class.
4. In the Inspector window, navigate to "Settings > General > Colors".
5. Change the colors and flash attributes.
6. Repeat steps 3–5 for all 8 alarm classes of the Control Function Library.
Introduction
To use ProDiag, activate the alarm classes. If necessary, adapt the structure of the alarm texts.
The "FB parameters" of the "Supervisions with an error message" are used for the alarm texts.
The structure is specified as follows: <PLC name> : <Instance name> : <Specific text box>.
The specific text field is the alarm text defined in the function block and is a requirement for
alarm filtering in the associated alarm overview (faceplate).
Procedure
1. In your project tree, navigate to "Common data > Supervision settings".
2. Navigate to "General > Categories" in the display area.
Result
The alarm classes are activated and, if necessary, the structure of the alarm texts is adapted.
The monitoring settings are additionally provided as an external object under "Control
Function Library > UserFiles > ProDiagSettings.dat". These can be imported via the import
function in the monitoring settings under "Common data".
1
2
3
① Name of the ProDiag function block, e.g. "Station_1", "Station_2", etc., for structuring the
program code according to machine and plant units.
② The type is always "FB" for function block.
③ A ProDiag function block is created in the PRODIAG programming language (incl. IDB).
④ Depending on the version, the number of supervisions is defined (maximum 250
monitors in version 1.0 and 1,000 supervisions in version 2.0)
⑤ Each instance data block that contains supervisions has an attribute for ProDiag.
⑥ The instance DB must be assigned to a ProDiag function block.
2 3
4
⑧ The specific text field always starts with the tag name. For this purpose, the placeholder
"<Tag: "Tag 1 (SD_4)">" is used to use the linked tag. The specific text field is defined as
follows: <Tag name> : <Alarm text>. The alarm text is provided in all supplied languages.
⑨ The "tagName" tag from the "HMI" structure is linked in "Tag 1 (SD_4)". This tag is a
requirement for alarm filtering in the associated alarm overview (faceplate).
1
2
5
6
7
⑤ The user must assign the corresponding alarm display tag, marked with "Message" at the
end of the tag designation, to the discrete alarm.
⑥ Since the alarm display tag is a binary variable, bit 0 is selected here.
⑦ "Mode" is always set to "Rising edge".
⑧ The alarm text is defined as follows: <PLC name> : <Instance name> : <Tag name> :
<Alarm text>. The alarm text is provided in all required languages. The user must replace
the placeholders <PLC name> and <Instance name> with the corresponding names in all
available languages.
⑨ The "tagName" tag from the "HMI" structure must be linked under "Parameter 1". The
placeholder "1%s" is replaced by the string of the "tagName" tags in the alarm text.
6.1.1 DriveInterconnector
Description
The "LCFL_DriveInterconnector" function is used for the following application areas:
• Expand LCFL_Aggregate8 with the drive interconnector interface by up to 8 connections
• Expand LCFL drives with the drive interconnector interface by 1 connector
With the LCFL_DriveInterconnector you have the possibility to connect the LCFL drives
(LCFL_MonBinDrv, LCFL_MonAnaDrv, LCFL_MonBinDrv, LCFL_MonAnaVlv) to a higher-level
control, such as LCFL_Aggregate8 (LCFL_Aggr8). The higher-level control can send control
information, for example send commands to the drive. The drive can, for example, send
status information to the higher-level control.
Configuration
LCFL drives
All LCFL drives are equipped with the input/output parameter "interconnector".
The function is called within an LCFL_function block. The "interconnector" input/
output parameter on the LCFL function block must be associated with the
"LCFL_typeDriveInterconnector" data type.
output parameter "configuration" to the LCFL_Agg8 function block via the data type
"LCFL_typeConfigAggr8".
6.1.2 FeedbackMonitoring
Description
The "LCFL_FeedbackMonitoring" function monitors the feedback messages and distinguishes
between static and dynamic errors.
Feedback monitoring
You can activate or deactivate the feedback monitoring:
Safe position
You have the option of activating a safe position. When an error occurs, for example, a valve
then automatically enters a configured safe position.
Configuration
The function is called within an LCFL function block. The block interface is supplied by the calling
LCFL function block.
6.1.3 Interlock
Description
The "LCFL_Interlock" function manages the interlock of an LCFL function block. The function
supports three interlock types:
• Authorization
Permit or lock operation of the faceplate.
• Interlock
Allow an object status change (e.g. a valve) or lock it (interlock without resetting).
• Protection
Allow or lock an object status change (e.g. a valve). A reset is required to enable a status
change once again (interlock with reset).
Displaying interlocks
The current interlocks are connected to the inputs of the calling LCFL function blocks:
Note
If no safe position is configured, the object remains in the current position.
Configuration
The function is called within an LCFL function block. The block interface is supplied by the calling
LCFL function block.
6.1.4 Maintenance
Description
The "LCFL_Maintenance" function is used for the following application areas:
• Measure the actual operating time of the drive.
• Measure the actual cycle time of the drive.
• Measure the number of status changes to determine how many times the drive has been
switched to the on status.
• Measure the number of alarms to determine how often the drive displays an alarm.
• Compare the actual values with the associated limit value.
• Change the actual values and limit values on the HMI.
"controlActive" input
The "controlActive" input indicates whether the drive is active. If the drive is active
(controlActive = 1), this information is used as a calculation basis for the operating time
and cycle time.
"alarmActive" input
The "alarmActive" input indicates whether the drive is in an alarm state. If the alarm status
is active (alarmActive = 1), this information is used as a calculation basis for the number of
status changes and alarms.
Limits
You have the option to set limit values for operating time, cycle time, number of status
changes and number of alarms. The faceplate displays the actual values and their limit
values. If the actual value is greater than or equal to the limit value, the actual value is
displayed with a yellow border in the faceplate.
This information can be used to display a yellow warning on the drive icon and on the Home
view, and to issue alarms in the Alarm view.
If a limit value is set to 0, the associated value evaluation remains active. The limit-dependent
signals are deactivated at the function block output and at the HMI.
Configuration
The function is called within an LCFL_function block. All inputs must be interconnected. The
"configuration" input/output parameter on the LCFL function block must be associated with the
LCFL_typeConfigMaintenance data type.
Operating time
The times when the drive is activated are summed up as operating time. The
"HMI.operatingTimeAct" parameter contains the current operating time. When the limit of
operating time (HMI.operatingTimeLimit) is reached, the corresponding state
"HMI.operatingTimeReached = 1" is set.
Cycle time
The time elapsed since the last switch-on is summed up as cycle time. The parameter
"HMI.cycleTimeAct" contains the current cycle time. When the limit of the cycle time
(HMI.cycleTimeLimit) is reached, the corresponding state "HMI.cycleTimeReached = 1" is set.
Number of alarms
Whenever the drive indicates an alarm, the number of alarms is increased. The
"HMI.alarmCounterAct" parameter contains the current number of alarms. When the limit of the
quantity (HMI.alarmCounterLimit) is reached, the corresponding state
"HMI.alarmCounterReached = 1" is set.
6.1.5 OperationMode
Description
The "LCFL_OperationMode" function manages the operation mode of an LCFL function block.
The function supports three operation modes:
• Offline
• Operator
• Automatic
The operator mode is active when the PLC is started. Depending on the value of the
"stateChannel" input, the mode can be changed by the HMI inputs or the PLC inputs. The
changes are made by operator interaction or automatic interaction.
The following diagram shows how to switch between the different operation modes:
The offline mode has a higher priority than the operator mode. The operator mode has a
higher priority than the automatic mode. If all three states are requested simultaneously, the
object status is set to "Offline". If the operator mode and the automatic mode are requested
simultaneously, the object status is set to "Operator".
The direct transition from "Offline" to "Automatic" is not permitted.
Configuration
The function is called within an LCFL function block. The block interface is supplied by the calling
LCFL function block.
6.1.6 OSLevel
Description
With the "LCFL_OSLevel" function, you can specify whether read permission or write permission
is given for the views within the faceplates.
The OS Level provides a mechanism for monitoring the writing at multiple operator
levels. Each operating level (e.g. local control room / central control room) is assigned a
corresponding number. If the operator level value and the operating system level value from
the object match, the control elements permit the write command, otherwise the fields are
disabled. This prevents unauthorized write access at the operator level. The operator level
value is stored in a central data storage location within the OS level. All operator levels access
one and the same value.
State Meaning
OS level = 0 Manual operation is only allowed via local opera‐
tion.
OS level > 0 Manual operation is only permitted via the station
mode.
Procedure
1. Drag and drop the "LCFL_InternalTags" tag list from the master copy into the "HMI tags" folder
in your project.
2. Drag and drop the "LCFL_OSLevel" text list from the master copy into the "Text and graphic
lists" folder in your project.
3. Drag and drop a symbolic I/O field from the "Tools > Elements" area into your central screen.
4. In the Inspector window, go to "Properties > Properties > General".
5. Select the "Tag" property under "Process value" in the "Dynamization" column.
6. On the right, under "Process > Tag", select the "LCFL_OSLevel" tag from the
"LCFL_InternalTags" tag list.
7. In the Inspector window, go to "Properties > Properties > General".
8. Select the "LCFL_OSLevel" text list under "Resource list" in the "Static value" column.
① Actual OS level
Values Text list HMI tag
Permitted values = 0..255 LCFL_OSLevel HMI.mtpData.OSLevel
6.1.7 SourceMode
Description
The "LCFL_SourceMode" function manages the source mode of an LCFL function block. The
interface tags of the source mode implement a state machine to select a value specification for
interfaces. The inputs can come from two different sources:
• Manual
• Internal
Depending on the value of the "sourceChannel" input, the source mode can be changed via
the HMI inputs or the PLC inputs. The changes are made by operator interaction or automatic
interaction.
The following diagram shows how to switch between the different sources:
The "Internal" source mode has a higher priority than the "Manual" source mode. If both
source modes are requested simultaneously, the associated data is provided via the "Internal"
source mode.
Configuration
The function is called within an LCFL function block. The block interface is supplied by the calling
LCFL function block.
6.2 Interlock
6.2.1 LockView4
Description
The function block uses 4 logic inputs which either trigger an AND operation or an OR operation.
Based on these logic inputs, the output is set to "TRUE" or "FALSE". Every input can be activated
or deactivated.
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under input/output parameters of the function block, connect a tag that is derived from PLC
data type "LCFL_typeConfigLockView4".
In this PLC data type, the instance name and logical behavior are configured.
Overview
Input parameters
Output parameters
Input/output parameters
6.2.2 LockView8
Description
The function block uses 8 logic inputs which either trigger an AND operation or an OR operation.
Based on these logic inputs, the output is set to "TRUE" or "FALSE". Every input can be activated
or deactivated.
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under function block input/output parameter, connect a tag that is derived from the PLC data
type "LCFL_typeConfigLockView8".
In this PLC data type, the instance name and logical behavior are configured.
Overview
Input parameters
Output parameters
Input/output parameters
6.3 Drives
6.3.1 MonAnaDrv
Description
The "LCFL_MonAnaDrv" function block enables you to control a drive and specify a speed. The
drive stops, moves forward or moves in reverse with control signal. The drive cannot be moved
directly from one direction to the other. The drive must be stopped beforehand.
The following outputs are used to control the drive:
The controller is monitored by the forward and reverse checkback signals on the function
block. Missing feedback messages are derived from the control in the function block.
In addition, you can monitor the speed of the drive. The function block checks
the limits of the speed setpoint and forwards them to the "revolutionSpeed" output
depending on whether the manual (output: sourceManualActive = 1) or the internal
(output: sourceInternalActive = 1) source mode is active. When the drive is stopped,
the speed setpoint is set to 0. The setpoint is monitored by the checkback signal
"revolutionSpeedFeedback". An incorrect feedback can be derived from the setpoint in the
function block.
The output "safePosActive" indicates whether the safe position is activated (safe operation).
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under function block input/output parameter, connect a tag that is derived from the PLC data
type "LCFL_typeConfigMonAnaDrv".
Instance names, feedbacks, monitoring feedbacks, operator authorization, interlock and
protection are activated or deactivated and configured in this PLC data type. You can also
configure the safe position that the drive is set to in case of a monitoring error, as well as the
static and dynamic monitoring times.
The limits must be configured according to the following rule:
configuration.revolutionSpeedScaleMin <=
configuration.revolutionSpeedAlarmLowLim <=
0.0 <=
configuration.revolutionSpeedAlarmHighLim <=
configuration.revolutionSpeedScaleMax
Operating mode
The operating mode is applied from the subfunction "LCFL_OperationMode".
You can find more information at LCFL_OperationMode – Description of function (Page 62).
The operator mode is active when the PLC is started. The following actions are possible in the
individual operating modes:
Note
If an interconnector is being used and is active, the inputs "Stop", "Move forward" and "Move in
reverse" are inactive in automatic mode. The higher-level control sends the control signals via
the interconnector.
Drive interconnector
The drive interconnector is applied from the subfunction "LCFL_DriveInterconnector".
You can find more information at LCFL_DriveInterconnector – Description of function
(Page 55).
Configuration tag
Source mode
The source mode is applied from the subfunction LCFL_SourceMode.
You can find more information at LCFL_SourceMode – Description of function (Page 69).
Depending on the source mode, the value at the output "revolutionSpeed" is either set or
reset:
• "Manual" source mode
Specification of speed via faceplate (HMI.mtpData.RpmMan)
• "Internal" source mode
Specification of the speed via an interconnection at the "revolutionSpeedInternal" input.
The manual value is tracked from the limited internal value to achieve a smooth switchover
from the internal to the manual value.
Interlocks
The interlocks are applied from the subfunction "LCFL_Interlock".
You can find more information at LCFL_Interlock – Description of function (Page 58).
Feedback quality
The function block uses the "forwardFeedbackQuality" and "reverseFeedbackQuality" quality
inputs to check the validity of the corresponding checkback signals.
forwardActive
The quality inputs have effects on the "forwardActive" output. This can only be active when
the following conditions are defined:
• (configuration.forwardFeedbackEn = 1 AND forwardFeedbackQuality = 1)
AND
forwardFeedback = 1
• configuration.forwardFeedbackEn = 0
AND
controlForward = 1
reverseActive
The quality inputs have effects on the "reverseActive" output. This can only be active when
the following conditions are defined:
• (configuration.reverseFeedbackEn = 1 AND reverseFeedbackQuality = 1)
AND
reverseFeedback = 1
• configuration.reverseFeedbackEn = 0
AND
controlReverse = 1
safePosActive
The quality inputs have effects on the activation of the safe position (output:
"safePosActive"). The safe position is only active when the following conditions are defined:
• configuration.forwardFeedbackEn = 1
AND
forwardFeedbackQuality = 0
AND
configuration.reverseFeedbackEn = 1
AND
reverseFeedbackQuality = 0
AND
configuration.forwardEn = 1
AND
configuration.reverseEn = 1
• configuration.forwardFeedbackEn = 1
AND
forwardFeedbackQuality = 0
AND
configuration.forwardEn = 1
AND
configuration.reverseEn = 0
• configuration.reverseFeedbackEn = 1
AND
reverseFeedbackQuality = 0
AND
configuration.reverseEn = 1
AND
configuration.forwardEn = 0
Feedback monitoring
The feedback monitoring is applied from the subfunction "LCFL_FeedbackMonitoring".
You can find more information at LCFL_FeedbackMonitoring – Description of function
(Page 57).
Speed monitoring
The speed is monitored for deviations from the high limit and low limit, which you define
yourself. The "HMI.mtpData.RmpErr" tag is used to calculate the difference between the speed
setpoint "HMI.mtpData.Rmp" and the actual speed value "HMI.mtpData.RmpFbk".
To monitor the speed, you must activate the speed limits beforehand:
• Enable speed alarm high limit: "HMI.mtpData.RmpAHEn = 1"
• Enable speed alarm low limit: "HMI.mtpData.RmpALEn = 1"
If the difference is higher than the speed alarm high limit "HMI.mtpData.RmpAHLim", the
alarm of the speed high limit is displayed (HMI.mtpData.RmpAHAct).
If the difference is less than the speed alarm low limit "HMI.mtpData.RmpALLim", the alarm
of the speed low limit is displayed (HMI.mtpData.RmpALAct).
Safe position
The safe position of a drive is always the idle position (stopped).
You can exit the safe position by activating the operator authorization ("permit = 1" input).
The activation has no effect when the function block is not in the safe position. An
active interlock ("interlock = 0" or "protect = 0" inputs) moves the function block into the
safe position. Depending on the input configuration, the drive moves to its safe position
(configuration.monitorSafePos) or not after a feedback error.
Reset
In the following cases, the operator (HMI.mtpData.ResetOp) or an activation sequence must
perform a "Reset" by means of interconnection (reset):
• To activate the interlock again after the interlock condition at the input "protect = 0 -> 1" has
been deleted.
• To activate the safety indicator again after the trip condition has been deleted.
• To prevent a feedback monitoring error or speed monitoring error from being displayed after
the error has been corrected.
Maintenance
The maintenance is applied from the subfunction "LCFL_Maintenance".
You can find more information at LCFL_Maintenance – Description of function (Page 60).
Overview
Input parameters
Output parameters
Input/output parameters
6.3.2 MonAnaVlv
Description
You can use the function block "LCFL_MonAnaVlv" to open or close an analog valve with a
control signal.
The following outputs are used to open and close the valve:
When the valve is opened, the valve is set to the maximum position configuration that is
configured at the "configuration.posMax" parameter.
When the valve is closed, the valve is set to the minimum position configuration that is
configured at the "configuration.posMin" parameter.
With the "position" parameter, the current setpoint position of the valve is output and can
thus be monitored.
The controller is monitored by the open and close checkback signals at the function block.
Missing feedback messages are derived from the control in the function block.
The function block checks the limits of the position setpoint and forwards them to the
output position depending on whether the manual or the internal source mode is active. The
setpoint is monitored by the feedback signal "positionFeedback". An incorrect feedback can
be derived from the setpoint in the function block.
The output "safePosActive" indicates whether the safe position is activated (safe operation).
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under function block input/output parameter, connect a tag that is derived from the PLC data
type "LCFL_typeConfigMonAnaVlv".
Instance names, feedbacks, monitoring feedbacks, operator authorization, interlock and
protection are activated or deactivated and configured in this PLC data type. You also
configure the safe position (valve open or valve closed) that the valve is set to in case of
a monitoring error, as well as the static and dynamic monitoring times and the position.
Position limits
The limits must be configured according to the following rules:
• configuration.positionMin < configuration.positionMax
• configuration.positionScaleMin < configuration.positionScaleMax
• configuration.positionTolerance >= 0.0
Operating mode
The operating mode is applied from the subfunction "LCFL_OperationMode".
You can find more information at LCFL_OperationMode – Description of function (Page 62).
The operator mode is active when the PLC is started. The following actions are possible in the
individual operating modes:
Note
If an interconnector is being used and is active, the inputs "Open valve" and "Close valve" are
inactive in automatic mode. The higher-level control sends the control signals via the
interconnector.
Drive interconnector
The drive interconnector is applied from the subfunction "LCFL_DriveInterconnector".
You can find more information at LCFL_DriveInterconnector – Description of function
(Page 55).
Configuration tag
Source mode
The source mode is applied from the subfunction LCFL_SourceMode.
You can find more information at LCFL_SourceMode – Description of function (Page 69)
Depending on the source mode, the integer value at the output "valueOut" is either set or
reset:
• "Manual" source mode
Specification of position setpoint via HMI (HMI.mtpData.PosMan)
• "Internal" source mode
Specification of the position setpoint via an interconnection at the "positionInternal" input.
The manual value is tracked from the limited internal value to achieve a smooth switchover
from the internal to the manual value.
Interlocks
The interlocks are applied from the subfunction "LCFL_Interlock".
You can find more information at LCFL_Interlock – Description of function (Page 58).
Feedback calculation
Feedback signals can be calculated by the function block itself via the following configurations:
Parameter Calculation
openFeedback openFeedbackCalculated = ABS (positionFeedback - configu‐
ration.positionMax) <= configuration.positionTolerance
closeFeedback closeFeedbackCalculated = ABS (positionFeedback - configu‐
ration.positionMin) <= configuration.positionTolerance
Parameter Calculation
positionFeedback positionFeedbackCalculated = position
The status of the feedback calculations is displayed on HMI.mtpData.*FbkCalc. When the tag
= 1, the feedback is calculated; otherwise, the corresponding inputs are linked as feedback
source. Feedback calculation is disabled by default.
Feedback quality
The function block uses the "openFeedbackQuality", "closeFeedbackQuality" and
"positionFeedbackQuality" quality inputs to check the validity of the corresponding checkback
signals.
openActive
The "openActive" output shows the status of the open feedback signal:
• 1: Open
• 0: Not open
The feedback signal can be calculated or linked with the corresponding input as described in
the "Feedback calculation" section.
closeActive
The "closeActive" output shows the status of the close feedback signal:
• 1: Closed
• 0: Not closed
The feedback signal can be calculated or linked with the corresponding input as described in
the "Feedback calculation" section.
safePosActive
The output "safePosActive" = 1 (HMI.mtpData.SafePosAct) when the safe position is activated
(safePosEn). The safe position can be configured as described in the section "Safe position".
Feedback monitoring
The feedback monitoring is applied from the subfunction "LCFL_FeedbackMonitoring".
You can find more information at LCFL_FeedbackMonitoring – Description of function
(Page 57).
Position monitoring
Position monitoring expands feedback monitoring with tags. The system also monitors whether
the execution time to open or close the valve is within the set time. The HMI.mtpData.MonPosErr
and monitorPositionErr output tags indicate violation of the execution time. The target position
has been reached when the setpoint position +/– the position tolerance has been reached. The
position tolerance is defined by means of configuration.positionTolerance. Position monitoring
is enabled with configuration.monitorEn = 1. The monitoring time for positioning errors is
defined with configuration.monitorPositionTime. HMI.mtpData.PosReachedFbk indicates that
the setpoint position that is being calculated has been reached: ABS (HMI.mtpData.PosFbk –
HMI.mtpData.Pos) <= configuration.positionTolerance.
Safe position
The safe position is defined by the following parameter:
Reset
In the following cases, the operator (HMI.mtpData.ResetOp) or an activation sequence must
perform a "Reset" by means of interconnection (reset):
• To activate the interlock again after the interlock condition at the input "protect = 0 -> 1" has
been deleted.
• To activate the safety indicator again after the trip condition has been deleted.
• To prevent a monitoring error from being displayed after the error has been corrected.
Maintenance
The maintenance is applied from the subfunction "LCFL_Maintenance".
You can find more information at LCFL_Maintenance – Description of function (Page 60).
Overview
Input parameters
Output parameters
Input/output parameters
6.3.3 MonBinDrv
Description
The "LCFL_MonBinDrv" function block enables you to control a drive. The drive stops, moves
forward or moves in reverse with control signal. The drive cannot be moved directly from one
direction to the other. The drive must be stopped beforehand.
The controller is monitored by the forward and reverse checkback signals on the function
block. Missing feedback messages are derived from the control in the function block.
The output "safePosActive" indicates whether the safe position is activated (safe operation).
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under function block input/output parameter, connect a tag that is derived from the PLC data
type "LCFL_typeConfigMonBinDrv".
Instance names, feedbacks, monitoring feedbacks, operator authorization, interlock and
protection are activated or deactivated and configured in this PLC data type. You can also
configure the safe position that the drive is set to in case of a monitoring error, as well as the
static and dynamic monitoring times.
Operating mode
The operating mode is applied from the subfunction "LCFL_OperationMode".
You can find more information at LCFL_OperationMode – Description of function (Page 62).
The operator mode is active when the PLC is started. The following actions are possible in the
individual operating modes:
Note
If an interconnector is being used and is active, the inputs "Stop", "Move forward" and "Move in
reverse" are inactive in automatic mode. The higher-level control sends the control signals via
the interconnector.
Drive interconnector
The drive interconnector is applied from the subfunction "LCFL_DriveInterconnector".
You can find more information at LCFL_DriveInterconnector – Description of function
(Page 55).
Configuration tag
Interlocks
The interlocks are applied from the subfunction "LCFL_Interlock".
You can find more information at LCFL_Interlock – Description of function (Page 58).
Feedback quality
The function block uses the "forwardFeedbackQuality" and "reverseFeedbackQuality" quality
inputs to check the validity of the corresponding checkback signals.
forwardActive
The quality inputs have effects on the "forwardActive" output. This can only be active when
the following conditions are defined:
• (configuration.forwardFeedbackEn = 1 AND forwardFeedbackQuality = 1)
AND
forwardFeedback = 1
• configuration.forwardFeedbackEn = 0
AND
controlForward = 1
reverseActive
The quality inputs have effects on the "reverseActive" output. This can only be active when
the following conditions are defined:
• (configuration.reverseFeedbackEn = 1 AND reverseFeedbackQuality = 1)
AND
reverseFeedback = 1
• configuration.reverseFeedbackEn = 0
AND
controlReverse = 1
safePosActive
The quality inputs have effects on the activation of the safe position (output:
"safePosActive"). The safe position is only active when the following conditions are defined:
• configuration.forwardFeedbackEn = 1
AND
forwardFeedbackQuality = 0
AND
configuration.reverseFeedbackEn = 1
AND
reverseFeedbackQuality = 0
AND
configuration.forwardEn = 1
AND
configuration.reverseEn = 1
• configuration.forwardFeedbackEn = 1
AND
forwardFeedbackQuality = 0
AND
configuration.forwardEn = 1
AND
configuration.reverseEn = 0
• configuration.reverseFeedbackEn = 1
AND
reverseFeedbackQuality = 0
AND
configuration.reverseEn = 1
AND
configuration.forwardEn = 0
Feedback monitoring
The feedback monitoring is applied from the subfunction "LCFL_FeedbackMonitoring".
You can find more information at LCFL_FeedbackMonitoring – Description of function
(Page 57).
Safe position
The safe position of a drive is always the idle position (stopped).
You can exit the safe position by activating the operator authorization ("permit = 1" input).
The activation has no effect when the function block is not in the safe position. An
active interlock ("interlock = 0" or "protect = 0" inputs) moves the function block into the
safe position. Depending on the input configuration, the drive moves to its safe position
(configuration.monitorSafePos) or not after a feedback error.
Reset
In the following cases, the operator (HMI.mtpData.ResetOp) or an activation sequence must
perform a "Reset" by means of interconnection (reset):
• To activate the interlock again after the interlock condition at the input "protect = 0 -> 1" has
been deleted.
• To activate the safety indicator again after the trip condition has been deleted.
• To prevent a monitoring error from being displayed after the error has been corrected.
Maintenance
The maintenance is applied from the subfunction "LCFL_Maintenance".
You can find more information at LCFL_Maintenance – Description of function (Page 60).
Overview
Input parameters
Output parameters
Input/output parameters
6.3.4 MonBinVlv
Description
You can use the function block "LCFL_MonBinVlv" to open or close a valve with a control signal.
The following outputs are used to open and close the valve:
The controller is monitored by the open and close checkback signals at the function block.
Missing feedback messages are derived from the control in the function block.
The output "safePosActive" indicates whether the safe position is activated (safe operation).
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under function block input/output parameter, connect a tag that is derived from the PLC data
type "LCFL_typeConfigMonBinVlv".
Instance names, feedbacks, monitoring feedbacks, operator authorization, interlock and
protection are activated or deactivated and configured in this PLC data type. You also
configure the safe position (valve open or valve closed) that the valve is set to in case of
a monitoring error, as well as the static and dynamic monitoring times.
Operating mode
The operating mode is applied from the subfunction "LCFL_OperationMode".
You can find more information at LCFL_OperationMode – Description of function (Page 62).
The operator mode is active when the PLC is started. The following actions are possible in the
individual operating modes:
Note
If an interconnector is being used and is active, the inputs "Open valve" and "Close valve" are
inactive in automatic mode. The higher-level control sends the control signals via the
interconnector.
Drive interconnector
The drive interconnector is applied from the subfunction "LCFL_DriveInterconnector".
You can find more information at LCFL_DriveInterconnector – Description of function
(Page 55).
Configuration tag
Interlocks
The interlocks are applied from the subfunction "LCFL_Interlock".
You can find more information at LCFL_Interlock – Description of function (Page 58).
Feedback quality
The function block uses the "openFeedbackQuality" and "closeFeedbackQuality" quality inputs
to check the validity of the corresponding checkback signals.
openActive
The quality inputs have effects on the "openActive" output. This can only be active when the
following conditions are defined:
• (configuration.openFeedbackEn = 1 AND openFeedbackQuality = 1)
AND
openFeedback = 1
• (configuration.openFeedbackEn = 0 OR openFeedbackQuality = 0)
AND
(configuration.closeFeedbackEn = 1 AND closeFeedbackQuality = 1)
AND
closeFeedback = 0
• (configuration.openFeedbackEn = 0 OR openFeedbackQuality = 0)
AND
(configuration.closeFeedbackEn = 0 OR closeFeedbackQuality = 0)
AND
controlOpen = 1
closeActive
The quality inputs have effects on the "closeActive" output. This can only be active when the
following conditions are defined:
• (configuration.closeFeedbackEn = 1 AND closeFeedbackQuality = 1)
AND
closeFeedback = 1
• (configuration.closeFeedbackEn = 0 OR closeFeedbackQuality = 0)
AND
(configuration.openFeedbackEn = 1 AND openFeedbackQuality = 1)
AND
openFeedback = 0
• (configuration.closeFeedbackEn = 0 OR closeFeedbackQuality = 0)
AND
(configuration.openFeedbackEn = 0 OR openFeedbackQuality = 0)
AND
controlClose = 1
safePosActive
The quality inputs have effects on the activation of the safe position (output: "safePosActive")
if the safe position is enabled (configuration.safePosEn = 1). The safe position is only active
when the following conditions are defined:
• configuration.closeFeedbackEn = 1
AND
configuration.safePos = 0 (Close)
AND
closeFeedbackQuality = 0
• configuration.openFeedbackEn = 1
AND
configuration.safePos = 1 (Open)
AND
openFeedbackQuality = 0
Feedback monitoring
The feedback monitoring is applied from the subfunction "LCFL_FeedbackMonitoring".
You can find more information at LCFL_FeedbackMonitoring – Description of function
(Page 57).
Safe position
The safe position is defined by the following parameter:
Reset
In the following cases, the operator (HMI.mtpData.ResetOp) or an activation sequence must
perform a "Reset" by means of interconnection (reset):
• To activate the interlock again after the interlock condition at the input "protect = 0 -> 1" has
been deleted.
• To activate the safety indicator again after the trip condition has been deleted.
• To prevent a monitoring error from being displayed after the error has been corrected.
Operating hours
The times during which the valve opens or closes, are totaled up as operating hours. The
parameter "HMI.operatingHoursAct" contains the current operating hours as a real value. When
the limit of operating hours (configuration.operatingHoursLimit) is reached, the corresponding
state "HMI.operatingHoursReached = 1" is set.
Maintenance
The maintenance is applied from the subfunction "LCFL_Maintenance".
You can find more information at LCFL_Maintenance – Description of function (Page 60).
Overview
Input parameters
Output parameters
Input/output parameters
6.4 Monitoring
6.4.1 AnaMon
Description
You can use the "LCFL_AnaMon" function block to display analog values of the PLC (e.g. process
values and parameters). These include:
• Current value
• Unit of measure
• Minimum scale value
• Maximum scale value
The scale values describe the configured limits. The configured limits are a combination
of the physically possible value range and usable value range. The basis for this are the
configured limits in the PLC. The unit of a value is described with a unit tag, for example,
1001 = °C - degrees Celsius (see section References (Page 497)). The output tag contains the
active value.
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under function block input/output parameter, connect a tag that is derived from the PLC data
type "LCFL_typeConfigAnaMon".
In this PLC data type the instance name, the upper and lower limits for tolerance, warning
and alarm are activated or deactivated and configured.
Limit monitoring
The function block monitors an analog value for up to 6 limits. The limits are divided into
high limits and low limits for tolerance, warning and alarm.
The "enable" tags are used for activating or deactivating the limit monitoring.
Parameter Description
configuration.alarmLowLim Value for alarm high limit
configuration.warningHighLim Value for warning high limit
configuration.toleranceHighLim Value for tolerance high limit
configuration.toleranceLowLim Value for tolerance low limit
configuration.warningLowLim Value for warning low limit
configuration.alarmLowLim Value for alarm low limit
These tags can be changed by the operator. The "active" tags signal a violation of the limits.
Overview
Input parameters
Output parameters
Input/output parameters
6.4.2 BinMon
Description
You can use the function block "LCFL_BinMon" to monitor digital process tags with or without
flutter monitoring. The function block signals excess flutter signals that are generated within a
defined period. The digital value to be monitored is connected to the value input parameter.
The following output is used for flutter monitoring:
Parameter Description
flutteringActive flutteringActive = 1
Flutter signal detected.
flutteringActive = 0
No flutter signal detected.
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under function block input/output parameter, connect a tag that is derived from the PLC data
type "LCFL_typeConfigBinMon".
In this PLC data type the instance name is configured, the flutter detection is activated or
deactivated and configured. Texts can be stored for the values "true" and "false".
Flutter monitoring
The "enable" tag is used for activating or deactivating flutter monitoring.
Parameter Description
configuration.flutteringTime Period of an active signal before it is detected as flutter-free [s]
configuration.flutteringCount Counts of the allowed flutter signals in the defined period
configuration.flutteringLen Period of the signal length that is needed to prevent flutter detection
[s]
Each change of the input signal with a length that is less than the value of the configuration
parameter "configuration.flutteringLen" is detected as fluttering.
Overview
Input parameters
Output parameters
Input/output parameters
6.4.3 DIntMon
Description
You can use the "LCFL_DIntMon" function block to display integer values of the PLC (e.g. process
values and parameters). These include:
• Current value
• Unit of measure
• Minimum scale value
• Maximum scale value
The scale values describe the configured limits. The configured limits are a combination
of the physically possible value range and usable value range. The basis for this are the
configured limits in the PLC. The unit of a value is described with a unit tag, for example,
1001 = °C - degrees Celsius (see section References (Page 497)). The output tag contains the
active value.
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under function block input/output parameter, connect a tag that is derived from the PLC data
type "LCFL_typeConfigDIntMon".
In this PLC data type the instance name, the upper and lower limits for tolerance, warning
and alarm are activated or deactivated and configured.
Limit monitoring
The function block monitors an analog value for up to 6 limits. The limits are divided into
high limits and low limits for tolerance, warning and alarm.
The "enable" tags are used for activating or deactivating the limit monitoring.
Parameter Description
configuration.alarmLowLim Value for alarm high limit
configuration.warningHighLim Value for warning high limit
configuration.toleranceHighLim Value for tolerance high limit
configuration.toleranceLowLim Value for tolerance low limit
configuration.warningLowLim Value for warning low limit
configuration.alarmLowLim Value for alarm low limit
These tags can be changed by the operator. The "active" tags signal a violation of the limits.
Overview
Input parameters
Output parameters
Input/output parameters
6.4.4 StringView
Description
The "LCFL_StringView" function block defines an interface for displaying a string from the
modular process unit (PEA, Process Equipment Assembly) in a visualization system.
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Overview
Input parameters
Output parameters
Input/output parameters
6.5 Operate
6.5.1 AnaManInt
Description
The "LCFL_AnaManInt" function block gives you the option of checking and transmitting analog
input values. The function block checks the following incoming, analog values for their limits:
• Manual analog values that are entered in the HMI
• Internal analog values
The function block then forwards the analog value to the output value, depending on
whether the source mode "Manual" or "Internal" is active.
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under function block input/output parameter, connect a tag that is derived from the PLC data
type "LCFL_typeConfigAnaManInt".
In this PLC data type the instance name, scale, unit, and minimum and maximum limits of
the analog value are configured.
Source mode
The source mode is applied from the subfunction LCFL_SourceMode.
You can find more information at LCFL_SourceMode – Description of function (Page 69).
Depending on the source mode, the analog value at the output "valueOut" is either set or
reset:
• "Manual" source mode
Specification of analog value via HMI (HMI.mtpData.VMan)
• "Internal" source mode
Specification of analog value via an interconnection at the input "valueInternal".
The manual analog value is tracked from the limited internal analog value to achieve a
smooth switchover from the internal to the analog value.
Feedback value
The function block has the input parameter "valueFeedback" for displaying a feedback value in
the HMI.
Overview
Input parameters
Output parameters
Input/output parameters
6.5.2 BinManInt
Description
The "LCFL_BinManInt" function block enables you to manipulate a binary value. The function
block manipulates the following incoming, binary values:
• Manual binary values that are entered in the HMI
• Internal binary values
The function block then forwards the binary value to the output value, depending on
whether the source mode "Manual" or "Internal" is active.
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under function block input/output parameter, connect a tag that is derived from the PLC data
type "LCFL_typeConfigBinManInt".
In this PLC data type, the instance name, texts for the "true" und "false" values of the
"valueOut" output are configured. These texts are displayed in the HMI.
Source mode
The source mode is applied from the subfunction LCFL_SourceMode.
You can find more information at LCFL_SourceMode – Description of function (Page 69).
Depending on the source mode, the binary value at the output "valueOut" is either set or
reset:
• "Manual" source mode
Specification of the binary value via HMI (HMI.mtpData.VMan)
• "Internal" source mode
Specification of the binary value via an interconnection at the "valueInternal" input.
The manual binary value is tracked by the internal binary value to achieve a smooth
switchover from the internal to the manual binary value.
Feedback value
The function block has the parameter "valueFeedback" for displaying a feedback value in the
HMI.
Overview
Input parameters
Output parameters
Input/output parameters
6.5.3 DIntManInt
Description
The "LCFL_DIntManInt" function block gives you the option of checking and transmitting integer
input values. The function block checks the following incoming, integer values for their limits:
• Manual integer values that are entered in the HMI
• Internal integer values
The function block then forwards the integer value to the output value, depending on
whether the source mode "Manual" or "Internal" is active.
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under function block input/output parameter, connect a tag that is derived from the PLC data
type "LCFL_typeConfigDIntManInt".
In this PLC data type the instance name, scale, unit, and minimum and maximum limits of
the integer value are configured.
Source mode
The source mode is applied from the subfunction LCFL_SourceMode.
You can find more information at LCFL_SourceMode – Description of function (Page 69).
Depending on the source mode, the integer value at the output "valueOut" is either set or
reset:
• "Manual" source mode
Specification of the integer value via HMI (HMI.mtpData.VMan)
• "Internal" source mode
Specification of the integer value via an interconnection at the "vInt" input.
The manual integer value is tracked from the limited internal integer value to achieve a
smooth switchover from the internal to the manual integer value.
Feedback value
The function block has the input parameter "valueFeedback" for displaying a feedback value in
the HMI.
Overview
Input parameters
Output parameters
Input/output parameters
6.6 Control
6.6.1 Aggr8
Description
The "LCFL_Aggr8" function block controls the automatic switching on/off and switchover of up
to 8 aggregates.
A requested aggregate number is required for the first start. This is set in the HMI or in the
PLC. This can be done in "Operator" mode (HMI.data.NoMan signal) or "Automatic" mode
(HMI.data.NoMan signal) mode. This value is limited to 8. If the value is greater than 8, the
maximum number (8) is set.
The drive can be controlled by the elapsed cycle time or elapsed operating time. This is set
in the HMI or in the PLC. This can be done in "Operator" mode or "Automatic" mode. In
"Operator" mode, select a value. If the signal is HMI.data.SmMan = 1, the operating time is
taken into account. If the signal is HMI.data.SmInt = 0, the cycle time is taken into account.
The behavior is the same in the "Automatic" mode. This value is limited to 8. If the value is
greater than 8, the maximum number (8) is set.
The aggregates may have a different priority. A list with the sequence of the start process is
useful here.
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under the function block input/output parameter, connect a tag that is derived from the PLC
data type "LCFL_typeConfigAggr8".
The instance name, delay time, rest time, runtime limit value, aggregate text to identify the
aggregate and the type of the aggregate are configured in this PLC data type.
You can enable or disable the error output.
Drive interconnector
The drive interconnector is applied from the subfunction "LCFL_DriveInterconnector".
Configuration tag
Source mode
The source mode is applied from the subfunction LCFL_SourceMode.
You can find more information at LCFL_SourceMode – Description of function (Page 69).
Source mode for the number of requested aggregates (manual and internal)
Depending on the source mode, the value at the output "number" is either set or reset:
• "Manual" source mode
Specification of the binary value via faceplate (HMI.data.NoMan)
• "Internal" source mode
Specification of the binary value via an interconnector interconnection at the
"numberSourceInternal" input.
The manual value is tracked by the internal value to achieve a smooth switchover from the
internal to the manual value.
Depending on the source mode, the value at the output "priority1..8" is either set or reset:
• "Manual" source mode
Specification of the binary value via faceplate (HMI.data.PrioritiesMan)
• "Internal" source mode
Specification of the binary value via an interconnector interconnection at the
"aggregateXPriority" input.
The manual value is tracked by the internal value to achieve a smooth switchover from the
internal to the manual value.
Modes
The function block controls the automatic switching on/off of up to 8 aggregates.
Reset
In the event of an error message, the "Reset" button (HMI.data.Reset) on the faceplate or the
"HMI.data.reset" input is available. The command to start or stop the aggregate is available, but
not the feedback from the aggregate.
Overview
Input parameters
Output parameters
Input/output parameters
6.6.2 PIDCtrl
Description
The "LCFL_PIDCtrl" function block supplies information for a continuous PID controller, which
processes the typical values (process value, setpoint, manipulated variable) accordingly.
When the source mode is changed, an internal or external setpoint can be used. In "Manual"
mode, the manipulated variable "HMI.mtpData.MV" is specified by the operator using the
manual variables for manipulated values "HMI.mtpData.MVMan".
In automatic mode, the control algorithm is effective and can implement a manual
setpoint specification or cascade switching according to the internal or external setpoint.
The minimum and maximum variables are used to display limits for setpoints and the
manipulated variable. The control algorithm can be used with the three variables of
proportional parameters "HMI.mtpData.P", integration parameters "HMI.mtpData.Ti" and
derivation parameters "HMI.mtpData.Td". To access these values, we use PID Compact.
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
Under function block input/output parameter, connect a tag that is derived from the PLC data
type "LCFL_typeConfigPIDCtrl".
Minimum and maximum values as well as units are set in this PLC data type. You can enable
or disable the error output of the PID controller.
Operation mode
The operating mode is applied from the subfunction "LCFL_OperationMode".
You can find more information at LCFL_OperationMode – Description of function (Page 62).
The operator mode is active when the PLC is started. The following actions are possible in the
individual operating modes:
Source mode
The source mode is applied from the subfunction LCFL_SourceMode.
You can find more information at LCFL_SourceMode – Description of function (Page 69).
Depending on the source mode, the value at the output "valueOut" is either set or reset:
• "Manual" source mode
Specification of the binary value via faceplate (HMI.mtpData.SPMan)
• "Internal" source mode
Specification of the binary value via an interconnection at the "setpointInternal" input.
The manual value is tracked by the internal value to achieve a smooth switchover from the
internal to the manual value.
PID Compact
PID Compact provides a PID controller with integrated tuning for actuators with proportional
effect. You change the proportional parameter "HMI.mtpData.P", integration parameter
"HMI.mtpData.Ti" and derivation parameter "HMI.mtpData.Td" in the PLC data type
"LCFL_typeConfigPIDCtrl" or in the settings view in the faceplate. The parameters "scaleMin" and
"scaleMax" are the scaling limits for the process value and the setpoint. If the process value or
setpoint falls outside these limits, an error occurs. You can change the substitute value and the
disturbance value at the inputs. Under error conditions, PID Compact uses a substitute output
value that is defined at input "substitudeOutputValue". The substitute output value must lie
within the limits of the manipulated value.
The following modes are possible:
• Offline
• Operator
• Automatic
• Substitute output value with error monitoring
You can find detailed information in the documentation of the PID Compact.
Overview
Input parameters
Output parameters
Input/output parameters
6.6.3 Polyline16
Description
The "Polyline16" function block assigns the input values to the output values. "Polyline16" is
defined as a trend that consists of up to 16 breakpoints. These breakpoints can be specified via
HMI by the coordinates HMI.data.Points[0…15].x; y and by the number of breakpoints used
HMI.data.NumberOfUsedPoints (also available in the configuration data).
The main rules for the configuration are:
• The x coordinates must be defined as Points[i].x < Points[i+1].x.
• The number of breakpoints used must be in the range of 2 ... 16.
The configuration contains the following:
• errorMode that defines the substitute output value after an error (0 = input, 1 = substitute
output, 2 = last valid output value).
• outOfRangeMode to select the output value if the input value is outside of the defined x
values (0 = Maintain slope; 1 = y value of the first/last breakpoint).
The units for the input value (inputValueUnit) and the manipulated value
(manipulatedValueUnit) are also defined in the configuration.
If the mode is set to “Operator” (stateOperator = 1), the operator can use the
HMI.data.MVMan signal to specify the manipulated value.
If the mode is set to "Automatic" (stateAutomatic = 1), polyline calculation takes place. The
output value (manipulatedValue) is calculated based on the input value (inputValue) and
the configuration. The source of the output/input value can be manual (operation via HMI:
HMI.data.IVMan) or internal (input: inputValueInternal).
Configuration
Call the function block in one of the following organization blocks:
• Cyclic organization block (OB1 or OB123 to OB32767)
• Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
The input/output configuration must be connected to a structure of the type
LCFL_typeConfigPolyline16.
Source mode
The source mode is applied from the subfunction LCFL_SourceMode.
You can find more information at LCFL_SourceMode – Description of function (Page 69).
Depending on the source mode, the value at the output "valueOut" is either set or reset:
• "Manual" source mode
Specification of the binary value via faceplate (HMI.data.IVMan)
• "Internal" source mode
Specification of the binary value via an interconnection at the "inputValueInternal" input.
The manual value is tracked by the internal value to achieve a smooth switchover from the
internal to the manual value.
Operation mode
The operating mode is applied from the subfunction "LCFL_OperationMode".
You can find more information at LCFL_OperationMode – Description of function (Page 62).
The operator mode is active when the PLC is started. The following actions are possible in the
individual operating modes:
Polyline
Polylinie V1.0 is an auxiliary function integrated in TIA Portal that is used for polyline calculation.
The polyline instruction assigns the "Input" input value to the "Output” output value using a
characteristic trend. This trend is defined as a polyline with a maximum of 50 breakpoints
(LCFL_Polyline16 has a limit of up to 16 breakpoints).
Linear interpolation takes place between the breakpoints. You can adapt the polyline to the
desired characteristic curve by using the quantity and configuration of the breakpoints. The
polyline instruction can be used, for example, to linearize non-linear properties of sensors or
actuators. The polyline calculates the output value at the "Output" parameter for the input
value at the "Input" parameter that is between the point values x[i] and x[i+1] with a linear
interpolation.
You can find more information in the TIA Portal help.
Message exchange
LCFL_Polyline16 has the following messages:
{.pageWidth}
6.6.4 TimeSwitch8
Description
The time configuration can be set in the PLC for 8 channels, saved
in Configuration(:LCFL_typeConfigTimeSwitch8).settings[0..7].
The configuration can also be set on the HMI: HMI.data.Settings[0..7].
There are different cycle types available, so that the behavior of the time switch channels can
be determined: 1..7 (Sun..Sat), 8 (Daily), 9 (Weekdays), 10 (Weekends), 11 (Hourly), 12 (Every
minute).
The configuration also contains the start time for determining the start of each cycle
and the duration for determining the end time of the active period. There is an
option for manually overriding the output channels, which sets the output value to
"on" or "off", independently of the time configuration of the channel. The source of the
override can be manual (output: overrideSourceManualActive) or internal (output:
overrideSourceInternalActive).
Note
The function internally uses the system function RD_LOC_T to read the local time of the PLC.
Therefore, for correct functioning, it is necessary that the local time of the PLC is set correctly.
Note
The time value is always compared with the local time of the PLC and, therefore, the time
parameters must be specified as local time in the configuration.
Note
Daylight saving time can have an effect on the calculation of the time window in a time switch
module, especially when daylight saving is switched on or off. Daylight saving time changes can
change the local time in the PLC, resulting in variations in the length of a day and possibly having
an effect on the timing of the events planned by the TimeSwitch.
Configuration
The block must be called in a cyclic organization block (OB1 or OB123 to OB32767) or in a cyclic
interrupt organization block (OB30 to OB38 or OB123 to OB32767).
Cycle type
settings[0..7].cycleType : USint
There are different cycle types available, so that the behavior of the TimeSwitch channels can
be defined, i.e. whether they carry out activation of the output on certain days, at certain
times or at regular intervals during the day.
• 0 : Disabled (Permanently off)
Certain weekdays: Users can specify on which days of the week the output of the time switch
channel is to be activated, so that targeted planning based on weekly routines or operating
plans is possible.
• 1: Sunday
• 2: Monday
• 3: Tuesday
• 4: Wednesday
• 5: Thursday
• 6: Friday
• 7: Saturday
Daily activation: With options such as "Daily", the output of the time switch channel can be
activated or deactivated every day to allow continuous operation or scheduled pauses.
• 8: Daily
Weekdays or weekends: Users can differentiate between weekdays and weekends and thus
program different behavior on the basis of weekdays and weekend schedules.
• 9: Weekdays (Monday..Friday)
• 10: Weekend days (Saturday, Sunday)
Start time
settings[0..7].timeOn : Time_Of_Day
The start time serves as a reference point for determining the start time of every cycle.
Duration
settings[0..7].duration : Time_Of_Day
Offset from the start time to determine the end time of the active period.
Override
If an override is active for a channel, the output value is set independently of the channel
configuration.
Message exchange
LCFL_TimeSwitch8 has the following messages:
{.pageWidth}
Overview
LCFL_TimeSwitch8 (FB)
overrideSource
Bool busy Bool
Channel
overrideSource
Bool status Word
Internal
overrideEnableBits
Byte diagnostics LCFL_typeDiagnostics
Internal
overrideValueBits overrideSource
Byte Bool
Internal ManualActive
overrideSource
Bool
InternalActive
on1 Bool
on2 Bool
on3 Bool
on4 Bool
on5 Bool
on6 Bool
on7 Bool
on8 Bool
timeErrorActive Bool
overrideActiveBits Byte
Input parameters
Output parameters
Input/output parameters
6.6.5 SetCrv16
Description
SetCrv16 generates an output value that follows a configurable profile comprising up to 16
breakpoints.
These breakpoints can be specified via HMI by the coordinates HMI.data.Points[0…15] and
by the number of breakpoints used HMI.data.NumberOfUsedPoints (also available in the
configuration data).
Each breakpoint of this profile has a target value (Value) and a time value (Time). When
the profile is executed, the target value of the current breakpoint is reached within the time
value.
The main rules for the configuration are:
• The number of breakpoints used must be in the range of 1 to 16.
• The time value must be equal to or greater than 0.0.
Configuration
Call the function block in one of the following organization blocks:
- Cyclic organization block (OB1 or OB123 to OB32767)
- Cyclic interrupt organization block (OB30 to OB38 or OB123 to OB32767)
The input/output configuration must be connected to a structure of the type
LCFL_typeConfigSetCrv16.
Source mode
The source mode is applied from the subfunction LCFL_SourceMode.
You can find more information at LCFL_SourceMode – Description of function (Page 69).
• "Manual" source mode
Specification of the next point (NP) via faceplate (operation via HMI: HMI.data.NPMan)
• "Internal" source mode
Specification of the next point (NP) via the connection (input: nextPointInternal).
The manual value is tracked by the internal value to achieve a smooth switchover from the
internal to the manual value.
Operation mode
The operating mode is applied from the subfunction "LCFL_OperationMode".
You can find more information at LCFL_OperationMode – Description of function (Page 62).
Operator mode is active when the PLC is started. The following actions are possible in the
individual operating modes:
RampSoak
RampSoak V1.0 is an auxiliary function built into TIA Portal for time-dependent profile creation.
The RampSoak instruction generates an output value that follows a configurable profile on
a time-dependent basis. Each breakpoint of this profile has a target value and a time value.
When the profile is executed, the target value of the current breakpoint is reached within
the time value. You can configure the profile in the static structure UserData. It contains the
following elements:
• NumberOfUsedPoints: Number of breakpoints used for the profile.
• StartValue: Optional output value when profile execution is started, stopped or ended.
• Points: The array with 50 elements (LCFL_SetCrv16 has a limit of up to 16 breakpoints)
contains value pairings of the points:
– Point[i].Value: The output value is gradually changed to this value as long as the
breakpoint is active and reaches this value within the time.
– Point[i].Time: This value defines the duration of the breakpoint in seconds.
The output value is calculated by interpolating between the current breakpoint and the
preceding breakpoint according to the following formula
Based on the elapsed time, it is determined which points from the profile are currently being
used to calculate the start value.
You can find additional information in the help for TIA Portal.
Message exchange
LCFL_SetCrv16 has the following messages:
{.pageWidth}
7.1.1 Diagnostics
7.1.1.1 LCFL_typeDiagnostics
Description
The PLC data type "LCFL_typeDiagnostics" contains the diagnostic information.
Parameter
7.1.2 DriveInterconnector
7.1.2.1 LCFL_typeDriveInterconnector
Description
The PLC data type "LCFL_typeDriveInterconnector" enables the connection of drive blocks to a
higher-level control
Parameter
7.1.3 Maintenance
7.1.3.1 LCFL_typeConfigMaintenance
Description
The PLC data type "LCFL_typeConfigMaintenance" contains configuration data of the limit values
for operating time, cycle time, number of status changes and number of alarms of a drive.
Parameter
7.1.3.2 LCFL_typeMaintenance
Description
The PLC data type "LCFL_typeMaintenance" contains information about the operating time,
cycle time, number of status changes and number of alarms of a drive.
Parameter
7.1.4 OSLevel
7.1.4.1 LCFL_typeMTPOSLevel
Description
The PLC data type "LCFL_typeMTPOSLevel" contains MTP data for OSLevel.
Parameter
7.1.4.2 LCFL_typeMTPOSLevelSiemens
Description
The "LCFL_typeMTPOSLevelSiemens" PLC data type contains the "LCFL_typeMTPOSLevel" PLC
data type and is the data interface between AS (PLC) and OS (HMI).
Parameter
7.2 Interlock
7.2.1 LockView4
7.2.1.1 LCFL_typeConfigLockView4
Description
The PLC data type "LCFL_typeConfigLockView4" contains configuration data to display a logical
unit operation (AND/OR) with 4 inputs. A tag that is derived from this PLC data type is connected
to the function block LockView4 (Page 71).
Parameter
7.2.1.2 LCFL_typeMTPLockView4
Description
The PLC data type "LCFL_typeMTPLockView4" contains MTP data to display a logical unit
operation (AND/OR) with 4 inputs.
Parameter
7.2.1.3 LCFL_typeMTPLockView4Siemens
Description
The "LCFL_typeMTPLockView4Siemens" PLC data type contains the "LCFL_typeMTPLockView4"
PLC data type and is the data interface between AS (PLC) and OS (HMI).
Parameter
7.2.2 LockView8
7.2.2.1 LCFL_typeConfigLockView8
Description
The PLC data type "LCFL_typeConfigLockView8" contains configuration data to display a logical
unit operation (AND/OR) with 8 inputs. A tag that is derived from this PLC data type is connected
to the function block LockView8 (Page 73).
Parameter
7.2.2.2 LCFL_typeMTPLockView8
Description
The PLC data type "LCFL_typeMTPLockView8" contains MTP data to display a logical unit
operation (AND/OR) with 8 inputs.
Parameter
7.2.2.3 LCFL_typeMTPLockView8Siemens
Description
The "LCFL_typeMTPLockView8Siemens" PLC data type contains the "LCFL_typeMTPLockView8"
PLC data type and is the data interface between AS (PLC) and OS (HMI).
Parameter
7.3 Drives
7.3.1 MonAnaDrv
7.3.1.1 LCFL_typeConfigMonAnaDrv
Description
The PLC data type "LCFL_typeConfigMonAnaDrv" contains configuration data for analog drive
with the feedback monitoring. A tag that is derived from this PLC data type is connected to the
function block MonAnaDrv (Page 77).
Parameter
7.3.1.2 LCFL_typeMTPMonAnaDrv
Description
The PLC data type "LCFL_typeMTPMonAnaDrv" contains MTP data for analog drive with the
feedback monitoring.
Parameter
7.3.1.3 LCFL_typeMTPMonAnaDrvSiemens
Description
The "LCFL_typeMTPMonAnaDrvSiemens" PLC data type contains the
"LCFL_typeMTPMonAnaDrv" PLC data type as well as additional function parameters and is the
data interface between AS (PLC) and OS (HMI).
Parameter
7.3.2 MonAnaVlv
7.3.2.1 LCFL_typeConfigMonAnaVlv
Description
The PLC data type "LCFL_typeConfigMonAnaVlv" contains configuration data for an analog valve
with feedback monitoring. A tag that is derived from this PLC data type is connected to the
function block MonAnaVlv (Page 87).
Parameter
7.3.2.2 LCFL_typeMTPMonAnaVlv
Description
The PLC data type "LCFL_typeMTPMonAnaVlv" contains MTP data for an analog valve with
feedback monitoring.
Parameter
7.3.2.3 LCFL_typeMTPMonAnaVlvSiemens
Description
The "LCFL_typeMTPMonAnaVlvSiemens" PLC data type contains the
"LCFL_typeMTPMonAnaVlv" PLC data type as well as additional function parameters and is the
data interface between AS (PLC) and OS (HMI).
Parameter
7.3.3 MonBinDrv
7.3.3.1 LCFL_typeConfigMonBinDrv
Description
The PLC data type "LCFL_typeConfigMonBinDrv" contains configuration data for a bistable drive
with feedback monitoring. A tag that is derived from this PLC data type is connected to the
function block MonBinDrv (Page 96).
Parameter
7.3.3.2 LCFL_typeMTPMonBinDrv
Description
The PLC data type "LCFL_typeMTPMonBinDrv" contains MTP data for a bistable drive with
feedback monitoring.
Parameter
7.3.3.3 LCFL_typeMTPMonBinDrvSiemens
Description
The "LCFL_typeMTPMonBinDrvSiemens" PLC data type contains the "LCFL_typeMTPMonBinDrv"
PLC data type as well as additional function parameters and is the data interface between AS
(PLC) and OS (HMI).
Parameter
7.3.4 MonBinVlv
7.3.4.1 LCFL_typeConfigMonBinVlv
Description
The PLC data type "LCFL_typeConfigMonBinVlv" contains configuration data for a bistable valve
with feedback monitoring. A tag that is derived from this PLC data type is connected to the
function block MonBinVlv (Page 105).
Parameter
7.3.4.2 LCFL_typeMTPMonBinVlv
Description
The PLC data type "LCFL_typeMTPMonBinVlv" contains MTP data for a bistable valve with
feedback monitoring.
Parameter
7.3.4.3 LCFL_typeMTPMonBinVlvSiemens
Description
The "LCFL_typeMTPMonBinVlvSiemens" PLC data type contains the "LCFL_typeMTPMonBinVlv"
PLC data type as well as additional function parameters and is the data interface between AS
(PLC) and OS (HMI).
Parameter
7.4 Monitoring
7.4.1 AnaMon
7.4.1.1 LCFL_typeConfigAnaMon
Description
The PLC data type "LCFL_typeConfigAnaMon" contains configuration data to display an analog
value with limit check. A tag that is derived from this PLC data type is connected to the function
block AnaMon (Page 113).
Parameter
7.4.1.2 LCFL_typeMTPAnaMon
Description
The PLC data type "LCFL_typeMTPAnaMon" contains MTP data to display an analog value with
limit check.
Parameter
7.4.1.3 LCFL_typeMTPAnaMonSiemens
Description
The "LCFL_typeMTPAnaMonSiemens" PLC data type contains the "LCFL_typeMTPAnaMon", PLC
data type as well as the additional function parameters and is the data interface between AS
(PLC) and OS (HMI).
Parameter
7.4.2 BinMon
7.4.2.1 LCFL_typeConfigBinMon
Description
The PLC data type "LCFL_typeConfigBinMon" contains configuration data to display a binary
value with monitoring of a flutter signal. A tag that is derived from this PLC data type is
connected to the function block BinMon (Page 117).
Parameter
7.4.2.2 LCFL_typeMTPBinMon
Description
The PLC data type "LCFL_typeMTPBinMon" contains MTP data to display a binary value with
verification of limits.
Parameter
7.4.2.3 LCFL_typeMTPBinMonSiemens
Description
The "LCFL_typeMTPBinMonSiemens" PLC data type contains the "LCFL_typeMTPBinMon", PLC
data type as well as the additional function parameters and is the data interface between AS
(PLC) and OS (HMI).
Parameter
7.4.3 DIntMon
7.4.3.1 LCFL_typeConfigDIntMon
Description
The PLC data type "LCFL_typeConfigDIntMon" contains configuration data for displaying an
integer value with limit check. A tag that is derived from this PLC data type is connected to the
function block DIntMon (Page 120).
Parameter
7.4.3.2 LCFL_typeMTPDIntMon
Description
The PLC data type "LCFL_typeMTPDIntMon" contains MTP data for displaying an integer value
with limit check.
Parameter
7.4.3.3 LCFL_typeMTPDIntMonSiemens
Description
The "LCFL_typeMTPDIntMonSiemens" PLC data type contains the "LCFL_typeMTPDIntMon" PLC
data type as well as additional function parameters and is the data interface between AS (PLC)
and OS (HMI).
Parameter
7.4.4 StringView
7.4.4.1 LCFL_typeConfigStringView
Description
The PLC data type "LCFL_typeConfigStringView" contains configuration data to display a string
from the PEA in a visualization system. A tag that is derived from this PLC data type is connected
to the function block StringView (Page 124).
Parameter
7.4.4.2 LCFL_typeMTPStringView
Description
The PLC data type "LCFL_typeMTPStringView" contains MTP data to display a string from the PEA
in a visualization system.
Parameter
7.4.4.3 LCFL_typeMTPStringViewSiemens
Description
The "LCFL_typeMTPStringViewSiemens" PLC data type contains the "LCFL_typeMTPStringView"
PLC data type as well as additional function parameters and is the data interface between AS
(PLC) and OS (HMI).
Parameter
7.5 Operate
7.5.1 AnaManInt
7.5.1.1 LCFL_typeConfigAnaManInt
Description
The PLC data type "LCFL_typeConfigAnaManInt" contains configuration data for specifying an
analog value from the HMI or an internal source and functionality for selecting the source. A tag
that is derived from this PLC data type is connected to the function block AnaManInt (Page 126).
Parameter
7.5.1.2 LCFL_typeMTPAnaManInt
Description
The PLC data type "LCFL_typeMTPAnaManInt" contains MTP data for specifying an analog value
from the HMI or an internal source and functionality for selecting the source.
Parameter
7.5.1.3 LCFL_typeMTPAnaManIntSiemens
Description
The "LCFL_typeMTPAnaManIntSiemens" PLC data type contains the "LCFL_typeMTPAnaManInt"
PLC data type as well as additional function parameters and is the data interface between AS
(PLC) and OS (HMI).
Parameter
7.5.2 BinManInt
7.5.2.1 LCFL_typeConfigBinManInt
Description
The PLC data type "LCFL_typeConfigBinManInt" contains configuration data for specifying or
resetting a binary value with an internal value and functionality for selecting the source. A tag
that is derived from this PLC data type is connected to the function block BinManInt (Page 129).
Parameter
7.5.2.2 LCFL_typeMTPBinManInt
Description
The PLC data type "LCFL_typeMTPBinManInt" contains MTP data for specifying or resetting a
binary value with an internal value and functionality for selecting the source.
Parameter
7.5.2.3 LCFL_typeMTPBinManIntSiemens
Description
The "LCFL_typeMTPBinManIntSiemens" PLC data type contains the "LCFL_typeMTPBinManInt"
PLC data type as well as additional function parameters and is the data interface between AS
(PLC) and OS (HMI).
Parameter
7.5.3 DIntManInt
7.5.3.1 LCFL_typeConfigDIntManInt
Description
The PLC data type "LCFL_typeConfigDIntManInt" contains configuration data for specifying an
integer value from HMI or internal source and functionality to select the source. A tag that is
derived from this PLC data type is connected to the function block DIntManInt (Page 132).
Parameter
7.5.3.2 LCFL_typeMTPDIntManInt
Description
The PLC data type "LCFL_typeMTPDIntManInt" contains MTP data for specifying an integer value
from HMI or internal source and functionality to select the source.
Parameter
7.5.3.3 LCFL_typeMTPDIntManIntSiemens
Description
The "LCFL_typeMTPDIntManIntSiemens" PLC data type contains the "LCFL_typeMTPDIntManInt"
PLC data type as well as additional function parameters and is the data interface between AS
(PLC) and OS (HMI).
Parameter
7.6 Control
7.6.1 Aggr8
7.6.1.1 LCFL_typeConfigAggr8
Description
The PLC data type "LCFL_typeConfigAggr8" contains configuration data for specifying
aggregations values from HMI or internal source and functionality to select the source. A tag that
is derived from this PLC data type is connected to the function block Aggr8 (Page 135).
Parameters
7.6.1.2 LCFL_typeAggr8
Description
The PLC data type "LCFL_typeAggr8" contains data for specifying aggregations values from HMI
or internal source and functionality to select the source.
Parameters
7.6.1.3 LCFL_typeAggr8Siemens
Description
The PLC data type "LCFL_typeAggr8Siemens" contains the PLC data type "LCFL_typeAggr8" as
well as additional function parameters and is the data interface between the AS (PLC) and OS
(HMI).
Parameters
7.6.2 PIDCtrl
7.6.2.1 LCFL_typeConfigPIDCtrl
Description
The PLC data type "LCFL_typeConfigPIDCtrl" contains configuration data to provide information
for a continuous PID controller, which processes the typical values. A tag that is derived from this
PLC data type is connected to the function block PIDCtrl (Page 144).
Parameter
7.6.2.2 LCFL_typeMTPPIDCtrl
Description
The PLC data type "LCFL_typeMTPPIDCtrl" contains MTP data to provide information for a
continuous PID controller, which processes the typical values.
Parameter
7.6.2.3 LCFL_typeMTPPIDCtrlSiemens
Description
The "LCFL_typeMTPPIDCtrlSiemens" PLC data type contains the "LCFL_typeMTPPIDCtrl" PLC data
type as well as additional function parameters and is the data interface between AS (PLC) and
OS (HMI).
Parameter
7.6.3 Polyline16
7.6.3.1 LCFL_typeConfigPolyline16
Description
The PLC data type "LCFL_typeConfigPolyline16" contains configuration data for Polyline16.
Parameters
7.6.3.2 LCFL_typePolyline16
Description
The PLC data type "LCFL_typePolyline16" contains HMI data to specify Polyline16 values.
Parameters
7.6.3.3 LCFL_typePolyline16Siemens
Description
The PLC data type "LCFL_typePolyline16Siemens" contains advanced HMI data for Polyline16
(Siemens).
Parameters
7.6.4 TimeSwitch8
7.6.4.1 LCFL_typeConfigTimeSwitch8
Description
The PLC data type "LCFL_typeConfigTimeSwitch8" contains configuration data for the
TimeSwitch.
Parameters
7.6.4.2 LCFL_typeTimeSwitch8
Description
The PLC data type "LCFL_typeTimeSwitch8" contains HMI data for 8 channels
Parameters
7.6.4.3 LCFL_typeTimeSwitch8Siemens
Description
The PLC data type "LCFL_typeTimeSwitch8Siemens" contains HMI data for 8 channels (Siemens)
Parameters
7.6.5 SetCrv16
7.6.5.1 LCFL_typeConfigSetCrv16
Description
The PLC data type "LCFL_typeConfigSetCrv16" contains configuration data for SetCrv16.
Parameters
7.6.5.2 LCFL_typeSetCrv16
Description
The PLC data type "LCFL_typeSetCrv16" contains HMI data to specify SetCrv16 values.
Parameters
7.6.5.3 LCFL_typeSetCrv16Siemens
Description
The PLC data type "LCFL_typeSetCrv16Siemens" contains advanced HMI data for SetCrv16
(Siemens).
Parameters
Introduction
To use and configure function blocks from the Control Function Library in a "SIMATIC S7-1500",
instantiate the function blocks from the corresponding hardware family (example folder: LCFL/
Drives/MonAnaDrv/SIMATIC S7-1500/PLC hardware) in an organization block. To output
messages using ProDiag in runtime, assign a ProDiag function block to the instance data blocks.
Requirement
• A PLC from the "SIMATIC S7-1500/PLC hardware" hardware family has been created.
• An organization block exists and is open (e.g. OB1).
• A ProDiag function block is created if you want to use alarms that are managed using ProDiag.
Procedure
1. Drag-and-drop the desired function block from the project library from the "SIMATIC
S7-1500/PLC hardware" folder into the network of the organization block.
The "Call options" dialog opens.
2. If you want to use messages managed by means of ProDiag, select the created ProDiag
function block under "ProDiag-FB".
3. Click "OK".
Result
• An instance data block of the function block used was created in the "Program blocks" folder.
• The "LCFL" folder with the function block used and its internal functions (common blocks)
from the same "SIMATIC S7-1500/PLC hardware" hardware family was created in the
"Program blocks" folder.
• The "LCFL" folder with the PLC data types of the function block used from the same "SIMATIC
S7-1500" hardware family was created in the "PLC data types" folder.
Note
The function blocks of the hardware family "SIMATIC S7-1500/PLC hardware" and "SIMATIC
S7-1500/PLC software" use the same PLC data types and for this reason can be found under the
folder "SIMATIC S7-1500".
Introduction
To use and configure function blocks from the Control Function Library in a "SIMATIC S7-1500
Software Controller", instantiate the function blocks from the corresponding hardware family
(example folder: LCFL/Drives/MonAnaDrv/SIMATIC S7-1500/PLC software) in an organization
block. To output messages using ProDiag in runtime, assign a ProDiag function block to the
instance data blocks.
Requirement
• A PLC from the "SIMATIC S7-1500/PLC software" hardware family has been created.
• An organization block exists and is open (e.g. OB1).
• A ProDiag function block is created if you want to use alarms that are managed using ProDiag.
Procedure
1. Drag-and-drop the desired function block from the project library from the "SIMATIC
S7-1500/PLC software" folder into the network of the organization block.
The "Call options" dialog opens.
2. If you want to use messages managed by means of ProDiag, select the created ProDiag
function block under "ProDiag-FB".
3. Click "OK".
Result
• An instance data block of the function block used was created in the "Program blocks" folder.
• The "LCFL" folder with the function block used and its internal functions (common blocks)
from the same "SIMATIC S7-1500/PLC software" hardware family was created in the "Program
blocks" folder.
• The "LCFL" folder with the PLC data types of the function block used from the same "SIMATIC
S7-1500" hardware family was created in the "PLC data types" folder.
Note
The function blocks of the hardware family "SIMATIC S7-1500/PLC hardware" and "SIMATIC
S7-1500/PLC software" use the same PLC data types and for this reason can be found under the
folder "SIMATIC S7-1500".
8.3 Using LCFL function blocks for "SIMATIC S7-1200" in the project
Introduction
To use and configure function blocks from the Control Function Library in a "SIMATIC S7-1200",
instantiate the function blocks from the corresponding hardware family (example folder: LCFL/
Drives/MonAnaDrv/SIMATIC S7-1200/PLC hardware) in an organization block. Alarms via
ProDiag cannot be used in a "SIMATIC S7-1200". ProDiag is not available here.
Requirement
• A PLC from the "SIMATIC S7-1200/PLC hardware" hardware family has been created.
• An organization block exists and is open (e.g. OB1).
Procedure
1. Drag-and-drop the desired function block from the project library from the "SIMATIC
S7-1200/PLC hardware" folder into the network of the organization block.
The "Call options" dialog opens.
2. Click "OK".
Result
• An instance data block of the function block used was created in the "Program blocks" folder.
• The "LCFL" folder with the function block used and its internal functions (common blocks)
from the same "SIMATIC S7-1200/PLC hardware" hardware family was created in the
"Program blocks" folder.
• The "LCFL" folder with the PLC data types of the function block used from the same "SIMATIC
S7-1200" hardware family was created in the "PLC data types" folder.
Note
The function blocks of the "SIMATIC S7-1200/PLC hardware" hardware family use their own PLC
data types and for this reason can be found under the folder "SIMATIC S7-1200".
8.4 Interconnecting the LCFL instance data block with the PLC data
type "Config"
Introduction
To interconnect the PLC data type "Config" at the instance data block, an additional global data
block must be created.
Requirement
• A PLC has been created.
• The function block "LCFL_MonAnaDrv" is used in combination with the instance data block
"LCFL-MonAnaDrv_DB" in an organization block.
Procedure
1. Click on "Add new block" under the "Program blocks" folder.
The "Add new block" dialog opens.
2. Select "Data block".
3. Select the option "Global DB".
4. Assign a name, for example, DB_MonAnaDrvConfig.
5. Click "OK".
The data block has been created and opened.
6. In the table under "Name > Static > Add", enter a name, such as MonAnaDrvConfig.
7. Under "Data type", select the PLC data type "LCFL_typeConfigMonAnaDrv".
8. Open the organization block.
9. Enter the name of the global data block at the "configuration" I/O of the function block
"LCFL_MonAnaDrv" with the instance data block "LCFL-MonAnaDrv_DB".
10.Select the entry that you have written in the table of the data block (MonAnaDrvConfig).
Result
The "configuration" I/O of the instance data block "LCFL_MonAnaDrv_DB" is connected to the
"MonAnaDrvConfig" tag of the PLC data type "LCFL_typeConfigMonAnaDrv" of the global data
block "DB_MonAnaDrvConfig".
9.1 Interlock
Introduction
For visualization of the function block "LCFL_LockView4", you can use the faceplate
"LCFL_LockView4Symbol". The interface of the program block "LCFL_LockView4" and of the
faceplate "LCFL_LockView4Symbol" is the PLC data type "LCFL_typeMTPLockView4Siemens".
You can find more information at LCFL_typeMTPLockView4Siemens (Page 168)
View Description
LCFL_LockView4Home (Page 230) The monitoring view is used to display basic infor‐
mation.
LCFL_LockView4Trend (Page 234) The trend view is used for the diagnostics of values.
① Result at output
By default, the output is shown with a red or green bar. If you want to change the colors, got to
"Properties > Interface" in the Inspector window of the faceplate. You change the colors under
"backgroundColorOff" or "backgroundColorOn".
Disabled faceplate
If the faceplate "LCFL_LockView4Symbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
Introduction
The "LCFL_LockView4Home" view is a monitoring view that is used to display basic information.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
1
2
6
7
8
3
9
4
① Logical behavior
Meaning HMI tag
Logical behavior "OR" HMI.mtpData.Logic = 0
Logical behavior "AND" HMI.mtpData.Logic = 1
② Input number
Number of the input
⑤ Input inverted
The display is only visible when "HMI.mtpData.InEn1…InEn4 = 1".
⑧ Result at output
Symbol Meaning HMI tag
Output not enabled HMI.mtpData.Out = 0
Disabled view
If the "LCFL_LockView4Home" view is disabled with "HMI.enabled = 0", the view with the
following status information appears:
Introduction
The "LCFL_LockView4Trend" view is used for the diagnostics of values from the function block
"LCFL_LockView4".
Operator controls
Button Function
First data record Shows the trend direction starting with the first logged value.
Previous data record Shows the trend direction of the previous time interval.
Last data record Shows the trend direction up to the last logged value.
Button Function
Zoom time axis +/- Enlarges or reduces the time axis display.
Zoom area Increases the size of any section of the trend window.
Original view Switches from the magnified trend view back to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
Introduction
For visualization of the function block "LCFL_LockView8", you can use the faceplate
"LCFL_LockView8Symbol". The interface of the program block "LCFL_LockView8" and of the
faceplate "LCFL_LockView8Symbol" is the PLC data type "LCFL_typeMTPLockView8Siemens".
You can find more information at LCFL_typeMTPLockView8Siemens (Page 171)
View Description
LCFL_LockView8Home (Page 237) The monitoring view is used to display basic infor‐
mation.
LCFL_LockView8Trend (Page 241) The trend view is used for the diagnostics of values.
① Result at output
By default, the output is shown with a red or green bar. If you want to change the colors, got to
"Properties > Interface" in the Inspector window of the faceplate. You change the colors under
"backgroundColorOff" or "backgroundColorOn".
Disabled faceplate
If the faceplate "LCFL_LockView8Symbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
Introduction
The "LCFL_LockView8Home" view is a monitoring view that is used to display basic information.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
1
2
4
8
9
6
① Logical behavior
Meaning HMI tag
Logical behavior "OR" HMI.mtpData.Logic = 0
Logical behavior "AND" HMI.mtpData.Logic = 1
② Input number
Number of the input
⑤ Input inverted
The display is only visible when "HMI.mtpData.InEn1…InEn8 = 1".
⑧ Result at output
Symbol Meaning HMI tag
Output not enabled HMI.mtpData.Out = 0
Disabled view
If the "LCFL_LockView8Home" view is disabled with "HMI.enabled = 0", the view with the
following status information appears:
Introduction
The "LCFL_LockView8Trend" view is used for the diagnostics of values from the function block
"LCFL_LockView8".
Operator controls
Button Function
First data record Shows the trend direction starting with the first logged value.
Previous data record Shows the trend direction of the previous time interval.
Last data record Shows the trend direction up to the last logged value.
Button Function
Zoom time axis +/- Enlarges or reduces the time axis display.
Zoom area Increases the size of any section of the trend window.
Original view Switches from the magnified trend view back to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
9.2 Drives
Introduction
For visualization of the function block "LCFL_MonAnaDrv", you can use the faceplate
"LCFL_MonAnaDrvSymbol". The interface of the program block "LCFL_MonAnaDrv" and of the
faceplate "LCFL_MonAnaDrvSymbol" is the PLC data type "LCFL_typeMTPMonAnaDrvSiemens".
You can find more information at LCFL_typeMTPMonAnaDrvSiemens (Page 177)
When you click the icon in runtime, the "LCFL_MonAnaDrvHome" monitoring view is
displayed as the first view. Navigate to the different views in the opened screen:
LCFL_MonAnaDrvTrend (Page 273) The trend view is used for the diagnostics of values.
2 9
3 9
4 5 6 7 8
The display is a pure information view in runtime. You can make settings in the various views.
④ Triggered motor protection, static or dynamic monitoring error, speed monitoring error,
maintenance
⑥ Mode
Symbol Mode HMI tag
Offline HMI.mtpData.StateOffAct = 1
Operator HMI.mtpData.StateOpAct = 1
⑦ Source mode
Symbol Mode HMI tag
Manual HMI.mtpData.SrcManAct = 1
Internal HMI.mtpData.SrcIntAct = 1
Disabled faceplate
If the faceplate "LCFL_MonAnaDrvSymbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
Introduction
The "LCFL_MonAnaDrvHome1" view is used to display basic information, as well as setting
options for the operating mode and control of the drive.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
9 10 11
1 12
2
13 14 15
16
3
5
4 17
6 18
8
7 19
Area Description
Process signal This area visualizes the drive state (running / stopped / forward move‐
ment or reverse movement is stopped / forward movement or reverse
movement is started).
In addition, the speed feedback value is shown in the form of an arc
diagram.
Status This area contains information on quality code, monitoring error, main‐
tenance, motor protection, and safe position.
Area Description
Controllers This area contains buttons that can be enabled with a click:
• Operating mode (Offline / Operator / Automatic)
• Drive operations (running with forward movement / running with
reverse movement / stopped)
• Reset error
Conditions This area contains the following information:
• Permit
The operation of the faceplate is possible / not possible.
• Interlock
The status change of the drive is possible / not possible.
• Protect
The status change of the drive is possible / not possible. A reset is
required to enable a status change once again.
⑥ Motor protection
Symbol Meaning HMI tag
Motor protection not HMI.mtpData.Trip = 1
triggered
Motor protection trig‐ HMI.mtpData.Trip = 0
gered
⑦ Safe position
Symbol Meaning HMI tag
Safe position is not acti‐ HMI.mtpData.SafePosAct = 0
vated
Safe position is activa‐ HMI.mtpData.SafePosAct = 1
ted.
⑨ Mode: Offline
Button State HMI tag
Offline (no operator au‐ (HMI.mtpData.StateChannel = 0 AND
thorization) HMI.mtpData.StateOffAct = 1 AND
Operating permit = 0)
OR
(HMI.mtpData.StateChannel = 1 AND
HMI.mtpData.StateOffAct = 1)
Offline HMI.mtpData.StateChannel = 0
AND
HMI.mtpData.StateOffAct = 1
AND
Operating permit = 1
Not Offline (no switch‐ HMI.mtpData.StateOffAct = 0
over triggered by opera‐
tor or automatic mode)
⑩ Mode: Operator
Button State HMI tag
Operator (no operator (HMI.mtpData.StateChannel = 0 AND
authorization) HMI.mtpData.StateOpAct = 1 AND
Operating permit = 0)
OR
(HMI.mtpData.StateChannel = 1 AND
HMI.mtpData.StateOpAct = 1)
Operator HMI.mtpData.StateChannel = 0
AND
HMI.mtpData.StateOpAct = 1
AND
Operating permit = 1
Not operator (no switch‐ HMI.mtpData.StateOpAct = 0
over triggered by opera‐
tor or automatic mode)
⑪ Mode: Automatic
Button State HMI tag
Automatic (no operator (HMI.mtpData.StateChannel = 0 AND
authorization) HMI.mtpData.StateAutAct = 1 AND
Operating permit = 0)
OR
(HMI.mtpData.StateChannel = 1 AND
HMI.mtpData.StateAutAct = 1)
Automatic HMI.mtpData.StateChannel = 0
AND
HMI.mtpData.StateAutAct = 1
AND
Operating permit = 1
Not automatic mode HMI.mtpData.StateAutAct = 0
(no switchover trig‐
gered by operator or au‐
tomatic mode)
⑯ Reset drive
Button State HMI tag
Reset required HMI.mtpData.StateOpAct = 1
AND
Operating permit = 1
AND
(HMI.mtpData.ProtEn= 1 AND
HMI.mtpData.Protect = 0 OR
HMI.mtpData.MonDynErr = 1 OR
HMI.mtpData.MonStatErr = 1 OR
HMI.mtpData.RpmAHAct = 1 OR
HMI.mtpData.RpmALAct = 1 OR
HMI.mtpData.Trip = 0)
No reset required HMI.mtpData.StateOpAct = 0
OR
Operating permit = 0
OR
(HMI.mtpData.Protect = 1 AND
HMI.mtpData.MonDynErr = 0 AND
HMI.mtpData.MonStatErr = 0 AND
HMI.mtpData.RpmAHAct = 0 AND
HMI.mtpData.RpmALAct = 0 AND
HMI.mtpData.Trip = 1)
Disabled view
If the "LCFL_MonAnaDrvHome1" view is disabled with "HMI.enabled = 0", the view with the
following status information appears:
Introduction
The "LCFL_MonAnaDrvHome2" view shows the speed setpoint and the feedback value. The
source mode is shown and can be changed.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
5
4
7
8
6
Area Description
Speed setpoint The current speed setpoint is displayed in this area.
Feedback The feedback value of the speed is displayed in this area.
Controllers This area contains buttons that can be enabled with a click:
• "Manual" source mode
• "Internal" source mode
An additional display shows the manual and internal speed setpoint.
Introduction
The "LCFL_MonAnaDrvHome3" view shows information about the speed error.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
Area Description
Speed error Speed errors are displayed in this area.
Limits This area shows whether the speed alarm high limit or speed alarm low
limit was violated or not.
Introduction
In the "LCFL_MonAnaDrvSettings1" view, you can activate or deactivate feedback monitoring
using buttons. If feedback monitoring is disabled, the "Monitoring error" display is not visible in
the "LCFL_MonAnaDrvHome1" view.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
1 2
① Feedback monitoring: On
Symbol Meaning HMI variable
Feedback monitoring is HMI.mtpData.MonEn = 1
activated. AND
Operating permit = 1
Feedback monitoring is HMI.mtpData.MonEn = 0
deactivated. AND
Operating permit = 1
Introduction
In the "LCFL_MonAnaDrvSettings2" view, you can change the alarm high limit and alarm low
limits of the speed.
The speed limits are only displayed when the following tags are activated:
The enable bit is set in the configuration data block (PLC data type).
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
2
1
3
1
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Introduction
In the "LCFL_Maintenance1" view you have the option to display the actual values of the
operating time and cycle time and to configure the limit values.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
2
1
3
1
4
1
5
1
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Introduction
In the "LCFL_Maintenance2" view you have the option to display the number of status changes
and alarms and to configure the limit values.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
Introduction
The "LCFL_MonAnaDrvAlarm" view is used for working with alarms. You can activate or
deactivate each individual alarm. The following alarms are output in the event of supervision
errors and when the motor protection is triggered:
The requirement is that the instance data block of the function block "LCFL_MonAnaDrv" is
assigned to a ProDiag function block or a discrete alarm is configured in the HMI for the
parameters. See section Configuration of the LCFL function blocks (Page 225).
Operator controls
Button Function
Show active alarms Displays the currently active alarms.
Update and show logged Updates and displays the logged alarms.
alarms
Previous line Selects the previous alarm in relation to the currently selected
alarm. The visible area of the alarm control is moved. This button
can only be operated if the "Show recent" function is deactivated.
Next line Selects the next alarm in relation to the currently selected alarm.
The visible area of the alarm control is moved. This button can
only be operated if the "Show recent" function is deactivated.
Single acknowledgment Acknowledges a single alarm. A counter shows how many
alarms are unacknowledged. The counter includes all connected
servers, but not filters.
Group acknowledgment Acknowledges all active visible alarms in the alarm control that
require acknowledgment, unless they are subject to single ac‐
knowledgment.
Button Function
Single confirm Resets the alarm. Relevant for alarms with the state machine
"Alarm with acknowledgment and confirmation" that have al‐
ready been acknowledged and are outgoing.
Show recent Defines whether the current alarm is always selected in the
alarm control. Button not pressed: The "Show recent" function is
active:
• The current alarms in the alarm control are always displayed
first.
• The visible area of the alarm control is moved automatically,
as needed.
• You cannot select the alarms individually or sort them by
column.
Button pressed: The "Show recent" function is paused.
Selection display Opens a dialog for filtering alarms. You can define the filter cri‐
teria or filter the alarms by criteria defined in the engineering
system.
Sorting setup Opens a dialog for setting user-defined sort criteria for the dis‐
played alarms.
Introduction
The "LCFL_MonAnaDrvTrend" view is used for the diagnostics of values from the function block
"LCFL_MonAnaDrv".
Operator controls
Button Function
First data record Shows the trend direction starting with the first logged value.
Previous data record Shows the trend direction of the previous time interval.
Last data record Shows the trend direction up to the last logged value.
Button Function
Zoom time axis +/- Enlarges or reduces the time axis display.
Zoom area Increases the size of any section of the trend window.
Original view Switches from the magnified trend view back to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
Introduction
For visualization of the function block "LCFL_MonAnaVlv", you can use the faceplate
"LCFL_MonAnaVlvSymbol". The interface of the program block "LCFL_MonAnaVlv" and of the
faceplate "LCFL_MonAnaVlvSymbol" is the PLC data type "LCFL_typeMTPMonAnaVlvSiemens".
You can find more information at LCFL_typeMTPMonAnaVlvSiemens (Page 182).
When you click the icon in runtime, the "LCFL_MonAnaVlvHome" monitoring view is
displayed as the first view. Navigate to the different views in the opened screen:
LCFL_MonAnaVlvTrend (Page 300) The trend view is used for the diagnostics of values.
2 8
3 8
4 5 6 7
⑥ Mode
Symbol Mode HMI tag
Offline HMI.mtpData.StateOffAct = 1
Operator HMI.mtpData.StateOpAct = 1
⑦ Source mode
Symbol Mode HMI tag
Manual HMI.mtpData.SrcManAct = 1
Internal HMI.mtpData.SrcIntAct = 1
Disabled faceplate
If the faceplate "LCFL_MonAnaVlvSymbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
Introduction
The "LCFL_MonAnaVlvHome" view is a monitoring view that is used to display basic information.
You also have the option to change the operating mode and open or close the valve.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
10 11 12
1 13
14 15
16
3
5
4 17
7
6 18
9
8 19
Area Description
Process signal The state of the valve is visualized in this area (open / closed / is being
opened / is being closed).
Status This area contains information on quality code, feedback error, mainte‐
nance, position error and safe position.
Area Description
Controllers This area contains buttons that can be enabled with a click:
• Operating mode (Offline / Operator / Automatic)
• Valve action (open / close)
• Reset error
Conditions This area contains the following information:
• Permit
The operation of the faceplate is possible / not possible.
• Interlock
The status change of the valve is possible / not possible.
• Protect
The status change of the valve is possible / not possible. A reset is
required to enable a status change once again.
⑥ Position error
The display is only visible when "HMI.mtpData.MonEn = 1".
③ Position tolerance
Text Meaning HMI tag
Position tolerance [unit] This value is added to and sub‐ HMI.mtpData.PosTolerance
tracted from the position set‐
point so that a tolerance win‐
dow can be calculated. The
position is evaluated as
reached within this range
(PosReachedFbk =1).
⑧ Safe position
The display is only visible when "HMI.mtpData.SafePosEn = 1".
⑩ Mode: Offline
Button State HMI tag
Offline (no operator au‐ (HMI.mtpData.StateChannel = 0 AND
thorization) HMI.mtpData.StateOffAct = 1 AND
Operating permit = 0)
OR
(HMI.mtpData.StateChannel = 1 AND
HMI.mtpData.StateOffAct = 1)
Offline HMI.mtpData.StateChannel = 0
AND
HMI.mtpData.StateOffAct = 1
AND
Operating permit = 1
Not Offline (no switch‐ HMI.mtpData.StateOffAct = 0
over triggered by opera‐
tor or automatic mode)
⑪ Mode: Operator
Button State HMI tag
Operator (no operator (HMI.mtpData.StateChannel = 0 AND
authorization) HMI.mtpData.StateOpAct = 1 AND
Operating permit = 0)
OR
(HMI.mtpData.StateChannel = 1 AND
HMI.mtpData.StateOpAct = 1)
Operator HMI.mtpData.StateChannel = 0
AND
HMI.mtpData.StateOpAct = 1
AND
Operating permit = 1
Not operator (no switch‐ HMI.mtpData.StateOpAct = 0
over triggered by opera‐
tor or automatic mode)
⑫ Mode: Automatic
Button State HMI tag
Automatic (no operator (HMI.mtpData.StateChannel = 0 AND
authorization) HMI.mtpData.StateAutAct = 1 AND
Operating permit = 0)
OR
(HMI.mtpData.StateChannel = 1 AND
HMI.mtpData.StateAutAct = 1)
Automatic HMI.mtpData.StateChannel = 0
AND
HMI.mtpData.StateAutAct = 1
AND
Operating permit = 1
Not automatic mode HMI.mtpData.stateAutAct = 0
(no switchover trig‐
gered by operator or au‐
tomatic mode)
⑯ Reset valve
Button State HMI tag
Reset required HMI.mtpData.StateOpAct = 1
AND
Operating permit = 1
AND
(HMI.mtpData.ProtEn= 1 AND
HMI.mtpData.Protect = 0 OR
HMI.mtpData.MonDynErr = 1 OR
HMI.mtpData.MonStatErr = 1)
No reset required HMI.mtpData.StateOpAct = 0
OR
Operating permit = 0
OR
(HMI.mtpData.Protect = 1 AND
HMI.mtpData.MonDynErr = 0 AND
HMI.mtpData.MonStatErr = 0 AND)
Disabled view
If the "LCFL_MonAnaVlvHome" view is disabled with "HMI.enabled = 0", the view with the
following status information appears:
Introduction
The "LCFL_MonAnaVlvHome2" view shows the position setpoint and the feedback value. The
source mode is shown and can be changed.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
5
4
7
8
6
Area Description
Position setpoint The current position setpoint is displayed in this area.
Feedback The feedback value of the position is displayed in this area.
Controllers This area contains buttons that can be enabled with a click:
• "Manual" source mode
• "Internal" source mode
An additional display shows the manual and internal values.
Introduction
In the "LCFL_MonAnaVlvSettings" view, you can activate or deactivate feedback monitoring
using buttons. If feedback monitoring is disabled, the "Monitoring error" display is not visible in
the "LCFL_MonAnaVlvHome1" view.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
1 2
① Feedback monitoring: On
Symbol Meaning HMI tag
Feedback monitoring is HMI.mtpData.MonEn = 1
activated. AND
Operating permit = 1
Feedback monitoring is HMI.mtpData.MonEn = 0
deactivated. AND
Operating permit = 1
Introduction
In the "LCFL_Maintenance1" view you have the option to display the actual values of the
operating time and cycle time and to configure the limit values.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
2
1
3
1
4
1
5
1
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Introduction
In the "LCFL_Maintenance2" view you have the option to display the number of status changes
and alarms and to configure the limit values.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
Introduction
The "LCFL_MonAnaVlvAlarm" view is used for working with alarms. You can activate or
deactivate each individual alarm. The following alarms are output in case of supervision errors:
The requirement is that the instance data block of the function block "LCFL_MonAnaVlv" is
assigned to a ProDiag function block or a discrete alarm is configured in the HMI for the
parameters. See section Configuration of the LCFL function blocks (Page 225).
Operator controls
Button Function
Show active alarms Displays the currently active alarms.
Update and show logged Updates and displays the logged alarms.
alarms
Previous line Selects the previous alarm in relation to the currently selected
alarm. The visible area of the alarm control is moved. This button
can only be operated if the "Show recent" function is deactivated.
Next line Selects the next alarm in relation to the currently selected alarm.
The visible area of the alarm control is moved. This button can
only be operated if the "Show recent" function is deactivated.
Button Function
Single acknowledgment Acknowledges a single alarm. A counter shows how many
alarms are unacknowledged. The counter includes all connected
servers, but not filters.
Group acknowledgment Acknowledges all active visible alarms in the alarm control that
require acknowledgment, unless they are subject to single ac‐
knowledgment.
Single confirm Resets the alarm. Relevant for alarms with the state machine
"Alarm with acknowledgment and confirmation" that have al‐
ready been acknowledged and are outgoing.
Show recent Defines whether the current alarm is always selected in the
alarm control. Button not pressed: The "Show recent" function is
active:
• The current alarms in the alarm control are always displayed
first.
• The visible area of the alarm control is moved automatically,
as needed.
• You cannot select the alarms individually or sort them by
column.
Button pressed: The "Show recent" function is paused.
Selection display Opens a dialog for filtering alarms. You can define the filter cri‐
teria or filter the alarms by criteria defined in the engineering
system.
Sorting setup Opens a dialog for setting user-defined sort criteria for the dis‐
played alarms.
Introduction
The "LCFL_MonAnaVlvTrend" view is used for the diagnostics of values from the function block
"LCFL_MonAnaVlv".
Operator controls
Button Function
First data record Shows the trend direction starting with the first logged value.
Previous data record Shows the trend direction of the previous time interval.
Last data record Shows the trend direction up to the last logged value.
Button Function
Zoom time axis +/- Enlarges or reduces the time axis display.
Zoom area Increases the size of any section of the trend window.
Original view Switches from the magnified trend view back to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
Introduction
For visualization of the function block "LCFL_MonBinDrv", you can use the faceplate
"LCFL_MonBinDrvSymbol". The interface of the program block "LCFL_MonBinDrv" and of the
faceplate "LCFL_MonBinDrvSymbol" is the PLC data type "LCFL_typeMTPMonBinDrvSiemens".
You can find more information at LCFL_typeMTPMonBinDrvSiemens (Page 187).
Clicking "LCFL_MonBinDrvSymbol" opens the "LCFL_MonBinDrvBasic" faceplate, which
contains all additional faceplates of the function block. These faceplates are shown as views
in runtime.
When you click the icon in runtime, the "LCFL_MonBinDrvHome" monitoring view is displayed
as the first view. Navigate to the different views in the opened screen:
LCFL_MonBinDrvTrend (Page 324) The trend view is used for the diagnostics of values.
2 3 4 5
The display is a pure information view in runtime. You can make settings in the various views.
④ Operating mode
Symbol Mode HMI tag
Offline HMI.mtpData.StateOffAct = 1
Operator HMI.mtpData.StateOpAct = 1
Disabled faceplate
If the faceplate "LCFL_MonBinDrvSymbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
Introduction
The "LCFL_MonBinDrvHome" view is a monitoring view that is used to display basic information.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
8 9 10
1 11
12 13 14
15
2
4
3 16
5 17
7
6 18
Area Description
Process signal This area visualizes the drive state (running / stopped / forward move‐
ment or reverse movement is stopped / forward movement or reverse
movement is started).
Status This area contains information on quality code, supervision errors, motor
protection, and safe position.
Area Description
Controllers This area contains buttons that can be enabled with a click:
• Operating mode (Offline / Operator / Automatic)
• Drive operations (running with forward movement / running with
reverse movement / stopped)
• Reset error
Conditions This area contains the following information:
• Permit
The operation of the faceplate is possible / not possible.
• Interlock
The status change of the drive is possible / not possible.
• Protect
The status change of the drive is possible / not possible. A reset is
required to enable a status change once again.
⑤ Motor protection
Symbol Meaning HMI tag
Motor protection not HMI.mtpData.Trip = 1
triggered
Motor protection trig‐ HMI.mtpData.Trip = 0
gered
⑥ Safe position
Symbol Meaning HMI tag
Safe position is not acti‐ HMI.mtpData.SafePosAct = 0
vated
Safe position is activa‐ HMI.mtpData.SafePosAct = 1
ted.
⑧ Mode: Offline
Button State HMI tag
Offline (no operator au‐ (HMI.mtpData.StateChannel = 0 AND
thorization) HMI.mtpData.StateOffAct = 1 AND
Operating permit = 0)
OR
(HMI.mtpData.StateChannel = 1 AND
HMI.mtpData.StateOffAct = 1)
Offline HMI.mtpData.StateChannel = 0
AND
HMI.mtpData.StateOffAct = 1
AND
Operating permit = 1
Not Offline (no switch‐ HMI.mtpData.StateOffAct = 0
over triggered by opera‐
tor or automatic mode)
⑨ Mode: Operator
Button State HMI tag
Operator (no operator (HMI.mtpData.StateChannel = 0 AND
authorization) HMI.mtpData.StateOpAct = 1 AND
Operating permit = 0)
OR
(HMI.mtpData.StateChannel = 1 AND
HMI.mtpData.StateOpAct = 1)
Operator HMI.mtpData.StateChannel = 0
AND
HMI.mtpData.StateOpAct = 1
AND
Operating permit = 1
Not operator (no switch‐ HMI.mtpData.StateOpAct = 0
over triggered by opera‐
tor or automatic mode)
⑩ Mode: Automatic
Button State HMI tag
Automatic (no operator (HMI.mtpData.StateChannel = 0 AND
authorization) HMI.mtpData.StateAutAct = 1 AND
Operating permit = 0)
OR
(HMI.mtpData.StateChannel = 1 AND
HMI.mtpData.StateAutAct = 1)
Automatic HMI.mtpData.StateChannel = 0
AND
HMI.mtpData.StateAutAct = 1
AND
Operating permit = 1
Not automatic mode HMI.mtpData.StateAutAct = 0
(no switchover trig‐
gered by operator or au‐
tomatic mode)
⑮ Reset drive
Button State HMI tag
Reset required HMI.mtpData.StateOpAct = 1
AND
Operating permit = 1
AND
(HMI.mtpData.ProtEn= 1 AND
HMI.mtpData.Protect = 0 OR
HMI.mtpData.MonDynErr = 1 OR
HMI.mtpData.MonStatErr = 1 OR
HMI.mtpData.Trip = 0)
No reset required HMI.mtpData.StateOpAct = 0
OR
Operating permit = 0
OR
(HMI.mtpData.Protect = 1 AND
HMI.mtpData.MonDynErr = 0 AND
HMI.mtpData.MonStatErr = 0 AND
HMI.mtpData.Trip = 1)
Disabled view
If the "LCFL_MonBinDrvHome" view is disabled with "HMI.enabled = 0", the view with the
following status information appears:
Introduction
In the "LCFL_MonBinDrvSettings" view, you can activate or deactivate feedback monitoring
using buttons. If feedback monitoring is disabled, the "Monitoring error" display is not visible in
the "LCFL_MonBinDrvHome" view.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
1 2
① Feedback monitoring: On
Symbol Meaning HMI tag
Feedback monitoring is HMI.mtpData.MonEn = 1
activated. AND
Operating permit = 1
Feedback monitoring is HMI.mtpData.MonEn = 0
deactivated. AND
Operating permit = 1
Introduction
In the "LCFL_Maintenance1" view you have the option to display the actual values of the
operating time and cycle time and to configure the limit values.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
2
1
3
1
4
1
5
1
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Introduction
In the "LCFL_Maintenance2" view you have the option to display the number of status changes
and alarms and to configure the limit values.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
Introduction
The "LCFL_MonBinDrvAlarm" view is used for working with alarms. You can activate or
deactivate each individual alarm. The following alarms are output in the event of supervision
errors and when the motor protection is triggered:
The requirement is that the instance data block of the function block "LCFL_MonBinDrv" is
assigned to a ProDiag function block or a discrete alarm is configured in the HMI for the
parameters. See section Configuration of the LCFL function blocks (Page 225).
Operator controls
Button Function
Show active alarms Displays the currently active alarms.
Update and show logged Updates and displays the logged alarms.
alarms
Previous line Selects the previous alarm in relation to the currently selected
alarm. The visible area of the alarm control is moved. This button
can only be operated if the "Show recent" function is deactivated.
Next line Selects the next alarm in relation to the currently selected alarm.
The visible area of the alarm control is moved. This button can
only be operated if the "Show recent" function is deactivated.
Button Function
Single acknowledgment Acknowledges a single alarm. A counter shows how many
alarms are unacknowledged. The counter includes all connected
servers, but not filters.
Group acknowledgment Acknowledges all active visible alarms in the alarm control that
require acknowledgment, unless they are subject to single ac‐
knowledgment.
Single confirm Resets the alarm. Relevant for alarms with the state machine
"Alarm with acknowledgment and confirmation" that have al‐
ready been acknowledged and are outgoing.
Show recent Defines whether the current alarm is always selected in the
alarm control. Button not pressed: The "Show recent" function is
active:
• The current alarms in the alarm control are always displayed
first.
• The visible area of the alarm control is moved automatically,
as needed.
• You cannot select the alarms individually or sort them by
column.
Button pressed: The "Show recent" function is paused.
Selection display Opens a dialog for filtering alarms. You can define the filter cri‐
teria or filter the alarms by criteria defined in the engineering
system.
Sorting setup Opens a dialog for setting user-defined sort criteria for the dis‐
played alarms.
Introduction
The "LCFL_MonBinDrvTrend" view is used for the diagnostics of values from the function block
"LCFL_MonBinDrv".
Operator controls
Button Function
First data record Shows the trend direction starting with the first logged value.
Previous data record Shows the trend direction of the previous time interval.
Last data record Shows the trend direction up to the last logged value.
Button Function
Zoom time axis +/- Enlarges or reduces the time axis display.
Zoom area Increases the size of any section of the trend window.
Original view Switches from the magnified trend view back to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
Introduction
For visualization of the function block "LCFL_MonBinVlv", you can use the faceplate
"LCFL_MonBinVlvSymbol". The interface of the program block "LCFL_MonBinVlv" and of the
faceplate "LCFL_MonBinVlvSymbol" is the PLC data type "LCFL_typeMTPMonBinVlvSiemens".
You can find more information at LCFL_typeMTPMonBinVlvSiemens (Page 191).
Clicking "LCFL_MonBinVlvSymbol" opens the "LCFL_MonBinVlvBasic" faceplate, which
contains all additional faceplates of the function block. These faceplates are shown as views
in runtime.
When you click the icon in runtime, the "LCFL_MonBinVlvHome" monitoring view is displayed
as the first view. Navigate to the different views in the opened screen:
LCFL_MonBinVlvTrend (Page 346) The trend view is used for the diagnostics of values.
2 3 4
④ Operating mode
Symbol Mode HMI tag
Offline HMI.mtpData.StateOffAct = 1
Operator HMI.mtpData.StateOpAct = 1
Disabled faceplate
If the faceplate "LCFL_MonBinVlvSymbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
Introduction
The "LCFL_MonBinVlvHome" view is a monitoring view that is used to display basic information.
You also have the option to change the operating mode and open or close the valve.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
8 9 10
1 11
12 13
14
2
4
3 15
5 16
7
6 17
Area Description
Process signal The state of the valve is visualized in this area (open / closed / is being
opened / is being closed).
Status This area contains information on quality code, monitoring error, main‐
tenance and safe position.
Area Description
Controllers This area contains buttons that can be enabled with a click:
• Operating mode (Offline / Operator / Automatic)
• Valve action (open / close)
• Reset error
Conditions This area contains the following information:
• Permit
The operation of the faceplate is possible / not possible.
• Interlock
The status change of the valve is possible / not possible.
• Protect
The status change of the valve is possible / not possible. A reset is
required to enable a status change once again.
⑤ Maintenance
See section "③ Monitoring error or maintenance required".
⑥ Safe position
The display is only visible when "HMI.mtpData.SafePosEn = 1".
⑧ Mode: Offline
Button State HMI tag
Offline (no operator au‐ (HMI.mtpData.StateChannel = 0 AND
thorization) HMI.mtpData.StateOffAct = 1 AND
Operating permit = 0)
OR
(HMI.mtpData.StateChannel = 1 AND
HMI.mtpData.StateOffAct = 1)
Offline HMI.mtpData.StateChannel = 0
AND
HMI.mtpData.StateOffAct = 1
AND
Operating permit = 1
Not Offline (no switch‐ HMI.mtpData.StateOffAct = 0
over triggered by opera‐
tor or automatic mode)
⑨ Mode: Operator
Button State HMI tag
Operator (no operator (HMI.mtpData.StateChannel = 0 AND
authorization) HMI.mtpData.StateOpAct = 1 AND
Operating permit = 0)
OR
(HMI.mtpData.StateChannel = 1 AND
HMI.mtpData.StateOpAct = 1)
Operator HMI.mtpData.StateChannel = 0
AND
HMI.mtpData.StateOpAct = 1
AND
Operating permit = 1
Not operator (no switch‐ HMI.mtpData.StateOpAct = 0
over triggered by opera‐
tor or automatic mode)
⑩ Mode: Automatic
Button State HMI tag
Automatic (no operator (HMI.mtpData.StateChannel = 0 AND
authorization) HMI.mtpData.StateAutAct = 1 AND
Operating permit = 0)
OR
(HMI.mtpData.StateChannel = 1 AND
HMI.mtpData.StateAutAct = 1)
Automatic HMI.mtpData.StateChannel = 0
AND
HMI.mtpData.StateAutAct = 1
AND
Operating permit = 1
Not automatic mode HMI.mtpData.stateAutAct = 0
(no switchover trig‐
gered by operator or au‐
tomatic mode)
⑭ Reset valve
Button State HMI tag
Reset required HMI.mtpData.StateOpAct = 1
AND
Operating permit = 1
AND
(HMI.mtpData.ProtEn= 1 AND
HMI.mtpData.Protect = 0 OR
HMI.mtpData.MonDynErr = 1 OR
HMI.mtpData.MonStatErr = 1)
No reset required HMI.mtpData.StateOpAct = 0
OR
Operating permit = 0
OR
(HMI.mtpData.Protect = 1 AND
HMI.mtpData.MonDynErr = 0 AND
HMI.mtpData.MonStatErr = 0 AND)
Disabled view
If the "LCFL_MonBinVlvHome" view is disabled with "HMI.enabled = 0", the view with the
following status information appears:
Introduction
In the "LCFL_MonBinVlvSettings" view, you can enable or disable the feedback monitoring using
buttons. If feedback monitoring is disabled, the "Monitoring error" display is not visible in the
"LCFL_MonBinVlvHome" view.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
1 2
① Feedback monitoring: On
Symbol Meaning HMI tag
Feedback monitoring is HMI.mtpData.MonEn = 1
activated. AND
Operating permit = 1
Feedback monitoring is HMI.mtpData.MonEn = 0
deactivated. AND
Operating permit = 1
Introduction
In the "LCFL_Maintenance1" view you have the option to display the actual values of the
operating time and cycle time and to configure the limit values.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
2
1
3
1
4
1
5
1
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Introduction
In the "LCFL_Maintenance2" view you have the option to display the number of status changes
and alarms and to configure the limit values.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
Introduction
The "LCFL_MonBinVlvAlarm" view is used for working with alarms. You can activate or deactivate
each individual alarm. The following alarms are output in case of supervision errors:
The requirement is that the instance data block of the function block "LCFL_MonBinVlv" is
assigned to a ProDiag function block or a discrete alarm is configured in the HMI for the
parameters. See section Configuration of the LCFL function blocks (Page 225).
Operator controls
Button Function
Show active alarms Displays the currently active alarms.
Update and show logged Updates and displays the logged alarms.
alarms
Previous line Selects the previous alarm in relation to the currently selected
alarm. The visible area of the alarm control is moved. This button
can only be operated if the "Show recent" function is deactivated.
Next line Selects the next alarm in relation to the currently selected alarm.
The visible area of the alarm control is moved. This button can
only be operated if the "Show recent" function is deactivated.
Single acknowledgment Acknowledges a single alarm. A counter shows how many
alarms are unacknowledged. The counter includes all connected
servers, but not filters.
Group acknowledgment Acknowledges all active visible alarms in the alarm control that
require acknowledgment, unless they are subject to single ac‐
knowledgment.
Button Function
Single confirm Resets the alarm. Relevant for alarms with the state machine
"Alarm with acknowledgment and confirmation" that have al‐
ready been acknowledged and are outgoing.
Show recent Defines whether the current alarm is always selected in the
alarm control. Button not pressed: The "Show recent" function is
active:
• The current alarms in the alarm control are always displayed
first.
• The visible area of the alarm control is moved automatically,
as needed.
• You cannot select the alarms individually or sort them by
column.
Button pressed: The "Show recent" function is paused.
Selection display Opens a dialog for filtering alarms. You can define the filter cri‐
teria or filter the alarms by criteria defined in the engineering
system.
Sorting setup Opens a dialog for setting user-defined sort criteria for the dis‐
played alarms.
Introduction
The "LCFL_MonBinVlvTrend" view is used for the diagnostics of values from the function block
"LCFL_MonBinVlv".
Operator controls
Button Function
First data record Shows the trend direction starting with the first logged value.
Previous data record Shows the trend direction of the previous time interval.
Last data record Shows the trend direction up to the last logged value.
Button Function
Zoom time axis +/- Enlarges or reduces the time axis display.
Zoom area Increases the size of any section of the trend window.
Original view Switches from the magnified trend view back to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
9.3 Monitoring
Introduction
For visualization of the function block "LCFL_AnaMon", you can use the faceplate
"LCFL_AnaMonSymbol". The interface of the program block "LCFL_AnaMon" and of the faceplate
"LCFL_AnaMonSymbol" is the PLC data type "LCFL_typeMTPAnaMonSiemens".
You can find more information at LCFL_typeMTPAnaMonSiemens (Page 194)
When you click the icon in runtime, the "LCFL_AnaMonHome" monitoring view is displayed as
the first view. Navigate to the different views in the opened screen:
LCFL_AnaMonTrend (Page 359) The trend view is used for the diagnostics of values.
1 3
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Disabled faceplate
If the faceplate "LCFL_AnaMonSymbol" is disabled with "HMI.enabled = 0", the faceplate appears
as follows:
Introduction
The "LCFL_AnaMonHome" view is a monitoring view that is used to display basic information,
such as process values and limits.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
5 6
① Alarm limits (red), warning limits (yellow), and tolerance limits (gray) in the form of an arc
diagram
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Disabled view
If the "LCFL_AnaMonHome" view is disabled with "HMI.enabled = 0", the view with the following
status information appears:
Introduction
In the "LCFL_AnaMonSettings1" view, you can change the high limits.
The high limits are only displayed when the following tags are activated:
The enable bit is set in the configuration data block (PLC data type).
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
2
1
3
1
4
1
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Introduction
In the "LCFL_AnaMonSettings2" view, you can change the low limits.
The low limits are only displayed when the following tags are activated:
The enable bit is set in the configuration data block (PLC data type).
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
2
1
3
1
4
1
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Introduction
The "LCFL_AnaMonAlarm" view is used for working with alarms. You can activate or deactivate
each individual alarm. The corresponding alarms are output in case of limit violations:
The requirement is that the instance data block of the function block "LCFL_AnaMon" is
assigned to a ProDiag function block or a discrete alarm is configured in the HMI for the
parameters. See section Configuration of the LCFL function blocks (Page 225).
Operator controls
Button Function
Show active alarms Displays the currently active alarms.
Update and show logged Updates and displays the logged alarms.
alarms
Previous line Selects the previous alarm in relation to the currently selected
alarm. The visible area of the alarm control is moved. This button
can only be operated if the "Show recent" function is deactivated.
Next line Selects the next alarm in relation to the currently selected alarm.
The visible area of the alarm control is moved. This button can
only be operated if the "Show recent" function is deactivated.
Single acknowledgment Acknowledges a single alarm. A counter shows how many
alarms are unacknowledged. The counter includes all connected
servers, but not filters.
Group acknowledgment Acknowledges all active visible alarms in the alarm control that
require acknowledgment, unless they are subject to single ac‐
knowledgment.
Button Function
Single confirm Resets the alarm. Relevant for alarms with the state machine
"Alarm with acknowledgment and confirmation" that have al‐
ready been acknowledged and are outgoing.
Show recent Defines whether the current alarm is always selected in the
alarm control. Button not pressed: The "Show recent" function is
active:
• The current alarms in the alarm control are always displayed
first.
• The visible area of the alarm control is moved automatically,
as needed.
• You cannot select the alarms individually or sort them by
column.
Button pressed: The "Show recent" function is paused.
Selection display Opens a dialog for filtering alarms. You can define the filter cri‐
teria or filter the alarms by criteria defined in the engineering
system.
Sorting setup Opens a dialog for setting user-defined sort criteria for the dis‐
played alarms.
Introduction
The "LCFL_AnaMonTrend" view is used for the diagnostics of values from the function block
"LCFL_AnaMon".
Operator controls
Button Function
First data record Shows the trend direction starting with the first logged value.
Previous data record Shows the trend direction of the previous time interval.
Last data record Shows the trend direction up to the last logged value.
Button Function
Zoom time axis +/- Enlarges or reduces the time axis display.
Zoom area Increases the size of any section of the trend window.
Original view Switches from the magnified trend view back to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
Introduction
For visualization of the function block "LCFL_BinMon", you can use the faceplate
"LCFL_BinMonSymbol". The interface of the program block "LCFL_BinMon" and of the faceplate
"LCFL_BinMonSymbol" is the PLC data type "LCFL_typeMTPBinMonSiemens".
You can find more information at LCFL_typeMTPBinMonSiemens (Page 196)
LCFL_BinMonSettings (Page 365) In the settings view you can configure the flutter
detection.
LCFL_BinMonTrend (Page 369) The trend view is used for the diagnostics of values.
HMI.mtpData.V = 0
② Error
Symbol Meaning HMI tag
Value active HMI.valueMessage = 1
Disabled faceplate
If the faceplate "LCFL_BinMonSymbol" is disabled with "HMI.enabled = 0", the faceplate appears
as follows:
Introduction
The "LCFL_BinMonHome" view is a monitoring view that is used to display basic information.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
Area Description
Process signal The current signal and binary value is displayed in this area.
Status This section contains information on quality code and flutter detection.
HMI.mtpData.V = 0
④ Flutter detection
The display is only visible when "HMI.mtpData.VFlutEn = 1".
Disabled view
If the "LCFL_BinMonHome" view is disabled with "HMI.enabled = 0", the view with the following
status information appears:
Introduction
In the "LCFL_BinMonSettings1" view, you can configure the flutter detection.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
3
1
Introduction
The "LCFL_BinMonAlarm" view is used for working with alarms. You can activate or deactivate
each individual alarm. The following alarms are output:
The requirement is that the instance data block of the function block "LCFL_BinMon" is
assigned to a ProDiag function block or a discrete alarm is configured in the HMI for the
parameters. See section Configuration of the LCFL function blocks (Page 225).
Operator controls
Button Function
Show active alarms Displays the currently active alarms.
Update and show logged Updates and displays the logged alarms.
alarms
Previous line Selects the previous alarm in relation to the currently selected
alarm. The visible area of the alarm control is moved. This button
can only be operated if the "Show recent" function is deactivated.
Next line Selects the next alarm in relation to the currently selected alarm.
The visible area of the alarm control is moved. This button can
only be operated if the "Show recent" function is deactivated.
Single acknowledgment Acknowledges a single alarm. A counter shows how many
alarms are unacknowledged. The counter includes all connected
servers, but not filters.
Group acknowledgment Acknowledges all active visible alarms in the alarm control that
require acknowledgment, unless they are subject to single ac‐
knowledgment.
Single confirm Resets the alarm. Relevant for alarms with the state machine
"Alarm with acknowledgment and confirmation" that have al‐
ready been acknowledged and are outgoing.
Show recent Defines whether the current alarm is always selected in the
alarm control. Button not pressed: The "Show recent" function is
active:
• The current alarms in the alarm control are always displayed
first.
• The visible area of the alarm control is moved automatically,
as needed.
• You cannot select the alarms individually or sort them by
column.
Button pressed: The "Show recent" function is paused.
Selection display Opens a dialog for filtering alarms. You can define the filter cri‐
teria or filter the alarms by criteria defined in the engineering
system.
Sorting setup Opens a dialog for setting user-defined sort criteria for the dis‐
played alarms.
Introduction
The "LCFL_BinMonTrend" view is used for the diagnostics of values from the function block
"LCFL_BinMon".
Operator controls
Button Function
First data record Shows the trend direction starting with the first logged value.
Previous data record Shows the trend direction of the previous time interval.
Button Function
Next data record Shows the trend direction of the next time interval.
Last data record Shows the trend direction up to the last logged value.
Zoom time axis +/- Enlarges or reduces the time axis display.
Zoom area Increases the size of any section of the trend window.
Original view Switches from the magnified trend view back to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
Introduction
For visualization of the function block "LCFL_DIntMon", you can use the faceplate
"LCFL_DIntMonSymbol". The interface of the program block "LCFL_DIntMon" and of the
faceplate "LCFL_DIntMonSymbol" is the PLC data type "LCFL_typeMTPDIntMonSiemens".
You can find more information at LCFL_typeMTPDIntMonSiemens (Page 199)
When you click the icon in runtime, the "LCFL_DIntMonHome" monitoring view is displayed
as the first view. Navigate to the different views in the opened screen:
LCFL_DIntMonTrend (Page 381) The trend view is used for the diagnostics of values.
1 3
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Disabled faceplate
If the faceplate "LCFL_DIntMonSymbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
Introduction
The "LCFL_DIntMonHome" view is a monitoring view that is used to display basic information,
such as process values and limits.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
5 6
① Alarm limits (red), warning limits (yellow), and tolerance limits (gray) in the form of an arc
diagram
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Disabled view
If the "LCFL_DIntMonHome" view is disabled with "HMI.enabled = 0", the view with the following
status information appears:
Introduction
In the "LCFL_DIntMonSettings1" view, you can change the high limits.
The high limits are only displayed when the following tags are activated:
The enable bit is set in the configuration data block (PLC data type).
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
2
1
3
1
4
1
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Introduction
In the "LCFL_DIntMonSettings2" view, you can change the low limits.
The low limits are only displayed when the following tags are activated:
The enable bit is set in the configuration data block (PLC data type).
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
2
1
3
1
4
1
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
Introduction
The "LCFL_DIntMonAlarm" view is used for working with alarms. You can activate or deactivate
each individual alarm. The corresponding alarms are output in case of limit violations:
The requirement is that the instance data block of the function block "LCFL_DIntMon" is
assigned to a ProDiag function block or a discrete alarm is configured in the HMI for the
parameters. See section Configuration of the LCFL function blocks (Page 225).
Operator controls
Button Function
Show active alarms Displays the currently active alarms.
Update and show logged Updates and displays the logged alarms.
alarms
Previous line Selects the previous alarm in relation to the currently selected
alarm. The visible area of the alarm control is moved. This button
can only be operated if the "Show recent" function is deactivated.
Next line Selects the next alarm in relation to the currently selected alarm.
The visible area of the alarm control is moved. This button can
only be operated if the "Show recent" function is deactivated.
Single acknowledgment Acknowledges a single alarm. A counter shows how many
alarms are unacknowledged. The counter includes all connected
servers, but not filters.
Group acknowledgment Acknowledges all active visible alarms in the alarm control that
require acknowledgment, unless they are subject to single ac‐
knowledgment.
Button Function
Single confirm Resets the alarm. Relevant for alarms with the state machine
"Alarm with acknowledgment and confirmation" that have al‐
ready been acknowledged and are outgoing.
Show recent Defines whether the current alarm is always selected in the
alarm control. Button not pressed: The "Show recent" function is
active:
• The current alarms in the alarm control are always displayed
first.
• The visible area of the alarm control is moved automatically,
as needed.
• You cannot select the alarms individually or sort them by
column.
Button pressed: The "Show recent" function is paused.
Selection display Opens a dialog for filtering alarms. You can define the filter cri‐
teria or filter the alarms by criteria defined in the engineering
system.
Sorting setup Opens a dialog for setting user-defined sort criteria for the dis‐
played alarms.
Introduction
The "LCFL_DIntMonTrend" view is used for the diagnostics of values from the function block
"LCFL_DIntMon".
Operator controls
Button Function
First data record Shows the trend direction starting with the first logged value.
Previous data record Shows the trend direction of the previous time interval.
Last data record Shows the trend direction up to the last logged value.
Button Function
Zoom time axis +/- Enlarges or reduces the time axis display.
Zoom area Increases the size of any section of the trend window.
Original view Switches from the magnified trend view back to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
Introduction
For visualization of the function block "LCFL_StringView", you can use the faceplate
"LCFL_StringViewSymbol". The interface of the program block "LCFL_StringView" and of the
faceplate "LCFL_StringViewSymbol" is the PLC data type "LCFL_typeMTPStringViewSiemens".
You can find more information at LCFL_typeMTPStringView (Page 200)
Disabled faceplate
If the faceplate "LCFL_StringViewSymbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
Introduction
The "LCFL_StringViewHome" view is a monitoring view and is used to display a string.
Disabled view
If the "LCFL_StringViewHome" view is disabled with "HMI.enabled = 0", the view with the
following status information appears:
9.4 Operate
Introduction
For visualization of the function block "LCFL_AnaManInt", you can use the faceplate
"LCFL_AnaManIntSymbol". The interface of the program block "LCFL_AnaManInt" and of the
faceplate "LCFL_AnaManIntSymbol" is the PLC data type "LCFL_typeMTPAnaManIntSiemens".
You can find more information at LCFL_typeMTPAnaManIntSiemens (Page 202)
LCFL_AnaManIntTrend (Page 392) The trend view is used for the diagnostics of values.
1 2
3 4
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
③ Limit violations
Symbol Meaning HMI tag
High limit or low limit violated HMI.mtpData.VMin = 1
OR
HMI.mtpData.VMax = 1
④ Source mode
Symbol Mode HMI tag
Manual HMI.mtpData.SrcManAct = 1
AND
HMI.mtpData.SrcChannel = 0
Internal HMI.mtpData.SrcIntAct = 1
AND
HMI.mtpData.SrcChannel = 0
Disabled faceplate
If the faceplate "LCFL_AnaManIntSymbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
Introduction
The "LCFL_AnaManIntHome" view is a monitoring view that is used to display basic information.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
4
8
6 7
Area Description
Output signal The current analog value is displayed in this area.
Status This area contains information on the quality code.
Feedback The feedback value is displayed in this area.
Controllers This area contains buttons that can be enabled with a click:
• "Manual" source mode
• "Internal" source mode
An additional display shows the manual and internal values.
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at Units of measurement (Page 14).
⑤ Feedback value
Value HMI tag
Feedback value HMI.mtpData.VFbk
⑧ Manual value
Value HMI tag
Manual value HMI.mtpData.VMan
⑨ Internal value
Value HMI tag
Internal value HMI.mtpData.VInt
Disabled view
If the "LCFL_AnaManIntHome" view is disabled with "HMI.enabled = 0", the view with the
following status information appears:
Introduction
The "LCFL_AnaManIntTrend" view is used for the diagnostics of values from the function block
"LCFL_AnaManInt".
Operator controls
Button Function
First data record Shows the trend direction starting with the first logged value.
Previous data record Shows the trend direction of the previous time interval.
Last data record Shows the trend direction up to the last logged value.
Button Function
Zoom time axis +/- Enlarges or reduces the time axis display.
Zoom area Increases the size of any section of the trend window.
Original view Switches from the magnified trend view back to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
Introduction
For visualization of the function block "LCFL_BinManInt", you can use the faceplate
"LCFL_BinManIntSymbol". The interface of the program block "LCFL_BinManInt" and of the
faceplate "LCFL_BinManIntSymbol" is the PLC data type "LCFL_typeMTPBinManIntSiemens".
You can find more information at LCFL_typeMTPBinManIntSiemens (Page 204)
View Description
LCFL_BinManIntHome (Page 396) The monitoring view is used to display basic infor‐
mation.
LCFL_BinManIntTrend (Page 400) The trend view is used for the diagnostics of values.
HMI.mtpData.VOut = 0
② Source mode
Symbol Mode HMI tag
Manual HMI.mtpData.SrcManAct = 1
AND
HMI.mtpData.SrcChannel = 0
Internal HMI.mtpData.SrcIntAct = 1
AND
HMI.mtpData.SrcChannel = 0
Disabled faceplate
If the faceplate "LCFL_BinManIntSymbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
Introduction
The "LCFL_BinManIntHome" view is a monitoring view that is used to display basic information.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
3 4
5 6
8 9
Area Description
Output signal The current signal and binary value is displayed in this area.
Status This area contains information on the quality code.
Area Description
Checkback signal The feedback value is displayed in this area.
Controllers This area contains buttons that can be enabled with a click:
• "Manual" source mode
• "Internal" source mode
• Value output state "true"
• Value output state "false"
HMI.mtpData.VOut = 0
④ Feedback value
Value HMI tag
Feedback value HMI.mtpData.VFbk
Disabled view
If the "LCFL_BinManIntHome" view is disabled with "HMI.enabled = 0", the view with the
following status information appears:
Introduction
The "LCFL_BinManIntTrend" view is used for the diagnostics of values from the function block
"LCFL_BinManInt".
Operator controls
Button Function
First data record Shows the trend direction starting with the first logged value.
Previous data record Shows the trend direction of the previous time interval.
Last data record Shows the trend direction up to the last logged value.
Button Function
Zoom time axis +/- Enlarges or reduces the time axis display.
Zoom area Increases the size of any section of the trend window.
Original view Switches from the magnified trend view back to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
Introduction
For visualization of the function block "LCFL_DIntManInt", you can use the faceplate
"LCFL_DIntManIntSymbol". The interface of the program block "LCFL_DIntManInt" and of the
faceplate "LCFL_DIntManIntSymbol" is the PLC data type "LCFL_typeMTPDIntManIntSiemens".
You can find more information at LCFL_typeMTPDIntManIntSiemens (Page 206)
LCFL_DIntManIntTrend (Page 408) The trend view is used for the diagnostics of values.
1 2
3 4
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at LCFL_typeMTPDIntManIntSiemens (Page 206).
③ Limit violations
Symbol Meaning HMI tag
High limit or low limit violated HMI.mtpData.VMin = 1
OR
HMI.mtpData.VMax = 1
④ Source mode
Symbol Mode HMI tag
Manual HMI.mtpData.SrcManAct = 1
AND
HMI.mtpData.SrcChannel = 0
Internal HMI.mtpData.SrcIntAct = 1
AND
HMI.mtpData.SrcChannel = 0
Disabled faceplate
If the faceplate "LCFL_DIntManIntSymbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
See also
Units of measurement (Page 14)
Introduction
The "LCFL_DIntManIntHome" view is a monitoring view that is used to display basic information.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
4
8
6 7
Area Description
Output signal The current analog value is displayed in this area.
Status This area contains information on the quality code.
Feedback The feedback value is displayed in this area.
Controllers This area contains buttons that can be enabled with a click:
• "Manual" source mode
• "Internal" source mode
An additional display shows the manual and internal values.
The integer value is triggered or displayed using the text list "LCFL_Unit". You can find more
information at LCFL_OSLevel – Description of function (Page 65).
⑤ Feedback value
Value HMI tag
Feedback value HMI.mtpData.VFbk
⑧ Manual value
Value HMI tag
Manual value HMI.mtpData.VMan
⑨ Internal value
Value HMI tag
Internal value HMI.mtpData.VInt
Disabled view
If the "LCFL_DIntManIntHome" view is disabled with "HMI.enabled = 0", the view with the
following status information appears:
See also
Units of measurement (Page 14)
Introduction
The "LCFL_DIntManIntTrend" view is used for the diagnostics of values from the function block
"LCFL_DIntManInt".
Operator controls
Button Function
First data record Shows the trend direction starting with the first logged value.
Previous data record Shows the trend direction of the previous time interval.
Last data record Shows the trend direction up to the last logged value.
Button Function
Zoom time axis +/- Enlarges or reduces the time axis display.
Zoom area Increases the size of any section of the trend window.
Original view Switches from the magnified trend view back to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
9.5 Control
Introduction
For visualization of the function block "LCFL_Aggr8", you can use the faceplate
"LCFL_Aggr8Symbol". The interface of the program block "LCFL_Aggr8" and of the faceplate
"LCFL_Aggr8Symbol" is the PLC data type "LCFL_typeAggr8Siemens".
You can find more information at LCFL_typeAggr8Siemens (Page 210)
When you click the icon in runtime, the "LCFL_Aggr8Home" monitoring view is displayed as
the first view. Navigate to the different views in the opened screen:
LCFL_Aggr8Trend (Page 431) The trend view is used for the diagnostics of values.
Disabled faceplate
If the faceplate "LCFL_Aggr8Symbol" is disabled with "HMI.enabled = 0", the faceplate appears
as follows:
Introduction
The "LCFL_Aggr8Home1" view is a monitoring view that is used to display basic information.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
1 3
2 4
① Number
Number to identify the number of the aggregate. The number of a given control module is
framed when the module's interconnector is active.
Disabled view
If the "LCFL_Aggr8Home1" view is disabled with "HMI.enabled = 0", the view with the following
status information appears:
Introduction
The "LCFL_Aggr8Home2" view is a monitoring view that is used to display basic information.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
1 3 6 7
2 4 8
9
10
5 11
Area Description
Number of aggregates The current signal and binary value is displayed in this area.
This area contains buttons that can be enabled with a click:
• "Manual" source mode
• "Internal" source mode
Next switch This area contains information, for switching the next aggregate on or
off, as well as the remaining runtime.
Switch by time In this area, you can define whether a switchover is to be performed
"manually" or "internally" according to time and whether the cycle time,
operating time or rest time is to be used for the switchover. Switching to
the next aggregate and resetting the current aggregate are also possible.
Actual times This area shows the cycle time, operating time and rest time of the ag‐
gregates.
⑤ Next switch
Icon Meaning
Information on switching
1 3
⑩ Reset aggregate
Button Meaning HMI tag
Reset required Operating permit = 1
AND
HMI.data.CollectedError = 1
No reset required Operating permit = 1
AND
HMI.data.CollectedError = 0
⑪ Actual times
Icon Meaning
Information on cycle times, rest times and operating times
Note
Operating times and cycle times are displayed in hours. Example: 0.5 hours = 30 minutes.
Cycle times
Rest times
Operating times
Introduction
The "LCFL_Aggr8Home3" view is a monitoring view that is used to display basic information.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
1 10
2 6 11 15
3 7 12 16
4 8 13 17
5 9 14 18
Introduction
In the "LCFL_Aggr8Settings1" view, you have the option to set different times for the aggregates.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
Note
Some time settings may lead to inconsistencies in the correct execution of the selected
operating mode. To avoid this, please note the following:
• If you are using a limit time, make sure that the delay time is sufficiently less than the limit.
In this way, the requested aggregates can be switched on and off in time.
• Set the delay time so that the logic can receive the running status signal of the aggregates
during the delay time. Otherwise, an error signal will be generated.
• Ensure that the aggregates can be switched off according to the limit time as a result of the
set time configuration. Otherwise, the block stops the aggregates with an error.
• If the limit time is used (limit time is not 0), the configured priorities must be the same.
1 2
3 4
5 6
① Delay time:
Delay time – wait time
Time after which the "Switch on" command is given and a aggregate is switched on/off.
③ Rest time
Rest time – Wait time/cooling time
Time after switching off a aggregate until the aggregate is ready to be switched on again.
⑤ Limit time
Limit time – maximum runtime of the aggregates
Introduction
In the "LCFL_Aggr8Settings2" view, you have the option to set the operating time for the
aggregates. The number of a control module is framed when the interconnector of the control
module is active.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
1 5
2 6
3 7
4 8
Note
Operating times are displayed in hours. Example: 0.5 hours = 30 minutes.
Introduction
The "LCFL_Aggr8Alarm" view is used for working with alarms. You can activate or deactivate
each individual alarm. The following alarms are output:
The requirement is that the instance data block of the function block "LCFL_Aggr8" is
assigned to a ProDiag function block or that a discrete alarm is configured for the parameters
in the HMI. See section Configuration of the LCFL function blocks (Page 225).
Operator controls
Button Function
Show active alarms Displays the currently active alarms.
Update and show logged Updates and displays the logged alarms.
alarms
Previous line Selects the previous alarm in relation to the currently selected
alarm. The visible area of the alarm control is moved. This button
can only be operated if the "Show current " function is deactiva‐
ted.
Next line Selects the next alarm in relation to the currently selected alarm.
The visible area of the alarm control is moved. This button can
only be operated if the "Show current " function is deactivated.
Single acknowledgment Acknowledges a single alarm. A counter shows how many
alarms are unacknowledged. The counter takes into account all
connected servers but no filters.
Group acknowledgment Acknowledges all active visible alarms in the alarm control that
require acknowledgment, unless they require single acknowl‐
edgment.
Single acknowledgment Resets the alarm. Relevant for alarms with the state machine
"Alarm with acknowledgment and confirmation" that have al‐
ready been acknowledged and are outgoing.
Show current Defines whether the current alarm is always selected in the
alarm control. Button not pressed: The "Show current" function
is active:
• The current alarms in the alarm control are always displayed
first.
• The visible area of the alarm control is moved automatically,
as needed.
• You cannot select the alarms individually or sort them by
column.
Button pressed: The "Show current" function is paused.
Selection display Opens a dialog for filtering alarms. You can define the filter cri‐
teria or filter the alarms by criteria defined in the Engineering
System.
Sorting setup Opens a dialog for setting user-defined sort criteria for the dis‐
played alarms.
Introduction
The "LCFL_Aggr8Trend" view is used for the diagnostics of values from the function block
"LCFL_Aggr8".
Operator controls
Button Function
First record Shows the trend starting with the first logged value.
Button Function
Next record Shows the trend of the next time interval.
Zoom time axis +/- Zooms in on or out from the time axis.
Original view Switches from the zoomed-in trend control to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
Introduction
For visualization of the function block "LCFL_PIDCtrl", you can use the faceplate
"LCFL_PIDCtrlSymbol". The interface of the program block "LCFL_PIDCtrl" and of the faceplate
"LCFL_PIDCtrlSymbol" is the PLC data type "LCFL_typeMTPPIDCtrlSiemens".
You can find more information at LCFL_typeMTPPIDCtrlSiemens (Page 214)
When you click the icon in runtime, the "LCFL_PIDCtrlHome" monitoring view is displayed as
the first view. Navigate to the different views in the opened screen:
LCFL_PIDCtrlTrend (Page 446) The trend view is used for the diagnostics of values.
1 7
2 7
3 4 5 6
③ Indicator of violation of high or low limits (process value, setpoint, manipulated value)
Icon Meaning HMI tag
High limit / low limit ac‐ HMI.processValueLimitActive = 1
tive OR
HMI.setpointValueLimitActive = 1
OR
HMI.manipulatedValueLimitActive = 1
⑤ Operating mode
Icon Mode HMI tag
Offline HMI.mtpData.StateOffAct = 1
Operator HMI.mtpData.StateOpAct = 1
⑥ Source mode
Icon Mode HMI tag
Manual HMI.mtpData.SrcManAct = 1
Internal HMI.mtpData.SrcIntAct = 1
Disabled faceplate
If the faceplate "LCFL_PIDCtrlSymbol" is disabled with "HMI.enabled = 0", the faceplate appears
as follows:
See also
Units of measurement (Page 14)
Introduction
The "LCFL_PIDCtrlHome" view is a monitoring view that is used to display basic information.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
1 5
4 10 11 12
2 6
3 7
13
15
8
16
9 14
Area Description
Process value, setpoint, ma‐ The current process value, setpoint and manipulated value are displayed
nipulated value in this area.
Status This section contains information on quality code and flutter detection.
Controls This area contains buttons that can be enabled with a click:
• Operating mode (Offline / Operator / Automatic)
• Source mode (Manual / Internal)
An additional display shows the manual and internal values.
⑨ Monitoring error
The display is only visible when "HMI.mtpData.MonEn = 1".
⑮ Manual setpoint
Meaning HMI variable
Manual setpoint HMI.mtpData.SPMan
⑯ Internal setpoint
Meaning HMI variable
Internal setpoint HMI.mtpData.SPInt
Disabled view
If the "LCFL_PIDCtrlHome" view is disabled with "HMI.enabled = 0", the view with the following
status information appears:
See also
Units of measurement (Page 14)
Introduction
You can change various values in the "LCFL_PIDCtrlSettings" view.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
3
1
4
1
② Proportional gain
Meaning HMI variable
Proportional gain HMI.mtpData.P
AND
Operating permit = 1
③ Integration time
Meaning HMI variable
Integration time HMI.mtpData.Ti
AND
Operating permit = 1
④ Differential time
Meaning HMI variable
Differential time HMI.mtpData.Td
AND
Operating permit = 1
Introduction
The "LCFL_PIDCtrlAlarm" view is used for working with alarms. You can activate or deactivate
each individual alarm. The following alarms are output:
The requirement is that the instance data block of the function block "LCFL_PDICtrl" is
assigned to a ProDiag function block or a discrete alarm is configured in the HMI for the
parameters. See section Configuration of the LCFL function blocks (Page 225).
You can find more information about error bits of PID Compact in the PID Compact
documentation.
Operator controls
Button Function
Show active alarms Displays the currently active alarms.
Update and show logged Updates and displays the logged alarms.
alarms
Previous line Selects the previous alarm in relation to the currently selected
alarm. The visible area of the alarm control is moved. This button
can only be operated if the "Show current " function is deactiva‐
ted.
Next line Selects the next alarm in relation to the currently selected alarm.
The visible area of the alarm control is moved. This button can
only be operated if the "Show current " function is deactivated.
Single acknowledgment Acknowledges a single alarm. A counter shows how many
alarms are unacknowledged. The counter takes into account all
connected servers but no filters.
Button Function
Group acknowledgment Acknowledges all active visible alarms in the alarm control that
require acknowledgment, unless they require single acknowl‐
edgment.
Single acknowledgment Resets the alarm. Relevant for alarms with the state machine
"Alarm with acknowledgment and confirmation" that have al‐
ready been acknowledged and are outgoing.
Show current Defines whether the current alarm is always selected in the
alarm control. Button not pressed: The "Show current" function
is active:
• The current alarms in the alarm control are always displayed
first.
• The visible area of the alarm control is moved automatically,
as needed.
• You cannot select the alarms individually or sort them by
column.
Button pressed: The "Show current" function is paused.
Selection display Opens a dialog for filtering alarms. You can define the filter cri‐
teria or filter the alarms by criteria defined in the Engineering
System.
Sorting setup Opens a dialog for setting user-defined sort criteria for the dis‐
played alarms.
Introduction
The "LCFL_PIDCtrlTrend" view is used for the diagnostics of values from the function block
"LCFL_PIDCtrl".
Operator controls
Button Function
First record Shows the trend starting with the first logged value.
Button Function
Zoom time axis +/- Zooms in on or out from the time axis.
Original view Switches from the zoomed-in trend control to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
Introduction
For visualization of the function block "LCFL_Polyline16", you can use the faceplate
"LCFL_Polyline16Symbol". The interface of the program block "LCFL_Polyline16" and of the
faceplate "LCFL_Polyline16Symbol" is the PLC data type "LCFL_typeMTPolyline16Siemens".
You can find more information at LCFL_typePolyline16Siemens (Page 217).
Clicking "LCFL_Polyline16Symbol" opens the "LCFL_Polyline16Basic" faceplate, which
contains all additional faceplates of the function block. These faceplates are shown as views
in runtime.
When you click the icon in runtime, the "LCFL_Polyline16Home1" monitoring view is
displayed as the first view. Navigate to the different views in the opened screen:
LCFL_Polyline16Trend (Page 461) The trend view is used for the diagnostics of values.
1 7
2 7
3 4 5 6
⑤ Operating mode
Icon Mode HMI tag
Offline HMI.data.StateOffAct = 1
Operator HMI.data.StateOpAct = 1
⑥ Source mode
Icon Mode HMI tag
Manual HMI.data.SrcManAct = 1
Internal HMI.data.SrcIntAct = 1
Disabled faceplate
If the faceplate "LCFL_Polyline16Symbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
① I/O field with actual input value + unit of the actual input value
Meaning HMI variable
Input value HMI.data.IV + LCFL_Unit[HMI.data.IVunit]
③ Enabled/Disabled
Button State HMI variable
Enabled/Disabled HMI.enabled = 0
Introduction
The "LCFL_Polyline16Home1" view is a monitoring view that is used to display basic information.
⑨ Monitoring error
Icon Meaning HMI tag
No error HMI.data.Errorbits = 0
⑩ Error mode
Selection of substitute output value after an error:
⑪ Range
Icon Meaning HMI tag
In the range HMI.data.OutOfRangeActive = 0
⑫ Range mode
Selection of the output value if the input value is outside of the defined x values.
Disabled view
If the "LCFL_Polyline16Home1" view is disabled with "HMI.enabled = 0", the view with the
following status information appears:
Introduction
The "LCFL_Polyline16Home2" view shows the calculations via LCFL_Polyline16.
⑨ Polyline
Meaning HMI tag
Display of polyline based on breakpoints HMI.data.Points[0..15] (scaled)
Introduction
In the "LCFL_Polyline16Settings" view, you can set the polyline breakpoints.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
Note
If polyline calculation is active and the given breakpoint is included in the calculation, its limit is
blue. Otherwise, it is gray.
① Header
Interpolation point settings
② Index
Index number of the breakpoint
④ X value
Meaning HMI tag
X value of the breakpoint (permissible value range: Point[i].x HMI.data.Points[0..15].x
< Point[i+1].x
⑤ Y value
Meaning HMI tag
Y value of the breakpoint HMI.data.Points[0..15].y
Introduction
The "LCFL_Polyline16Alarm" view is used for working with alarms.
Operator controls
Button Function
Show active alarms Displays the currently active alarms.
Update and show logged Updates and displays the logged alarms.
alarms
Previous line Selects the previous alarm in relation to the currently selected
alarm. The visible area of the alarm control is moved. This button
can only be operated if the "Show current " function is deactiva‐
ted.
Next line Selects the next alarm in relation to the currently selected alarm.
The visible area of the alarm control is moved. This button can
only be operated if the "Show current " function is deactivated.
Single acknowledgment Acknowledges an individual alarm. A counter shows how many
alarms are unacknowledged. The counter takes into account all
connected servers but no filters.
Button Function
Group acknowledgment Acknowledges all active visible alarms in the alarm control that
require acknowledgment, unless they require single acknowl‐
edgment.
Single acknowledgment Resets the alarm. Relevant for alarms with the state machine
"Alarm with acknowledgment and confirmation" that have al‐
ready been acknowledged and are outgoing.
Show current Defines whether the current alarm is always selected in the
alarm control. Button not pressed: The "Show current" function
is active:
• The current alarms in the alarm control are always displayed
first.
• The visible area of the alarm control is moved automatically,
as needed.
• You cannot select the alarms individually or sort them by
column.
Button pressed: The "Show current" function is paused.
Selection display Opens a dialog for filtering alarms. You can define the filter cri‐
teria or filter the alarms by criteria defined in the Engineering
System.
Sorting setup Opens a dialog for setting user-defined sort criteria for the dis‐
played alarms.
Introduction
The "LCFL_Polyline16Trend" view is used for the diagnostics of values from the function block
"LCFL_Polyline16".
Operator controls
Button Function
First record Shows the trend starting with the first logged value.
Button Function
Ruler Determines the coordinates of a point of the trend.
Zoom time axis +/- Zooms in on or out from the time axis.
Original view Switches from the zoomed-in trend control to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
The LCFL_TimeSwitch8Basic faceplate is opened with a click of the left mouse button.
The LCFL_TimeSwitch8Basic faceplate is opened with a click of the left mouse button.
Views
The block provides the following views:
• LCFL_TimeSwitch8Home1 (Page 465)
• LCFL_TimeSwitch8Home2 (Page 467)
• LCFL_TimeSwitch8Settings (Page 469)
Introduction
The first view shows overview information about LCFL_TimeSwitch8. The first view is marked
with the number 1 on the Home symbol.
On HMI.data.OnBits.X0..X7 = 1
Introduction
The second start view is used to display and set values for the override of LCFL_TimeSwitch8. The
second Home view is indicated by the number 2 in the Home symbol.
Note
Operating rights:
The logged-on user has at least the rights of an HMI operator.
OS level:
See section: OSLevel (Page 65).
Operator permission:
Activation of the OS level and necessary operating rights (operator or administrator).
See also
OSLevel (Page 65)
Introduction
The channels 1 ... 8 are configured in the "Settings" view.
① Cycle type
② Start time
③ Duration
Note
Operating rights
The logged-on user has at least the operating rights of an HMI operator.
OS level
See section: OSLevel (Page 65).
Operating permission
Activation of the OS level and necessary operating rights (operator or administrator)
See also
OSLevel (Page 65)
Introduction
The alarms of the function block are displayed in the "Alarm View".
Introduction
The "Trend View" is used for diagnostics.
Introduction
For visualization of the function block "LCFL_SetCrv16", you can use the faceplate
"LCFL_SetCrv16Symbol".
You can find more information at LCFL_typeSetCrv16Siemens (Page 223).
Clicking "LCFL_SetCrv16Symbol" opens the "LCFL_SetCrv16Basic" faceplate, which contains
all additional faceplates of the function block. These faceplates are shown as views in
runtime.
When you click the icon in runtime, the "LCFL_SetCrv16Home1" monitoring view is displayed
as the first view. Navigate to the different views in the opened screen:
LCFL_SetCrv16Trend (Page 490) The trend view is used for the diagnostics of values.
④ RampSoak error
Icon Meaning HMI tag
RampSoak error HMI.data.ErrorBits <> 0
⑤ Operating mode
Icon Mode HMI tag
Offline HMI.data.StateOffAct = 1
Operator HMI.data.StateOpAct = 1
⑥ Source mode
Icon Mode HMI tag
Manual HMI.data.SrcManAct = 1
Internal HMI.data.SrcIntAct = 1
⑦ Execution status
Symbol Status HMI tag
Apply HMI.data.ExecCtrl = 1 AND
HMI.data.CtrlHoldCtrl = 0
Hold HMI.data.ExecCtrl = 1 AND
HMI.data.CtrlHoldCtrl = 1
Idle HMI.data.ExecCtrl = 0
Disabled faceplate
If the faceplate "LCFL_SetCrv16Symbol" is disabled with "HMI.enabled = 0", the faceplate
appears as follows:
④ Enabled/disabled
Button State HMI tag
Enabled/Disabled HMI.enabled = 0
Introduction
The "LCFL_SetCrv16Home1" view is a monitoring view that is used to display basic information.
⑭ Supervision error
Icon Meaning HMI tag
No error HMI.data.Errorbits = 0
⑮ Error mode
Selection of substitute output value after an error:
Disabled view
If the "LCFL_SetCrv16Home1" view is disabled with "HMI.enabled = 0", the view with the
following status information appears:
Introduction
The "LCFL_SetCrv16Home2" view shows the calculations via LCFL_SetCrv16.
⑨ Profile
Meaning HMI tag
Profile visualization based on breakpoints HMI.data.Points[0..15] (scaled)
⑩ Breakpoint marker
Meaning HMI tag
Breakpoint markers HMI.data.Points[0..15]
Introduction
In the "LCFL_SetCrv16Settings1-4" view, you can set the profile breakpoints.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
Note
If profile calculation is active and the given breakpoint is included in the calculation, its border
is blue. Otherwise, it is gray.
① Header
Breakpoints of the profile
② Index
Index number of the breakpoint
④ v value
Meaning HMI tag
v value of the breakpoint HMI.data.Points[0..15].Value
⑤ t value
Meaning HMI tag
t value of the breakpoint (admissible value range: HMI.data.Points[0..15].Time
Points[i].Time ≥ 0,0)
Introduction
In the "LCFL_SetCrv16Settings" view, you can set the start mode.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
① Header
Selection of the start behavior
③ Start value
The start value is used as an optional output value (the use of this value can be selected in error,
start and stop mode).
Introduction
In the "LCFL_SetCrv16Settings6" view, you can set the start mode.
To operate the view, you need at least one operator authorization, such as HMI Operator. You
can find more information in the TIA Portal help.
In addition, enable the OS level. You can find more information at LCFL_OSLevel –
Description of function (Page 65).
① Header
Selection of the stop behavior
③ Start value
The start value is used as an optional output value (the use of this value can be selected in error,
start and stop mode).
Introduction
The "LCFL_SetCrv16Alarm" view is used for working with alarms.
Operator controls
Button Function
Show active alarms Displays the currently active alarms.
Update and show logged Updates and displays the logged alarms.
alarms
Previous line Selects the previous alarm in relation to the currently selected
alarm. The visible area of the alarm control is moved. This button
can only be operated if the "Show current " function is deactiva‐
ted.
Next line Selects the next alarm in relation to the currently selected alarm.
The visible area of the alarm control is moved. This button can
only be operated if the "Show current " function is deactivated.
Single acknowledgment Acknowledges an individual alarm. A counter shows how many
alarms are unacknowledged. The counter takes into account all
connected servers but no filters.
Group acknowledgment Acknowledges all active visible alarms in the alarm control that
require acknowledgment, unless they require single acknowl‐
edgment.
Single acknowledgment Resets the alarm. Relevant for alarms with the state machine
"Alarm with acknowledgment and confirmation" that have al‐
ready been acknowledged and are outgoing.
Show current Defines whether the current alarm is always selected in the
alarm control. Button not pressed: The "Show current" function
is active:
• The current alarms in the alarm control are always displayed
first.
• The visible area of the alarm control is moved automatically,
as needed.
• You cannot select the alarms individually or sort them by
column.
Button pressed: The "Show current" function is paused.
Selection display Opens a dialog for filtering alarms. You can define the filter cri‐
teria or filter the alarms by criteria defined in the Engineering
System.
Sorting setup Opens a dialog for setting user-defined sort criteria for the dis‐
played alarms.
Introduction
The "LCFL_SetCrv16Trend" view is used for the diagnostics of values from the function block
"LCFL_SetCrv16".
Operator controls
Button Function
First record Shows the trend starting with the first logged value.
Button Function
Next record Shows the trend of the next time interval.
Zoom time axis +/- Zooms in on or out from the time axis.
Original view Switches from the zoomed-in trend control to the normal view.
Select time range Opens the dialog for setting the time range displayed in the
trend window.
Introduction
For the visualization in runtime and the operator authorization, use the following faceplate
interface:
Property Description
moduleData The instance data of the PLC data type "LCFL_typeMTPSiemens" of a
function block are connected.
OSLevelData To enable operator authorization, the internal HMI tag "LCFL_OSLe‐
vel" is connected from the tag list "LCFL_InternalTags".
OSLevel In order for a text to be output for the tag "LCFL_OSLevel", the text list
"LCFL_OSLevel" is connected.
unit The text list "LCFL_Unit" is connected so that the integer value can be
resolved or displayed using the text list. This property is only available
if the function block has a unit.
You can find more information at Units of measurement (Page 14).
Property Description
format Entering "{F3}", for example, specifies that analog values are output
with three decimal places (x.xxx). If nothing is specified, the analog
values are always displayed with two decimal places (x.xx). "F" stands
for "float".
activeColorEnabled This color is used, for example, for the "Off" control elements. In ad‐
dition, this color is used for the header bar and for active navigation
elements of the opened screen.
The default value is blue (0, 0, 255).
activeColorDisabled This color is used e.g. for the "Not Off" control elements (no switch‐
over triggered by operator or automatic mode)
The default value is blue (0, 0, 255).
inactiveColor This color is used e.g. for the "Off" control elements (no operator
authorization) In addition, this color is used for inactive navigation
elements of the opened screen.
The default value is blue (0, 0, 255).
cycleTypes The text list "LCFL_TimeSwitchCycleTypes" is connected so that the
integer value can be resolved or displayed using the text list.
The property is only available for LCFL_TimeSwitch8.
Requirement
• The "WinCC Unified PC RT" HMI device has been created.
• An image has been created.
• A symbolic I/O field is created and linked to the tag "LCFL_OSLevel" and the text list
"LCFL_OSLevel".
You can find more information at LCFL_OSLevel – Description of function (Page 65).
5. Under "OSLevelData" in the "Static value" column, select the "LCFL_OSLevel" tag from the
"LCFL_InternalTags" tag list.
6. Select the "LCFL_OSLevel" text list under "OSLevel" in the "Static value" column.
7. If the function block has a unit, select the text list "LCFL_Unit" in the "Static value" column
under "unit".
8. If necessary, change the "format" property for the configuration of the decimal places.
9. Change the colors for display in runtime.
Suggestion for an optimal color configuration:
– activeColorEnabled (0, 161, 209)
– inactiveColor (205, 211, 215)
– activeColorDisabled (181, 190, 197)
Introduction
With the installation of the option package SiVArc (SIMATIC Visualization Architect) you can have
the visualization generated automatically. Rules define the assignment between the control
program and the visualization elements. When executing these rules, SiVArc analyzes the
control program and automatically generates the visualization.
Requirement
• The master copies are copied from the global library to the project library.
• The screen rules are copied from the global library in your project under "Common data >
SiVArc > Screen rules".
• The copy rules are copied from the global library in your project under "Common data >
SiVArc > Copy rules".
• If you use discrete alarms instead of ProDiag: The alarm rules are copied from the global
library in your project under "Common data > SiVArc > Alarm rules".
Rules
You can apply the following rules to the function blocks:
Num‐ Folder group in the li‐ Description Valid for function block
ber brary
1 SiVArc > General The copy rule "LCFL_General_CopyRules" is used to im‐ MonAnaDrv, MonAnaVlv, Mon‐
plement the internal tags "LCFL_InternalTags" from the BinVlv, MonBinDrv, AnaMon, Bin‐
tag table "LCFL_InternalTags" ("HMI tags" from library). Mon, DIntMon, StringView, Ana‐
ManInt, BinManInt, DIntManInt,
LockView4, LockView8, PIDCtrl,
Aggr8, TimeSwitch8, Polyline16,
SetCrv16
The copy rule "LCFL_General_CopyRules" is used to im‐ MonAnaDrv, MonAnaVlv, Mon‐
plement the text list "LCFL_OSLevel" ("Text and graphic BinVlv, MonBinDrv, AnaMon, Bin‐
lists" from library). Mon, DIntMon, StringView, Ana‐
ManInt, BinManInt, DIntManInt,
LockView4, LockView8, PIDCtrl,
Aggr8, TimeSwitch8, Polyline16,
SetCrv16
The copy rule "LCFL_General_CopyRules" is used to im‐ MonAnaDrv, MonAnaVlv, Ana‐
plement the text list "LCFL_Unit" ("Text and graphic Mon, DIntMon, AnaManInt, DInt‐
lists" from library). ManInt, PIDCtrl, Aggr8, Time‐
Switch8, Polyline16, SetCrv16
2 SiVArc > SIMATIC The master copy "LCFL_1200_SiVArc" is used for MonAnaDrv, MonAnaVlv, Mon‐
S7-1200 > PLC hard‐ screen rules "LCFL_1200_ScreenRules" to create sym‐ BinVlv, MonBinDrv, AnaMon, Bin‐
ware bols (faceplate from library = LCFL_1200_<Function Mon, DIntMon, StringView, Ana‐
block name>Icon) for each object instance from a "SI‐ ManInt, BinManInt, DIntManInt,
MATIC S7-1200" hardware family. The master copy LockView4, LockView8, PIDCtrl,
must be copied to the master copies of the project Aggr8, TimeSwitch8, Polyline16,
library. SetCrv16
The alarm rule "LCFL_1200_AlarmRules" is used for MonAnaDrv, MonAnaVlv, Mon‐
creating the discrete alarms for each object instance BinVlv, MonBinDrv, AnaMon, Bin‐
from a hardware family "SIMATIC S7-1200" ("HMI Mon, DIntMon, PIDCtrl, Aggr8,
alarms > General > WinCC Unified > Discrete alarms" TimeSwitch8, Polyline16,
from library). SetCrv16
The screen rule "LCFL_1200_ScreenRules" is used to MonAnaDrv, MonAnaVlv, Mon‐
create symbols (faceplate from library = BinVlv, MonBinDrv, AnaMon, Bin‐
LCFL_1200_<Function block name>Icon) for each ob‐ Mon, DIntMon, StringView, Ana‐
ject instance from a "SIMATIC S7-1200" hardware fam‐ ManInt, BinManInt, DIntManInt,
ily into the screen "LCFL_1200_SiVArc". LockView4, LockView8, PIDCtrl,
Aggr8, TimeSwitch8, Polyline16,
SetCrv16
Num‐ Folder group in the li‐ Description Valid for function block
ber brary
3 SiVArc SIMATIC The master copy "LCFL_SiVArc" is used for screen rule MonAnaDrv, MonAnaVlv, Mon‐
S7-1500 > PLC hard‐ "LCFL_ScreenRules" to create symbols (faceplate from BinVlv, MonBinDrv, AnaMon, Bin‐
ware library = LCFL_<Function block name>Icon) for each Mon, DIntMon, StringView, Ana‐
object instance from a "SIMATIC S7-1500" hardware ManInt, BinManInt, DIntManInt,
family (the master copy must be copied to the master LockView4, LockView8, PIDCtrl,
copies of the project library). Aggr8, TimeSwitch8, Polyline16,
SetCrv16
The alarm rule "LCFL_AlarmRules" is used to create the MonAnaDrv, MonAnaVlv, Mon‐
discrete alarms for each object instance from a "SIMAT‐ BinVlv, MonBinDrv, AnaMon, Bin‐
IC S7-1500" hardware family ("HMI alarms > General > Mon, DIntMon, PIDCtrl, Aggr8,
WinCC Unified > Discrete alarms" from the library). TimeSwitch8, Polyline16,
SetCrv16
The screen rule "LCFL_ScreenRules" is used to create MonAnaDrv, MonAnaVlv, Mon‐
symbols (faceplate from library = LCFL_<Function BinVlv, MonBinDrv, AnaMon, Bin‐
block name>Icon) for each object instance from a "SI‐ Mon, DIntMon, StringView, Ana‐
MATIC S7-1500" hardware family into the screen ManInt, BinManInt, DIntManInt,
"LCFL_SiVArc". LockView4, LockView8, PIDCtrl,
Aggr8, TimeSwitch8, Polyline16,
SetCrv16
4 SiVArc > SIMATIC The master copy "LCFL_SW_SiVArc" is used for screen MonAnaDrv, MonAnaVlv, Mon‐
S7-1500 > PLC software rule "LCFL_SW_ScreenRules" to create symbols (face‐ BinVlv, MonBinDrv, AnaMon, Bin‐
plate from library = LCFL_<Function block name>Icon) Mon, DIntMon, StringView, Ana‐
for each object instance from a "SIMATIC S7-1500 Soft‐ ManInt, BinManInt, DIntManInt,
ware Controller" hardware family (the master copy LockView4, LockView8, PIDCtrl,
must be copied to the master copies of the project Aggr8, TimeSwitch8, Polyline16,
library). SetCrv16
The alarm rule "LCFL_SW_AlarmRules" is used to create MonAnaDrv, MonAnaVlv, Mon‐
the discrete alarms for each object instance from a BinVlv, MonBinDrv, AnaMon, Bin‐
"SIMATIC S7-1500 Software Controller" hardware fam‐ Mon, DIntMon, PIDCtrl, Aggr8,
ily ("HMI alarms > General > WinCC Unified > Discrete TimeSwitch8, Polyline16,
alarms" from the library). SetCrv16
The screen rule "LCFL_SW_ScreenRules" is used to cre‐ MonAnaDrv, MonAnaVlv, Mon‐
ate symbols (faceplate from library = BinVlv, MonBinDrv, AnaMon, Bin‐
LCFL_1500_<Function block name>Icon) for each ob‐ Mon, DIntMon, StringView, Ana‐
ject instance from a "SIMATIC S7-1500 Software Con‐ ManInt, BinManInt, DIntManInt,
troller" hardware family into the screen "LCFL_SW_Si‐ LockView4, LockView8, PIDCtrl,
VArc". Aggr8, TimeSwitch8, Polyline16,
SetCrv16
To use the rules, copy the corresponding master copies to the appropriate element within the
SiVArc folder in your project.
For more information, refer to the SiVArc documentation.