Graph7 TIA Portal - Apostila
Graph7 TIA Portal - Apostila
Graph7 TIA Portal - Apostila
SITRAIN
Digital Industry Academy
siemens.com/sitrain
1 Engineering Tool GRAPH
SITRAIN
Digital Industry Academy 4 Interlock, Supervision and Alarms
10 Structure of Instance DB
Name:
Table of contents 1
1. Engineering Tool GRAPH ...................................................................................... 1-2
1.1. TIA Portal – Central engineering framework ......................................................................... 1-3
1.2. Scope of performance of products ........................................................................................ 1-4
1.2.1. STEP 7 product line .............................................................................................................. 1-5
1.2.2. Classification of controllers ................................................................................................... 1-6
1.3. The meaning of GRAPH ....................................................................................................... 1-7
1.4. GRAPH Runtime system ...................................................................................................... 1-8
1.5. The conveyor model as production line ................................................................................ 1-9
1.6. If you want to know more
.................................................................................................... 1-10
1.6.1. TIA Portal: Portal and Project views ................................................................................... 1-11
1.6.2. Portal view........................................................................................................................... 1-12
1.6.3. Project view ......................................................................................................................... 1-13
1.6.4. Project tree .......................................................................................................................... 1-14
1.6.5. Task cards........................................................................................................................... 1-15
1.6.6. Inspector window ................................................................................................................ 1-16
1.6.7. Reference project ................................................................................................................ 1-17
1.6.8. Window arrangement in Project view ................................................................................. 1-18
1.6.9. Saving/managing/using window layouts ............................................................................. 1-19
1.6.10. Window layout of work area ................................................................................................ 1-20
1.6.11. Keep editor window in foreground (with split work area) .................................................... 1-21
1.6.12. Undo and Redo ................................................................................................................... 1-22
1.6.13. Saving a project .................................................................................................................. 1-23
1.6.14. Archiving and retrieving a project........................................................................................ 1-24
1.6.15. TIA Portal settings: User interface language ...................................................................... 1-25
1.6.16. TIA Portal settings: Language, storage location, layout ..................................................... 1-26
WinAC
SCADA
S7-1500
Professional
Professional
Startdrive
PC single-user
S7-400
Advanced
Comfort Panels G120
and x77 and Mobile
Comfort
S7-300 CUxxx-2 >V4.4
ET 200 CPU (no micro-panels)
G110M
Basic
Basic
Communication
PROFIBUS, PROFINET, AS-i, IO-Link, ET200, network topology
Shared functions
System diagnostics, import/export to Excel, UnDo, etc.
TIA Portal
The Totally Integrated Automation Portal is the working environment for integrated engineering
with SIMATIC STEP 7 and SIMATIC WinCC.
Shared functions
System diagnostics, import/export to Excel, UnDo, etc.
Controllers
Logic Sequential
controller control
Time-oriented Process-oriented
sequential control controllers
Definitions
As the name implies, logic controllers generate the states of outputs by performing logic
operations on the inputs. Basic logic functions of Boolean algebra (AND; OR; NOT; XOR) as well
as set and reset functions are mainly used for this.
Programming languages such as Ladder Diagram and Function Block Diagram (LAD and FBD)
are used for notation of the relationships between inputs and outputs. A logic controller can be
distinguished from a sequential control by the time-invariant, fixed relationship between inputs
and outputs. This means that the output state is independent of the state history and is only a
function of the inputs and not the time or process status.
GRAPH
GRAPH is a graphic programming language for representing SFCs (Sequential Function Charts)
in the S7 environment.
With GRAPH, SIMATIC controllers can be programmed quickly and efficiently for execution of
time-based and repeating sequences.
Functionality
• GRAPH enables a structured programming:
• Programming of repeating, time-based sequences
• Defined transitions between process steps
• Jumps, branches, etc.
• Combined with control-specific functions, such as:
− Bit access to I/O, bit memory, timers, counters, etc.
− Access to the tag table
− STEP 7 block access
Advantages of GRAPH
• GRAPH is a straightforward and easy to understand graphic programming language for
creating sequential processes.
• GRAPH is an easy to learn programming language. It creates programs that are easy to read
(understandable), especially for beginners.
• Easier programming of complex algorithms and processing of complex data structures.
• System integration in the following SIMATIC S7 languages: STL, SCL, FBD and LAD.
General
A SIMATIC controller generally executes the user program cyclically. That is, the operating
system calls OB1, and its processing time is equal to exactly one cycle, also called the cycle time
of the PLC.
In OB1, the user programs the various calls of the blocks, FCs and FBs written by him.
The cycle time is extended at a new FB call by the time the controller needs to process the
complete block once (top-down principle).
GRAPH
A GRAPH block normally contains a sequential control that consists of one or more steps. The
complete processing time of a sequential control lasts much longer than the cycle of a PLC.
For this reason, the GRAPH programming language requires its own runtime system for
controlling the sequential control. This runtime system is automatically created in the "System
blocks" folder after successful compilation of the first GRAPH block and is managed there by the
TIA Portal.
General
A control program whose processing steps are executed sequentially in a defined time sequence
is referred to as a sequential control.
The control task is broken down into individual steps and programmed as a step sequence
(sequencer). Actions for activating the command output are assigned to each step. During
execution, the sequencer is processed step by step. Step-enabling conditions or transitions
control the transition from one step to the next.
If a step is active, the assigned actions are executed. The next transition is simultaneously
activated and its step-enabling conditions are logically queried. If these queries are satisfied, the
preceding step is deactivated and the next step is activated.
Practice
The use of a combination of a logic controller and sequential control is common in practice.
Operating mode and alarm blocks are generally implemented as logic controllers. The processing
operation as such is programmed as a sequential control.
The term "sequential control" thus does not stand for a special operating mode of the PLC, but
rather for a type of structuring and programming of the user program. Typical application
examples
ential control for which programming
is advantageous as a sequ
include automatic
assembly machines, car washes, packaging machines and traffic lights – in other words,
processes that were conventionally handled with sequence processors.
Note
The following pages provide additional information or serve as a reference that can be consulted
for more complete information on a subject.
Portal view
• Task-oriented working
• Fast entry into project through guided operation
Project view
• Hierarchical structure of the project
• The required editors open as needed for a task
• All editors, parameters and data are in one view
Hardware
and
network
configuration
Block editor
New project
Drive parameter Selection window for
assignment the selected action
Migration
HMI
configuration
Portals
Access to devices, components and their connections.
Actions
Depending on the selected portal, the actions that are available for selection are offered here.
Context-sensitive help is available to you in every portal.
Selection window
The selection window is available in all portals. The content of the window adapts to your current
selection.
Task cards
(Tools)
Project tree
Work area
Project tree
The project tree contains all components and project data of an automation solution. These can
all be opened from the project tree.
Work area
The objects that are opened for editing purposes are displayed in the work area. These objects
include hardware components, blocks, PLC tag table, HMI screens, etc. If multiple objects are
opened simultaneously, they are displayed as tabs in the taskbar.
Task cards
These provide tools for configuring/programming. The content of the task cards is dependent on
the object that is displayed in the work area.
If a hardware station is open, for example, the hardware catalog is available as a task card. If a
program block is open, a task card with instructions is available.
Inspector window
The Inspector window displays additional information on a selected object or on the executed
rties of selected objects (e.g. of screens,
action. screen objects, tags) can
The available
also be edited there.
All system events of the engineering framework are displayed in the Inspector window, e.g.
system events that arise when a project is generated. This window should always be checked for
errors and warnings after project generation is complete.
Details view
The details view contains a help window. The elements of the configuration object selected in the
project tree are displayed there. These can be used in the active work area (by moving them into
the work area using drag-and-drop). This enables fast access to the needed objects (e.g. tags).
Project
Software Units
CPU
Block group
CPU program
PLC tags
Device group
Local modules
(central I/O)
Language settings
for overall project
Distributed I/O
Online access
HMI
The "Project tree" window gives you access to all components and project data. All elements and
all available objects of a project are displayed in a tree structure in the project tree and can be
opened from there with a double click.
The following actions can be performed:
• Add new components (controllers, HMI devices, etc.)
• Edit existing components
• Query and modify properties of existing components
• Diagnose accessible components
Objects (whole stations or blocks of a station) can be organized into groups to make the project
tree easier to read.
A subordinate structure is indicated by the black triangle . By clicking the triangle, the
subordinate structure level can be displayed → and hidden again → .
Details view
Certain contents of a selected object are shown in the Details view. Examples of possible
contents are text lists or tags.
Available screen
objects
Code templates,
function list
wizard for VB
scripts
Test functions
Dynamization of
screen objects
Find, replace,
language
selection
Project library
and global
libraries
Which task cards are available depends on the products installed and the object that was just
edited or is open in the work area. If not all task cards can be seen, the task card bar can be
scrolled using the cursor buttons on the bottom right.
• Hardware catalog
All available hardware components such as CPUs, modules, etc. can be selected here.
• Instructions
Instructions for block programming;
Code templates and function list wizard for script programming (VBS or C scripts in WinCC
Professional)
• Online tools
When an online connection exists, diagnostic and online information is available, such as the
current cycle time of the CPU and the memory space of the load and work memory of the
CPU. The CPU can also be switched to STOP and RUN modes.
• Tools
Configurable screen objects (graphics, display and control objects) in different panes (basic
objects, elements, controls, optional user controls, graphics)
• Animations
ferent panesfor
Templates (movements, display,
dynamization tag objects in dif
of screen
binding for dynamization)
• Layout
Aid for adapting the display during screen design when configuring HMI devices (zoom, layer
assignment, grid alignment, objects out of range)
• Tasks
Classic editor functions are available here, such as finding and replacing tags, instructions,
etc.
• Libraries
Management of the local project library and global libraries
Indicates
new entries
Additional information on a selected object or on executed actions are displayed in the Inspector
window. The Inspector window consists of the following tabs:
→ can be selected by clicking the tabs
"Properties" area
This tab displays the properties of the object selected in the work area. Editable properties can be
changed here.
"Info" area
This is the output area of the engineering framework. This tab displays additional information on
the selected object. Alarms for executed actions, such as compiling and downloading blocks to
the CPU, are also output.
"General" tab → General status information
Display of the current points of use of the selected
"Cross-references" tab object
"Compile" tab → Status output of the compilation
"Syntax" tab → Status output for invalid programming commands
"Diagnostics" area
This tab displays information on system diagnostics and configured alarm events.
"Alarm display" tab → Display of currently pending CPU alarms (e.g. Alarm_S)
"Device information" tab
"Connection information" tab → for components that are currently connected online
Reference
project
Reference project
In addition to the user project, a reference project can be opened with write protection using
the "View" menu (see figure, all project elements have a gray background). Some elements
(e.g. program blocks, see figure) can be opened in the editor but not changed.
As in the case of libraries, all project elements can be copied from the reference project to the
user project.
Hidewindow
Docked window Left, Right
Left Bottom
Right
Bottom Window is hidden
(tab only)
User-positioned
window
re-docked
The position and behavior of windows can be customized. Rarely needed windows can be hidden
to increase the surface of the work area.
The current configuration of the user interface of the engineering framework is saved in the
Windows user profile. When the project is saved, the positions and the behavior of windows are
automatically saved as well.
Click the functions in the window header to change between the following modes:
"User positioned", "Docked" and "Hidden".
Hidden windows can be opened by clicking their tab and closed again by clicking outside the
window area.
The various window arrangements of the user interface can be saved and restored.
Freely-positioned window
detach
embed
If a split work area is used, one of the two work areas can be fixed by clicking the "paper clip" so
that if another editor is opened, the fixed window always remains in the foreground and the newly
opened window is always the second visible editor.
Action, up to which
all actions are undone
Including incomplete
or incorrect objects
Saving
Regardless of which object is open in the work area, when the Save icon is pressed, the
complete project is always saved in its current state, even if some objects of the project are still
incomplete or have errors (e.g. blocks with syntax errors or symbols that have no absolute
operand assigned in the global symbol list).
If the project is closed without saving, all changes made during the session and newly created
objects are discarded.
Archiving
You can reduce the required storage space of the currently open project by minimizing the project
files, i.e. reducing them to their essential components.
The following can be chosen when archiving projects:
• "TIA Portal project archives"
The project will be minimized (all files are reduced to their essential components) and then
stored in compressed form in a project archive (file with extension zap16).
• TIA Portal project minimized
The project will be minimized (all files are reduced to their essential components) and then
stored as a new project in a new project directory.
Note
The most recently saved status of the project is archived. If the most recent changes to the
project are to be included in the archived project, the project must be saved before archiving.
Retrieving
zap16) canOnly
be retrieved and unpacked.
project archives (file with extension
Project View
Language
The user interface language of the TIA Portal can be changed at any time without having to
restart it. The TIA Portal always starts in the same language in which it was last used.
Storage settings
Storage location for projects:
Storage location for newly created projects and their project libraries
Storage location for libraries:
Storage location for global libraries
Layout
When the layout is reset, the original window arrangement of the TIA Portal is restored.
Table of contents 2
2. S7-1500 Training Device ........................................................................................ 2-2
2.1. Setup of a training station with S7-1500 ............................................................................... 2-3
2.1.1. Setup and connection of the conveyor model to the S7-1500 .............................................. 2-4
2.2. Positioning of the modular S7 controllers ............................................................................. 2-5
2.3. SIMATIC S7-1500: Modular controller for medium to upper performance range ................. 2-6
2.3.1. SIMATIC S7-1500: Modules ................................................................................................. 2-7
2.3.2. SIMATIC S7-1500: CPU display → Menu and colors........................................................... 2-9
2.3.3. SIMATIC S7-1200/1500: Memory card(s) .......................................................................... 2-10
2.4. Distributed I/O systems ....................................................................................................... 2-11
2.5. Modules of the S7-1500 training device ............................................................................. 2-12
2.6. Modules of the ET 200SP training device
........................................................................... 2-13
2.7. Networking and IP addresses of the modules .................................................................... 2-14
2.8. Online tools, configuring and parameter assignment of the hardware ............................... 2-15
2.9. Online access: Accessible devices in the Portal view ........................................................ 2-16
2.9.1. CPU online access: Reading out the diagnostics buffer ..................................................... 2-17
2.9.2. CPU online access: CPU-RUN/STOP, Memory Reset (MRES) ......................................... 2-18
2.9.3. Online access to the CPU: IP address, name, time, FW update, format memory card ..... 2-19
2.10. Memory reset (MRES) of the CPU via the mode switch ..................................................... 2-20
2.11. Devices & networks: Device view (hardware configuration) ............................................... 2-21
2.12. Preset configuration: Creating a hardware station.............................................................. 2-22
2.12.1. Inserting/deleting a module ................................................................................................. 2-23
2.13. Downloading actual configuration to project (1): Inserting an unspecified CPU ................. 2-24
2.13.1. Downloading the actual configuration to the project (2): Determining accessible nodes ... 2-25
2.13.2. Downloading the actual configuration to the project (3): Reading out the actual
configuration........................................................................................................................ 2-26
2.14. Compiling the hardware configuration and downloading it to the CPU .............................. 2-27
2.15. CPU properties: Ethernet address ...................................................................................... 2-28
2.16. Task: Hardware – Commissioning ...................................................................................... 2-29
2.16.1. Exercise 1: Connect PG and set IP address of the PG ...................................................... 2-30
2.16.2. .......................................................
Exercise 2: Erase SIMATIC memory 2-31 card of the CPU
2.16.3. Exercise 3: Reset the CPU via the mode switch ................................................................ 2-32
2.16.4. Exercise 4: Determine CPU firmware version and assign IP address (node initiation) ...... 2-33
2.16.5. Exercise 5: Configure S7-1500 station ............................................................................... 2-34
2.16.6. Exercise 6: CPU properties: IP address and subnet mask ................................................. 2-36
2.16.7. Exercise 7: Compile the hardware configuration and download it to the CPU ................... 2-37
… be able to use online functions to stop and start the CPU and reset
it to factory settings
Training case
Conveyor model
"P_Horn"
(%Q 3.7)
S7-1500 DI/DO
(back of case)
OFF button
ON button
"S_Bay1" "S_Bay2" "S_Bay3" "S_BayLB"
(%I 3.2) (%I 3.3) (%I 3.4) (%I 3.1)
_Bay2" "P_Bay3" "P_BayLB" "P_Bay1
(%Q 3.1) (%Q 3.2) (%Q 3.3) (%Q 3.4)
SIMATIC
Advanced
S7-400
SIMATICS7-400
SIMATIC SIMATIC
S7-1500 S7-1500
Basic
SIMATICS7-300 SIMATIC
S7-300
Micro
SIMATIC
SIMATIC S7-200 S7-1200
SIMATIC S7-1200
TIA Portal
SIMATIC S7
The SIMATIC S7 programmable logic controllers can be classified according to performance
range: a micro PLC (S7-1200) and a medium/upper performance range PLC (S7-1500).
The existing low/medium performance range PLC (S7-300) and the medium/upper performance
range PLC (S7-400) will be covered by one S7-1500 system in the future.
Features
• Modular control system for medium to upper performance range
• Graduated range of CPUs
• Display for basic CPU settings (system time, interfaces, etc.) and for calling up diagnostic and
status information (diagnostic buffer, alarm display, CPU status, etc.)
• Comprehensive range of modules
• High-performance I/O bus for efficient process interfacing via central I/O
• Can be expanded to up to 32 modules in one tier.
Currently, only single-tier configuration is possible. Multi-tier configuration via
ET 200MP distributed I/O system.
...
TM:
PS/PM CPU DI, DO, PS - Counting
(optional) AI, AO New power - Position detection
segment
CM/CP:
- Point to point max. 2 per rack
(RS232, RS485) for backplane bus supply of following
- PROFIBUS I/O modules
- PROFINET
Slot rules
• 1x PS/PM Slot 0
• 1x CPU on Slot 1
• Any module starting from slot 2
Signal modules
• Digital input modules: 24V=, 230V~
• Digital output modules: 24V=, 230V~
• Analog input modules: Voltage, current, resistance, thermocouple
• Analog output modules: Voltage, current
Power supply
I/O modules in the central rack of the S7-1500 require a system power supply via the backplane
bus (communication connection to the CPU) and a load power supply (input and output circuits
for sensors and actuators).
• PM – Power Module → Load power supply
supplies modules with 24 VDC for input and output circuits as well as sensors and actuators
If the CPU is supplied with 24 V via a load power supply (PM), this supplies the
system power supply of 12 W for the first inserted I/O modules.
The colors in the display vary depending on the current CPU status.
Available display languages are the available user interface languages of STEP 7.
An alarm is present
Written with:
● Commercially available SD card reader
● Field PG
Load memory
• S7-1500
This has no integrated load memory and requires a card to be inserted for this.
• S7-1200
This has integrated load memory. An inserted memory card can replace the integrated load
memory (increase the memory) or the card can be used for program updates (distribution of
programs).
Distributed installation
Distributed installation
- Stationary wiring and multi-wire
system
- Toolless, fast connection system
ET 200S ET 200SP - Optimized size
Distributed installation
- 24 V DC and 230 V AC power supply
ET 200iSP ET 200iSP to be continued Functionality for process automation
Slot no.
Module: PM CPU DI 32 DO 32 AI 8
I/O address: 0..3 0..3 4..19
Addresses to be assigned
Slot no.
Voltage supply
TP X1.1
PG connection → X1.2
P2
CPU X1.1
X1.2
192.168.111.101
Additional PROFINET IO ET200 X1.1
e.g. drive ← X1.2
P1
192.168.111.104
X1: 192.168.111.102
Subnet 192.168.111.xxx
P1 P2
Task Card
with CPU
online → Status,
Diagnostics
offline → Configuration,
parameter
assignment
Online tools
If an online connection to the CPU can be established, diagnostic and status information of all
modules can be called up.
In the case of CPUs that are accessible online, the operating mode can also be controlled using
the "Online Tools" task card and additional status information (cycle time statistics and memory
utilization) can be called up.
Project view
Show / hide
interfaces
Diagnostics buffer
As a circular buffer, the diagnostics buffer is an organized buffered memory area of the CPU. It
contains all diagnostic events (error messages, diagnostic alarms, startup information, etc.) of the
CPU in the order in which they occurred. The entry at the top is the last event that occurred.
All events can be displayed in plain text and in the order of their occurrence on the programming
device.
The size of the diagnostics buffer is CPU-dependent. Likewise, the whole diagnostics
buffer is not buffered at a Power OFF (only a portion is retentive).
Details on event
The "Details on event" field provides additional information on the selected event:
• Designation of the event and event number
• Additional event-dependent information, such as the address of the instruction that caused
the event
Cycle time:
"Shortest", "Current/last" und "Longest" are the cycle times since the last CPU restart
• Set time
Each S7-CPU has a real-time clock that can be set here.
• Assign IP address
As long as an IP address is not already specified via a previously downloaded hardware
configuration, it can be assigned or changed (this function is also available if the PG/PC and
the CPU are not assigned to the same subnet).
• Reset to factory settings
In contrast to "Memory reset", all memory areas of the CPU (work, load and retentive
memory, diagnostics buffer and time) are erased here. Optionally (see dialog in the screen),
the IP address can also be deleted so that the CPU is then only available via a MAC address.
• Format memory card
The memory card of the CPU can also be erased in the CPU using this online function. The
CPU then has only its IP address. All other data (including the device configuration) is
deleted.
The card cannot be erased in the card reader via the project tree. Device configuration and
blocks have a gray background, i.e. are write-protected (only status information or open with
double-click).
• Assign name
With PROFINET each device must be assigned a unique device name that is retentively
stored in the device. The device names will be used to identify a distributed I/O module
(PROFINET IO) and will enable a module replacement without a PG/PC.
• Firmware update
The firmware version of the CPU can be updated here. The current firmware version of the
CPU is displayed in the module data under "Diagnostics -> General".
2.10. Memory reset (MRES) of the CPU via the mode switch
RUN
1. Set mode switch to STOP
STOP
MRES
Specific information about memory reset (MRES) of CPU via mode switch:
• When memory card (MC) inserted => Memory reset
− Deletion of all user data (work memory, retentive memory)
(process image, bit memory, counters, timers, program/data blocks)
− Retained: Parameter assignment of the X1 interface, retentive part of the diagnostics buffer
− The CPU copies all runtime-relevant data of the load memory (memory card) to the internal
RAM work memory (runtime-relevant data: device configuration, program blocks, data
blocks).
Portal view
Project view
Device configuration
With the device configuration, the user specifies the arrangement of the modules in the rack.
When a new device is created a compatible rack is also created. The selected device is inserted
at the first permitted slot of the rack.
Regardless of the method selected, the added device is visible in the device view and network
view of the "Devices & networks" editor.
Possible
slots
Inserting from
the
hardware catalog
1xR
Inserting a module
A new module can also be inserted between previously inserted modules using drag-and-drop.
To do so, the new module is dragged to the location above and between the two previously
inserted modules. An insertion mark then appears, which can be used to insert the new module.
All previously inserted modules are moved one slot to the right, and any redundant modules are
moved to the "Modules not plugged in" area.
Deleting a module
Deleted hardware components are removed from the system and assigned addresses made
available again.
Portal view
Project view
2.13.2. Downloading the actual configuration to the project (3): Reading out the
actual configuration
Note:
When read out, only the hardware configuration is uploaded and not the hardware parameter
assignment or S7 program blocks.
1xR
1xR
Status / Error
information
PROFINET interface
Regardless of whether the "Devices & networks" editor is open in the device view or network
view, the settings of the CPU-PROFINET interface can be made for the selected CPU in the
"Properties" tab of the Inspector window.
DI DO AI
Intel(R) Intel(R)
82574L 82574LM
P1 P2
Subnet
PROFINET 192.168.111.xxx
Note:
If you already have the necessary knowledge to create and parameterize a device configuration
in the TIA Portal environment, this exercise can be skipped. The starting project
"TIA_Graph_StartProject.zap15_1" can be used as the basis for all further exercises. The project
already contains a finished device configuration. The configuration only needs to be transferred to
the automation system. (Chapter 2.16.6)
(The distributed PNIO device ET 200SP contained in the demo case is optional.) The modules of
the ET 200SP are not explicitly required for the duration of the course.)
2x
Task
To completely erase the CPU, the SIMATIC memory card of the CPU must also be erased. This
can be done with:
• Windows-Explorer (SD card inserted in card reader of the PG)
• TIA Portal (SD card inserted in card reader of the PG)
• TIA Portal (SD card inserted in the CPU)
Procedure:
1. Check whether the SD card is inserted in the CPU.
2. Use "Display accessible nodes" in the Project view under the "Intel(R) 82574L" interface.
3. Select "Online & diagnostics" below the S7-1500 station (see figure).
4. Select "Format memory card" under "Functions" (see figure).
Note
If a password that is unknown to you is stored on the CPU, the SD card can only be erased if the
SD is inserted in the card reader of the PG.
RUN
1. Set mode switch to STOP
STOP
MRES
RUN
2. Keep mode switch pressed in MRES position RUN/STOP LED
STOP of S7-1500
MRES
until RUN/STOP LED has flashed slowly twice
RUN Then release again
STOP
MRES within 3 s !!!
STOP
RUN
3.Keep mode switch pressed in MRES position
STOP
MRES
until RUN/STOP LED starts to flash rapidly
RUN
STOP Result:
MRES when PROGRAM card is inserted
→ Memory reset
RUN 4. Set mode switch to RUN when card is not inserted
STOP →restart
Reset toof CPUsettings
factory is performed
MRES
Task
Now that the SD card has been erased in the last exercise, the work memory of the CPU is now
also to be erased. A memory reset must be performed for this.
Procedure
1. Perform the memory reset directly on the CPU according to the steps shown in the figure.
2. Perform a restart of the CPU by switching the mode switch from STOP to RUN.
2.16.4. Exercise 4:
Determine CPU firmware version and assign IP address (node initiation)
Close online
access
Task
In order to download, for example, S7 blocks from an offline project of an S7-1500 station to the
online accessible CPU, the IP address of the CPU in the offline project must match that of the
online accessible CPU. For this reason, you are to assign an IP address here to the online
accessible CPU that you will later also assign in the CPU created in the offline project.
Procedure:
1. Use "Display accessible nodes" in the project tree under the "Intel(R) 82574L" interface
2. Select "Online & diagnostics" below the S7-1500 station (see figure)
3. Check and, if necessary, correct the IP address under "Functions --> Assign IP address"
4. Close online access in the work area (see figure)
Task
You are to configure the S7-1500 station in such a way that the module configuration matches
your actual training device.
Use the "Detect" hardware configuration function in the TIA Portal for this.
Procedure
.
1. Create a project named GRAPH7 application in the TIA Portal.
2. Create an "Unspecified CPU 1500" by double-clicking the "Add new device" function.
3. "Detect" the actual configuration of the existing station.
4. Use drag-and-drop to add the power module from the "Hardware catalog" task card to slot 0.
Get the module type and order number from the label of the modules of your training device
or the created module overview.
Drag-and-drop
Task
The S7-1500-CPU is to be assigned an IP address in the offline project.
A device name has no relevance for the PROFINET IO controller. This is only necessary
for IO devices for device identification by the IO controller.
Procedure
1. Select the CPU in the "Device view".
2. Select the "Properties" tab of the Inspector window and select "Ethernet addresses". Enter
the IP address and subnet mask shown in the figure.
2.16.7. Exercise 7: Compile the hardware configuration and download it to the CPU
Compile Download HW
HW station station to the CPU
1xR
Task
The configuration and parameter assignment of the S7-1500 hardware station is to be compiled
and downloaded to the CPU.
Note:
As long as the CPU contains no program, the CPU does not switch to RUN state following a
restart. In other words, if you download only the hardware configuration to the CPU in this
exercise, as shown in the figure, the CPU will not change to RUN state at a subsequent restart.
Procedure
1. Select your S7-1500 station in the Project view
2. Compile the HW station (right-click the station, see figure)
3. After error-free compilation, download the hardware configuration to the CPU (right-click the
station, see figure)
Note: When the adjacent buttons are used, the entire station, i.e. hardware and software,
is always compiled or downloaded.
4. Fill out the dialog that appears as follows and close it with "Load":
5. Once you have clicked "Load", another dialog appears that you fill out as follows and close
with "Finish".
If you have downloaded only the hardware configuration to the CPU, the CPU would now
have to remain in STOP state.
6. Check whether the hardware configuration was successfully downloaded in the "Inspector
window" under "Info -> General".
Table of contents 3
3. Getting Started with S7-GRAPH ............................................................................ 3-2
3.1. Programming sequential functional sequences .................................................................... 3-3
3.2. Sequencer: Representation according to IEC 61131-3 ........................................................ 3-4
3.3. Basic elements of a sequencer: Step and transition............................................................. 3-5
3.4. Other elements of the sequencer.......................................................................................... 3-6
3.5. GRAPH: Creating a block ..................................................................................................... 3-7
......................................................................................
3.6. Sequence view of a step sequence 3-8
3.7. Simple standard actions in the step 3-9
......................................................................................
3.8. Transitions for sequential control ........................................................................................ 3-10
3.9. Testing a step sequence ..................................................................................................... 3-11
3.10. Permanent instructions ....................................................................................................... 3-12
3.11. Processing order of GRAPH FB ......................................................................................... 3-13
3.12. Settings for the GRAPH editor and compiler ...................................................................... 3-14
3.13. Call of a GRAPH FB ........................................................................................................... 3-15
3.14. Adapting maximum interface parameters subsequently ..................................................... 3-16
3.15. General information about libraries ..................................................................................... 3-17
3.16. Task description .................................................................................................................. 3-18
3.17. Exercise 1: Parameter assignment of the S7-1500 CPU ................................................... 3-20
3.18. Exercise 2: Configure a linear sequencer ........................................................................... 3-21
3.19. Exercise 3: Call up of the GRAPH FB in OB1 .................................................................... 3-22
3.20. If you want to know more .................................................................................................... 3-23
3.1.1. Simulation of PLC and HMI devices ................................................................................... 3-24
3.1.2. Setting the S7 online interface for the simulation ............................................................... 3-25
GRAPH
The GRAPH programming language is used to control sequential processes. The process is
hereby broken down into individual steps with their own functional scope. The sequence is
graphically represented and can be documented with images and text.
The actions to be executed are defined within the individual steps, and the step-enabling
conditions govern the transitions. Their definitions, interlocks, and supervisions are specified
using a subset of STEP 7 programming languages LAD and FBD.
GRAPH for S7-1500 is compatible with the sequential function chart language specified in
IEC 61131-3.
Sequencer
Steps and transitions form a sequencer. The sequencer is stored in an FB. An instance DB that
contains the data of the sequencer is assigned to the FB. It is therefore not possible to save the
sequencer in an FC!
An executable program requires at least three blocks:
• The FB that contains the sequencer(s)
data of the sequencer • An instance DB with the
• An organization block, a function block or a function with the FB call
S1
#Activate_Step_1
#Station_X_Start_Transp T2
S2 N #Activate_Stat_Y
#Activate_Step_2 L #Transp_Start_L / R
#Activate #Transp
_Step_2 _Start_L/R
(other conditions)
S =
Transitions
Transitions are step-enabling conditions through which the transition or advancement from one
step to the next occurs. Step-enabling conditions can be process signals (e.g. signals of sensors,
position switches, etc.) and/or result from logical conditions.
Step sequence
In the step sequence program section, the step tags are managed or the user specifies the
desired order of the production process. A separate network is generally created per step tag.
A step tag is set if the predecessor step is active AND the corresponding transition to this step is
true. The preceding step is simultaneously reset under the same conditions. By querying both the
preceding step conditions and transition conditions, the unwanted activation of a step at the
wrong time is prevented.
The step sequence program section is responsible exclusively for setting and resetting the step
tags and not for controlling the final controlling elements of the process or for executing actions.
Command output
In the command output program section, the user specifies what is to occur in which step. One or
more actions are assigned to each step, to which the following qualifiers can be added:
• D = delayed (time-delayed after activation of the step)
• N = not stored (non-latching, action is executed for only as long as the step is active)
• L = limited (time-limited, even if the step is active for a longer time)
Step 1
S1
Step 1 Action
Action
Step 2
S2
Step 2 Action
Action
Input 1 Input 2
T2
Transition 2
Step-enabling conditions
Sequencer
Steps and transitions form a sequencer. The sequencer must be stored in an FB. An instance DB
that contains the data of the sequencer is assigned to the FB.
An executable program requires at least three blocks:
• The FB that contains the sequencer(s)
• An instance DB with the data of the sequencer
• An organization block, a function block or a function with the FB call
OB1 FB DB
Sequence 1 Sequence 2
Alternative branch, Open
Initial step S1 S7
Simultaneous branch, Open
Transition T1 T4 T6
Jump label
T9 from T9
S2 S5 S6 S8
T2 T5 T7
Overview
When a sequencer is created, integrated software functions facilitate the graphic programming.
A sequence structure can be easily created without programming expertise by arranging the
GRAPH structure elements in such a way that a graphical representation of the sequencer
results.
Structure
A sequencer consists of a sequence of steps and transitions. This sequence can be linear or
branched.
• The commands to the plant (actions) are formulated in the steps.
• The transitions contain the conditions for the advancement from one step to the next.
The figure above shows the elementary elements that a sequencer can be composed of. These
symbols can be selected from the toolbar.
• Step and transition
• Alternative branch, OPEN and CLOSE in each case
• Simultaneous branch, OPEN and CLOSE in each case
• Jump
• Sequence end
• Insert sequence
In addition, there are symbols for permanent instructions and for switchover of insertion mode.
Editing
Selection of the element that is to be inserted using drag-and-drop. Selection of position with the
mouse pointer at which the element is to be inserted. Small green rectangles show possible
insertion positions.
Sequence View
Drag-and-drop of
instructions
Jump to...
2nd sequence
Overview
The sequence view of a step sequence displays an overview in the work area of all steps and
transitions of a sequence that is being created. The content of the transitions and the actions of a
step can be expanded and minimized.
An overview of all available sequences is displayed on the left in the navigation area.
Structure of a sequencer
A sequencer consists of a sequence of steps and transitions. This sequence can be linear or
branched. The commands to the plant are formulated in the steps. The transitions contain the
conditions for the advancement from one step to the next. The following symbols represent the
elements that a sequencer can be composed of. You can select these symbols from the toolbar.
Symbol Name Shortcut
Step and transition SHIFT + F5
Step ---
--- Transition
Sequence view
Operands / Tags
Action block
N %M1.1
S %M1.2
R %M1.3
D %M1.4
T#1H2M3S
N: Non-stored
S,R: Set, Reset L %M1.5
D: Time Delayed T#4MS
L: Time limited
CALL FC1
CALL: Block call
Overview
These actions are all defined in IEC 61131-3 under 6.7.4.5 Action qualifiers:
D, L, N The associated actions are reset as soon as the step has finished.
D, L The times can be specified as a constant or a tag.
S, R The corresponding actions persist after the step.
CALL Block call FBi.DBi, FCi, SFBi.DBi, SFCi (i = block number):
Calls the specified block. After execution of the block, the step sequence program
continues running.
Note
Operands are addressed using symbolic or absolute addresses in the action block. After input,
absolute addresses are automatically assigned a new symbol or, if a symbol already exists for
this address, this address is displayed.
The actions in the step are executed according to the top-down principle! That is, an appropriate
order of execution should be defined when the block is created.
Time information
Time information must be entered in IEC time format T# …, e.g. T#10s.
Input of actions
Actions can be configured in the sequence view after expanding the action table
Comparison of
step duration
Boolean expressions
Comparison of tags
Overview
These conditions, which are allowed in a transition, can all be found in IEC 61131-3 under 6.7.3
Transitions: Examples include:
• Boolean expressions such as & combinations
• Comparisons of step duration
• Comparisons of tag values
• Empty transitions that always enable the next step immediately
Note
Operands are addressed using symbolic or absolute addresses in the action block. After input,
absolute addresses are automatically assigned a new symbol or, if a symbol already exists for
this address, this address is displayed.
Time information
Time information must be entered in IEC time format T# …, e.g. T#100ms.
Defining conditions
Conditions in transitions can be configured in the sequence view after expanding the transition
No actions
in the step
Actions in
the step
Test functions
The test functions enable a many different test variants in different operating modes, e.g.
• Display of active steps and steps with faults
• Status display and modify tag
• Switchover between operating modes: Automatic mode, semiautomatic mode and manual
mode
• Mandatory acknowledgement with different criteria
• Initialization of the sequence
• Deactivation of all steps
• Etc.
Permanent pre-
instructions
Permanent post-
instructions
Permanent instructions
Permanent instructions are conditions or block calls that are located before or after the
sequencer. These instructions are processed once per block call regardless of the state of the
step sequence. The number of instructions before and after the step sequence in an FB is limited
to 250 networks. Each instruction is provided with a number. Up to 32 LAD/FBD blocks are
allowed within a network.
Conditions that must be true at multiple points in the step sequence can be programmed centrally
with permanent instructions.
For example, the flashing of an indicator light in a step can be easily implemented in this way.
1
2
3 2b
2a
Processing order
The processing order of the individual components of a GRAPH FB is made up as follows:
1. Permanent pre-instructions are executed
2. In the sequences, the following steps are carried out:
a. Checking of transitions
b. Checking of the interlock and supervision conditions and subsequent execution
of the actions of all active steps
c. (b) does not take place if the "Skip steps" option in the block properties is
activated and the preceding and following transitions are fulfilled at the same
time.
Note
Because the transitions are executed first and then the actions, a temporary tag cannot be used
in the steps for the step-enabling conditions in a GRAPH FB.
This is, of course, possible in the pre-instructions!
General settings
PLC programming
Minimum /
Maximum/default
interface parameters
Settings
Besides the general settings for the TIA Portal, there are also GRAPH-specific settings, which
can be found in the GRAPH sub-item under PLC programming. Here you will find various default
settings as well as the setting for the interface definition when a new GRAPH block is created.
The default setting for this is "Maximum interface parameters".
Maximum interface
parameters
Default interface
parameters
Minimum interface
parameters
Sequence FB
Using the Options Settings PLC programming GRAPH menu command, it can be
selected whether the FB is to be initialized with the default or maximum list of parameters when it
is created or called up. User-defined parameters are always visible.
The initial step(s) are activated via a positive edge at the INIT_SQ parameter.
This FB also requires an operating mode selection for the call. The default parameter set is
always used when the sequencer is to run in various operating modes and feedback about the
process and the ability to acknowledge alarms are needed.
The sequence FB always stays at the last activated operating mode in this case. Only through
selection of another operating mode can the preceding operating mode be deselected. Unneeded
parameters are not initialized.
Note
The focus must be placed in the GRAPH FB so that these interface settings are visible. This is
done most easily by pressing the left mouse button on a step or transition.
However, a changeover between the maximum and default interface parameters always requires
an update of all calls of this GRAPH FB.
Project library
Global library
Types
Master copies
Libraries
Generally, project libraries and global libraries are available.
Project library
A project library is characterized by the following:
• One library per project
• Contains objects that are reused only within the project
• Library is opened, saved and closed together with the current project
Global libraries
Global libraries have the following properties:
• Independent of the project
• Can be stored on decentralized drives
• Contains objects that can be reused across projects
Library elements
Libraries are structured into types and master copies
Master copies contain any number of copies of blocks, stations, tag lists, etc.
Types contain elements such as data structures and faceplates, which are instantiated by
copying them to the work area. The most important criterion is the ability to change instances
centrally.
The smallest unit that can be saved in a library is a block.
Note
In contrast to master copies, types can be changed directly in the library.
Task
Only a rudimentary step sequence will be programmed to start, but it will later serve as the basis
for our manufacturing line as the training course progresses.
For this purpose, create a step sequence that fulfills the following basic functionality.
Procedure
1. Step 1 – Pick-up / Init:
− The indicator light at the light barrier bay "P_BayLB" (%Q3.4) flashes at a frequency of
1 Hz, thus signaling that a blank can be put on the conveyor. The blank must be put
through the light barrier for reliable detection.
When this happens, the LED at the light barrier bay lights up and stays lit. Next, the
"S_BayLB" (%I3.4) pushbutton at the light barrier bay can be actuated to advance to the
next step.
2. Step 2 – Transport:
− The blank is transported from the light barrier to the proximity switch at bay 1.
3. Step 3 – Removal
− The blank is at bay 1 and can be removed from the conveyor. This is indicated to the user
by the flashing of the "P_Bay1" (%Q3.1) LED at 1
Hz.
4. Step 4 – Acknowledge:
− The removal of the blank is acknowledged by pressing the "S_Bay1" (%I3.1) pushbutton.
The steady lit "P_Bay1" LED signals that an acknowledgement is possible.
− If the blank is put back on the conveyor, this causes the "P_Bay1" LED to flash at 1 Hz.
Flashing function
The easiest way to implement the required flashing functions of the "P_BayLB" indicator light in
step 1 and "P_Bay1" in steps 3 and 4 is to use permanent instructions. Use temporary tags, if
necessary.
PLC tags
Use the preconfigured variable table from the library (Graph_Library_V16.0).
Task
Assign the parameters of the S7-1500 as shown in the slide.
Procedure
1. Open the "Device configuration" of the PLC you created in chapter 2.
2. Activate use of the clock memory byte with address %MB10.
3. Activate use of the system memory byte with address %MB1.
4. Assign the addresses of the I/O modules as shown in the slide.
5. Save and compile the entire configuration.
6. Download the changed hardware configuration to the controller.
Task
You configure a linear sequencer, assign step and transition names and test the sequence.
You will find two ready-made PLC tag tables in the "TIA_Graph_Lib_16", which is stored under
"C:\_Archive\TIA-GRAPH[version]\".
Drag these into the PLC tags in your project.
Procedure
1. Create a GRAPH FB80 with the symbolic name "FB_Removal".
2. Open the FB80 by double-clicking it and enter the structure of the sequencer according to
the task description. Set the work area of the GRAPH editor to the sequence view for this.
3. Configure the necessary steps, actions and permanent instructions. Choose the sequence
view or single step view for the work area as you wish. Assign names for the steps and
transitions.
4. Save and compile the FB80.
Task
Call up your created GRAPH FB in OB1 and test it.
Procedure
1. Call up the FB80 with instance DB80 in OB1.
2. Transfer all blocks to the automation system and test the program with the "Monitor" test
function. Alternatively, click the button with the "eyeglasses".
3. Save the completed step sequence block in the local library.
Result
The active step is displayed in "green". If interlock or timeout errors are to be monitored (later
exercises), the step involved is displayed in "red" or "orange". The signal states of the conditions
and actions can be monitored in the active steps.
Note
The following pages provide additional information or serve as a reference that can be consulted
for more complete information on a subject.
button. The desired device, PLC or panel must be selected before the simulation.
Note
The simulation of an HMI device can be active in parallel with a connection to a real device or
PLC.
By contrast, the simulation of a PLC deactivates all other interfaces and allows only
communication via the PLCSIM interface . Communication with the simulation of an
HMI device is always possible, however!
Before you can simulate PLC programs with S7 1500/1200, the corresponding compiler option
must be activated in the properties of the project root. "Support simulation during block
compilation". In particular, if know-how protected block are to be simulated, the simulation option
must be activated before the block protection is activated. However, this also reduces the quality
of the know-how protection.
Settings
If the simulation of the HMI device is to be able to communicate with a real or simulated PLC,
another setting must be made:
the interface via which this communication is to take place must be assigned.
To do so, the right access point must be specified in the connections of the HMI device
(default setting is "S7ONLINE") and the right PG/PC interface must, in turn, be assigned to this
(see "Set PG/PC Interface" in figure).
The option exists to select a real network adapter if communication is to be established with a
controller connected using this network adapter (selection of the corresponding network adapter).
In addition, it can be specified that communication will be with a simulated CPU. The PLCSIM
interface is then selected for a classic PLC and the PLCSIM S7-1200/S7-1500 interface for an
innovated controller.
Table of contents 4
4. Interlock, Supervision and Alarms ....................................................................... 4-2
4.1. Interlock and Supervision ...................................................................................................... 4-3
4.2. Interlock and Supervision: Additional functions in the step .................................................. 4-4
4.3. Interlock as additional interlock condition ............................................................................. 4-5
4.4. Use of the interlock in transitions .......................................................................................... 4-7
4.5. Interlock in the online view .................................................................................................... 4-8
4.6. Use of interlock in actions
..................................................................................................... 4-9
4.7. Supervision (
toring) ............................................................................................. 4-10
4.8. Supervision in the online view............................................................................................. 4-12
4.9. Supervision error with resulting interlock condition............................................................. 4-13
4.10. Supervision error with resulting interlock condition............................................................. 4-15
4.11. Task description .................................................................................................................. 4-16
4.12. Exercise 1: Create a new GRAPH FB ................................................................................ 4-17
4.13. Exercise 2: Expand the conveyor functionality ................................................................... 4-19
4.14. Exercise 3: Interlock and Supervision ................................................................................. 4-20
4.15. Configuring alarms .............................................................................................................. 4-21
4.15.1. Adding step-specific alarm texts ......................................................................................... 4-22
4.16. PLC alarms for displaying sequence errors ........................................................................ 4-23
4.17. Display and acknowledgement ........................................................................................... 4-24
4.18. Activating the web server on the CPU ................................................................................ 4-25
4.19. Exercise 4: Display and acknowledge PLC alarms ............................................................ 4-26
4.20. Exercise 5: Display of sequence errors in the web server .................................................. 4-27
4.21. Creating your own alarm class for the project .................................................................... 4-29
4.22. Displaying alarms on the HMI device4-30
.................................................................................
4.23. Alarm components and properties ...................................................................................... 4-32
4.24. Steps for alarm configuration .............................................................................................. 4-33
4.25. Alarm classes ...................................................................................................................... 4-34
4.26. Alarm settings ..................................................................................................................... 4-35
4.27. Exercise 6: Create touch panel ........................................................................................... 4-36
4.28. Exercise 7: Copying elements from the library ................................................................... 4-40
4.29. Exercise 8: Configure the alarm view ................................................................................. 4-42
4.30. Exercise 9: HMI Runtime settings ....................................................................................... 4-43
Final inspection
and removal Milling Drilling Pick up
S1
Transport Step Each sequencer has an initial step
S2
Drill
Step Actions in the step
Interlock
• An action marked with "C" (Condition) is only executed when the interlock condition (Interlock)
of the step is true.
• An interlock error is present when the condition is false ("C" = 0). The actions marked with C
are then not executed. The step is marked in orange and an interlock error is generated.
• An interlock error does not prevent an advancement to the next step when the transition
condition is true!
Supervision
• A supervision function triggers an alarm based on a user-programmed condition.
• However, a supervision does not prevent execution of the actions in a step.
• In contrast to an interlock, an active supervision function automatically blocks the
advancement to the next step even if the transition condition is true.
S2
Drill Step Actions are formulated in the step
Optional: Action is only executed if
interlock condition is true.
Interlock
Actions in the step can be made dependent on conditions. Such step interlocks are marked by
the "C" symbol.
When the interlock condition is true, all actions that are logically combined with the "C" interlock in
the active step are executed. If the result of the logic operation of the interlock conditions is false,
a fault is present.
Fault
Under the fault condition "Interlock is not satisfied", the following rules apply:
• Actions that are logically combined with the interlock are not executed.
• An interlock error "L1" is signaled for one cycle.
• The uninterrupted step activation time "Step_x.U" stops.
• The step activation time "Step_x.T" continues running.
• Advancement to next step when transition condition is true.
to TRUE.• Setting of the FB parameter ERR_FLT
Programming
The interlock is programmed in the "Single step" view. Bit logic and comparison operations are
permitted. A programmed interlock is represented in all display types of the sequence with a "C"
at the top left corner of the step.
Empty interlock
An empty interlock without LAD/FBD elements behaves like a true interlock condition
Note
The FB parameter ERR_FLT = 1 signals a missing interlock condition;
ERR_FLT = 0 means no fault is present.
While the uninterrupted step activation time "Step_x.U" stops when an interlock error is present,
it resumes running again starting from that time once the error status changes to outgoing!
Step 1:
InitialPosition
Interlock query
All incoming, outgoing and pending interlock events can be evaluated in the program.
For example, a query of the static bit "Step_x.LA" ("Lock active") can be used to prevent the
subsequent transition from advancing to the next step under fault conditions even though
proximity switch 1 (%I3.5 on the slide) is occupied.
This situation is marked in the slide for an active interlock in the Initial position step:
• #InitialPosition.LA,
i.e. an advancement to the next step is not possible when an interlock fault is present.
An incoming interlock error is marked by the static bit "Step_x.L1", an outgoing interlock error by
the static bit "Step_x.L0".
These are comparable to an edge evaluation because they exist only for exactly one cycle!
Interlock not
satisfied
Interlock blocks
action
Unselected actions
are not affected
Interlock usage
An interlock can be used in order to execute actions only when a precondition is true. For this
purpose, the interlock query must be enabled for each action that is to be "interlocked" in this
way.
If the interlock condition was true but is no longer true at the next jump into the step sequence,
the associated actions are also no longer executed automatically.
An interlock condition that is false does not block the advancement to the next step, however.
To prevent this advancement, the interlock must be used in the transition.
Actions not marked with "C" such as the display of a fault using the "%Q0.7" output are not
affected.
Comparison function
for time values
Comparison function
Supervision indicator
for time values
Supervision
The supervision function is a step monitoring condition. If the result of logic operation of the
supervision condition in the active step is true, a fault is present. As long as the activation time
minus any malfunction periods of step 3 "Conveyor Right" is less than 6 s, the RLO = 0. As soon
as the activation time exceeds 6 s, the RLO changes to 1 and a supervision error is present. The
following rules apply to this:
• No advancement to the next step despite the transition condition being true.
• Setting of the FB parameter ERR_FLT to TRUE.
• The current step stays active, all actions continue to be executed.
• A supervision error "V1" is signaled for one cycle.
• The uninterrupted step activation time "Step_x.U" stops.
• The step activation time "Step_x.T" continues running.
Programming
The supervision is programmed in the "Single step" view. Bit logic and comparison operations are
permitted. A programmed supervision is represented in all display types of the sequence with a
"V" at the top left corner of the step.
The static bit "Step_x.VA" signals that a supervision error is present "VA" means "Supervision
active".
Empty supervision
An empty supervision without LAD/FBD elements is always OK, i.e. ERR_FLT = 0 means no
supervision fault.
Note
All sequence data can generally be called up (preferably symbolically) at any time within the
sequential control using the instance DB.
By programming additional event queries, many different evaluation and interlocking mechanisms
are possible with the interlock and supervision functions. This will be demonstrated in further
examples.
tion time
In the case of an incoming "Step_x.U"
supervision error, the uninterrupted step activa
is stopped. In contrast to an interlock error, however, it restarts at 0 s after the error is
acknowledged.
A supervision error must always be acknowledged!
Supervision
triggered
Uninterrupted step
activation time U
Conveyor motor
continues running after
a supervision error
Note
Switching the CPU to Stop state and back to RUN mode does not cause the conveyor motor to
switch off. Only the initialization of the sequence using the FB input parameter INIT_SQ or using
remains as an emergency measure.
the sequence control in test mode
The switching off of the conveyor motor must therefore be solved in a different way.
Time values
In many processes it is necessary to monitor the duration of an operation minus any malfunction
periods. The necessary duration of a stirring process, for example, can be 10 milliseconds,
irrespective of how long the respective step was disrupted. To perform a time comparison, the
uninterrupted step activation time "StepName.U" is used.
Interlock
switches off
conveyor motor
Logic operation
with interlock
Conveyor motor
is switched off
Step continues
to be active
Example
Step S3 "Conveyor_Right" is time-monitored in the example. If the uninterrupted step activation
time exceeds the duration of 6 s because the step enabling condition for the next step is not true
during this time span, the sequence with a supervision error goes to fault state.
In spite of the stopped sequence, however, step S3 remains active and the action continues to
be executed.
To bring the plant to a safe state, the query "Monitoring error occurred in step S3" is evaluated
in the step interlock using the inverted bit "#Transport1.VA", and the output "K_Right" is
programmed dependent on the interlock.
If the supervision error occurs, the interlock condition "C" goes to zero signal (C=0) and the
output "K_Right" is disabled.
Time values
The default values for the time monitoring of the various step activation times are stored in the
settings and can be adapted there as needed:
• Step_x.T monitors whether the total activation time of step x is less than the specified value.
• Step_x.U monitors whether the activation time minus the step interlock time in step x, thus the
uninterrupted step activation time, is less than the specified value.
Note
The uninterrupted step activation time "U" is reset to the value "T#0s" following acknowledgment
of the supervision. The step activation time "T" continues running after error acknowledgment!
Active settings
Mandatory
Acknowledge- acknowledgment
ment button of errors
Example
By means of the test setting "Mandatory acknowledgment of supervision errors", the supervision
error can be acknowledged using the "ACK_EF" parameter of the GRAPH FB. In the previous
example, the conveyor motor continues running until the subsequent transition is triggered (part
in light barrier or workpiece reaches proximity switch 1 on the return). If this is not the case within
6 s, the step triggers another supervision error.
Final inspection
and removal Milling Drilling Pick up
Task
Expansion of the sequence from Chapter 3 in the following functions:
• The sequence is to be expanded to include the above-shown steps.
• "Drilling" may only occur when pushbutton "S_Bay3" (%I3.3) is pressed and proximity switch
"B_Ini3" (%I3.7) is occupied. The active drilling operation is indicated to the user by the lit
LED "P_Bay3" (%Q3.3). The drilling operation must have an uninterrupted duration of 3 s!
An advancement is only possible when an interlock is not present!
• "Milling", like "Drilling", is performed by pressing the associated pushbutton "S_Bay2" (%I3.2)
when proximity switch "B_Ini2" (%I3.6) is occupied, and is signaled by the LED "P_Bay2"
(%Q3.2). In contrast to "Drilling", however, "Milling" has no fixed prescribed uninterrupted
processing time and an advancement to the next step can occur after a step duration 3 s if no
interlock is present!
• The conveyor run is to be time-monitored when the conveyor is moving toward the left
(6 s as value for monitoring time). If a transport operation exceeds this duration, an alarm is
triggered.
Another optional time monitoring is available for the step in which a new blank is placed on
the conveyor.
• Ensure that the conveyor motor is switched off immediately when supervision errors occur.
• Acknowledge active supervision errors using the function block (parameter wiring with %I0.7
"S_Ack_Fault"). If necessary, correct the test settings for the step sequence. Place the input
in the "Simulator" table.
• The "Acknowledge" step is no longer needed. Its acknowledgment function is integrated in the
"Removal" step.
Procedure
Program the other steps as well as the necessary additions (Interlock and Supervision) in the
single step view for the relevant steps and commission the program again.
Task
Instead of creating a new FB or expanding your old FB, copy this and make the change to the
copied FB.
Procedure
Copy your FB80 created in the previous exercise and rename it "FB_Production". A compilation
of the program blocks should now generate the following compiler errors:
For this reason, change the numbering assignment from "manual" to "automatic" in the general
block properties of the copied block (right click on the FB -> Properties…).
Another compilation of the program blocks of the PLC should now automatically adapt the
number of the copied FB to the next lowest available range.
If you try to download the block to the PLC without compiling first, the TIA Portal will display the
following dialog:
Final inspection
and removal Milling Drilling Pick up
Task
The new steps are to satisfy the functionality called for in the task. The existing "Pick up" and
"Removal" steps remain unchanged for the most part.
Procedure
Program the necessary additions (Interlock and Supervision) in the single step view for the
relevant steps and commission the program again ("Automatic" mode).
Note
It is recommended that all illumination functions be programmed in the permanent post-
instructions. The conditions can be logically combined there with, for example, static tags, that
are set in the respective steps.
Task
Program the interlocks as well as the supervisions of the transport steps called for in the task.
In addition, add the input "S_AckFault" (%I0.7) for the fault acknowledgment and the output
"P_Fault" (%Q0.7) for the fault display for the call of the GRAPH FB in OB1.
You create these in the PLC tag "Simulator".
Note
The interlock conditions for advancement off the "Drilling" and "Milling" steps are different.
An interlock is also used to switch off the conveyor motor.
The appropriate step time must be selected for the monitoring the conveyor running time! The
step activation time "T" and the uninterrupted step activation time "U" have a different response
to faults!
Enable alarms
Acknowledgement on HMI
Alarms
Defines the alarm that is output for a step when an interlock condition is false / supervision
condition is true. The same alarm structure is used for all steps. The default text with white
background can be changed. The information fields with gray background are filled out
automatically under error conditions. Associated values cannot yet be supplied with these alarms.
The name of the alarm class is language-neutral and cannot be changed. The display name can
be edited.
Supervision settings and alarm classes are managed at a central place in the project tree, under
“Common data”.
Alarms
A step-specific text can be created in each step using the "General properties" of the interlock
and supervision. This text is dependent on the alarm for interlocks and supervisions if this
property is activated.
Receive PLC
alarms
Online &
diagnostics
PLC alarms
The PLC alarms can be activated in the online display using the shortcut menu of the CPU. To do
so, select the "Receive alarms" check box. Alternatively, the alarms can also be activated in the
Online & diagnostics view.
Outgoing
alarms (O)
Incoming
alarms (I)
Archive view
Acknowledged
alarms (Q)
Interlock and
supervision errors
Active alarms
Acknowledge
alarms
Alarm display
The interlock and supervision error messages with time stamp generated by GRAPH are
displayed in the alarm display. The alarm display menu allows acknowledgment of alarms
using the "Acknowledge alarms" icon.
The acknowledgment does not cause the interlock or supervision error to be canceled.
This must be done, same as before, using the corresponding FB input parameter ACK_EF.
Acknowledgment of an "Active alarm" moves this alarm to the "Archive view", however.
Interface
Controller properties
properties
Enable
web server
Automatic
update Enable access
to web server
User
management
Note
In order to access the web server, the access via the interface you want to use to reach the Web
server of the PLC must also be activated!
Supervision-
settings
Task
When interlock and supervision errors occur, the alarms for interlock and supervision errors
stored in the system are to be displayed as PLC alarms.
Procedure
1. Configure the alarm texts for interlock and supervision errors according to the preceding
pages. Create your own alarm texts for the various interlock and supervision errors in the
steps.
2. Enable the PLC alarms on your controller.
3. Open the alarm display and trigger interlock and supervision errors in your sequence.
4. Monitor the incoming alarms and acknowledge them.
Automatic update
Interlock error
Supervision error
Acknowledge Alarms
Task
The error messages generated by interlock and supervision errors that were visualized previously
using PLC alarms are to be displayed on the integrated web server of the CPU. In this way, any
type of step sequence error can be monitored remotely in principle.
Procedure
1. Activate the web server of your controller as shown on the theory page.
2. Call up the internal web server, e.g. via https://192.168.111.102 as the currently valid
IP address.
3. Trigger interlock and supervision errors in your step sequence in the familiar way and
monitor them in the web server on the "Alarms" tab.
Notes
In order to see the menu items shown in the figure in the web server, you must also set the
corresponding access rights in the TIA Portal. The functions you have in the case of an
administrative access in the Web server are shown at the top of the figure. For this exercise,
however, the following setting is sufficient:
When the web server is accessed via https, you normally see the following page in your browser:
Adapt display
name
General
The user has the option of creating his/her own alarm classes. These can then be used in all
elements of the project.
• Alarm view
- Alarms from the alarm
buffer or log
- Configurable
in every screen
- Visible only when the
corresponding screen is
open
• Alarm window
- Alarms from the alarm
buffer
- Configurable only in
screen
- Window is displayed
when a corresponding
alarm arrives
- An alarm indicator
can also be
configured
General
Multiple alarm displays for different alarm classes and in different screens and windows can be
configured. Two variants are distinguished for displaying:
Alarm view
• Shows currently active alarms or alarms from the alarm buffer or alarm log.
• Selection of alarms according to alarm class.
• Can be configured in any screen.
• Only visible when the corresponding screen is open.
• Choice of display type: Table | Line.
• An alarm view gives the user the following options at runtime.
• Loop in Alarm: If a screen change is configured for the selected alarm, the display switches
to a screen containing information about the alarm.
Alarm window
• Shows currently active alarms or alarms from the alarm buffer or alarm log.
• Selection of alarms according to alarm class.
• Can only be configured in the "Global screen" screen.
• Window can be automatically displayed when a new entry is made in the window
(e.g. new incoming message).
Alarm indicator
As an alternative to the automatic display of an alarm window, this small graphic symbol can be
displayed symbolizing the arrival of displayable alarms (group alarms) of a defined alarm class.
This alarm indicator can have two states:
Flashing display:
At least one unacknowledged alarm is pending.
Static display:
All alarms with mandatory acknowledgment are acknowledged but at least one of them does not
yet have outgoing status.
The number shown at the bottom of the symbol indicates the number of alarms that are still
active.
2 3 4a 4b 1 5
Properties
• Mandatory acknowledgement On/Off (default setting: Off)
• Color design of alarm display
going; A - Acknowledged) • Alarm status (I - Incoming; O
• Archiving On/Off
Tasks
The alarm system of an HMI device performs the following tasks:
• Displaying
Configured alarms are displayed on the HMI device dependent on events or statuses that
occur in the plant or process.
⇒ Functionality is supported by every HMI device
• Reporting
The alarms are output to a printer.
⇒ Functionality is supported only by HMI devices that also support reports
• Archiving
The alarms are stored for further processing and evaluation in a file (in Flash memory or on
the hard disk).
⇒ Functionality is supported only by HMI devices that also support archives
• Sending e-mails
With the system function "SendEmail", incoming alarms can send emails. That is a
functionality of the Runtime option "Sm@rt Service" and will not be covered in this chapter.
⇒ Functionality is supported only by HMI devices that also support an Ethernet interface
Alarm classes
Alarm class
Every alarm must be assigned to an alarm class. Most importantly, the alarm classes specify the
mandatory acknowledgment and the appearance of alarms in the display on the HMI device.
They are also used to group alarms for various display means.
WinCC has predefined alarm classes as well as the option to configure your own alarm classes.
Display name
An individual name can be set here for each alarm class. This name can then be included in the
alarm view when multiple alarm classes are shown in one alarm view. These display names,
including for the predefined alarm classes, can be customized.
Acknowledging an alarm
Performed by the operator on the HMI device. The operator makes the acknowledgment using
the acknowledgment key <ACK> (special key only on keyboard devices), function keys, softkeys
or buttons. In addition, alarms can be acknowledged by system functions in function lists or
scripts or by the controller program.
Alarm classes
Every alarm must be assigned to an alarm class. Most importantly, the alarm classes specify the
mandatory acknowledgment and the appearance of alarms in the display on the HMI device.
They are also used to group alarms for various display means.
WinCC has predefined alarm classes as well as the option to configure your own alarm classes.
Errors and warnings are predefined alarm classes.
Settings
The alarm system of WinCC is also functional with the default settings, in principle. The changing
of these settings serves simply to adapt the behavior of the alarm system to the respective
circumstances of a plant.
System diagnostics
These are alarms that are sent by CPUs when this is enabled in the hardware properties,
e.g. "CPU STOP due to programming error", "CPU STOP due to keyswitch operation".
These alarms are not automatically displayed. You must always configure a display of the alarms
yourself.
Controller alarms
Settings for the alarm numbering procedure and system diagnostics (Program_Alarm
functionality) are possible in this area.
Alarm view
The following figure shows the Runtime display of the alarm window on a TP700 Comfort
containing the display of a step sequence error (Interlock error + Supervision error).
Task
Create an HMI device "TP700 Comfort" using the wizard as shown in the following:
Be sure to disconnect the online connection to the PLC before performing this task!
Procedure
1.
2.
3.
4.
5.
6.
Note
Check whether the HMI device wizard has correctly assigned the IP addresses of the PLC and
the TP700. If not, make the necessary corrections (IP address: 192.168.111.xxx Subnetmask:
255.255.255.0).
Task
Copy the created tag table and the conveyor image to your project.
Procedure
1. Use drag-and-drop to move the tag list "Conveyor model" to the "HMI tags" folder.
2. Open the "Start" screen and use drag-and-drop to move the "Conveyor_Graphic" screen to
the screen area. Adapt the size of the screen as appropriate.
Note
If the interlinking of the tags from the library in your project does not run smoothly, the following
steps must be performed:
1. Select all HMI tags in the conveyor model HMI tag table and press the "Synchronize with the
PLC tag" button.
Select all
Activate GRAPH
alarm class
Task
The error messages from the step sequence (interlock and supervision errors) are to be
displayed in an alarm view on an HMI touch panel.
Procedure
1. Check whether the alarm class "GraphAlarmClass_WithAcknowledgement" is included in the
HMI alarms:
2. Change to the "Alarms" screen created in the wizard and configure an alarm view like the
one shown in the figure there.
3. Adapt the properties of the alarm view as shown.
Task
The Runtime settings of the HMI panel are to be checked and adapted.
Procedure
1. In the Runtime settings of the HMI device, you specify a display duration of the alarm
window of 10 s.
2. Compile the HMI project, download the TP700 Comfort and test the alarm view to see
whether GRAPH error messages appear.
Table of contents 5
5. Test Functions in GRAPH ...................................................................................... 5-2
5.1. Handling of the GRAPH programming language .................................................................. 5-3
5.2. Sequence view of a step sequence ...................................................................................... 5-4
5.3. Options in the sequence view ............................................................................................... 5-5
5.4. Graphical editing with the mouse .......................................................................................... 5-6
5.5. Single step view
........................................................................................................... 5-7
5.6. Single step view and actions................................................................................................. 5-8
5.7. Online testing of step sequence............................................................................................ 5-9
5.8. Sequence control and operating modes ............................................................................. 5-11
5.9. Synchronization of step sequence in manual mode ........................................................... 5-12
5.10. Exercise 1: Commissioning with the "Sequence control" function ...................................... 5-13
5.11. Learning mode for step activation time ............................................................................... 5-14
Favorites bar
A new GRAPH
block after creation
Editor functions
Sequence view
Drag-and-drop of
instructions
Jump to...
Jump target
Overview
You are supported by graphical programming functions when creating a sequencer. A sequence
structure can be easily created without programming expertise by arranging the GRAPH structure
elements in such a way that a graphical representation of the sequencer results.
Structure of a sequencer
A sequencer consists of a sequence of steps and transitions. This sequence can be linear or
branched. The commands to the plant (actions) are formulated in the steps. The transitions
contain the conditions for the advancement from one step to the next. The following symbols
represent the elements that a sequencer can be composed of. You can select these symbols
from the Favorites bar and move them to the work area using drag-and-drop.
Symbol Name
Step and transition
Step
Sequence end
Jump
Close branch
Define
initial step
Possible
instructions at the
selected position
Renumber steps
and transitions
Open transition
conditions
General
The structure of the sequencer is created and refined in the sequence view. The actions of the
steps and the transition conditions can also be programmed and checked in this view.
Selection of jump
targets in the step
selection
Drag-and-drop of
tags and constants
General
As in the sequence view, the actions in the step and the step-enabling conditions of the
subsequent transition can be programmed in the single step view. However, the interlock and
the supervision conditions of the step can also be programmed here additionally.
List of available
action qualifiers
Show/hide
Action qualifiers
descriptions
General
The actions belonging to the step can be programmed in both the single step view and the
sequence view. The user has access to a ready-made list of actions that he/she can use in
the step.
Events and SCL expressions will be covered in later chapters of this course.
Actions
Other
test settings
Test settings
On the "Test Settings" tab, various settings can be made for the sequencer to optimally adapt the
monitoring of a sequence to the circumstances.
• Track active step:
Displays the currently active step automatically in the single step or sequence view. For a
simultaneous branch, the first branch is always displayed.
• Skip steps:
A step whose preceding and subsequent transition are valid will not be activated but instead
skipped.
The default setting of this option is adopted from the corresponding block settings.
This option is not available when the "Create minimized DB" option is used for the GRAPH
function block.
Note
The following attributes can be selected as default settings for a new GRAPH block in the settings
of the TIA Portal.
However, these do not have to match the current test settings for the monitoring of the
GRAPH FB!
Furthermore, the following note is displayed when a test setting is activated:
Task card
Manual mode
"Testing"
Automatic
Semiautomatic
Manual mode
Learning mode
for step times
Sequence control
The "Sequence control" function is a test function that can be used to test the GRAPH sequencer
from the TIA Portal in all operating modes. All settings and inputs in the dialog box have an effect
like the corresponding FB parameters.
The "Mode" dialog box is used both as an output field that indicates the current settings and as
an input field that can be used to change the current states.
Inputs
Inputs in the "Mode" dialog box can be different than the settings you made for compiling the
function block. They are higher-ranking than these.
Enable
The selected step is enabled, irrespective of the preceding transition. Actions in the step are
executed (default setting).
Disable
The selected step is disabled and thus all actions with "N", "NC" and "Call" are disabled (default
setting). The other actions are no longer executed, whereby a "S Q4.0" of course remains active.
Active step
Transition
condition is true
Synchronized
step
Selected
step
Settings for
Transition
synchronization
condition is true
Synchronized Before enabling:
step Select step
Synchronization
GRAPH enables the locating of possible synchronization points between the process and
sequencer.
If a process is brought manually to another state, it is not longer synchronized. This can be
caused, for example by a switchover to manual mode in which any step can be activated.
So that the possibly changed process can run automatically again, the "Synchronization" function
enables the locating of potential resynchronization points. GRAPH marks all steps for which the
following condition is met:
• The condition of the transition preceding the step is true and the condition of the subsequent
transition is false.
• The interlock condition of the step is true.
The user is free to switch between these two conditions during runtime.
Requirement
The sequence is in "Manual mode".
Active step
Transition
condition is true
Synchronized
step
Selected
step
Settings for
Transition
synchronization
condition is true
Synchronized Before enabling:
step Select step
Task
Commission the programmed step sequence with the various test settings and sequence control
methods.
Procedure
1. Test all operating modes of your sequence first with the "Sequence control" function
described in this chapter.
2. Move your "assembly line" plant in manual mode to a variety of machine states and use
"Synchronization" to display the synchronization points in order to select and activate the
right step.
3. Set 'Manual mode' using the "Sequence control" function. Select the step "S5" Mill step and
enable it. Then establish a state on the assembly line that is not synchronized with step
"S5".
4. Start the "Synchronization" tool and synchronize the sequencer with the plant state of the
assembly line.
In most cases, multiple steps are displayed and it is up to the user to pick the right step.
Note
In order to have clear assignment possibilities for synchronization using the GRAPH system, the
programmer must take this into consideration when creating the step-enabling conditions.
Activate learning
mode
General
You can use the task card "Testing" to teach in the step activation times. The more frequently the
sequence of steps with an active process goes through, the more accurate are the learned times.
The user-specified percentage limits are added to the taught-in times and, in total, give the
maximum monitoring times for warning and supervision. The times are finally transferred to the
start values of the respective Graph Instance DB. The IDB must then be reloaded into the CPU.
Instead of fixed constants, you can now use the step-specific maximum time values from the
static parameters in your supervision logics.
Table of contents 6
6. Event-driven Actions.............................................................................................. 6-2
6.1. Block calls in actions ............................................................................................................. 6-3
6.2. Interlock-dependent actions .................................................................................................. 6-4
6.3. Actions triggered by an event ............................................................................................... 6-5
6.4. Example of event-driven actions ........................................................................................... 6-7
6.5. Event-driven actions in the step
............................................................................................ 6-8
6.6. Event-driven actions at the step change ............................................................................... 6-9
6.7. Events in permanent instructions, transitions, interlocks and supervisions ........................ 6-10
6.8. Static parameters of a step (online help) ............................................................................ 6-11
6.9. Query of binary sequence data (examples) ........................................................................ 6-12
6.10. Query of static signals in the permanent area .................................................................... 6-13
6.11. Transitions with interlock query........................................................................................... 6-14
6.12. Exercise 1: Adapt FB Production ........................................................................................ 6-15
6.13. Use of SCL expressions in GRAPH .................................................................................... 6-16
6.14. Running time of single steps ............................................................................................... 6-18
6.15. Mandatory acknowledgment of errors ................................................................................ 6-19
6.16. Acknowledgment in the supervision logic ........................................................................... 6-20
6.17. Query of transition states .................................................................................................... 6-21
6.18. Self-acknowledgment when transition condition is true ...................................................... 6-23
6.19. MOP – Mode of Operation .................................................................................................. 6-24
6.20. Exercise 2: Integrate automatic and manual modes........................................................... 6-26
en weight acquisition6.21.
.......................................................................
Exercise 3: Event 6-27
6.22. Exercise 3: Continuation ..................................................................................................... 6-29
6.24. If you want to know more .................................................................................................... 6-30
6.25. Exercise 4: Self-acknowledgment of supervision errors ..................................................... 6-31
6. Event-driven Actions
Drag-and-drop
GRAPH actions
Block calls
Other blocks as well as instructions can be called in a GRAPH block.
This is done simply by moving the desired instruction or block using drag-and-drop. The user then
also selects whether or not this call is to be logically combined with an event.
The CALL is then automatically created when the instruction elements are copied to the action
area of a step. In the example, the reading of the CPU time is represented by the expanded
instruction RD_SYS_T (corresponds to system function SFC1). The SCALE call corresponds to
the known conversion block (FC105) for analog values.
Conditions:
• An action marked with "C" (Condition) is only executed when the interlock
condition (interlock) of the step is true ("C" = 1).
• An interlock error is present when the condition is false ("C" = 0). The
conditional actions with "C" are then not executed. The step is marked
orange and the error message "Interlock Error" is generated.
A1 = An alarm is acknowledged
R1 = A registration occurs
(REG_S, REG_EF, max. interface)
L1 = Interlock condition is false, i.e. fault
occurs (signal state = "0")
L0 = Interlock condition is true, i.e. fault is
rectified (signal state = "1")
V1 = Supervision condition is true, i.e. fault
occurs (signal state = "1") Selection list
V0 = Supervision condition is no longer true,
i.e. fault is rectified (signal state="0")
S1 = Step is activated
"Event qualifier"
S0 = Step is deactivated
Overview
An event can be detected and logically combined with an action. This allows you not only to
monitor single steps but also to monitor and influence the entire sequential control.
An "Event qualifier" is a one-time signal that is generated by the GRAPH system on entry into or
exit from a step, on occurrence of the acknowledgment or the rectification of a fault (interlock or
supervision), thereby enabling the user to logically combine an action with this event.
The list of possible qualifiers in GRAPH (L1, L0, V1, V0, S1, S0, A1, R1) is presented in the slide
with a brief explanation.
ON / OFF
The ON and OFF operations can be used to activate or deactivate other single steps "S(i)" of a
sequence; "S_ALL" can be used to activate or deactivate all other steps.
Note
The ON and OFF operations have an effect only at the end of the action list. That is, it makes no
difference which order these appear in the action list. All other actions are executed on a time-
dependent basis beforehand. Even events such as "S1" do not affect this time sequence.
The ON operation triggers activation of the specified step while simultaneously triggering
deactivation of the step in which this was selectively executed.
The Off operation can also deactivate the step in which this was executed.
Step 2 "Filling"
Logically combined
events
Example
The single step view of step S2 ("Filling") in the figure above contains static and event-driven
actions.
Static actions:
• Control of a pump with interlock condition (NC).
• The SCALE scaling block reads a fill level (analog value) and scales this to a measuring range
of 500 liters (CALL).
• When the limit of 450 liters is exceeded, the interlock switches off the pump. The fill level is
available at an output parameter of the GRAPH FB.
Event-driven actions:
• Upon occurrence in step 2 (S1), step 1 of the same sequence complex is activated but only
when the interlock condition for step 2 is true (ON C).
• Upon occurrence of an interlock fault in step 2, the RD_SYS_T function (SFC1) is called once
(L1 CALL) in order to read out the date and time from the CPU and store them in a static tag.
The parameter assignment takes place in the operand part of the action.
• Upon occurrence of a supervision fault (time monitoring for T#3Min30Sec), the static tag
"Error_Supervision" is latched (V1 S).
Note
In the example, user-defined tags, e.g. #FillingLevel and #DateTime, are used as temporary
declarations in the step sequence block.
M0.1
M0.0
M0.2
Step 6 active
S1 S0
ve
CPU cycles
S5 / M0.3
S5 / M0.4
S6 / M0.0
S6 / M0.1
active
ctive
CPU cycles
Step name
"Structure elements
selection list"
Overview
Besides the logic operation with actions, events can also be used in permanent instructions,
transitions, interlocks and supervisions.
There are more selection options here compared to the logic operation with an action. All possible
event qualifiers are shown on the slide. These are used by first writing the step name followed by
the qualifier.
Step structure
Every step in the sequencer of GRAPH has internal static parameters that can be used for
controlling the sequencer and for signaling states. A detailed overview of all parameters can be
found in the online help of the TIA Portal.
Online help
Overview
The option exists in GRAPH to use certain information about steps as operands in transitions,
permanent conditions, supervisions and interlocks.
One-time signals
The "qualifiers" listed in the first section are used for one-time activation of functions. These one-
time signals correspond to a STEP 7 edge evaluation.
An event is the change of the signal state, for example, of a step, a step interlock, or a step
supervision, the acknowledgement of an alarm or an incoming registration.
Static signals
The static signals are used to query step states in sequencers. All evaluated information is stored
in the instance DB.
The first letter after the step name has the following meaning:
• L: Incoming or outgoing interLock
Vision • V: Incoming or outgoing super
• A: Acknowledge
• S: Step becomes active or inactive
• X: Step is active
The second letter means:
• 0: Deactivation or outgoing fault
• 1: Activation of incoming step
• A: Interlock fault or supervision error is Active
Static signals
Static signals can be used in all applications in which general logic operations (without interlock)
are needed, such as
• Lower-level setup mode (step-independent manual mode).
• Interlocks that are effective independent of steps.
• Flashing lights that are controlled by clock memory (see figure).
The corresponding logic is placed in a separate block or in the permanent part of the sequence
complex. In both cases, the option exists to integrate step activities, acknowledgments,
supervision signals, etc. in logic operations.
Permanent part
The advantages of integrating these types of logic operations in the permanent part of the
sequence are as follows:
• Simplified access to sequence data via qualifiers is possible.
• Only one block (the GRAPH block) has to be managed and maintained.
Example
In the example shown, the static signal "X" is used for the following:
• To activate the indicator light "P_BayLB" with flashing light while step "PickUp" (#PickUp.X)
is active.
• To activate the indicator light "P_BayLB" with steady light when step "PickUp" is active and
light barrier "B_LB" is occupied.
Advancing
If an interlock fault occurs in a step, when a step enabling condition is true, the next step is
activated nevertheless.
The above example shows a possibility of preventing this advancement when the conditions for
the initial position are not present.
Lock active
The GRAPH system generates a static signal LA (Lock Active) for the step with programmed
interlock logic, which is active until this logic is not true. This signal can be transferred to the next
transition as a negated query with designation Si.LA.
Note
If the option "Processing of all interlocks in manual mode" was selected in the "Block settings",
this signal is also available to the interlock conditions of other steps and can be queried there.
This also applies to program sections in the "permanent operations".
Task
The step sequence (linear sequence) programmed in the last exercise will now be improved by
adding a few things. Nothing to do with the sequence of actions is to be changed initially.
Some own static tags of your step sequence are to be replaced by internal static parameters.
Procedure
1. Delete your own tags from the block interface.
3. Start the improved program and test whether the previous functionality has been retained.
SCL expressions
in GRAPH
SCL expressions
Actions can be logically combined with simple arithmetic expressions. An action that contains an
arithmetic expression always requires the N operation.
Additionally, the action can be made dependent on an event and/or logically combined with an
interlock.
Assignments
Assignments with arithmetic operations can be subdivided into the following three groups:
• Direct assignments: They are entered according to the syntax "A := B".
• Assignments with integrated functions: They are entered according to the syntax "A:=func(B)".
The integrated functions can, in turn, be subdivided into three groups:
− Conversion functions such as: INT_TO_DINT, DINT_TO_REAL, ROUND, BCD_TO_NUM,
etc.
− Complex arithmetic functions such as SIN, COS, EXP, LN, ASIN, etc.
− Other functions such as NOT, SWAP, RLDA, RRDA, etc.
• Assignments
They are entered according with"A:=B<operator>C".
to the syntax operator:
-, *, Operators
/. are the basic arithmetic operations +,
Note
For functions and operators, the data type of the assigned Operand A always defines the data
type of the expression.
Boolean logic operations are currently not yet possible in GRAPH!
Running time
With GRAPH it is possible to store the running times of the single steps in any memory area.
For each step that is located in the sequencer of the GRAPH function block, a step structure is
created in the instance data block.
The structure element "StepX.T" contains the total step activation time. The element "StepX.U"
contains the uninterrupted step activation time. With the help of arithmetic functions, this running
time information can be stored in any memory area.
For this purpose, an action must be programmed for each step that copies the step activation
time from the instance data block to the corresponding memory area on an event-dependent
basis when the step is exited. For example:
S0 N "Memory area" := Step1.T
FB parameters
The option also exists to route the running times via the FB interface. The current running times
of the currently active step are made available using the output parameters "S_TIME" and
"S_TIMEOK" of the GRAPH function block.
In order to see these parameters when the Graph FB is called, this must be displayed with
maximum interface parameters!
Display
supervision errors
Mandatory
acknowledgment
of errors
Acknowledge
Active settings
ment button
Mandatory
acknowledgment
disabled
0-signal masks
supervision
Acknowledgment
by input
No mandatory acknowledgment
The following options for acknowledgment without explicit mandatory acknowledgment
("Mandatory acknowledgement at supervision errors" is disabled) via the step sequence block
are available:
• Acknowledgment in the supervision itself (see slide)
• Self-acknowledgment when transition condition is true (see next slide)
• Other options for bypassing an acknowledgment, which are not directly related to the setting
"Mandatory acknowledgement at supervision error" are:
• Step with fault is switched off and on again (S_OFF S_ON for the stopped step). This
restarts the monitoring time.
• Reinitialize step sequence (INIT_SQ), i.e. restart the step sequence in the initial step.
• Switch off step sequence (OFF_SQ). The whole sequence is switched off and loses its
memory, i.e. the sequence must be reinitialized or selectively set to a step.
Mandatory
acknowledgment
disabled
Subsequent
transition
Step S4 (#Transport2) is time-monitored for 6 seconds in which case the Supervision can
be self-acknowledged when the transition condition is true (TT=Transition True)
(Test setting: no mandatory acknowledgment).
Overview
The "Comparator" operation enables comparison of step running times and process values.
For programming of step monitoring times, ready-made elements (comparison boxes) are
provided (available in Favorites) that facilitate the input:
Example
If the step activation time of step S4 "Transport 2" (#"Transport 2".U) exceeds the limit of
6 seconds, a fault is generated. When the associated transition condition is true, the comparison
is interlocked by the negated query #Ini2.TT and the supervision condition is true again.
Thus, the sequence can be advanced via the acknowledgement or with self-acknowledgement.
Which method has to be used is dependent on the mandatory acknowledgement setting.
Step times
For each active step, the time values are continually updated, saved in the instance DB and
displayed above and to the left of the action block when the step sequence is monitored.
The S5-compatible timers present in the S7-1500 are not used.
The times last needed are stored for each step in the instance data block until the next time the
step is passed through. The times can be queried across steps.
Mandatory
acknowledgment
must be disabled
Subsequent
transition
"Transition true"
Note
If an automatic acknowledgment is desired, this must be integrated in the supervision
(as described above under "Self-acknowledgement when transition condition is true") for each
step or the supervision must not be used.
Mode of Operation
Last cycle
Automatic mode
Manual mode
Usage of #MOP.MAN
Operating modes
The static parameter area of the sequence block has a structure named MOP (Mode of
Operation) that contains a large amount of information about states, requests, etc. from the
sequence.
The slide shows the integration of the feedback MAN #MOP.MAN in the interlock of step 2
(Transport3). As shown in the figure, Manual mode can be selected using the sequence control in
online test mode.
Alternatively, the operating modes can also be controlled externally using the FB parameters.
This requires a corresponding interconnection of the sequence block in OB1.
Example
The example below shows the control of operating modes by the passing of FB parameters when
the GRAPH FB is called in OB1:
The figure on the left shows the selection and feedback of automatic mode. The figure on the
right shows the selection and feedback of manual mode.
Task
The step sequence (linear sequence) programmed in the last exercise will now be expanded to
include a mode switch.
The GRAPH FB is to be switched to automatic mode or manual mode using an external
interconnection "Switch mode" (%I0.1 – S_Mode):
• The sequence is to function as usual in automatic mode.
• In manual mode, the conveyor belt can be moved using the "Jog right" (%I0.2 – JogRight) and
"Jog left" (%I0.3 - S_JogLeft) pushbuttons. This is also used to remedy a possible blocking of
the conveyor or to move a part to a desired position.
Both operating modes are signaled back using the respective LEDs "Manual mode" (%Q0.2 –
P_Manual) and "Automatic mode" (%Q0.3 – P_Auto).
All newly created tags are to be created in the "Simulator" PLC tags.
Procedure
1. Change your program at the appropriate places so that the above-described function for
forward (right) and reverse (left) running of the conveyor in manual mode is achieved. Use the
inputs "%I0.1", "%I0.2" and "%I0.3" from your operator panel for this.
Automatic mode of the conveyor for transporting the blank towards the left is to continue
functioning as usual.
2. Use the internal tags available to you in the static parameter area "MOP" for the recognition of
the current operating mode.
If you need auxiliary tags, create these as needed in either the static or temporary area of the
interface.
3. Interconnect the feedback of the operating modes of the step sequence to the outputs
"%Q0.2" and "%Q0.3" of the operator panel.
4. Test whether the step sequence runs as usual in automatic mode and then test the manual
operation with the jog function in each step.
Task
• Before the machining of the blank begins, it must be determining whether the weight of the
blank is within the tolerance range of the production process. The blank is therefore weighed
in the "Pick-up" step. The weight can be between 0 and 500 kg.
• If the weight of the workpiece is outside the specified tolerance limits, 100 to 400 kg, the
production operation is not started. In order for this to be signaled to the user, the LED
"P_BayLB" (%Q3.4) turns off in this case.
• If the weight of the blank is within the prescribed tolerance of 100 to 400 kg, the step
sequence can be started as usual.
• The weight value is simulated by an analog module integrated in the training device (%IW4 –
Analog value). By setting the potentiometer between 0…10 V, a weight value between 0 and
500 kg is simulated.
• (Alternative – instead of analogue value calculation) Use a MDxxx to control the real value for
the current weight directly from a watch table or from an I/O field at the HMI.
2. Do not call the functions as an event-driven function. That is, the workpiece will be re-
measured in each cycle in the "Pick-up" step.
3. The input parameters and the output parameter are to appear as user-defined parameters in
the GRAPH FB and be initialized and removed there. Also create the input tag %IW4 – Analog
value in the "Simulator" tag table.
Call of Norming
and Scaling
Matching weight?
Procedure
4. Program the necessary interlocks in the permanent post-instructions and in the transition after
the "Pick-up" step. If necessary, create temporary or static tags in the block interface.
5. After the program expansion, the sequence must be recompiled. Also check the FB call in
OB1 for time stamp conflicts and update these.
6. Set the initialization of the high and low standard limits to 0.0 and 500.0 by using constants.
Initialize the weight with the analog value from the potentiometer (%IW20 - Analog value).
7 The standard weight will be removed in the next exercise. Do not interconnect this.
Note
The following pages provide additional information or serve as a reference that can be consulted
for more complete information on a subject.
Mandatory
acknowledgment
must be disabled Subsequent
transition
"Transition true"
Task
Supplement your program to include a self-acknowledgment of supervision errors.
Procedure
1. Make the necessary program changes in the appropriate steps.
2. Adapt your test settings for the self-acknowledgment.
3. Download your changes to the PLC and test them!
Table of contents 7
7. Branches and Jumps ............................................................................................. 7-2
7.1. Overview ............................................................................................................................... 7-3
7.2. Alternative branches and priority .......................................................................................... 7-4
7.3. Simultaneous branches ........................................................................................................ 7-5
7.4. Application of a simultaneous branch ................................................................................... 7-6
7.5. Exercise 1: Use of alternative branch
.... for
7-7reverse transport following invalid final weight
7.6. Exercise 2: Addition of simultaneous branch ........................................................................ 7-8
7.7. Exercise 3: Addition of 2nd sequence .................................................................................. 7-9
7.8. If you want to know more .................................................................................................... 7-10
7.9. Exercise 4: Count bad parts................................................................................................ 7-11
7.1. Overview
Sequence 1 Sequence 2
Alternative branch, Open
Initial step S1 S7
Simultaneous branch, Open
Transition T1 T4 T6
T9
S2 S5 S6 S8
T2 T5 T7
Close branch
Open alternative
branch
Alternative branches
This element is used for alternating branching of the step sequence based on various conditions.
An alternative branch always starts between a step and a transition. As shown on the slide,
multiple alternative branches can branch from the same place.
An alternative branch can contain any number of steps and transitions. It can then lead back to
the original branch or to another branch. It can also conclude with a jump or a sequence end.
The left branch is also called the main branch and has the highest priority.
A possible application is, for example, in manufacturing processes in which the further behavior of
the plant (of the program) depends on the production quality of a produced part. A decision must
be made between:
• Workpiece OK continue with complete machining (left branch) or
• Workpiece not OK do not machine, move to scrap line (right branch)
Only one alternative branch is activated at a time in the step sequence.
Limit case
If conditions of multiple opening transitions are true simultaneously, the branch located on the far
left (main branch) always has highest priority. The remaining branches are prioritized in
. decreasing order from left to right
Close branch
Open simultaneous
branch
Simultaneous branches
The arrangement of a simultaneous branch enables synchronous processing of multiple steps in
parallel. A simultaneous branch always starts between a transition and a step. When the
transition condition is true, all subsequent parallel steps are activated.
Starting from this time, the individual branches run fully independently. The set operating mode
(automatic, semiautomatic or manual mode) affects all branches alike. A simultaneous branch
must end with the closing into another branch. A sequence end or a jump cannot conclude a
simultaneous branch.
The subsequent transition does not become valid until all branches have activated their last steps
before converging. In so doing, the last steps of the faster branches in each case stay active until
the last branch has reached its step before the closing branch.
Only when all steps before the convergence of the simultaneous branches are active will the
subsequent transition (after the closing branch) become valid and, when its condition is true, be
able to - according to graphical flow - advance the sequence in the left branch.
Note
A simultaneous branch corresponds to a synchronized AND branch. The start and end times of
(no additional S7 cycle).
the branch are synchronized by the system
As a result, all simultaneous branches are started simultaneously and upon closing all branches
must again be closed simultaneously at the subsequent left branch!
If necessary, a "Wait step" can be used in branches to enable error-free resynchronization.
Simultaneous branch
T10
C
S1 S5
C
S7
InitialPosition
Stamp_up SlideFeed_pos3
T1 T5 T2
Start Stamp_onTop Part_inPos2
S6 S8
S2 emptyStep1 emptyStep2
SlideFeed_pos2
T2 T6
Part_inPos2
T_empty
S3 S9
Stamp_down PartRemove
T3 T9
removed
Stamp_onBottom
C
S10
S4 SlideFeed_left
StampingTime
T2
T4 Pos1_on...
Pos3_free
S1
Implementation
The above figure shows a simplified overview representation of a "Stamping machine" program.
After actuation of a start signal (requires press to be in initial position), the slide feed is moved to
position 2 in step S2 and delivers a part to the location below the press.
This activates step 3 and the press moves to the bottom stamp position. In step S4, the actual
stamping operation takes place, a visual or acoustic warning could be output here as an action.
After the stamping time expires and when the removal position is unoccupied, the slide feed can
transport the pressed part to position S3 and, simultaneously, the stamp can be moved to the top
again.
After the stamping operation, it is clear that the two subsequent processes "Stamp up" and "Slide
feed forward" can run in parallel with regard to cycle time optimization.
In the application, once the bottom stamp position is exited, the slide feed moves forward (after a
slight delay) So that each movement can be monitored separately, separate transitions are
necessary.
But since only one shared transition is valid after the branches converge, a so-called wait step
(empty step) must be inserted at the end o
f each branch.
The wait step is used to disable the preceding steps and to prepare the branches for a
synchronized closing without a fault message.
Reject faulty
workpieces
Alternative branch
Task
The production process is to be changed as follows:
1. Because the weight of the blank can be reduced during machining as a result of drilling and
milling, a second weight measurement will be implemented in the "Removal" step. This will
be executed once when the step is activated.
2. If the weight measurement yields a weight value outside the prescribed tolerance limits
(100 to 400 kg), the blank is to be transported in the reverse direction (to the right) through
the light barrier.
3. If the weight measurement yields a weight value within the tolerance limits, the step
sequence is to proceed as usual and the user can remove the blank. After confirmation
using the pushbutton at bay 1, a new production operation starts.
After the operation to sort out bad parts is complete, the sequence is to be brought back to the
initial position.
Procedure
1. Insert an alternative branch at the appropriate place in your step sequence and make the
necessary additions of steps and transitions.
2. Add the necessary parameters to the block interface of the GRAPH FB.
3. Organize the jump back to the initial position when the operation to sort out bad parts is
finished.
4. The blank is to pass through the light barrier during the reverse transport. For this, program
an edge evaluation at the appropriate place in the GRAPH FB.
5. The weight measurement in the "Removal" step takes 3 seconds. Incorporate the
corresponding condition and the subsequent transitions.
Start the program again after the update in OB1 and test it.
Simultaneous branch
online
Call RunningLight_FC
General
Because the conveyor model has only one linear motor with one axis, a practical example of a
simultaneous branch on the conveyor model is not possible.
For this reason, a running light on the output module of the PLC will be started in parallel with the
processing of the step sequence in this example.
Task
After the start of the production process and once the "PickUp" step is exited, a running light is to
indicate the active machining operation in parallel with the machining of the blank. This running
light is output on the output module DQ 32x24VDC/0.5A ST_1 on the second byte (%QB1). The
running light always starts with the first bit and is extinguished when the production process is
finished, i.e. the "Removal" step is exited.
The running light is to be toggled at 10 Hz.
Procedure
1. Expand the sequence to include a simultaneous branch with the "Running light" step.
2. Open and close the simultaneous branch as shown on the slide.
3. Drag the
library into"FC_RunningLight" block
the action field. The directly from the
FC is
also automatically added to your "Program blocks" folder. Afterwards, interconnect the
"RunningLight" byte (%QB1), which you created previously in the "Simulator" PLC tag table,
with the InOut parameter of the FC.
4. Create an edge for the running light that is called at 10 Hz.
5. Pass this edge to the block using the input parameter provided for that purpose.
6. Note that the running light always starts with bit 0 and the active bit is reset after the step is
exited.
7. Compile, download and test your program changes.
Add new
sequence
2nd sequence
Program transport of
scrap in 2nd
sequence
New sequence
You can create any number of sequences in one step sequence block (FB with "GRAPH"
programming language).
These are inserted graphically in the same window using the "Insert sequence" command. The
new sequence appears in the navigation area, depending on the insertion location. A step
sequence block with an infinite number of sequences and its associated instance data block
represents a sequence complex. All sequences assembled in a function block have a common
operating mode and common functions that are blindingly active for all integrated sequences.
Task
At the end of the sequence section for an invalid weight measurement in the "Removal" step, a
jump to a second sequence is to occur. The second sequence transports the workpiece towards
the left in the direction of Initiator1 for an approximate duration of 7 s. However, this requires the
user to examine the blank once again and to confirm the evacuation to Initiator1 with the
pushbutton at bay LB (%I3.4 – S_BayLB). This is indicated by the flashing of the LED "P_BayLB"
(%Q3.4) at 2 Hz.
After the transport operation is finished, there is typically a jump back to the starting position step
"PickUp".
Procedure
1. Insert a second step sequence with one step in your sequence block.
2. Define the necessary actions in this step and create the required transitions. Also make the
changes in the permanent post-instructions.
3. When sequence 1 is exited in the case of an invalid weight, jump to this new sequence and
start the transport operation. Change the sub-sequence of sequence 1 in such a way that it
corresponds to the new task (note: empty steps are allowed!).
4. After the transport operation finishes (StepX.T >= T#7s), the jump back to the initial position
in the main sequence 1 occurs.
5. Download and test your changes.
Note
The following pages provide additional information or serve as a reference that can be consulted
for more complete information on a subject.
Task
The "bad parts" that are separated out (scrap) are to be counted as part of quality control.
You can use a counting operation or an arithmetic operation (addition of a static tag) – with the
following advantages:
• A standard counter is not tied up by the sequence.
• More than just 999 scrap parts can be counted.
• The count is always retentive.
The counter value should be returned as a new OUT parameter at the Graph FB. Use a separate
IN parameter to initialize the counter. Control the initialization via a new button on the HMI screen
or use a watch table.
Procedure
1. If you want to use an arithmetic operation instead of the standard counter, insert another
static tag or another output parameter (e.g. "Scrap") in the parameter list.
If you want to use a standard counter, insert another input parameter of type COUNTER
(e.g. "Scrap counter") in the parameter list so that you can assign its number "externally".
the multi-instance function.
If an IEC timer is used, use
2. Create another step for counting the bad parts and program the required counting function in
this step.
3. Program the initialization of the count value. The initialization must be done differently
depending on the counting method.
4. Compile your block again and transfer it with instance DB to the controller. If necessary,
check the FB call in OB1. Test whether your changes correspond to the task.
Table of contents 8
8. Operating Mode Management ............................................................................... 8-2
8.1. Different operating modes ..................................................................................................... 8-3
8.2. Manual and automatic mode directly in the step .................................................................. 8-5
8.3. Manual and automatic mode with permanent instructions ................................................... 8-6
8.4. External logic operation in separate block ............................................................................ 8-7
8.5. Exercise 1: Operating mode control 8-8
.....................................................................................
8.6. If you want to know more ...................................................................................................... 8-9
8.7. Exercise 2: Free step selection and activation ................................................................... 8-10
8.8. Example of a possible solution ........................................................................................... 8-11
8.9. Handling of mode enables .................................................................................................. 8-12
General information
The step-enabling behavior of a step sequence is determined by the preselected operating mode.
Depending on the parameter assignment, four different operating modes are available:
• SW_AUTO / Automatic mode: When transition condition is true, advancement to the next
step occurs.
• SW_TAP / Manual mode – Advancement with transition / transition and advancement:
In addition to the transition condition being true, a positive edge at FB input "T_PUSH" must
be present to advance to the next step.
(TAP Transition and Push)
• SW_TOP / Semiautomatic mode / Transition or advancement:
Advancement to the next step occurs when the condition of the subsequent transition is true
or a positive edge is present at FB input "T_PUSH".
(TOP Transition or Push)
• SW_MAN / Manual mode: The steps are manually selected and activated or deactivated.
When transition condition is true, advancement to the next step does not occur.
Automatic mode
Automatic mode is the default operating mode for GRAPH blocks. This is also the "normal"
operating mode after commissioning the block.
To set this operating mode for the GRAPH FB, a positive edge at input "SW_AUTO" is needed.
Semiautomatic mode
In this operating mode, advancement to the next step can occur in two ways:
TIA-GRAPH – Operating modes - Management
Course folder V16.00.00 8-3
SIMATIC S7, Programming with GRAPH based on TIA Portal
• The condition of the subsequent transition is true and the step sequence automatically
activates the next step.
• The user presses the "Ignore Transition" button in the sequence control or the GRAPH block
detects a positive edge at input "T_Push". This operating mode allows the user to easily and
quickly jump through the sequence.
If a change to this operating mode is to be made using the GRAPH FB, a positive edge must be
present at input "SW_TOP".
Manual mode
Here, a purely logic operation-oriented control of the plant functions is required since this
operating mode is mainly used for setting up the plant and for troubleshooting.
All controls as well as all interlocks/enables must be continuously executed and monitored.
In the individual case, diagnosis and operator input, e.g. on HMI devices, can also occur here.
Manual mode is selected for the GRAPH block using input "SW_MAN".
Shutdown of
sequence
monitoring
Manual mode
Automatic mode
Counting of
supervision errors
General information
The figure shows a simple application for the "#ConveyorRight" step. The conditions for control of
the "ConveyorRight" motion are programmed in the interlock logic:
• Automatic mode: "ConveyorRight" until transition "#Part in LB" is true or the supervision
becomes active.
• Manual mode: "ConveyorRight" as long as the pushbutton is pressed.
The sequence monitoring is deactivated for manual mode in the logic for the supervision
(shutdown of sequence monitoring).
So that the function also works in manual mode, an external step selection must additionally be
programmed.
For use of the various operating modes in the GRAPH FB, the internal static parameters of the
MOP (mode of operation) section should always be used!
Note
The selection in Manual proves to be more laborious than might appear at first glance. Here, the
appropriate step must also be selected and activated for each motion/action.
In many cases, the requires creation of a dedicated function block that, for example, correctly
selects the step sequence externally based on its FB parameters via a step assignment list.
Request conveyor
movement
Permanent post-
instructions
Manual mode
Automatic mode
The sequencer provides the motion requests in automatic mode and single step mode
(semiautomatic). Request flags must be programmed in the action blocks and, if necessary,
step flags (S(i).X) must be used.
These request flags are then further logically combined in the permanent pre- and post-
instructions for the motion control.
In the sequencer, only the interlocks in automatic and semiautomatic mode are programmed in
the step. The same applies to supervisions and transitions.
Permanent instructions
As shown in the example, the entire control level for the motion is contained in the permanent
instructions. This includes, at a minimum, an automatic branch and a manual branch with
deactivation of motion when the target is reached (e.g. end position LB1).
Advantages
• Integrated in the sequence FB graphically and with documentation.
• Only slightly more memory space and cycle time needed.
• No automatic enable signals necessary in the steps.
Disadvantage
Logic operations in the permanent instructions are not able to undergo diagnostic checks on HMI
devices. Detailed diagnostics are thus omitted in manual mode.
This procedure is therefore recommended only for plants with low diagnostic requirements
(malfunction lamps + step displays).
Motion release
Automatic mode
The sequencer provides the motion requests in automatic mode and single step mode
(semiautomatic). Request flags must be programmed in the action blocks for this.
Manual mode
When manual mode is shifted to an external block (FC or FB), the full function scope of STEP 7
is available.
Example
As shown in the figure, there is a classic threefold division for the control of the conveyor motor in
automatic mode from step S3:
• Motion request (from the step using bit memory assignment or static FB tag)
• Motion enable using enable signals from the sequence complex (e.g. T003.TT)
• Motion control for the final controlling element "Conveyor_forward" (Q8.5) with inclusion of the
signals for the motion request and enable.
Task
Besides the sequence control in online mode, the step sequence is now also to be switched to
"Manual mode – Advancement with transition" and "Semiautomatic mode" via the block interface.
Procedure
1. Add the necessary tags to the "DB_HmiPlc".
2. Connect the tags to the input parameters of the GRAPH FB.
3. Expand the HMI panel for the newly created tags/functions.
4. Compile, download and test the new functions.
Note
The following pages provide additional information or serve as a reference that can be consulted
for more complete information on a subject.
Task
Implement a complete operating mode management via the block interfaces. That is, it should be
possible to activate and deactivate steps in manual mode. A free selection of the steps to be
activated or deactivated is also to be possible.
Procedure
1. Add the necessary tags to the "DB_HmiPlc".
2. Connect the tags to the input parameters of the GRAPH FB.
3. Expand the HMI panel for the newly created tags/functions.
4. Compile, download and test the new functions.
Coupling block
The FB 100 is the coupling block for digital and analog inputs. It is needed for complex
automation tasks to separate the input addresses from the functionality of the program
(e.g. step sequence).
When the program is ported, changes only have to be made in the coupling blocks. This
simplifies porting and makes the ported program less prone to errors.
Management
The evaluation of whether or not the step sequence may be triggered occurs in FB 40.
Dependent on the result of logic operation, the step sequence block FB 80 is called with the
respective instance DB via an interface.
Step sequence
The step sequence is created with GRAPH in the familiar way.
Representation
intentionally with
S7-GRAPH V5.6 (classic)
Mode enables
Production facilities often need media such as hydraulics and pneumatics that the proper
functioning of all other units relies on. For this reason it makes sense to have hydraulics and
pneumatics switched on from a central place after the plant is switched on and to also generate
ready signals for the other blocks. The figure shows an example of how ready signals can be
generated in S7-GRAPH.
• After the controller is switched on, the initial step S1 is activated using the "INIT_SQ"
parameter and the "Unit_ready" and "Process enabled" signals are reset.
• After a specified minimum wait time, the hydraulic and pneumatic units are switched on with
step S2 dependent on the "Control_power_OK" signal with the action "Controller_On".
• After the feedback that hydraulics and pneumatics are OK, the "Process_enabled" alarm is
output (to the central controller, etc.) with step S3.
• With the "Central_Start" signal in step S4, the unit is put into operating state and the
automatic process is enabled.
• With "Emergency_Off" or loss of the "Door_closed" signal, the process enable is canceled by
step S2tooccurs.
a change step S5. If this is acknowledged, a jump to
• If an OK signal of the media is lost when the process enable is present in S4, the enable
signal is also withdrawn in step S2. As soon as the OK signals of the media are present
again, the unit can be put back into the process enabled state with "Central_Start".
• The signals "Controller_On", "Unit_ready" and "Process_enabled" are communicated to the
other blocks and the central controller.
• The "Process_enabled" signal enables automatic mode, while the "Unit_ready" signal is used
to enable the operating mode enable.
Table of contents 9
9. Troubleshooting and Diagnostics ........................................................................ 9-2
9.1. Error categories..................................................................................................................... 9-3
9.2. STEP 7 – Test functions, overview ....................................................................................... 9-4
9.3. Comparing blocks ................................................................................................................. 9-5
9.3.1. Comparing blocks: Details view ............................................................................................ 9-6
9.4. Process Diagnostics in WinCC
............................................................................................. 9-7
9.4.1. Exercise 1: Create HMI screen with PLC Code view and Graph overview .......................... 9-8
TIA-GRAPH – Troubleshooting
Course folder V16.00.00 9-1
SIMATIC S7, Programming with GRAPH based on TIA Portal
TIA-GRAPH – Troubleshooting
9-2 Course folder V16.00.00
SIMATIC S7, Programming with GRAPH based on TIA Portal
Functional Errors
• Desired function is either not executed at all
or is not correctly executed
• Process fault (sensor/actuator,
cable defective )
• Logical programming error
(not detected during creation and
commissioning)
Monitoring functions
Diagnostics is important in the operating phase of a plant or machine. Diagnostics is generally
triggered when a fault causes stoppage or malfunction of the plant or machine. Due to the costs
associated with downtimes and malfunctions, effort is made to quickly locate and eliminate the
cause of the problem.
Error categories
Errors that occur can be divided into two categories, depending on whether or not they are
detected by the PLC:
• Errors that are detected by the operating system of the PLC and that normally cause the CPU
to go to Stop state.
• Functional errors, i.e. the CPU still processes the programs, but the desired function is not
executed at all or is executed incorrectly. Locating such errors generally proves to be much
more difficult, because the cause of the malfunction is not known initially.
Possible causes might be:
• A logical programming error (software error) that was not discovered during creation and
commissioning of the user program and possibly occurs only under very rare plant conditions.
• Process errors that were triggered by a malfunction of the components involved in the
process control, such as cables to sensors/actuators, or by a defect in the sensors/actuators
themselves.
TIA-GRAPH – Troubleshooting
Course folder V16.00.00 9-3
SIMATIC S7, Programming with GRAPH based on TIA Portal
Test functions
Various STEP 7 test functions lend themselves to troubleshooting, depending on the nature of the
cause of the error:
• ... when CPU in STOP
For errors that are detected by the system, the test functions diagnostics buffer, USTACK,
BSTACK, LSTACK, and hardware diagnostics provide detailed information about the cause of the
error and the interruption point. Through the programming of error OBs (see chapter
"Organization blocks"), information about the error can be evaluated via the program and the
transition of the CPU to STOP state can be prevented. Because a CPU in STOP state does not
read in or output process images and no longer executes the program, use of the test functions
Monitor/modify tags and Monitor block are of little use.
• ... when CPU in Run
Conversely, it is generally of little use to use test functions such as USTACK, BSTACK or
LSTACK for troubleshooting when the CPU is in RUN state, because the program execution has
not been interrupted and the system provides no information on the error that occurred. The
Module information test function can provide only general information about the operating state of
the CPU or about errors that occurred in the past. Functional errors can be diagnosed as follows:
− Process errors (e.g. wiring error)
Wiring test of inputs: Monitor tags
Wiring test of outputs: Enable peripheral outputs (only in CPU STOP)
− Logical programming errors (e.g. duplicate assignment)
In the search for logical program errors, all listed test functions are used except for Enable
peripheral outputs.
− Forcing: Forcing of operands independent of the program logic
− Breakpoints: Program execution in single steps
TIA-GRAPH – Troubleshooting
9-4 Course folder V16.00.00
SIMATIC S7, Programming with GRAPH based on TIA Portal
Comparison types
Two different comparison types are generally available:
Online/offline comparison:
• The objects in the project are compared with the objects of the corresponding device.
An online connection to the device is necessary for this comparison.
Offline/offline comparison:
• The objects of two devices either within a project or from different projects are compared
using the function.
Symbol Meaning
Folder contains objects whose online and offline versions differ
TIA-GRAPH – Troubleshooting
Course folder V16.00.00 9-5
SIMATIC S7, Programming with GRAPH based on TIA Portal
Sequence view
Detailed comparison
GRAPH blocks can also be checked with a detailed offline/online or offline/offline comparison.
The detailed comparison allows you to identify the exact places where the two sequences differ.
All views that are possible in the offline configuration are also possible in the detailed comparison.
• Permanent pre-instructions
• Sequence view
• Single step view
• Permanent post-instructions
As in the case of a block comparison, the following symbols provide an overview of the status of
the respective element:
Symbol Meaning
Online and offline versions of the object are identical
TIA-GRAPH – Troubleshooting
9-6 Course folder V16.00.00
SIMATIC S7, Programming with GRAPH based on TIA Portal
Graph
Overview
The PLC code view shows the complete sequencer in online status. The presentation is similar to
the usual appearance of the Graph Editor in Step7. In addition to displaying Graph FBs, LAD /
FBD blocks are also supported.
TIA-GRAPH – Troubleshooting
Course folder V16.00.00 9-7
SIMATIC S7, Programming with GRAPH based on TIA Portal
9.4.1. Exercise 1: Create HMI screen with PLC Code view and Graph overview
Add Controls
Edit properties
of the Graph Add any variable
overview of the desired
Graph instance
DB
Task
Create a new blank screen in your existing TP 700 Comfort and insert a new graph overview and
a PLC code view there. Make sure that your new diagnostic image can be accessed from the
startup screen or the Alarms screen
Make the necessary settings and transfer the configuration to the HMI device. Test the
functionality by provoking various interferences (interlock, supervision) on the conveyor model.
Note
1. The PLC code display is only actively supplied with data after the operator has pressed the
corresponding "PLC code display" button in the Graph overview.
2. In the properties of the Graph overview under "General" a process variable must be
connected. In this case, any variable from the corresponding graph instance DB can be
assigned. The tag must be visible and accessible from the HMI. If necessary, check the
settings in the interface of the FB.
TIA-GRAPH – Troubleshooting
9-8 Course folder V16.00.00
SIMATIC S7, Programming with GRAPH based on TIA Portal
Table of contents 10
10. Structure of the Instance Data Block .................................................................. 10-2
10.1. Basic structure of the instance data block .......................................................................... 10-2
10.2. Step structure setup ............................................................................................................ 10-3
10.3. Transition structure setup ................................................................................................... 10-6
......................................................................................................
10.4. Other static parameters 10-7
Access
The instance DB can be accessed internally, i.e. within the S7-GRAPH function block, through a
logic operation with an "Action" event, for example.
External accesses, access from outside the S7-GRAPH function block, can be realized in the
form of a logic operation in another block (OB, FC, FB).
Note
Editing of the instance data block should be avoided. On the other hand, read access to data with
STEP 7 tools is permitted.
Table of contents 11
11. General Observations about Step Sequences ................................................... 11-2
11.1. Two types of sequential controls......................................................................................... 11-3
11.2. Process-dependent sequential control ............................................................................... 11-4
11.3. Motion sequences and signal states ................................................................................... 11-5
11.4. Description of control task ................................................................................................... 11-6
11.5. Written in chronological order
............................................................................................. 11-7
11.6. Tabular form ........................................................................................................................ 11-8
11.7. Motion diagram ................................................................................................................... 11-9
11.8. Function chart according to IEC 61131-3 ......................................................................... 11-10
Sequential control
Time-dependent Process-oriented
Time-dependent
The step-enabling conditions depend on time, e.g. on wait or monitoring times.
Process-oriented
The step-enabling conditions depend only on signals of the controlled process, e.g. on feedback
signals.
A combination of time-dependent and process-dependent elements are often found in practice.
Limit switch
START valve
Cutting device
When the start valve is actuated, the cylinder of the cutting device extends. After the
front end position is reached, the limit switch is actuated and the cylinder automatically
retracts again.
General
A distinction is made between logic controllers and sequential controls in control engineering.
Logic controllers
Logic controllers describe the static relationships between input and output signals of a controller.
Sequential control
Control tasks in which the time relationships between inputs and outputs are important are
implemented with sequential controls. Another definition for sequential controls is:
"A control with forced stepwise sequence that advances from one step to the next step as
programmed, depending on conditions."
Distinguishing features for sequential control are steps and step-enabling conditions: A control
task is subdivided into individual steps whose succession is defined by step-enabling conditions.
Control commands and step-enabling conditions are assigned to each step.
The step-enabling conditions enable the advancement from one step to the next; the commands
of a step consist of control instructions for internal and external units (e.g. set bit memory, start
time, switch final controlling element).
Representation options
The interaction of operation and control elements can be clearly displayed through suitable
representation options. The relationships can still be quickly and reliably identified even for
demanding tasks.
In addition, a simple representation of motion sequences and switching states enables
comprehension by a wide range of experts on a large scale.
Tabular form
The stepwise sequence is entered in a table.
Abbreviated form
The sequence of motions can be quickly and easily represented by a simplified representation.
Motion diagram
With the help of displacement-step or displacement-time diagrams, the motion sequence is
graphically represented. A better overview of the relationships is also provided.
Function chart
A process-oriented representation of the control task. The function chart replaces or supplements
the verbal description and represents a control task with its essential properties and the
respective applications in a clear way.
S7-GRAPH is a programming language that corresponds basically to a function chart.
The various representation options will be explained using a program example.
Cylinder C Cylinder D
Clamping Shearing
Cylinder A
Collet
Cylinder B
Feed
Task
A control for a shearing device is to be designed. Bar material is to be sheared off through the
interaction of a feed unit and a shearing device.
• The feed cylinder (cylinder B) performs the feed, The forward and backward stroke of the feed
cylinder also moves the pneumatic collet (cylinder A).
• When the material contacts the fixed stop, it is held in place by the clamping device
(cylinder C).
• The shearing operation can now begin (cylinder D) and the opening of the collet (cylinder A)
occurs simultaneously.
• When the collet (cylinder A) is open, the return to initial position (cylinder B) occurs.
• When the shearing operation is finished (cylinder D) and the feed unit has reached the initial
position, the clamping device (cylinder C) is opened and a new sequence of operations can
begin.
• The start is initiated by actuating the Start key when all cylinders are in the back end position.
Tabular form
Representation of the relevant motions in a matrix (tabular form).
Structural
element
State
Step line
State line
AND
logic operation
of two signals
Function line
Signal line
Limit switch
Displacement-step diagram
The sequence of operations of an operation element is represented here and, namely, the
distance traveled is applied as a function of the respective steps (step: change of state of any
structural unit).
If multiple operation elements are present for a control, these are represented in the same way
and drawn one below the other. The relationship is established by the steps.
In the displacement-step diagram, the spacing of the step lines is always the same.
In addition, the signal lines can be included in the displacement-step diagram. The displacement-
step diagram looks like this for our program example.
Displacement-time diagram
The displacement-time diagram is essentially a displacement-step diagram in which the time
lapse of the motions is also shown. Through a time bar at the lower end of the diagram, the
duration of a motion can be read off. The spacing of the step lines varies depending on the time
required. The number of steps and the type of motions remain unchanged.
Initial step
S0 Start button
Retracted
Retracted
Retracted
Retracted
S1 a0 Limit switch Cyl.A retracted
Extend cylinder A
Note
Because the shearing device involves two separate workstations (feed station and shearing
device), the function chart must be created with a simultaneous branch.
S0 Start button
S1 a0 Limit switch Cyl.A retracted
S2 a1 Limit switch Cyl.A extended
S3 b0 Limit switch Cyl.B retracted
B extended S4 b1 Limit switch Cyl.
S5 c0 Limit switch Cyl.C retracted
S6 c1 Limit switch Cyl.C extended
S7 d0 Limit switch Cyl.D retracted
S8 d1 Limit switch Cyl.D extended
Contents 12
12. Training and Support ........................................................................................... 12-2
12.1. Any Questions on our Training Courses Offered?? ............................................................ 12-3
12.2. www.siemens.com/sitrain ................................................................................................... 12-4
12.3. Learning path: SIMATIC S7 Programming in the TIA Portal .............................................. 12-6
12.4. Download the training documents....................................................................................... 12-7
12.5. innovations
– the most important The Industry Online Support
.......................................... 12-8
12.6. The Principle of Navigation ................................................................................................. 12-9
12.7. Complete product information ........................................................................................... 12-10
12.8. mySupport – Overview ...................................................................................................... 12-11
12.9. Support Request ............................................................................................................... 12-12
12.10. Support Request ............................................................................................................... 12-13
12.11. Industry Online Support – wherever you go ..................................................................... 12-14
12.11.1. Scanning product / EAN code ........................................................................................... 12-15
12.11.2. Scan functionality .............................................................................................................. 12-16
12.12. Forum - the communication platform for Siemens Industry products ............................... 12-17
12.12.1. Conferences and Forum management ............................................................................. 12-17
12.12.2. Interactions in the Forum .................................................................................................. 12-19
12.13. Task and Checkpoint ........................................................................................................ 12-21
General Information
We‘ll be glad to help you regarding any questions on our training courses offered.
12.2. www.siemens.com/sitrain
The complete range of courses offered can be accessed via the following links:
www.siemens.de/sitrain or
www.siemens.com/sitrain
Course Search
The course search permits the user to find the required courses by applying different search
1 filters such as keyword, target group, etc. The filters can also be combined.
Course Catalog
The course catalog permits you to find the required course via learning paths or via the Siemens
Mall structure.
Documents
Name Size
> SIMATIC S7 Sequence Control with … 18,47 MB
Hint:
Please note that the training documents may be used for personal purposes exclusively. You
agree that you will not copy the training documents or make them accessible to third parties and
that you will be liable for any damage resulting thereof.
1
3
4
2
The most important functions are always in the same place on all the pages:
The menu bar links to the main areas of the site. You can subscribe and register at any time to
1 benefit from the features the personalized mySupport option offers.
Links to our service offerings are in the center. On the start page, you will find up-to-date
2 information and links, which quickly brings you to your destination in other areas of Online
Support.
Links from the menu bar are repeated at the top of the page: Product Support, Services, Forum
3 and mySupport.
On every page, you will find your personal mySupport cockpit. There, for example, you can see
4 when the status of your support inquiry changes.
Here, you will find information about all the current and discontinued products, such as:
• Frequently Asked Questions (FAQ)
• Manuals and Operating Instructions
• Downloads
• Product Notes (product announcements, discontinuation, etc.)
• Certificates
• Characteristics
• Application Examples
You will not only be able to access these articles though the product tree, but also through a
central filter bar. The integration of various search filters will give you access to relevant
information after only a few clicks. The product tree has been moved to an equivalent filter. This
has the effect that several filter steps can be combined clearly and comprehensibly.
Based on the preview numbers you can see the expected set of results before using a filter. This
makes finding relevant information considerably easier and more efficient.
For example, you can customize your search by combining the product tree, a search keyword
and a document type in your search.
There will be no hidden search parameters; all the settings and results will be clearly displayed.
A powerful function of the Industry Online Support is the direct access to complete product
information. You can use it if you are looking for a quick and easy access to all the technical
information about a Siemens Industry product. For example, for comparing products, if you are
expanding your system or replacing individual components, this is how to do it:
In the Product Support area, there is the central navigation bar.
To select a product, simply select the filter “Product.” Enter an order number or a product name
here. You will be supported by a dynamic display of suitable products (list of suggestions).
One more click and the details of the selected product will be displayed – always up to date:
• Product life cycle, consisting of milestones with dates (e.g. delivery release, discontinuation of
the product, …). You will find out whether the selected product is a current product or whether
the product is already in the discontinuation phase.
• Successor products for discontinued products and new developments will be suggested. If
there is a successor product, you will get a direct link to the product information of this
product.
• Technical data – clear, compact and complete. You get all the available technical data
concerning the selected product here – dimensions, operating voltage or the number of
inputs/outputs, etc.
mySupport
The mySupport area will always remain your personal workplace; with this feature you can make
the best of your Industry Online Support experience.
The most important thing, if you're already working with mySupport, you can take all your
previous personal data and information you’ve filed away with you to the Industry Online Support.
In this area, you can compile the information that is important for your daily work – we provide
you with the suitable tools. Create your own folder structures and file information such as
bookmarks. There are numerous options, whether you want to file items by project or by
products.
Moreover, you can now add notes, comments and tags (keywords). The system automatically
creates a “Tag Cloud” based on your entries so you can access information quickly and easily by
means of your own terms. The operation is consistent throughout mySupport so that you will
easily find your way around. “Drag &drop” is also possible.
As soon as you are logged on, the mySupport cockpit is always at your side. It will immediately
show you when the status of a support request changes, or when you receive new personal
messages. You also have direct access to your personal keywords in the tag cloud, to the entries
last visited, and you can see which user is online.
Here, just a few highlights:
• The previous MyDocumentationManager is now completely integrated into mySupport under
the name of “mySupport-Documentation.” The function category “Documentation” contains all
the functions of the MyDocumentationManager and provides a few innovations, too.
• The Service & Support Newsletter has been completely revamped. An individual messaging
system will more than replace it.
Support Request
To create a Support Request, different options are available to you in Online Support:
• You will find the "Support Request" option in the menu on all Online Support pages.
• Alternatively, you can create a new request in mySupport in the "Requests" category.
• Or directly click on the following link:
http://www.siemens.com/automation/support-request
Tips for creating a request:
• Select your product and use case as accurately as possible; try to avoid selecting "Other". By
doing so, you ensure optimum support by our experts and appropriate suggested solutions.
• Did other users have a similar problem? This step already offers frequent problems and
solutions. Take a look – it will be worth your while!
• Describe your problem with as much detail as possible. Pictures or explanatory attachments
allow our experts to consider your problem from all sides and develop solutions. You can
upload multiple attachments up to 10 MB per file.
• Before each sending, verify your personal contact information and the data you have entered.
The final step additionally offers the option to print the summary.
As a logged in user, you can track the status of your requests online. To do so, navigate to "My
requests" in the "Requests" category in mySupport.
1
2
1 On the left side, you will find the so-called conference tree. It allows you to navigate through the
individual discussion areas.
The conference overview is the central discussion area of the Technical Forum. This is where the
2 community meets to discuss technical questions about Siemens Industry products.
In forum management, you will find your personal control center for the Technical Forum. It allows
3 you to manage your specific profile data and filters.
Conference filter
Add conferences to your personal filter of preferred conferences.
This allows you to enable a notification that informs you when new topics are started in these
conferences.
In Quicklinks, the Technical Forum additionally offers an overview page that contains all topics of
your preferred conferences.
Managing profile
Profile management provides interesting information and functions:
• You get an overview of your activities in the Technical Forum.
• You can view your rank, any special permissions and your ranking progress.
• You can store a signature and a personal description for your profile in the forum.
• You have direct access to the quick links to get an overview of all topics you have contributed
to.
User filter
Have you found a user in the Technical Forum who posts entries that are particularly interesting?
Then add this user to your list of "preferred users".
This allows you to enable a notification that informs you when the user has posted a new entry.
In Quicklinks, the Technical Forum additionally offers an overview page that contains all topics of
your preferred users.
Reacting to an
existing entry
Goal
Find out which current version of virus scanners is compatible with your engineering software.
Use all information sources available:
• Readme files in the installation folder
• The compatibility tool of the Industry Online Support
• Entries in the Product support
• Entries in the Forum
• Create a Support Request.
Checkpoint