Professional Documents
Culture Documents
https://support.industry.siemens.com/cs/ww/en/view/66839614
Warranty and Liability
injury to life, body or health. The above provisions do not imply a change of the
burden of proof to your detriment.
Any form of duplication or distribution of these Application Examples or excerpts
hereof is prohibited without the expressed consent of Siemens AG.
Security Siemens provides products and solutions with Industrial Security functions that support
informa- the secure operation of plants, systems, machines and networks.
tion In order to secure plants, systems, machines and networks against cyber threats, it is
necessary to implement (and to maintain continuously) a holistic, state-of-the-art Industrial
Security concept. With this in mind, Siemens’ products and solutions are only part of such
a concept.
It is the client’s responsibility to prevent unauthorized access to his plants, systems,
machines and networks. Systems, machines and components should only be connected
with the company’s network or the Internet, when and insofar as this is required and the
appropriate protective measures (for example, use of firewalls and network segmentation)
have been taken.
In addition, Siemens’ recommendations regarding appropriate protective action should be
followed. For more information on Industrial Security, visit
http://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them even
more secure. Siemens explicitly recommends to carry out updates as soon as the
respective updates are available and always to use only the current product versions. Use
of product versions that are no longer supported, and failure to apply latest updates may
increase customer’s exposure to cyber threats.
In order to always be informed about product updates, subscribe to the Siemens Industrial
Security RSS Feed at http://www.siemens.com/industrialsecurity.
Table of Contents
Warranty and Liability ................................................................................................. 2
1 Task ..................................................................................................................... 5
2 Solution............................................................................................................... 7
2.1 Overview of the overall solution ........................................................... 7
2.2 Hardware and software components ................................................... 8
2.2.1 Validity .................................................................................................. 8
2.2.2 Topics not covered by this application ................................................. 8
2.2.3 Components used ................................................................................ 9
3 Basics ............................................................................................................... 10
3.1 Library objects .................................................................................... 10
3.2 Faceplates .......................................................................................... 10
4 Mode of Operation ........................................................................................... 12
4.1 Faceplate icon .................................................................................... 12
4.2 Interfaces of the faceplate icon .......................................................... 15
4.3 Screen window ................................................................................... 16
4.4 Components of the screen window .................................................... 19
4.4.1 Faceplate “SimoDir_1_Overview” ...................................................... 21
4.4.2 Faceplate “SimoDir_2_Messages” ..................................................... 21
4.4.3 Faceplate “SimoDir_3_Graphs” ......................................................... 22
Siemens AG 2016 All rights reserved
1 Task
Introduction
1
The example blocks for SIMATIC STEP 7 (TIA Portal) and SIMATIC WinCC
2
Advanced/Comfort (TIA Portal) enable the user to utilize various automation
functions or use these blocks as templates for the configuration of individual
blocks.
The example configuration shows how to call and interconnect the example blocks
in STEP 7 and WinCC Advanced.
The advantages of using faceplates in WinCC shall also be illustrated:
Making changes from a central location
– When changes are made to one faceplate, all other locations where this
faceplate is used can be updated automatically.
Re-usability in other projects
– Storing the screen objects for WinCC Advanced in a global library enables
using them further in another project without any problems.
Reducing the configuration effort
– Frequently used automation components can be integrated quickly into a
configuration.
– The faceplates for WinCC Advanced are interface-compatible with the
Siemens AG 2016 All rights reserved
1
In the following abbreviated as “STEP 7”.
2
In the following abbreviated as “WinCC Advanced”.
Invalid status
The following errors are evaluated, displayed in the screen window and saved in
the Alarm Logging:
Feedback ON/OFF
Interlock error active
2 Solution
The application example describes the configuration of example technology block
“SimoDir” (FB 611) for the controller family S7-1200/S7-1500 and the respective
screen objects for WinCC Advanced.
These faceplates are used for the visualization and operation of motors with fixed
speed and rotational direction when using the motor management system
SIMOCODE pro.
Note A copy of the control blocks of the application example is already contained
in the example project.
The latest version of the control blocks of the application example is
available in the separate project library
“66839614_STEP7_Example_Blocks_V13_SP1.zip” on the website of this
application example.
Unlike the control blocks in the example project, the control blocks in the
library are always up-to-date.
Schematic layout
The following figures show the screen window, the faceplate icon as well as the
input and outputs of the control block “SimoDir” (FB 611).
Table 2-1
Screen window Faceplate icon
Table 2-2
Control block “SimoDir” (FB 611)
… …
…
Siemens AG 2016 All rights reserved
The faceplates presented in this document are not compatible with WinCC
Professional. For WinCC Professional, a separate library and documentation are
available for download on the website of the application example. Both versions
use the same interfaces.
The application example has been created with the following components:
Hardware components
Table 2-3
Component Qty. Order number Note
SIMATIC S7-1200 1 6ES7214-1AG31- Alternatively: Another S7-1200
CPU 1214C 0XB0 CPU. The controller can also be
DC/DC/DC simulated with PLCSIM (as of TIA
V13 SP1).
SIMATIC S7-1500 1 6ES7516-3AN00- Alternatively: Another S7-1500
CPU 1516-3PN/DP 0AB0 CPU. The controller can also be
simulated with PLCSIM.
Motor management 1 3UF7011-1A.00-0 The block has been created
system especially for using the motor
SIMOCODE pro V PN management system
(firmware V1.2 SIMOCODE pro.
product version E05)
Operator panel for 1 Alternatively: A SIMATIC Comfort
WinCC RT Advanced Panel (FW V13 SP1)
(V13 SP1)
Siemens AG 2016 All rights reserved
Table 2-4
Component Qty. Order number
STEP 7 Professional V13 SP1 update 8 1 6ES7822-1AE03-0YA5
WinCC Runtime Advanced V13 SP1 update 8 1 6AV2104-0KA03-0AH0
WinCC Advanced V13 SP1 update 8 1 6AV2102-0AA03-0AH5
Table 2-5
Component Note
66839614_WCA_Faceplates_Demo_V13_SP1.zip This zip file contains the example
project
(STEP 7 and WinCC Advanced) for
the application example.
66839614_WCA_Faceplates_Documents_de.zip This zip file contains the
documentation for all example
blocks.
66839614_WCA_Faceplates_Library_V13_SP1.zip This zip file contains a library with
the corresponding WinCC blocks.
66839614_STEP7_Example_Blocks_V13_SP1.zip This zip file contains a library with
the corresponding STEP 7 blocks.
3 Basics
Introduction
For a better understanding of this application example, you should know the
following procedures:
Managing library objects,
Using faceplates
If a master copy is edited in the library, these changes do not affect the copies
in the project. Moreover, the individual copies and their changes in the project
are independent of each other, because they are not related to each other.
Notes “Project library” as well as “Global library” both contain the two folders
“Master copies” and “Types”.
For changing the library types, the TIA Portal offers management functions
for managing several versions of a type and a specific release of these
versions regarding the instances.
The usage of types is restricted to the following objects:
– Faceplates
– Screens
– Scripts
– UDTs
– Style sheets
Using master copies is principally possible for all objects except for
faceplates.
You can copy the library objects between a global library and a project
library. The following applies:
– You only copy the master copies to the “Master copies” folder or any
subfolder of “Master copies”.
– You can only insert types in the “Types” folder or any subfolder of “Types”.
– As soon as you add a library object from a global library to a screen, this
object will also be stored in the project library.
3.2 Faceplates
Faceplates are a configured group of display and control objects which you can
manage and modify centrally in a library.
Usage
Faceplates are used for creating individually configured display and control
objects.
A faceplate is used several times in the project or in several projects, as
required.
The faceplates are stored in the library as types.
A faceplate type can be edited in the “Faceplates” editor.
All instances of a faceplate in the project are changed centrally. This reduces
the configuration effort.
A faceplate supports faceplate-internal VB scripts.
A faceplate is provided with a defined interface for integration into a project
(e. g. tag connection).
The instances represent local locations where the types are used and are
bound to the respective faceplate type.
When configuring the properties at the faceplate instance, you overwrite the
properties of the faceplate type:
– For example, you assign the tag of your project to the faceplate.
– The changes at the faceplate are stored in the location of usage and have
no effects on the faceplate type.
Notes Please note that a faceplate is always configured for a certain class of
operator panels. You cannot, for example, use a faceplate type configured
for “RT Advanced” in a screen of the “RT Professional” operator panel.
The number of instances of faceplates in a screen is not limited. Please note
that the performance when opening or updating a screen is affected by the
number of faceplate instances or the usage of scripts in the faceplate
instances.
4 Mode of Operation
Introduction
Here you will learn which faceplates are the basis of the faceplate icon and the
screen window, which functions they have and how their connection to the
controller is established.
Note The following chapter gives you a detailed insight into the blocks of this
application example.
If you are only interested in operating the application example, you can directly
jump to the chapter “Operating the Application Example”.
Figure 4-1
Siemens AG 2016 All rights reserved
Note The screen shows the faceplate in the configuration environment. The runtime
(RT) display is described in the chapter “Operating the Application Example”.
Properties
The faceplate icon has the following properties:
It shows a simplified status display.
It contains no language-dependent objects.
It has a defined interface.
Parameters
Table 4-1
No. Path Tag
1. Properties > Miscellaneous > Name SimoDir_001_Icon
2. Interface > Process > Value SimoDir_001_UDT
3. The screen shows the faceplate icon interface which is connected outside the
faceplate editor in the properties of the faceplate “SimoDir_Icon”.
No. Explanation
4. The tags connected to the properties in “Animations > Tag connections” are
references to the respective properties of the interface.
The tags can be connected and modified both inside and outside the block
editor. The entries influence each other.
5. To display the screen window by clicking on the faceplate icon, the event
“DisplayPopupScreen” needs to be configured for the button
“SimoDir_001_Button” under “Events > Release” for the pop-up screen
“SimoDir_001_Pop-up”.
Set the “Visibility” tag to “1” to display the “SimoDir_1_Overview” faceplate as an
active screen after opening the screen window.
Siemens AG 2016 All rights reserved
Figure 4-2
Value
The tag “SimoDir_001_UDT” is used for displaying the different states and values
in the WinCC Advanced process image.
Table 4-3
Tag used
Name SimoDir_001_UDT
Data type SimoDir_UDT
Address %DB611.DBX0.0
Length 328 bytes
Acquisition cycle 100 ms
Acquisition mode Cyclic in operation
Notes For better understanding, the screen window is initially described in the
configuration environment.
The following screens for describing the components refer to the display
during runtime (RT), unless stated otherwise.
Figure 4-3
Siemens AG 2016 All rights reserved
Properties
The screen window includes the following functions in the faceplates:
– Overview with status display and control elements
– Display of status and diagnostic data
– Display and input of statistical data
– Display of the instance name
– Message display with the option to filter for the instance name
– Trend view
– Activation of the simulation mode
The screen window contains language-dependent objects: German (Germany),
English (USA).
The screen window cannot be moved.
Events
The buttons of the menu system (tabs) of the screen window are linked to the
following events. They are executed when the screen is called.
Figure 4-4
1
Siemens AG 2016 All rights reserved
4* 5*
Explanation
Table 4-5
No. Explanation
1. The INT tag “X1Pos” refers to the X position of the selection bar above the
currently called tab:
X1Pos = {3, 104, 205, 306, 407, 508}
2. The identifier of the currently activated tab is stored in the INT tag “Visibility”:
Visibility = {1, 2, 3, 4, 5, 6}
“Visibility” affects the visibility of the elements in the faceplates via the interface
of the respective faceplate.
3. The identifier of the currently activated tab is stored in the INT tag
“SimoDir_DB_OP_VISIBILITY”:
SimoDir_DB_OP_VISIBILITY = {1, 2, 3, 4, 5, 6}
“Diagnosis” tab SimoDir_DB_OP_VISIBILITY = 4 simple/continuous
read command for diagnostic data
Whether the read command is set to be continuous or simple depends on
the network selected in the FB611 “SimoDir” in the STEP 7 configuration.
– Network 11a – simple read command (condition 1 of 2)
– Network 11b – continuous read command
(For further information, refer to the note in chapter 4.6.4 Diagnosis)
“Statistics” tab SimoDir_DB_OP_VISIBILITY = 5 simple/continuous
read command for statistical data
Siemens AG 2016 All rights reserved
No. Explanation
6. Click “X” to close the screen window. The screen shows the system functions
stored.
Siemens AG 2016 All rights reserved
“Close” button
The button for closing the screen window is positioned in the top right corner
of the screen window.
Menu system
The menu system consists of several tabs via which various faceplates can be
called.
Figure 4-5
Table 4-6
No. Tab Faceplate Function
1. Overview SimoDir_1_Overview Overview of the current switch status, set limit
values as well as status and error displays
2. Messages SimoDir_2_Messages Display of messages (warnings and errors)
3. Graphs SimoDir_3_Graphs Graph display for graphic visualization of actual
value and nominal value of the current
4. Diagnosis SimoDir_4_Diagnosis Display of status messages
5. Statistics SimoDir_5_Statistics Display and writing of statistical values
6. Service SimoDir_6_Service Settings for process input, delay time and
simulation mode
The “Visibility” property is used for influencing the display properties of the screen
window during runtime.
The value of the “Visibility” tag influences the selection of the individual tabs. It
corresponds to the number of the faceplate.
The process connection is optional.
Siemens AG 2016 All rights reserved
Notes The “Visibility” tag is pre-assigned with the value “1” when clicking on the hidden
button “SimoDir_001_Button” with the mouse. This results in the respective
screen window being displayed with tab 1.
Table 4-7
Tag used
Name Visibility
Data type Integer
Address Internal tag
Note The “Visibility” tag can also be defined as PLC tag with controller connection.
If the tag has a controller connection, the controller can access it for reading and
writing. Thus, besides the known screen selection, the respective faceplate in the
screen window can also be opened from the controller and a specific tab can be
selected.
Figure 4-6
Siemens AG 2016 All rights reserved
Figure 4-7
As default setting, the messages of the message view are filtered for the type
(“SimoDir”).
By setting the filter, the displayed messages can be filtered for messages of the
instance belonging to the screen window.
The content of the instance tag is stored in the corresponding instance data block.
The content of the instance tag is displayed next to the filter.
Figure 4-8
Figure 4-9
Siemens AG 2016 All rights reserved
Figure 4-10
Siemens AG 2016 All rights reserved
Note There are two options to control the write access to the values. You can combine
both protective mechanisms.
For more information: See system manual of the device under “Data formats and
data records > Data record 224 – Password protection” (entry ID: 61896631).
The faceplate “SimoDir_6_Service” is used for setting the simulation mode and for
displaying the corresponding instance name.
Figure 4-11
Siemens AG 2016 All rights reserved
Figure 4-12
1 2
Siemens AG 2016 All rights reserved
Note The name of the instance automatically defines the tag prefix of the individual
structure elements (e. g. “SimoDir_001_UDT”).
In the project, the tag prefix must precede each location of usage of the
structure elements, e. g. “SimoDir_001_UDT.QdwState”.
The tags of this group have a process connection and constitute the basic interface
between controller and operating panel.
Table 4-8
Tag used
Symbolic name SimoDir_001_UDT.OPdwCmd
Data type DWord
Address %DB611.DBD376
Siemens AG 2016 All rights reserved
Length 4 bytes
Acquisition cycle 100 ms
Acquisition mode Cyclic in operation
STAT_REQ
DAIG_REQ
PROCESS
REMOTE
MANUAL
RESET
LOCAL
START
Signal
AUTO
STOP
QdwState – status
The structure tag “QdwState” is used for displaying the different states of the
frequency converter (e. g. operating modes, interlock, simulation mode) in the
WinCC Advanced process screen.
Table 4-10
Tag used
Name SimoDir_001_UDT.QdwState
Data type DWord
Address %DB611.DBD266
Length 4 bytes
Acquisition cycle 100 ms
Acquisition mode Cyclic in operation
DPV1STAT_WR_QbBUSY
DPV1DEV_QbBUSY
QGENWARN
QMAN_AUT
QERR_EXT
QREMOTE
QGENFAIL
QPREO
QSTOP
QLOCK
QLOCT
Signal
QRUN
QERR
LOCK
QSIM
Table 4-12
Tag used
Name SimoDir_001_UDT.INSTANCE
Data type String
Address %DB611.DBX8.0
Length 254 bytes
Acquisition cycle 100 ms
Acquisition mode Cyclic in operation
Siemens AG 2016 All rights reserved
Figure 4-13
Note The structure tag contents have to be adjusted for each instance of a faceplate.
The structure tag contents are specified as a start value in the declaration section
of the respective function block (FB). Make sure that the alarms in the discrete
alarms editor of WinCC Advanced contain the same text string in addition to the
actual alarm text.
Figure 4-14
The tags of this group are used for controlling the display properties of the trend
view.
The tags of this group have a process interface and are used for monitoring the
current consumption of the motor connected to the SIMOCODE pro.
Table 4-15
Tag used
Symbolic name SimoDir_001_UDT.QfCurrentP
Data type Real
Address %DB611.DBD276
Length 4 bytes
Acquisition cycle 100 ms
Acquisition mode Cyclic in operation
4.6.4 Diagnosis
The tags in this group have a process connection and can be monitored in the
“Diagnosis” tab.
They are updated acyclically as long as the “Diagnosis” tab is open (permanently)
or if the “Diagnosis” tab is activated (once). They display the state of the
SIMOCODE pro and of the connected motor.
The following table lists an excerpt of the diagnostic parameters used in the
faceplate. A complete list of readable diagnostic parameters is available in the
system manual of the device in the section “Data formats and data records > Data
record 92 – Device diagnostics” (entry ID: 61896631).
active
Value.DPV1DEV_Qdw04 27 4.3 Pause time active
Value.DPV1DEV_Qdw04 28 4.4 Device check active
Value.DPV1DEV_Qdw04 29 4.5 Phase sequence 1-2-3
Value.DPV1DEV_Qdw04 30 4.6 Phase sequence 3-2-1
Note While the “Diagnosis” tab is open, the displayed diagnostic values are
permanently updated via acyclic services. This leads to an increased network
load.
Alternative programming can be found in the comment field of network 11
(“Update data record 92 device diagnosis”).
The alternative code updates the diagnostic values only once when selecting the
“Diagnosis” tab.
Siemens AG 2016 All rights reserved
4.6.5 Statistics
The tags in this group have a process connection and can be monitored in the
“Statistics” tab.
They are read acyclically as long as one of the following conditions is fulfilled:
– The “Statistics” tab is permanently open.
– The “Statistics” tab is activated once.
– The “Read” button is clicked once.
Activating the “Enable Input” button prevents the display from being updated
until this same button (“Disable Input”) is deactivated by clicking it again.
They display the operating values of the SIMOCODE pro and of the connected
motor.
After the input fields have been enabled by clicking the “Enable Input” button, some
of the tags can be sent to the SIMOCODE pro motor management system by
clicking the “Write” button.
The following table lists an excerpt of the statistical data used in the faceplate. A
complete list of readable statistical data is available in the system manual of the
device in the section “Data formats and data records > Data record 95 – Service
data/statistical data” (entry ID: 61896631).
Table 4-19 Statistical data in the “SimoDir_5_Statistics” faceplate
Interface tag Data Byte.bit Meaning
in the faceplate type Data
record
95
Value.DPV1STAT_PermSt Byte 4.0 Permissible starts (actual value)
arts
Note Writing is only possible, if the SIMOCODE password protection is not enabled.
See system manual of the device under “Data formats and data records > Data
record 224 – Password protection”.
Length 2 bytes
Acquisition cycle 100 ms
Acquisition mode Cyclic in operation
Address %DB611.DBD340
Length 4 bytes
Acquisition cycle 100 ms
Acquisition mode Cyclic in operation
Length 1 byte
Acquisition cycle 100 ms
Acquisition mode Cyclic in operation
Note While the “Statistics” tab is open, the displayed statistical values are permanently
updated via acyclic services. This leads to an increased bus load.
Alternative programming can be found in the comment field of network 14
(“Update data record 95 statistical data”).
The alternative code updates the diagnostic values only once when opening the
“Diagnosis” tab or when clicking the “Read” button.
Siemens AG 2016 All rights reserved
Alarm tag
Table 4-32
Tag used
Symbolic name SimoDir_001_UDT.QwAlarm
Data type Word
Address %DB611.DBW372
Length 2 bytes
Acquisition cycle 100 ms
Acquisition mode Cyclic continuous
The following table shows the setup of the tags. The message texts are prefixed
Siemens AG 2016 All rights reserved
with the “SimoDir_001” filter attribute for the first instance of the SimoDir screen
window.
Figure 4-15
Siemens AG 2016 All rights reserved
The WinCC Advanced control tag “OPdwCmd” of a block is used for transmitting
commands from WinCC Advanced to the controller. The block in the controller
analyzes the control command, executes the desired action and then initiates a
reset of the pending control command. For this purpose, the value of the control
tag is set to “0”.
Further notes on the usage in WinCC Advanced can be found in chapter
4.6.1 “Tags with function tasks”.
Figure 4-16
“SimoDir” (FB 611)
EN ENO
SCdwInp QdwState
LOCK QwState
ERR_EXTERN QSCwCmd
LIOP_SEL QCMD_OFF
L_AUT QCMD_ON
L_REMOTE QRUN
L_SIM QSTOP
L_RESET QMAN_AUT
AUT_ON QREMOTE
DPV1_ID QSIM
Siemens AG 2016 All rights reserved
INSTANCE QLOCK
RESTART QERR
VISIBILITY QERR_EXT
OPdwCmd QfCurrentP
fCurrentE QfCurrentA
DIAG_REQ QPREO
STAT_REQ QLOCT
STAT_REQ_WR QGENWARN
QGENFAIL
DPV0_RETVAL
DPV0_BUSY
QwAlarm
STAT_REQ
DAIG_REQ
PROCESS
REMOTE
MANUAL
RESET
LOCAL
START
Signal
AUTO
STOP
Figure 4-17
“SimoDir” (FB 611)
EN ENO
SCdwInp QdwState
LOCK QwState
ERR_EXTERN QSCwCmd
LIOP_SEL QCMD_OFF
L_AUT QCMD_ON
L_REMOTE QRUN
L_SIM QSTOP
L_RESET QMAN_AUT
AUT_ON QREMOTE
DPV1_ID QSIM
INSTANCE QLOCK
RESTART QERR
VISIBILITY QERR_EXT
OPdwCmd QfCurrentP
fCurrentE QfCurrentA
DIAG_REQ QPREO
STAT_REQ QLOCT
STAT_REQ_WR QGENWARN
QGENFAIL
Siemens AG 2016 All rights reserved
DPV0_RETVAL
DPV0_BUSY
QwAlarm
Note Make sure to configure the motor management in the hardware configuration as
“Direct starter” to ensure that the correct data are transferred.
To transfer control signals to the SIMOCODE pro, the “QSCwCmd” output is used.
In the block of this application example, the peripheral output word 0 (PAW0) is
interconnected with the output.
Check the hardware configuration (see Figure 4-18) with regard to the correct start
address of the input addresses (1) and adjust the peripheral output word to the set
value.
The status information of the SIMCODE pro is read in via the “SCdwInp” input.
In the block of this application example, the peripheral input double word 0 (PED0)
is interconnected with the input.
Check the hardware configuration (see Figure 4-18) with regard to the correct start
address of the output addresses (2) and adjust the peripheral input double word to
the set value.
1 2
3
Siemens AG 2016 All rights reserved
Note For configuring the hardware, the device has been configured with the basic
type “3” (3).
SIMOCODE pro V PN supports several I/O configurations to define the structure
and length of the I/O data that are exchanged cyclically between the
IO controller (PLC) and the IO device (SIMOCODE pro) (4). For SIMOCODE pro,
these configurations are referred to as basic types.
Information on the basic types and the corresponding I/O configurations are
available in the System Manual “SIMOCODE pro PROFINET” under
“Communication > Integration of SIMOCODE pro into the automation system
(PLC)” (entry ID: 61896631).
The technology block of this application example uses the output “QdwState”
(DWORD) to show the different states in the WinCC Advanced process screen.
Further notes on the usage in WinCC Advanced can be found in chapter
4.6.1 “Tags with function tasks”.
Figure 4-19
“SimoDir” (FB 611)
EN ENO
SCdwInp QdwState
LOCK QwState
ERR_EXTERN QSCwCmd
LIOP_SEL QCMD_OFF
L_AUT QCMD_ON
L_REMOTE QRUN
L_SIM QSTOP
L_RESET QMAN_AUT
AUT_ON QREMOTE
DPV1_ID QSIM
INSTANCE QLOCK
RESTART QERR
Siemens AG 2016 All rights reserved
VISIBILITY QERR_EXT
OPdwCmd QfCurrentP
fCurrentE QfCurrentA
DIAG_REQ QPREO
STAT_REQ QLOCT
STAT_REQ_WR QGENWARN
QGENFAIL
DPV0_RETVAL
DPV0_BUSY
QwAlarm
QGENWARN
QMAN_AUT
QERR_EXT
QREMOTE
QGENFAIL
QPREO
QSTOP
QLOCK
QLOCT
Signal
QRUN
QERR
LOCK
QSIM
For toggling between the “MANUAL/AUTO” modes, the following signals are used:
Figure 4-20
“SimoDir” (FB 611)
EN ENO
SCdwInp QdwState
LOCK QwState
ERR_EXTERN QSCwCmd
LIOP_SEL QCMD_OFF
L_AUT QCMD_ON
L_REMOTE QRUN
L_SIM QSTOP
L_RESET QMAN_AUT
AUT_ON QREMOTE
DPV1_ID QSIM
INSTANCE QLOCK
RESTART QERR
VISIBILITY QERR_EXT
OPdwCmd QfCurrentP
fCurrentE QfCurrentA
DIAG_REQ QPREO
Siemens AG 2016 All rights reserved
STAT_REQ QLOCT
STAT_REQ_WR QGENWARN
QGENFAIL
DPV0_RETVAL
DPV0_BUSY
QwAlarm
Inputs
“LIOP_SEL”
If the “LIOP_SEL” input is set, the operating mode will be defined via the
control input “L_AUT”.
If the “LIOP_SEL” input is not set, the operating mode is defined by the
operator (via “OPdwCmd”).
“L_AUT”
The “L_AUT” input will only be effective, if the “LIOP_SEL” input is set.
“LIOP_SEL” = 1 AND “L_AUT” = 0 “MANUAL” mode
“LIOP_SEL” = 1 AND “L_AUT” = 1 “AUTO” mode
“OPdwCmd”
The operator commands of the control word “OPdwCmd” will only be effective,
if the “LIOP_SEL” input is not set.
3
“LIOP_SEL” = 0 AND “OPdwCmd [bit 16] ” = 1 “MANUAL” mode
4
“LIOP_SEL” = 0 AND “OPdwCmd [bit 17] ” = 1 “AUTO” mode
Outputs
“QMAN_AUT”
The operating mode is indicated at the “QMAN_AUT” block output.
“QMAN_AUT” = 0 “MANUAL” mode
“QMAN_AUT” = 1 “AUTO” mode
“QdwState”
The current operating mode (“manual/automatic”) is transferred to
WinCC Runtime Advanced in bit 16 of the “QdwState” status word.
5
“QdwState [bit 16] ” = 0 “MANUAL” mode
4
“QdwState [bit 16] ”= 1 “AUTO” mode
3
Bit 16 = “MANUAL”
4
Bit 17 = “AUTO”
5
Bit 16 = “QMAN_AUT”
In the “Local” operating mode, the control commands of the operator become
effective directly at the device. In the “Remote” operating mode, the control signals
of an automatic function (e. g. control, sequencer etc.) or the control signals of the
operation are effective in WinCC Runtime Advanced.
Figure 4-21
“SimoDir” (FB 611)
EN ENO
SCdwInp QdwState
LOCK QwState
ERR_EXTERN QSCwCmd
LIOP_SEL QCMD_OFF
L_AUT QCMD_ON
L_REMOTE QRUN
L_SIM QSTOP
L_RESET QMAN_AUT
AUT_ON QREMOTE
DPV1_ID QSIM
INSTANCE QLOCK
RESTART QERR
VISIBILITY QERR_EXT
Siemens AG 2016 All rights reserved
OPdwCmd QfCurrentP
fCurrentE QfCurrentA
DIAG_REQ QPREO
STAT_REQ QLOCT
STAT_REQ_WR QGENWARN
QGENFAIL
DPV0_RETVAL
DPV0_BUSY
QwAlarm
Inputs
“SCdwInp”
“SCdwInp” evaluates the status word of the SIMOCODE pro.
The structure of the process input is available in the system manual of the
device under “Data formats and data records > Data record 69 – Process
image input” or under “Data formats and data records > Assignment of cyclic
receive and send data for existing control functions > Direct starter” (entry ID:
61896631).
“SCdwInp [bit 29]” = 0 “Local” mode
“SCdwInp [bit 29]” = 1 “Remote” mode
“LIOP_SEL”
If the “LIOP_SEL” input is set, the operating mode is defined via the control
input “L_REMOTE”.
If the “LIOP_SEL” input is not set, the operating mode is defined by the
operator (via “OPdwCmd”).
“L_REMOTE”
The “L_REMOTE” input is only effective, if the “LIOP_SEL” input is set.
“LIOP_SEL” = 1 AND “L_REMOTE” = 0 “Local” mode
“LIOP_SEL” = 1 AND “L_REMOTE” = 1 “Remote” mode
“OPdwCmd”
The operator commands of the control word “OPdwCmd” are only effective, if
the “LIOP_SEL” input is not set.
6
“LIOP_SEL” = 0 AND “OPdwCmd [bit 18] ” = 1 “Local” mode
7
“LIOP_SEL” = 0 AND “OPdwCmd [bit 19] ” = 1 “Remote” mode
Outputs
“QREMOTE”
The operating mode is indicated at the “QREMOTE” block output.
“QREMOTE” = 0 “Local” mode
“QREMOTE” = 1 “Remote” mode
Siemens AG 2016 All rights reserved
“QdwState”
The current operating mode (“local/remote”) is transferred to WinCC Advanced
in bit 17 of the “QdwState” status word.
8
“QdwState [bit 17] ” = 0 “Local” mode
7
“QdwState [bit 17] ” = 1 “Remote” mode
6
Bit 18 = “LOCAL”
7
Bit 19 = “REMOTE”
8
Bit 17 = “QREMOTE”
Figure 4-22
“SimoDir” (FB 611)
EN ENO
SCdwInp QdwState
LOCK QwState
ERR_EXTERN QSCwCmd
LIOP_SEL QCMD_OFF
L_AUT QCMD_ON
L_REMOTE QRUN
L_SIM QSTOP
L_RESET QMAN_AUT
AUT_ON QREMOTE
DPV1_ID QSIM
INSTANCE QLOCK
RESTART QERR
VISIBILITY QERR_EXT
OPdwCmd QfCurrentP
fCurrentE QfCurrentA
Siemens AG 2016 All rights reserved
DIAG_REQ QPREO
STAT_REQ QLOCT
STAT_REQ_WR QGENWARN
QGENFAIL
DPV0_RETVAL
DPV0_BUSY
QwAlarm
Inputs
“SCdwInp”
“SCdwInp” evaluates the status word of the SIMOCODE pro. The outputs of
the status word are configurable and may be different from the documentation.
The structure of the process input is available in the system manual of the
device under “Data formats and data records > Data record 69 – Process
image input” or under “Data formats and data records > Assignment of cyclic
receive and send data for existing control functions > Direct starter” (entry ID:
61896631).
“SCdwInp [bit 24]” = 1 Start (left-hand rotation)
“SCdwInp [bit 25]” = 1 Stop
“SCdwInp [bit 26]” = 1 Start (right-hand rotation)
“AUT_ON”
The “AUT_ON” input is used for the automatic control of the block.
“AUT_ON” = 0 Stop
“AUT_ON” = 1 Start
“OPdwCmd”
[Bit 0] and [bit 1] in the “OPdwCmd” control word are used for operation in
WinCC Runtime Advanced.
9
“LIOP_SEL” = 0 AND “OPdwCmd [bit 0] ” = 1 Stop
10
“LIOP_SEL” = 0 AND “OPdwCmd [bit 1] ” = 1 Start
Outputs
“QSCwCmd”
Operation of the SIMOCODE pro is realized via the “QSCwCmd” command
word.
The structure of the process input is available in the system manual of the
device under “Data formats and data records > Data record 67 – Process
image output” or under “Data formats and data records > Assignment of cyclic
receive and send data for existing control functions > Direct starter” (entry ID:
61896631).
“QSCwCmd [bit 8]” = 1 Start (left-hand rotation)
Siemens AG 2016 All rights reserved
Note Depending on the configuration of the device, you can change the controlled bit
in network 10 of the FB611 “SimoDir” from [bit10] to [bit8] to reverse the running
direction of the motor when starting.
“QwState”
The current operating mode is displayed at the “QwState” output as numerical
value.
“QwState” = 1 Stop
“QwState” = 2 Start
“QwState” = 3 Run
“QwState” = 4 Stop
This signal “QwState” is used internally for calculating the status transitions.
9
Bit 0 = “STOP”
10
Bit 1 = “START”
“QCMD_OFF”, “QCMD_ON”
The signals “QCMD_OFF” and “QCMD_ON” are used for setting [bit 8] and [bit
9] of the “QSCwCmd” command word.
“QwState” = 1 Stop “QCMD_OFF” = 0, “QCMD_ON”= 0
“QwState” = 2 Start “QCMD_OFF” = 0, “QCMD_ON”= 1
“QwState” = 3 Run “QCMD_OFF” = 0, “QCMD_ON”= 0
“QwState” = 4 Stop “QCMD_OFF” = 1, “QCMD_ON”= 0
“QSTOP”, “QRUN”
Regarding these signals, precisely one of the signals is set at any time. In case of
an error – if no signal is set or both signals are set – the “Illegal” status occurs.
“QSTOP” = 1 Stop (“QwState” = 1)
“QRUN” = 1 Run (“QwState” = 3)
“QdwState”
10
The current “Stop/Run” mode is displayed in the status double word by [bit 0]
11
and [bit 1] .
11
“QdwState [bit 0] ” = 1 Stop
12
“QdwState [bit 1] ” = 1 Run
Siemens AG 2016 All rights reserved
11
Bit 0 = “QSTOP”
12
Bit 1 = “QRUN”
The “Simulation ON” mode enables the simulation of the analog signal. This
function is important, for example, if automatic functions shall be tested already
during the configuration phase, although a process interface does not yet exist.
Without feedback simulation, many automatic functions (e. g. sequencers) cannot
be successfully executed, since the feedback signals are often required for
switching conditions in sequencers or for triggering error messages. The “SCdwInp”
input and the “QSCdwCmd” output are not evaluated in this mode.
Figure 4-23
“SimoDir” (FB 611)
EN ENO
SCdwInp QdwState
LOCK QwState
ERR_EXTERN QSCwCmd
LIOP_SEL QCMD_OFF
L_AUT QCMD_ON
L_REMOTE QRUN
L_SIM QSTOP
L_RESET QMAN_AUT
AUT_ON QREMOTE
DPV1_ID QSIM
Siemens AG 2016 All rights reserved
INSTANCE QLOCK
RESTART QERR
VISIBILITY QERR_EXT
OPdwCmd QfCurrentP
fCurrentE QfCurrentA
DIAG_REQ QPREO
STAT_REQ QLOCT
STAT_REQ_WR QGENWARN
QGENFAIL
DPV0_RETVAL
DPV0_BUSY
QwAlarm
Inputs
“LIOP_SEL”
If the “LIOP_SEL” input is set, the simulation is switched on/off via the control
input “L_SIM”.
If the “LIOP_SEL” input is not set, the simulation is switched on/off by the
operator (via “OPdwCmd”).
“L_SIM”
“LIOP_SEL” = 1 AND “L_SIM” = 0 Simulation OFF
“LIOP_SEL” = 1 AND “L_SIM” = 1 Simulation ON
“OPdwCmd”
The operator commands of the control word “OPdwCmd” are only effective, if
the “LIOP_SEL” input is not set.
13
“LIOP_SEL” = 0 AND “OPdwCmd [bit 20] ” = 1 Simulation OFF
14
“LIOP_SEL” = 0 AND “OPdwCmd [bit 21] ” = 1 Simulation ON
“QSIM”
The “Simulation” mode is indicated at the “QSIM” block output.
“QSIM” = 0 Simulation OFF
“QSIM” = 1 Simulation ON
“QdwState”
The current “Simulation” operating mode is indicated in the status word by
14
means of [bit 18] .
15
“QdwState [bit 18] ” = 0 Simulation OFF
14
“QdwState [bit 18] ” = 1 Simulation ON
13
Bit 20 = “PROCESS”
14
Bit 21 = “SIMULATION”
15
Bit 18 = “QSIM”
Blocks influencing the plant process as actuators (e. g. valves, pumps, controllers,
etc.) usually have signals for the interlock function (INTERLOCK).
If the interlock condition of a block is active, the specific function of the block (e. g.
open valve, switch on motor, etc.) cannot be executed.
If the actual block function is already active (e. g. motor ON) and then the interlock
condition applies, the actual block function will be deactivated (e. g. motor switched
OFF).
This function is used for preventing critical plant conditions.
Figure 4-24
“SimoDir” (FB 611)
EN ENO
SCdwInp QdwState
LOCK QwState
ERR_EXTERN QSCwCmd
LIOP_SEL QCMD_OFF
L_AUT QCMD_ON
L_REMOTE QRUN
L_SIM QSTOP
L_RESET QMAN_AUT
Siemens AG 2016 All rights reserved
AUT_ON QREMOTE
DPV1_ID QSIM
INSTANCE QLOCK
RESTART QERR
VISIBILITY QERR_EXT
OPdwCmd QfCurrentP
fCurrentE QfCurrentA
DIAG_REQ QPREO
STAT_REQ QLOCT
STAT_REQ_WR QGENWARN
QGENFAIL
DPV0_RETVAL
DPV0_BUSY
QwAlarm
Inputs
“LOCK”
The input signal “LOCK” includes the interlock condition of the block. If the
interlock is pending, the actual block function cannot be executed.
“LOCK” = 0 Interlock condition not active
“LOCK” = 1 Interlock condition active
“L_RESET”
A positive edge at the “L_RESET” input resets the “QLOCK” output.
“OPdwCmd”
16
Clicking the “RESET” button in the faceplate of the block type sets [bit 24] of
the control word “OPdwCmd”. The controller evaluates this bit and resets the
“QLOCK” output.
Outputs
“QLOCK”
The “QLOCK” output signal is set, if the “LOCK” input is active.
“QLOCK” = 1 Interlock pending
“QLOCK” = 0 Interlock not pending
“QdwState”
The states “Interlock condition active” (LOCK=1) and “Error interlock”
(QLOCK=1) are indicated in the status word by bits 26 and 27.
17
LOCK = 1 “QdwState [bit 27] ” = 1 (Interlock condition active)
18
QLOCK = 1 “QdwState [bit 26] ” = 1 (Interlock pending)
Siemens AG 2016 All rights reserved
16
Bit 24 = “RESET”
17
Bit 27 = “LOCK”
18
Bit 26 = “QLOCK“
This example uses the non-connected STEP 7 block, the faceplate icon
“SimoDir_001_Icon” and the faceplates belonging to the screen window “SimoDir”.
Note The application example provides a properly functioning example project with
connected example blocks. You only need to perform the steps explained in this
chapter, if you wish to integrate the blocks into your own project.
If you are only interested in operating the application example, you can directly
jump to the chapter “Operating the Application Example”.
In this case, it is sufficient to unzip the file
“66839614_WCA_Faceplates_Demo_V13_SP1.zip” and to open it in the TIA
Portal.
Please adjust the settings for CPU, “HMI station” and “PG/PC interface”, if
necessary.
Note
If you are using an existing project, it is advisable to create a backup before
performing the following steps.
2. Opening the library
In the “Libraries” task card, click the “Open global library” icon in the
“Global libraries” palette.
To do this, navigate to the storage location of the
“66839614_STEP7_Example_Blocks_V13_SP1.al13” library
and open the library.
Process Description
3. Inserting blocks
Drag the “SimoDir” (FB611) function block from the “Master copies >
SIMODIR” folder in the project tree into the “Program blocks” directory of
the controller.
Optional: Drag the “SimoDir_DB” instance data block from the “Master
copies > SIMODIR” folder in the project tree into the “Program blocks”
directory of the controller.
4. Calling the blocks
Integrate the function block into the cycle of the controller. If you call up
the function block in an organization block, the name of the
corresponding instance data block is required in the dialog window
“Calling options” upon insertion.
You can generate the corresponding instance data block automatically
or use the instance data block “SimoDir_DB” from the library. Select the
desired instance data block and click “OK”.
Siemens AG 2016 All rights reserved
Table 5-2
Step Procedure
1. Opening the project
Open the TIA Portal project.
2. Integrating the global library
Open the “Libraries > Global libraries” task card.
Via the context menu “Open library”, select the dialog to open a global library.
Siemens AG 2016 All rights reserved
The library offers two options to integrate the faceplates into your project.
The quicker option is to use the elements in the “Master copies” folder.
In this folder, you will find the pop-up screen containing the menu structure and
the faceplates as well as the faceplate icon, the invisible button associated with
the faceplate icon for calling the pop-up screen and the necessary tags.
For this configuration variant, please refer to Table 5-3.
If you want to use the faceplates in a separate menu structure or you don’t
want to use any pop-up screen, you will find the individual faceplates in the
“Types” folder in the global library.
For this configuration variant, please refer to Table 5-4.
Step Procedure
3. Copying library elements – “Screen
window” faceplates
Step Procedure
5. Copying library elements
Drag and drop the following library elements from the folder “Master copies > SIMODIR”
of the global library into the respective folders in the project tree:
– “SimoDir_001_Tags” “HMI tags”
– “SimoDir_001_Pop-up” “Screen management > Pop-up screens”
Drag and drop the tag table “MenuControl” from the folder “Master copies < MenuControl”
of the global library into the “HMI tags” folder in the project tree.
Step Procedure
6. Integrating the alarms
After dragging the tag table, the corresponding HMI alarms are created automatically. This
happens, because the tag “SimoDir_001_UDT.QwAlarm” used as trigger tag is included in
the tag table.
If you want to create the messages manually, select the category “Master copies >
SIMODIR” within the library. Drag and drop the folder “SimoDir_001_Messages” into the
folder “HMI alarms” in the project tree.
Note
The message numbers of this application occupy the number range starting with 10097.
Before integrating the messages, check your existing project and, if occupied, clear this area.
Restore the connection to the associated trigger tag as well as the associated trigger bit.
Siemens AG 2016 All rights reserved
Step Procedure
7. Creating the HMI screen
Drag and drop the faceplate icon “SimoDir_001_Icon” and the transparent button
“SimoDir_001_Button” for calling the “SimoDir_001_Pop-up” screen window into the
desired screen.
Place the button above the faceplate icon.
Click on the task card “layout” and make sure that the button is assigned to a level with a
number higher than that of the faceplate icon.
Siemens AG 2016 All rights reserved
Step Procedure
3. Copying library elements – “Screen
window” faceplates
Drag and drop the folder “SIMODIR”, which
contains the faceplates and the HMI UDT,
from the folder “Types” of the global library
into the folder “Types” of the project library.
Siemens AG 2016 All rights reserved
Step Procedure
5. Copying library elements – “Faceplate icon” faceplate
Drag and drop the faceplate icon “SimoDir_001_Icon” and the transparent button
“SimoDir_001_Button” for calling the screen window into the desired screen.
At the transparent button, delete the system function “ShowPopupScreen” under
“Properties > Events > Release”.
Place the button above the faceplate icon.
Click on the task card “layout” and make sure that the button is assigned to a level with a
number higher than that of the faceplate icon.
Siemens AG 2016 All rights reserved
Step Procedure
6. Copying library elements – tags
Drag and drop the library element “SimoDir_001_Tags” from the folder “Master copies >
SIMODIR” of the global library into the “HMI tags” folder in the project tree.
In an HMI tag table, create an internal “Visibility” tag of the data type “Int.”.
Alternatively, you can use the “Visibility” tag from the library element “MenuControl”. For
this, drag and drop the library element “MenuControl” from the folder “Master copies >
MenuControl” of the global library into the “HMI tags” folder in the project tree.
Step Procedure
7. Now, create your own menu structure for calling the individual faceplates. Via your buttons,
provide the following PLC and HMI tags with the appropriate values to control the
corresponding faceplates.
To call “SimoDir_1_Overview”:
– “Visibility” = 1
To call “SimoDir_2_Messages”:
– “Visibility” = 2
To call “SimoDir_3_Graphs”:
– “Visibility” = 3
To call “SimoDir_4_Diagnosis”:
– “Visibility” = 4
– “SimoDir_DB_OP_VISIBILITY” = 4
– “SimoDir_DE_SE_TAB_DIAG_REQ” = 1
To call “SimoDir_5_Statistics”:
– “Visibility” = 5
– “SimoDir_DB_OP_VISIBILITY” = 5
– “SimoDir_DE_SE_TAB_STAT_REQ” = 1
To call “SimoDir_6_Service”:
– “Visibility” = 6
8. Integrating the alarms
After dragging the tag table, the corresponding HMI alarms are created automatically. This
Siemens AG 2016 All rights reserved
Note
The message numbers of this application occupy the number range starting with 10097.
Before integrating the messages, check your existing project and, if occupied, clear this area.
Restore the connection to the associated trigger tag as well as the associated trigger bit.
Step Procedure
9. Interconnecting the faceplate icon
Connect the dynamic properties of the faceplate icon “SimoDir_001_Icon” to the
respective HMI tag:
– “Process > Value” “SimoDir_001_UDT”
The faceplate icon is overlapped by the transparent button “SimoRev_001_Button” (see step
5). You can select the faceplate icon by selecting the object “SimoRev_001_Icon” on the
“Layout” task card.
Siemens AG 2016 All rights reserved
Prerequisite
The SIMOCODE pro device and the corresponding controller are in the same
network.
Notes The steps “Online access: Accessible devices” and “Loading the hardware
configuration” can be carried out in reverse order.
The IP address will be taken over only if all steps have been carried out.
You can check whether the name and the IP address have been changed
successfully by clicking “Update accessible devices” in the project tree again.
– If the folder of the SIMOCODE pro device shows the entered name, the
name has been assigned successfully.
– If in the name of the folder of the SIMOCODE pro device the name is
followed by the appropriate IP address, the IP address has been assigned
successfully.
Table 6-1
Step Description
1. Unzip the “66839614_WCP_Faceplates_Demo_V13_SP1.zip” file into a directory
of your choice.
2. Open the project with TIA Portal V13 SP1 update 8 or higher.
3. Adjust the configured hardware according to your requirements under “Devices &
networks”.
4. Open the STEP 7 project and generate it again.
5. Load the STEP 7 project into your controller and start it.
6. Open the WinCC V13 Advanced project and generate it again.
7. Start the WinCC Runtime Advanced or the WinCC Runtime Advanced
simulation.
Siemens AG 2016 All rights reserved
6.1 Navigation
Overview of the user interface
Figure 6-1
2
4
3
Siemens AG 2016 All rights reserved
Table 6-2
Figure Explanation
1 Start screen
Here you can choose between the application examples and the support
pages by means of the buttons in the bottom area.
2 Application example
Here you can access the example blocks of this application example.
3 Support
Here you will find out more about the Siemens Industry Online Support.
4 Navigation
You can access the navigation in each screen at the left window frame.
You can access the start screen via this button.
Selecting elements
Figure 6-2
1
Siemens AG 2016 All rights reserved
Table 6-3
Figure Explanation
1 Primary navigation
Here, you can select the individual sets of the application example via
buttons.
The application example consists of two sets with four elements each.
2 Secondary navigation
Here, the individual elements (example blocks) of the selected set can be
accessed.
2
Siemens AG 2016 All rights reserved
Table 6-4
Figure Explanation
1 When calling an element of this application example, the faceplate icon
becomes visible.
2 When selecting the faceplate icon, the corresponding screen window
containing more detailed information opens.
Table 6-5
Figure Explanation
1 Close
Use this button to close the screen window.
2 Tab
The individual faceplate windows can be called via the tabs.
Overview
Figure 6-5
Properties
Has a simplified status display
Opens the screen window via mouse-click
Contains no language-dependent objects
Functionality
Displayed operating states:
Siemens AG 2016 All rights reserved
– ON/OFF status
– Local mode / remote mode status
– Manual / automatic mode status
– Simulation ON/OFF
– Interlock ON/OFF
– Current consumed by the motor in % of the nominal motor current
Displayed errors:
– General error
Operation:
– Calling the assigned screen window
ON Bit 2 = 1 No
Properties
Contains language-dependent objects: German (Germany), English (USA)
Executable actions
Tab selection (optionally via the controller)
Open, close
Overview
Figure 6-6
Siemens AG 2016 All rights reserved
Properties
Detailed status display
Provides the option to intervene in the process
Contains language-dependent objects: German (Germany), English (USA)
Executable actions
Switchover between local mode (operation at the device) and remote mode
(operation at the visualization system)
Switchover manual/automatic mode
Starting and stopping the motor.
Requires that remote mode and manual mode are enabled.
Resetting error states
ON Bit 2 = 1 No
Simulation ON Yes
External error No
Prewarning overload No
Interlock time active No
Warning No
Error No
Table 6-10
Display Left button Right button
Motor OFF
Motor ON
Manual mode
Automatic mode
Local mode
Remote mode
Overview
Figure 6-7
Siemens AG 2016 All rights reserved
Executable actions
Display of alarms and warnings
Acknowledgment of alarms
Filter for instance-related messages and alarms
The displayed filter corresponds to the instance name in DB611.
If the filter is set, e. g. as “SimoDir_001”, only messages with the filter prefix
“SimoDir_001” in their message text will be displayed.
Overview
Figure 6-8
Siemens AG 2016 All rights reserved
Trend views
Nominal motor current in A
Actual value of the motor current in A
Note The maximum value of the Y-axis is automatically scaled to the 1.25-fold of the
nominal motor current.
Overview
Figure 6-9
Siemens AG 2016 All rights reserved
Executable actions
None. There is only a read access to the values of this tab.
Table 6-11
Description Status Status Flashing
OFF ON
General fault No
General warning No
Device OK No
Bus OK No
PLC/PCS in RUN No
Motor current flowing No
ON No
OFF No
Start active No
Overview
Siemens AG 2016 All rights reserved
Figure 6-10
Executable actions
Reading statistical data
– Depending on the respective setting, the data are read cyclically or once
by clicking the “Read” button or by selecting (once again) the “Statistics”
tab (see chapter 4.3 “Screen window”).
– Activating the “Enable Input” button prevents the display from being
updated until this same button (“Disable Input”) is deactivated by clicking it
again.
Note Writing is only possible, if the SIMOCODE password protection is not enabled.
See system manual of the device under “Data formats and data records > Data
record 224 – Password protection”.
This password protection is independent of a possible access protection on the
HMI side via the user management:
You can, for example, provide the “Enable Input” button with an HMI-side access
protection to control the write access of the users to the values.
Siemens AG 2016 All rights reserved
Overview
Figure 6-11
Siemens AG 2016 All rights reserved
Executable actions
Display of the current instance designation
Switchover between simulation/real process mode
Scope of the simulation:
– During simulation, you can toggle between automatic and manual mode.
– In manual mode, the motor can be “started” and “stopped”.
– The graphic for visualizing the motor status, the display of the actual value
(in A and %) as well as the trend view respond to the simulated “status” of
the motor.
Status displays:
Table 6-12
Display Left button Right button
Simulation OFF
Simulation ON
Note Optional: Provide the “Service” tab with an HMI-side access protection to control
the access to simulation mode.
7 Block Interfaces
7.1 Input parameters
Table 7-1
Parameters Data type Default setting Description
EN BOOL FALSE Release
SCdwInp DWORD 16#0 Status signals by SIMOCODE pro
LOCK BOOL FALSE 1=Interlock pending
ERR_EXTERN BOOL FALSE 1=External error
LIOP_SEL BOOL FALSE 0=Operator,
1=Interconnection
L_AUT BOOL FALSE 0=Manual mode, 1=Automatic
mode
L_REMOTE BOOL FALSE 0=Local mode,
1=Remote mode
L_SIM BOOL FALSE 0=Process,
1=Simulation
L_RESET BOOL FALSE Reset error
(positive edge)
Siemens AG 2016 All rights reserved
8 Additional Information
Further example blocks of this application example
This document is part of an application example which describes further technology
blocks. Within the framework of this application example, the number of example
technology blocks will be expanded successively.
The following table shows both the already available and the future example
technology blocks:
Table 8-1
Block Description
MOTOR Visualization and operation of a motor with fixed speed and rotational
direction
VALVE Visualization and operation of a binary valve
DIGITAL Visualization and operation of digital signals
ANALOGUE Visualization and operation of analog signals
PIDCTRLV2 Visualization and operation of a software-implemented PID controller for
regulating technical parameters with continuous input and output values
Siemens AG 2016 All rights reserved
Table 9-1
Topic Title
\1\ Reference to the entry https://support.industry.siemens.com/cs/ww/en/view/66839614
\2\ Siemens Industry https://support.industry.siemens.com
Online Support
\3\ STEP 7 Automating with SIMATIC S7-1200
SIMATIC S7-1200 Author: Hans Berger
Publicis MCD Verlag
ISBN: 978-3-89578-355-5
\4\ STEP 7 Automating with SIMATIC S7-1500
SIMATIC S7-1500 Author: Hans Berger
Publicis MCD Verlag
ISBN: 978-3-89578-403-3
\5\ STEP 7 Automating with STEP 7 in STL and SCL
STL and SCL Author: Hans Berger
Siemens AG 2016 All rights reserved
10 History
Table 10-1
Version Date Modifications
V1.0 02/2016 New version TIA Portal V13 SP1 update 1
Siemens AG 2016 All rights reserved