ps7gs1 B
ps7gs1 B
ps7gs1 B
SIMATIC
Process Control System PCS 7
Getting Started - Part 1
Manual
Overview of PCS 7
Compiling, Downloading,
and Testing the Charts
Edition 03/2003
A5E00164244-01
10
Safety Guidelines
This manual contains notices intended to ensure personal safety, as well as to protect the products and
connected equipment against damage. These notices are highlighted by the symbols shown below and
graded according to severity by the following texts:
Danger
Warning
Caution
indicates that death, severe personal injury or substantial property damage will result if proper
precautions are not taken.
indicates that death, severe personal injury or substantial property damage can result if proper
precautions are not taken.
indicates that minor personal injury can result if proper precautions are not taken.
Caution
indicates that property damage can result if proper precautions are not taken.
Notice
draws your attention to particularly important information on the product, handling the product, or to a
particular part of the documentation.
Qualified Personnel
Only qualified personnel should be allowed to install and work on this equipment. Qualified persons are
defined as persons who are authorized to commission, to ground and to tag circuits, equipment, and
systems in accordance with established safety practices and standards.
Correct Usage
Note the following:
Warning
This device and its components may only be used for the applications described in the catalog or the
technical description, and only in connection with devices or components from other manufacturers
which have been approved or recommended by Siemens.
This product can only function correctly and safely if it is transported, stored, set up, and installed
correctly, and operated and maintained as recommended.
Trademarks
SIMATIC, SIMATIC HMI and SIMATIC NET are registered trademarks of SIEMENS AG.
Third parties using for their own purposes any other names in this document which refer to trademarks might
infringe upon the rights of the trademark owners.
Copyright Siemens AG 2003 All rights reserved
Disclaimer of Liability
Siemens AG
Bereich Automation and Drives
Geschaeftsgebiet Industrial Automation Systems
Postfach 4848, D- 90327 Nuernberg
Siemens AG 2003
Technical data subject to change.
Siemens Aktiengesellschaft
A5E00164244-01
Preface
Purpose of the Manual
PCS 7 Getting Started provides you with an initial overview of the process control
system PCS 7 and helps you to create a simple project yourself. You can configure
the project on an existing SIMATIC Station.
Getting Started Part 1 is intended for newcomers to PCS 7 active in the following
areas:
Configuration
Required Experience
You should already have experience in the following areas:
iii
Preface
Note
To test the sample project in the process mode, you may need to adapt the
hardware configuration of the project to the hardware that is actually installed; in
other words, you must replace the hardware components of the sample project
with the actual existing hardware components.
For more detailed information on opening the sample project, refer to "Starting and
Adapting the Sample".
If you open the HTML version of Getting Started, you can open video sequences.
These video sequences show the exact steps that you can follow on screen before
performing them yourself. Video sequences are indicated by the following icon:
Video
Click on the word "Video" to start a video sequence. You can freeze, stop and
restart video sequences. You have buttons available similar to those of the
Windows Media Player.
One tutorial in Getting Started leads on to the next and you will create a complete
PCS 7 project yourself step by step. This makes it essential to work through the
tutorials in the correct order.
iv
Preface
Further Information
You will find more detailed information and wider-ranging topics in the configuration
manuals "Process Control System PCS 7, Engineering System" and "Process
Control System PCS 7, Operator Station" and these will be useful to you as a
source of reference.
These manuals are located
in the PCS 7 Software in the SIMATIC Manager[0]. You can open the
documents with the menu command "Start > SIMATIC > Documentation >
[required language] ".
Here, you will also find other manuals on specific topics, for example on SFC, CFC.
Further Support
If you have any technical questions, please get in touch with your Siemens
representative or agent responsible.
http://www.siemens.com/automation/partner
Training Centers
Siemens offers a number of training courses to familiarize you with BATCH flexible
and the Process Control System PCS 7. Please contact your regional training
center or our central training center in D 90327 Nuremberg, Germany for details:
Telephone: +49 (911) 895-3200.
Internet:
http://www.sitrain.com
Preface
Nuernberg
Beijing
Johnson City
Worldwide (Nuernberg)
Technical Support
24 hours a day, 365 days a year
Phone:
Fax:
E-Mail:
adsupport@
siemens.com
GMT:
+1:00
Authorization
Phone:
Phone:
Phone:
+86 10 64 75 75 75
Fax:
Fax:
Fax:
+86 10 64 74 74 74
E-Mail:
adautorisierung@
siemens.com
E-Mail:
simatic.hotline@
E-Mail:
adsupport.asia@
+1:00
GMT:
GMT:
sea.siemens.com
-5:00
siemens.com
GMT:
+8:00
The languages of the SIMATIC Hotlines and the authorization hotline are generally German and English.
vi
Preface
The right documents via our Search function in Service & Support.
A forum, where users and experts from all over the world exchange their
experiences.
Your local representative for Automation & Drives via our representatives
database.
Information on field service, repairs, spare parts and more under "Services".
vii
Preface
viii
Contents
1
3.2.1.1
3.2.1.2
3.3
3.3.1
3.3.2
3.3.2.1
3.3.2.2
3.3.2.3
3.4
3.4.1
3.4.1.1
3.4.1.2
3.4.1.3
3.5
3.5.1
3.5.1.1
3.5.2
3.5.2.1
3.5.2.2
3.5.3
3.6
ix
Contents
4.2.3.1
4.2.3.2
4.2.3.3
4.2.4
4.2.4.1
4.3
4.3.1
4.3.2
4.3.3
4.3.4
4.3.5
4.3.6
4.3.7
4.3.7.1
4.3.7.2
4.3.7.3
4.4
4.5
4.5.1
4.5.2
4.5.3
4.5.4
4.5.4.1
4.5.5
4.5.5.1
4.5.5.2
4.5.5.3
4.5.5.4
4.5.5.5
4.5.5.6
4.5.5.7
4.5.6
4.5.6.1
4.5.6.2
4.6
4.6.1
4.6.1.1
4.6.1.2
4.6.1.3
4.6.1.4
4.7
Contents
5.2.4.1
5.2.4.2
5.2.4.3
5.2.5
5.2.5.1
5.2.5.2
5.2.5.3
How to Create the Sequential Control System in the SFC Chart .................................. 5-7
How to Rename Steps .................................................................................................. 5-9
How to Rename Transitions ........................................................................................ 5-11
5.3
5.3.1
5.3.1.1
5.3.1.2
5.3.1.3
5.3.1.4
5.3.1.5
5.3.1.6
5.3.2
5.4
How to Assign Parameter Values to the Transitions of the SFC Chart ..........5-19
The Current Status of Your Project.................................................................5-21
7.3.1.1
7.3.1.2
7.3.1.3
7.3.1.4
7.3.1.5
7.4
7.4.1
7.4.2
7.5
7.5.1
7.5.1.1
7.5.1.2
7.5.2
7.5.3
7.5.4
7.5.5
7.5.6
xi
Contents
7.6
7.6.1
7.6.2
7.6.2.1
7.6.2.2
7.6.2.3
7.6.3
7.6.3.1
7.6.3.2
How to Connect the Raw Material Tank with the Process Value .................................7-24
How to Adapt the Block Icons ......................................................................................7-26
7.6.4
7.6.4.1
7.6.4.2
7.6.4.3
7.6.4.4
7.6.4.5
7.7
10
Index
xii
1.1
1.1.1
Hardware
Software
Other Version
Possible
Yes
Rack
UR2
Yes
Power supply
PS 407 10A
Yes
CPU
no
CP 443-1
no
Memory card
Crossover cable
no
Caution
The CPU and the CP are absolutely necessary to be able to create the
configuration as described in Getting Started.
1-1
If you use a different hardware component, you must remember to enter the actual
component you are using at certain points during the configuration, for example in
HW Config. If it is at all possible, we recommend that you use exactly the same
components as we used in Getting Started.
If you do not have any hardware components available, you can also use the
software PLC Sim that is also on the PCS 7 Toolset CD. You require a special
license to use this software. If you use this software, you can use exactly the same
hardware components as described in getting started.
1.1.2
SQL Server
These packages are all available on the "PCS 7 Toolset V 6.0" CD. If you have
questions relating to the installation of the PCS 7 Toolset, please read the readme
file on the installation CD or contact customer support.
1-2
2.1
Overview of PCS 7
Hardware configuration
Blocks
These objects always exist regardless of the number of operator stations, modules,
and networking.
2.2
SIMATIC Manager the central application providing you with access to all
other applications that you use to create a PCS 7 project. The SIMATIC
Manager is the starting point for creating your entire project.
CFC and SFC Editor for creating CFC charts and sequential controls
2-1
Overview of PCS 7
2.3
2.4
2-2
The left pane contains a tree structure whose contents depend on the selected
view.
The right-hand window, the detailed window contains details of the object you
select in the tree structure.
Overview of PCS 7
2.5
Plant view this shows the hierarchical structure of your plant. You can divide
the plant into sections or units and can see which charts and which process
pictures belong to which plant section.
Process object view this shows details of the individual objects of the plant
view. This is particularly suitable when you want to assign similar parameter
values to a large number of objects, add comments to them or interconnect
them.
In the step-by-step instructions in Getting Started, you always know the view in
which you should be working.
All the work that you do in the SIMATIC Manager is saved automatically by PCS 7.
2.5.1
Procedure
Start the SIMATIC Manager from the Windows taskbar with the
following menu command:
Start > SIMATIC > SIMATIC Manager.
When you start the SIMATIC Manager, the project you last opened is opened
automatically again.
2-3
Overview of PCS 7
2-4
3.1
3.1.1
3-1
Phase IV Filling
Following the holding phase, the product is briefly stored in a filling tank from which
it can then be filled into tankers or small drums.
Phase V Cleaning
The reactors, piping, valves, actuators, holding tank, and filling tank can then be
cleaned by a cleaning system (CIP). The resulting effluent is then collected in a
separate effluent tank for disposal.
3.1.2
Raw material
tank 1
Nk
111
Fc
111
Nk
112
Reactor 1
Reactor 2
Nk
114
3-2
LI111 (Level Indicate) measurement of the current level of the raw material
tank
NK111 and NK112 (customer-specific identifier for valves) stop valves that
must always be open when dosing raw materials.
NP111 (customer-specific identifier for motors) pump that transports the raw
material to the reactors
FC111 (Flow Control) actuator with which the amount of raw material is
controlled
The states of valves NK111 to NK114 will be displayed on the operator station and
can be monitored. It will also be possible to influence the dosing with FC111.
3.1.3
Programmable controller
SIMATIC S7 400
with CP 443-1
3-3
In Getting Started, you will create a control system containing the following
components:
Program that handles the control of the "color_gs" plant. You will create this
program in the engineering system, abbreviated to ES and download it to the
CPU. The CPU processes the loaded program and returns process values to
you. You download the program via the CP 443-1.
Operator station, abbreviated to OS, on which the plant operator can control
and monitor the plant in the process mode. You will create the process picture
that the operator sees on the OS yourself. The connection between the PLC
and the OS is via the CP.
Note
Please remember that the plant setup and the hardware settings resulting from it
are designed specially for the requirements of this Getting Started. When you
configure a real project, you will certainly use more programmable controllers and
run the engineering system and the operator station(s) on different computers. As
a result, the hardware settings will be far more complex and will certainly no
longer match the descriptions in Getting Started.
3.1.4
3-4
3.2
3.2.1
Hardware Settings
Hardware Settings outside the SIMATIC Manager
Before you even start to configure the "color_gs" project, you should check the
hardware settings, set the PG/PC interface, and test the connection between your
ES computer and the PLC. This makes sure that you will be able to download the
configuration data without problems and that you can change your project to the
process mode once you have completed the configuration data.
Note
These settings are generally made immediately after installing PCS 7 using the
Commissioning Wizard. Since you probably did not install PCS 7 yourself, you
should check the settings again and make any necessary adaptations.
3.2.1.1
Requirement
Make sure of the following:
That all required hardware components are inserted in the rack and turned on
That there is a crossover cable between the 3Com network adapter of your ES
computer and the CP 443-1
Caution
If the configuration console is not opened directly but rather the Commissioning
Wizard is started, click on the "Cancel" button.
This closes the Commissioning Wizard and the Configuration Console is opened.
3-5
Note
If you are using a different network adapter in your PC, the name of your network
adapter will of course be displayed here. In this case, you must select this network
adapter.
3. In the detailed window you will see a drop-down list box "Mode of the module"
where you select the entry "Configured mode".
This activates this network adapter.
3-6
5. If you have other network adapters, for example the CP 5611 MPI adapter or
another 3Com adapter in your PC, you must deactivate it since it will not be
required for getting started.
Follow the steps below:
-
In the detailed window you will see a drop-down list box "Mode of the
module" where you select the entry "Not yet specified".
6. Repeat Step 5 for all other network adapters in your PC that you do not require
for communication between the ES/OS computer and the CPU.
7. Close the Configuration Console.
3-7
3.2.1.2
4. Select the entry "ISO Ind. Ethernet -> 3Com EtherLink III ISA..."
5. Click the "OK" button to enter your settings.
6. In the "Destination Station" area, select the entry "Industrial Ethernet" in the
"Destination station attachment" drop-down list box.
7. Enter the MAC address printed on your CP in the "Node address" box.
3-8
3-9
3-10
3.3
3.3.1
3.3.2
Hardware objects: SIMATIC stations, for example a SIMATIC 400 for the PLC,
SIMATIC PC station for the OS
Hierarchy folders representing the hierarchy levels of the plant structure. The
number of hierarchy folders created corresponds to the setting you made in the
wizard.
Multiproject
3-11
Multiprojects have one major advantage: You can distribute the single projects to
different configuration engineers who can then edit them. Once the configuration of
the single projects is complete, these can be merged back to form the full project.
In Getting Started, although you will be working within a multiproject, you will not
be using the wide range of functions provided by multiproject engineering.
For more detailed information on this topic, refer to the Configuration Manual
Process Control System PCS 7, Engineering System.
3.3.2.1
3-12
3. In step 1(4) "Introduction", activate the option "Multiproject with project and
master data library" this option is activated as the default setting.
3-13
3-14
10. Click on the "Preview >>" button to display a preview of your current stage of
configuration. This preview corresponds to the appearance of the project in the
SIMATIC Manager.
3-15
Note
3-16
If the project does not open automatically, follow the same steps as in "First
Steps in the Project Creating the Project How to Open and Close the
"color_gs" Project.
To activate the various views, follow the steps as described in "First Steps in
the Project Creating the Project How to Work in the Various Views".
The project then appears as follows in the plant view of the SIMATIC Manager:
3-17
3.3.2.2
Closing a project
1. If you have other projects open in the SIMATIC Manager, close these projects
to keep the display simpler.
Select the menu command Window > [Name of the Project] and select the
project you want to close.
The project is then shown in the foreground in the SIMATIC Manager.
2. Select the menu command File > Close.
The project closes.
3.3.2.3
3-18
Select the menu command View > [Name of the required view] in the
SIMATIC Manager:
-
Component view
Plant view
If you have already opened several projects, select the menu command
Window > [Name of the project (name of the view)]".
3.4
3.4.1
3-19
3.4.1.1
Ready to Start?
3-20
3-21
3-22
3.4.1.2
Requirement
Set your CPU to RUN-P with the mode selector. This allows the CPU to be stopped
automatically and restarted again in HW Config.
Ready to Start?
3-23
4. Select the "CP 443-1" in the list of "Accessible Nodes" and click the "OK"
button.
The progress bar is displayed. Finally the "Stop Target Modules" message
window opens.
5. Click on the "OK" button to stop the CPU.
The message window closes and the download is continued. On completion of
the download, the "Download to Module" message window opens.
3-24
3-25
3.4.1.3
Ready to Start?
3-26
3-27
3-28
3.5
3.5.1
Working in the PH
Settings in the Plant Hierarchy
Once again, it is time for a little theory:
The plant hierarchy that normally abbreviates to PH, mirrors the hierarchical
structure of your plant: Plant, unit, function etc. The PH allows you to make a lot of
different settings and the most important of these are described below.
Selecting the hierarchy level(s) that contribute to the name of the plant
designation (also known as higher level designation):
The higher level designation abbreviated to HID is used at many points in the
PCS 7 project for example messages occurring during the process mode and
tags contain this HID. This makes it easy to recognize the plant section to
which a message or tag belongs. As a rule of thumb, the more hierarchy levels
used to specify the HID and the longer each individual part is, the longer and
less easily recognizable the entire HID becomes.
3-29
3.5.1.1
Ready to Start?
3-30
When you have made the settings, the dialog box appears as shown below:
3-31
3.5.2
Plant level 1
Unit level 2
Function level 3
Device level 4
The names of the hierarchy folders are default names assigned automatically by
PCS 7 when you create the project.
In your "color_gs_MP" project, you must, of course, adapt these to the individual
requirements of the "color_gs" project, in other words, change the default names
and insert new hierarchy folders. This provides you with a clear structure and
makes it easier to navigate through your project. You can also handle all the
objects and individual units.
For the various plant sections, we decided on the following names for the hierarchy
folders:
3-32
Default Name
Hierarchy Folder
Technological assignment
Plant
Plant1
Complete plant
Unit
RMT1
Function
FC111
Function
LI111
Function
NP111
Pump control
Function
NK111
Valve
Function
NK112
Valve
Function
NK113
Valve
Function
NK114
Valve
Device
ADDIT
3.5.2.1
Ready to Start?
3-33
3-34
Deactivate the check box "No modification when renaming the hierarchy
folder"
Note
Follow the same procedure as for renaming the "Plant" folder.
Deactivate the check box "No modification when renaming the hierarchy
folder"
Note
Follow the same procedure as for renaming the "Plant" folder.
3.5.2.2
Ready to Start?
3-35
3.5.3
In the "Assigned PLC (chart folder)", you will see the programmable
controller that processes the data.
In the "Assigned OS" list box, you will see the operator station on which the
data is displayed.
3-36
3.6
You have downloaded the hardware configuration to the CPU starting from
HW Config
You have created the plant structure of the "color_gs" project in the plant
hierarchy
3-37
3-38
4.1
The Theory What are CFC Charts, What is the CFC Editor?
The entire operation of a plant is described by continuous processes. This is
achieved by creating CFC charts in the CFC Editor of PCS 7. To create CFC
charts, you insert blocks located in the "PCS 7 Library V6.0" in the CFC charts.
These include single blocks such as blocks for controlling a process or for
monitoring measured values. The inputs and outputs of these blocks are then
interconnected directly in the CFC Editor and are given parameter values. While
doing this, you are supported by the user-friendly graphic user interface of the CFC
Editor.
In the standard library, PCS 7 also provides process tag types that are based on
full CFC charts for various process tags such as motors and valves.
You will also find the CFC charts in the plant hierarchy. To keep the structure of the
project clear, the CFC charts are always in the hierarchy folders in which they are
of technological significance.
4-1
4.2
4.2.1
4-2
4.2.2
Changes to Blocks
At this point, we will make another brief excursion. This work does not of course
belong to the scope of Getting Started but will provide you with a good insight into
the options made available to you by PCS 7:
In the master data library, you can change the properties of the block, for example
adapt the messages to your particular project. Each block instance created when
you insert a block in a CFC chart automatically has the modified properties. This
means that you only need to make the changes once to the block in the master
data library, you no longer have to make individual modifications to the block
instances over and over again. Changes to a block that is specific to a CFC chart
can then be made directly in the block instance in the CFC chart itself. This
includes, for example, parameters for inputs and outputs such as setpoints and
limit values.
Basic Procedure
Open a library
Put all the blocks in your master data library the master data library was
created automatically by the PCS 7 wizard when you created the project
4-3
4.2.3
Object name this is an alphanumeric short identifier for the block that is
displayed in PCS 7
Meaning here, you will find a brief explanation of how the block can be used
Type of block here you will see the category to which the block belongs
Relevant CFC chart here you will find all the CFC charts in which the block is
used
Object Symb.
name name
Meaning
FB40
INT_P
Type of
block
Technological
block
FB46 OP_A_LIM
Operator control
block
FB48 OP_D
Controls a digital value
Operator control
block
FB61 CTRL_PID Continuous PID controller
Technological
block
FB63 DOSE
Doses components
Technological
block
FB65 MEAS_MON Monitors an analog measured value Technological
block
FC63 MUL_R
Multiplies input values and outputs Function
the product at the output
FC275 CH_AI
Signal processing of an analog
Driver block
input value
FC276 CH_AO
Driver block
Relevant
CFC chart
CFC_LI111
CFC_FC111
CFC_FC111
CFC_FC111
CFC_FC111
CFC_FC111
CFC_LI111
CFC_FC111
CFC_LI111
CFC_FC111
CFC_FC111
4-4
MOTOR
VALVE
CFC_NK111
4.2.3.1
Ready to Start?
SIMATIC Manager is open
Opening Libraries
1. Select the menu command File > Open.
The "Open Project" dialog box opens.
2. Select the "Libraries" tab.
3. Select the libraries "PCS 7 Library V60" and "color_gs_Lib" in the selection list.
4-5
4.2.3.2
Ready to Start?
Master data library "color_gs_Lib" is open and the component view activated
4-6
FB40 INT_P
FB46 OP_A_LIM
FB48 OP_D
FB61 CTRL_PID
FB63 DOSE
FB65 MEAS_MON
FC63 MUL_R
FC275 CH_AI
FC276 CH_AO
4-7
4.2.3.3
Ready to Start?
Master data library "color_gs" is open and the component view activated
"MOTOR"
"VALVE"
Note
Once you have inserted a process tag type in the master data library, all the
individual blocks contained in this process tag type are entered automatically in
the "Blocks" folder.
If you select the entry "In <color_gs_MP>/ color_gs_Lib/ S7-Program(1)/ Blocks",
all the blocks are displayed in the detailed window: The blocks you have inserted
yourself along with the blocks that were inserted automatically as a result of
copying the process tag types.
4-8
4-9
4.2.4
4.2.4.1
Ready to Start?
Hiding Libraries
1. Select the menu command File > Manage.
The "Manage" dialog box opens.
2. Select the "Libraries" tab.
3. Select all the libraries in the list except the following libraries:
4-10
SFC Library
4-11
4.3
4.3.1
4.3.2
Each chart has a technological significance. To fully understand each part of the
plant that you configure in Getting Started, you should also understand the
technological significance of the individual charts and we therefore provide you
with a brief explanation of each chart.
4-12
Note
In the "color_gs" project, the names of the charts are assigned according to the
naming of the corresponding hierarchy folder and therefore at the same time
according to the naming of the corresponding process tag. As a result, unique
identification is always possible.
4.3.3
4.3.4
The "CH_AI" block provides the currently dosed volume at the "V" output and
transfers this measured value to the "PV_IN" (process value) input of the
"DOSE block".
The speed of the dosing is controlled by a flow control with the "CTRL_PID"
block.
The "CTRL_PID" block receives the setpoints via the step control in
conjunction with the "PARA_DOS_RM1_VOL" block.
The manipulated variable for the valve is output at the "LMN" output and is fed
directly to the "CTRL_PID" block at input "LMNR_IN" in the absence of
feedback from the process.
4-13
4.3.5
4.3.6
The "CH_AI" block reads in the fill level of the raw material tank and outputs
the current value at output "V".
In the default setting, this output is interconnected with the "U" input of the
"MEAS_MON" block.
4.3.7
The "CH_DI" block supplies the current state of the pump (on or off) at output
"Q".
This value is connected to the "FB_ON" input (feedback ON) of the MOTOR
block where it is evaluated.
The "CH_DO" block takes the control command from the "QSTART" output of
the "MOTOR" block and outputs this to the pump in the process.
4.3.7.1
The "CH_DI" block returns feedback on the status of the valve open or
closed to the "VALVE" block.
The "VALVE" block switches the valve according to the setting made by an
external controller or by an operator: The control command is passed on from
the "QCONTROL" output via the "CH_DO" output driver to the valve.
The "VALVE" block can forward fault messages to the operator station.
Ready to Start?
4-14
4-15
4.3.7.2
"CFC_FC111"
"CFC_LI111"
Ready to Start?
4-16
4.3.7.3
Ready to Start?
4-17
4.4
4.5
4.5.1
Inserted all the required blocks and process tag types in the master data library
Hidden libraries that you do not require for the "color_gs" project so that only
the "color_gs_Lib" master data library is visible.
On the left-hand side of the editor you see the chart displayed. If you have
opened an empty CFC chart, here you will simply see an empty space. This is
where you insert blocks as required to describe continuous processes. The
final job is to assign parameter values and interconnect the blocks.
On the right-hand side of the editor you will see the catalog with blocks,
libraries, and charts.
All the work that you do with the CFC Editor is saved automatically by PCS 7.
For more detailed information on the CFC Editor refer to the online help
Help on CFC and the manual SIMATIC CFC for S7, Continuous Function Chart.
4-18
4.5.2
A single sheet
The status bar indicates which sheet of which chart partition is currently displayed.
You will find more detailed information in the online help Help on CFC and in the
manual SIMATIC, CFC for S7, Continuous Function Chart.
4-19
4.5.3
Blocks here you will find blocks sorted according to block families. In the
"color_gs" project you will not work in this tab.
Charts here you will find all the charts you created in the plant hierarchy, for
example CFC_FC111, CFC_LI111. The chart that is currently open in the CFC
Editor and displayed is indicated by a small open folder.
Libraries normally, you would find all the libraries provided by PCS 7 along
with your master data library.
In the "color_gs" project, you have already made the libraries you do not
require invisible using the "Hide" function. This means that you will only see the
"color_gs_Lib" library.
Unplaced blocks here you will find blocks that are not displayed in a CFC
chart. Within the "color_gs" project, this tab is not displayed since there are no
"unplaced blocks" in your project.
You will find more detailed information in the online help Help on CFC and in the
manual SIMATIC, CFC for S7, Continuous Function Chart.
4.5.4
Open chart
Caution
The order in which you insert blocks in the CFC chart is exactly the same order in
which the blocks will be executed in the process mode. In this Getting Started, we,
of course, tell you the correct order. In a real configuration, you must find out the
exact run sequence based on the process and keep to this when inserting blocks
in the CFC chart.
4-20
Rename blocks
Interconnect blocks
Note
If you require further information about the blocks, for example, which inputs of the
block have which function, select the corresponding block in the library and then
press the F1 key. This opens the online help for this block.
The step "Insert Blocks" is, of course, omitted for process tag types. With these,
you only need to assign parameter values and interconnect them.
4.5.4.1
Ready to Start?
4-21
4.5.5
4.5.5.1
Ready to Start?
4-22
OP_D FB48: Specifying the reactor to which the raw material will be
pumped
OP_A_LIM
OP_D
Note
If a block is shown in blue or light gray after you have inserted it and if no block
I/Os are displayed, this is covering an underlying block or extends beyond the
edge of the sheet. In this case, you must move the block with the mouse so that it
does not cover any other block and is within the limits of the sheet.
4-23
4.5.5.2
Ready to Start?
4-24
4. Position the mouse pointer in the "Value" column of the "U" field and overwrite
the default value with the value "50".
4-25
6. Now change the names and parameter settings for the other blocks as shown
in the following table. Follow the procedure as explained in Steps 1 to 5.
Some of the I/Os are not visible in the CFC chart.
Block
Name in Project
I/O
OP_A_LIM PARA_DOS_RM1_VOL U*
U_HL
OP_D
PARA_DOS_RM1_SEL IO*
Meaning
Value
1000
10000
OFF
* invisible in CFC.
4.5.5.3
Ready to Start?
4-26
MUL_R FC63: Multiplication of the input values and output of the product
at the output
CTRL_PID FB61: Fill level monitoring and visualization of the level in the
process mode
MUL_R
INT_P
DOSE
CH_AO
4.5.5.4
Ready to Start?
Note
Make sure that you use a period as the decimal separator.
In some fields, PCS 7 displays default values in a drop-down list box that you can
select. This drop-down list box is activated automatically when you position the
mouse pointer in the input field.
4-27
Block
Name in Project
I/O
Meaning
Value
CH_AI
INPUT_U
SIM_ON*
Simulation activated
MODE
Measuring range 4 to 20 mA
16#0203
VHRANGE
100 **
SUBS_ON
INT_P
INT_P
V_HL
10000
DOSE
DOSE
SP_HLM*
10000
MO_PVHR*
10000
SPEXON_L
SPEXT_ON
IN2
1 **
MUL_R
MUL_R
CTRL_PID CTRL_PID
CH_AO
OUTPUT_LMN
LIOP_INT_SEL
SPEXON_L
GAIN
0.5
omitted
* invisible in CFC.
** default value
3. When you have entered the parameters for all the I/Os, click on the "OK"
button to enter your settings.
4-28
4.5.5.5
Ready to Start?
CH_AI FC275: This function reads the process value of an input module and
makes the value read in available in CFC for further processing
INT_P FB40: This block is used to simulate the level of the raw material
tank 1
MEAS_MON FB65: Fill level monitoring and visualization of the level in the
process mode
MEAS_MON
INT_P
CH_AI
4-29
4.5.5.6
Ready to Start?
Name in
Project
I/O
Meaning
Value
CH_AI
INPUT_U
MODE
Measuring range 4 to 20 mA
16#0203
VHRANGE
100 **
SIM_ON
SIM_V
78
SUBS_ON
SUBS_V
78
INT_P
INT_P
MEAS_MON
LIA
U_WH
Warning high = 90 m
U_WL
Warning low = 7 m
U_AH
Alarm high = 98 m
U_AL
Alarm low = 5 m
MO_PVHR*
100
90
98
* invisible in CFC.
** default value
3. When you have entered the parameters for all the I/Os, click on the "OK"
button to enter your settings.
4-30
4.5.5.7
1. Open the "Object Properties" dialog box, "Inputs/Outputs" tab for each block.
2. Enter the parameters for all blocks according to the following list:
Block
Name in
Project
I/O
Meaning
CH_DI
FB_RUN
SIM_ON
SUBS_ON
MONITOR
Deactivate monitoring
Monitoring =Off
AUT_ON_OP*
Mode = AUTO
MOTOR
MOTOR
Value
* invisible in CFC.
3. Click the "OK" button to enter your settings.
4.5.6
Note
If you make an incorrect interconnection:
Click on the line of the incorrectly interconnection and select the menu command
Edit > Delete.
4-31
4.5.6.1
Ready to Start?
4-32
Output
Block
Input:
erl.: INPUT_U V
INT_P
INT_P
DOSE
PV_IN
MUL_R
OUT
CTRL_PID
PV_IN
CTRL_PID
LMN
OUTPUT_LMN
CTRL_PID
LMN
MUL_R
IN1
CTRL_PID
LMN
CTRL_PID
LMNR_IN
4-33
4.5.6.2
Ready to Start?
Output
Block
Input:
INPUT_U
INT_P
VTRACK
INT_P
LIA
4-34
4.6
4.6.1
4.6.1.1
Specify I/Os in the process tag type for the process object view since some
I/Os are not displayed in the process object view to improve clarity, you must
first define the I/Os you want to be visible. You define this once in the process
tag type in the master data library.
Insert the process tag type in the individual hierarchy folders and rename them
you will copy the process tag type from the master data library to all
hierarchy folders in which you require valve control.
Adapt the values of the parameters in the process object view you will now
get to know the great advantage of the process object view: You can edit
values quickly and conveniently in a table.
Ready to Start?
4-35
6. Activate the check boxes in the "Parameter" column for the following I/Os:
Block
I/O
VALVE
START_SS
VALVE
MONITOR
VALVE
AUT_ON_OP
Note
Click in the column header of the "Input/Output" column to sort the I/Os in
ascending or descending order and make them easier to find.
4-36
4.6.1.2
Ready to Start?
color_gs_MP/color_gs_Prj/Plant1/RMT1/NK111
color_gs_MP/color_gs_Prj/Plant1/RMT1/NK112
color_gs_MP/color_gs_Prj/Plant1/RMT1/NK113
color_gs_MP/color_gs_Prj/Plant1/RMT1/NK114
3. In the message dialog "The object 'valve' already exists. Do you want to
overwrite it?", click on the "No" button.
4. In the message box "The object 'Valve' exists already. Do you want to
overwrite it?", click on the "No" button.
5. Rename the inserted process tag types according to the following table:
Hierarchy Folder
Rename to:
../RMT1/NK111
CFC_NK111
../RMT1/NK112
CFC_NK112
../RMT1/NK113
CFC_NK113
../RMT1/NK114
CFC_NK114
You will find a detailed description in "Creating CFC Charts CFC Charts in the
PH How to Insert the "MOTOR" Process Tag Type.
4-37
4.6.1.3
Ready to Start?
Note
If the name of the CFC chart is not fully displayed in the column, position the
cursor between the "Chart" column and "Comment" column and double-click. This
adapts the column width automatically to the width of the entries.
5. In the "Block Comment" column for the "CFC_NK111" chart, enter the name
"Stop_valve1" and press the Enter key.
The block comment is then updated for all I/Os of this chart.
6. Do the same for the block comment in the other CFC charts:
4-38
CFC Chart
Block comment
CFC_NK112
stop_valve2
CFC_NK113
stop_valve3
CFC_NK114
stop_valve4
7. Change to the "Value" column and make the entries according to the table
shown below:
Note
Depending on the size of your monitor, you may not be able to see the "Chart"
column any more and this makes the assignment of the individual I/Os to a chart
unclear.
In the process object view, you have the following option:
1. Position the cursor on the small box to the left beside the horizontal scroll bar
and click.
This makes a vertical marker visible in the table.
2. Hold down the mouse button and drag this vertical marker between the
"Hierarchy" and "I/O" columns.
3. Release the mouse button.
This splits the table window and you can navigate on the right-hand side with
the horizontal scroll bar in the table while the chart names are displayed on
the left-hand side.
4-39
CFC Chart
I/O
CFC_NK111 START_SS
MONITOR
AUT_ON_OP
CFC_NK112 START_SS
MONITOR
AUT_ON_OP
CFC_NK113 START_SS
MONITOR
AUT_ON_OP
CFC_NK114 START_SS
MONITOR
AUT_ON_OP
4.6.1.4
Meaning
Value
0
Monitoring=off
Mode=Auto
0
Monitoring=off
Mode=Auto
1
Monitoring=off
Mode=Auto
1
Monitoring=off
Mode=Auto
Ready to Start?
4-40
"CFC_NK113"
"CFC_NK114"
4-41
4.7
4-42
You have inserted blocks in the CFC Editor, assigned parameter values to the
blocks and interconnected them.
You have used the process object view to assign parameter values to the
same process tag types.
5.1
What is SFC?
SFC (Sequential Function Chart) is a sequential control system partitioned to
ensure step-by-step execution with control passing from one state to the next state
dependent on conditions. With a sequential control system, basic automation
functions, for example CFC charts are controlled based on state changes and can
be selectively processed. You create SFC charts in the SFC Editor.
When you created the "color_gs" project with the wizard, PCS 7 automatically
created an SFC chart. This chart is, of course, still empty and you must edit the
chart with the SFC Editor for the "color_gs" project.
5.2
5.2.1
The step is the control instance for processing the assigned actions on the
programmable controller. It is executed until the following transition is satisfied.
Steps are represented by large rectangles in the SFC chart.
When you open a new SFC chart in the SFC Editor, you will first see two steps and
one transition:
Step "START"
Transition 1
Step "END"
A sequential control system will run with the values you assigned to the blocks in a
CFC chart.
5-1
5.2.2
"Activate Selection" button when this button is active, you can select
individual objects of the SFC chart, for example the steps and transitions. A
selected step or a selected transition is displayed in blue.
"Insert Step + Transition" button when this button is active, the mouse
pointer changes to a small cross and a circle with a bar across. Once you
move the cross to a position in the chart at which you can insert a step or a
transition, the circle becomes the icon for "Step with Transition". At the same
time, a green line indicates where the "Step with Transition" will be inserted.
5.2.3
"Arrow Down" button with this button you change to the next
transition/step
"Arrow Up" button with this button you change to the previous
transition/step
The dialog box has four different tabs. These tabs will be introduced briefly below.
5-2
General here, you make the general settings such as changing the name of
the step.
Initialization the action you define here is processed once only when the step
is activated.
Processing the action you define here is processed cyclically until the next
transition is satisfied.
Termination the action you define here is processed once only when the step
is terminated.
5.2.4
General here, you make the general settings, such as changing the name of
the transition.
Condition in this tab, you specify the condition that decides when control will
be passed to the next step in the sequential control system.
5-3
5.2.4.1
Ready to Start?
5.2.4.2
Ready to Start?
5-4
5.2.4.3
Ready to Start?
5.2.5
Function
START
Defaults:
Stopping dosing
DOSE_REA1
Query:
DOSE_REA2
INIT_LINE1
Controllers:
INIT_LINE2
INIT_1_OK
Query:
INIT_2_OK
5-5
Function
INIT_DOSE
Controllers:
INIT_OK
SLOW_DOWN
Start dosing
Query:
Dosing started ?
Controller:
END_DOSE
Query:
CLOSE_LINE
CLOSE_OK
Dosing ended ?
Controllers:
Stop dosing
Query:
END
Reset
Close valves
The plant operator can start, control, and monitor this chart on the operator station.
5-6
5.2.5.1
Ready to Start?
5. Position the mouse pointer below the "START" step until a green line is
displayed and insert the object by clicking.
An alternative sequence is inserted directly below the "START" step: The
transitions "3" and "4" are inserted parallel to each other and step "4" below
them.
6. Click the "Insert Step + Transition" button.
7. Position the mouse pointer at the following positions and insert a step +
transition:
-
5-7
5-8
5.2.5.2
Ready to Start?
5-9
8. Change to the other steps with the arrow buttons and change the names
according to the table below. Each time you enter a name, complete the
change by clicking the "Apply" button.
Default Name
New Name
INIT_LINE1 done
INIT_DOSE done
SLOW_DOWN
CLOSE_LINE
INIT_LINE2
5-10
5.2.5.3
Ready to Start?
New Name
DOSE_REA1
INIT_1_OK
INIT_OK
END_DOSE
CLOSE_OK
DOSE_REA2
INIT_2_OK
5-11
5-12
5.3
5.3.1
Ready to Start?
5-13
5-14
Note
If you cannot read the names of the block I/Os, position the mouse pointer over
the relevant field the full name is then displayed in a tooltip.
9. Click on the button with the continuous number "2". This button is arranged
directly in front of the statement row.
This positions the mouse pointer in the left column of the second row.
10. Repeat steps 3 through 9 to define the remaining addresses for the "START"
step. You will find the information you require in the following table.
5-15
Note
The addresses in the table are specified in the following format:
[chartname\block\I/O].
The plant hierarchy is omitted to make the table clearer. As soon as you insert a
further plant or unit in the "color_gs" project, you must, of course, include the
assignment of the chart to the plant hierarchy.
Cont.
No.
Address 1
Address 2
Meaning
already done:
FALSE
CFC_FC111\CTRL_PID.SP_EXT
CFC_SETP\PARA_
DOS_RM1_QTY.V
CFC_FC111\CTRL_PID.LMN_SEL
FALSE
No setpoint correction
CFC_FC111\DOSE.L_START
FALSE
Dosing stopped
CFC_FC111\INT_P.TRACK
TRUE
Track integrator
CFC_LI111\INT_P.TRACK
TRUE
Track integrator
CFC_NK111\VALVE.AUT_ON_OP
Auto
CFC_NK112\VALVE.AUT_ON_OP
Auto
CFC_NK113\VALVE.AUT_ON_OP
Auto
10
CFC_NK114\VALVE.AUT_ON_OP
Auto
11
CFC_NP111\MOTOR.AUT_ON_OP
Auto
12
CFC_LI111\INT_P.HOLD
FALSE
5-16
INIT_LINE1
INIT_LINE2
INIT_DOSE
SLOW_DOWN
CLOSE_LINE
END
Process Control System PCS 7, Getting Started - Part 1
A5E00164244-01
5.3.1.1
Cont. No.
Address 1
Address 2
Meaning
1
2
3
CFC_NK111\VALVE.AUTO_OC
CFC_NK112\ VALVE.AUTO_OC
CFC_NK113\ VALVE.AUTO_OC
TRUE
TRUE
TRUE
Open valve
Open valve
Open valve
CFC_NP111\MOTOR.AUTO_ON
TRUE
Turn on motor
5.3.1.2
Cont. No.
Address 1
Address 2
Meaning
1
2
CFC_NK111\VALVE.AUTO_OC
CFC_NK112\VALVE.AUTO_OC
TRUE
TRUE
Open valve
Open valve
3
4
CFC_NK114\VALVE.AUTO_OC
CFC_NP111\MOTOR.AUTO_ON
TRUE
TRUE
Open valve
Turn on motor
5.3.1.3
Cont. No.
Address 1
Address 2
Meaning
CFC_FC111\CTRL_PID.SP_EXT
CFC_FC111\CTRL_PID.AUT_L
CFC_SETP\PARA
_DOS_RM1_QTY.V
TRUE
CFC_FC111\DOSE.SP_EXT
CFC_SETP\PARA
_DOS_RM1_VOL.V
4
5
CFC_FC111\DOSE.L_START
CFC_FC111\INT_P.TRACK
TRUE
FALSE
CFC_FC111\INPUT_U.SIM_V
50.0
Start dosing
Integrator after setpoint
correction
Simulation: Flow 50
liters/min simulated!
CFC_FC111\INPUT_U.SUBS_V
50.0
CFC_LI111\INT_P.TRACK
FALSE
5-17
5.3.1.4
Cont. No.
Address 1
Address 2
Meaning
CFC_FC111\CTRL_PID.SP_EXT
10.0
CFC_FC111\INPUT_U.SIM_V
10.0
CFC_FC111\INPUT_U.SUBS_V
10.0
5.3.1.5
Cont. No.
Address 1
Address 2
Meaning
1
2
3
4
5
6
CFC_NK111\VALVE.AUTO_OC
CFC_NK112\VALVE.AUTO_OC
CFC_NK113\VALVE.AUTO_OC
CFC_NK114\VALVE.AUTO_OC
CFC_NP111\MOTOR.AUTO_ON
CFC_FC111\CTRL_PID.LMN_SEL
FALSE
FALSE
FALSE
FALSE
FALSE
TRUE
CFC_FC111\CTRL_PID.SP_EXT
0.0
8
9
10
CFC_FC111\CTRL_PID.AUT_L
CFC_FC111\DOSE.L_START
CFC_FC111\ INPUT_U.SIM_V
FALSE
FALSE
0.0
11
CFC_FC111\INPUT_U.SUBS_V
0.0
12
CFC_LI111\INT_P.HOLD
TRUE
Close valve
Close valve
Close valve
Close valve
Turn off motor
Correct manipulated variable
to 0
(close valve)
Active setpoint for flow
control
Controller manual mode
Dosing stopped
Simulation: Flow
0 liters/ min simulated
Substitute value for the
simulation value SIM_V
Track integrator
5.3.1.6
Cont. No.
Address 1
Address 2
Meaning
1
2
CFC_FC111\CTRL_PID.AUT_L
CFC_FC111\CTRL_PID.LMN_SEL
FALSE
FALSE
3
4
5
6
7
CFC_NK111\VALVE.AUTO_OC
CFC_NK112\VALVE.AUTO_OC
CFC_NK113\VALVE.AUTO_OC
CFC_NK114\VALVE.AUTO_OC
CFC_NP111\MOTOR.AUTO_ON
FALSE
FALSE
FALSE
FALSE
FALSE
Reset input
No correction of manipulated
variable
Close valve
Close valve
Close valve
Close valve
Turn off motor
5-18
5.3.2
Ready to Start?
You have adapted the default names of the steps and transitions
For address 1, open the "Browse" dialog box by clicking the "Browse"
button and selecting the relevant I/O
Enter address 2
etc.
Notes
When entering the addresses (operands), check whether you have selected the
required transition based on the title bar of the "Properties" dialog box.
Just as with the parameters for the steps, the addresses in the table are specified
in the following format:
[chartname\block\I/O].
The plant hierarchy is omitted.
5-19
CFC_SETP\PARA_DOS_RM1_SEL.Q0 =
CFC_SETP\PARA_DOS_RM1_VOL.V >
FALSE
0.0
Dosing in reactor 1?
Dosing volume higher than 0 ?
Address 1b
1
2
CFC_NP111\MOTOR.QRUN
CFC_FC111\CTRL_PID.QSPEXTON
=
=
TRUE
TRUE
Motor on?
Controller set to external
setpoint?
Address 1
1
2
CFC_FC111\DOSE.QSTRTDOS
CFC_FC111\DOSE.ER
=
<
TRUE
500.0
Dosing started ?
Dosing volume:
setpoint actual value <
500 liters?
Address 1
CFC_FC111\DOSE.QEND_DOS
TRUE
Dosing ended ?
Address 1
CFC_NP111\MOTOR.QRUN
FALSE
Motor off?
Address 1
1
2
CFC_NP111\MOTOR.QRUN
CFC_FC111\CTRL_PID.QSPEXTON
=
=
TRUE
TRUE
Motor on?
Controller set to external
setpoint?
5-20
CFC_SETP\PARA_DOS_RM1_SEL.Q0 =
CFC_SETP\PARA_DOS_RM1_VOL.V >
TRUE
0.0
Dosing in reactor 2?
Dosing volume higher than 0 ?
5.4
You have worked with standard functions such as renaming and opening.
You have renamed and assigned parameter values to the steps and transitions
of the sequential control system.
5-21
5-22
6.1
6.1.1
First you will compile and download the blocks and charts for this task use
the "Compile and Download Objects" function.
You will then test the program you can test both in the SFC Editor and in the
CFC Editor.
Ready to Start?
CPU is in STOP
6-1
6-2
Object
Status
Operating state
CPU 417-4
Sources
Blocks
Charts
modified
STOP
4. For the "Charts" object, check the "Compile" and "Download" check boxes.
5. Select the "Charts" entry and click on the "Edit..." button under "Settings for
Compilation/Download".
The "Compile program / download to target system" dialog box opens and the
"Compile Charts as Program" tab is active. The "Entire program" check box is
automatically activated since you are starting the compilation and download for
the first time.
Note
If you find errors in your program when you test it, you will have to make changes
to your CFC or SFC charts to eliminate the problem. When you restart compilation
and downloading afterwards, make sure that you activate the "Changes only"
check box. This will save you a considerable amount of time when compiling and
downloading. Selecting this option also means that you can down load the
changes without needing to stop the CPU.
Update sampling time With this option, prior to compiling, the system
checks to find out the OB in which the relevant block is installed and
makes the appropriate entry at the "SAMPLE_T" input. "SAMPLE_T"
corresponds to the sampling time of the block in seconds.
6-3
Setting
Compile only
deactivated
activated
10. Click on the "Start" button to start the compilation and download.
The message box "Please make sure the settings for downloading changes
are correctly selected for all the objects to be downloaded ... Do you want to
continue?" opens.
11. Click the "yes" button.
Note
The progress display indicates exactly what PCS 7 is currently doing, for
example:
When this is completed, the log file opens to show you whether or not the
compilation and download was error-free.
6-4
6.2
In the properties dialog of a step, you see the actual values on the left beside
address 1 and the setpoints to the right beside address 2.
In the properties dialog of a transition the current values are displayed to the
left of address 1 and to the right of address 2.
Caution
You can modify all values in the white fields. Remember, however, that these
values are written directly into your configuration data and therefore change the
parameters of your SFC chart.
While working through Getting Started, you will not change any values here and
will simply use the "Properties" dialog boxes to monitor the values.
6-5
6.2.1
Ready to Start?
In the lower part of the SFC editor, you will see the status of the program,
the mode, and the step control mode. As default, the mode is set to
"MANUAL". The current step control mode is displayed in the drop-down
list box and as default is set to "T".
In the lower part of the SFC Editor, there are also buttons for controlling
the SFC chart, for example start, hold, resume.
2. Select the menu command Debug > Step Control Mode > T or C.
In this step control mode, an additional button "C" is displayed beside the
transition while the SFC chart is running:
If the chart
is free of errors The sequential control system will be executed according to the
configured parameters. You do not need the button.
contains errors The sequential control system stops when the transition is not
satisfied. You can click the "C" button to pass control to the next
step regardless of whether the transition is satisfied.
6-6
Each step that is currently being executed is light green with a small arrow
pointing down next to the step.
Steps that have already been processed are displayed in dark green and
have a small check mark beside them.
Transitions that are active but not yet satisfied are shown on a brown
background.
If you created your configuration correctly, the entire SFC chart will execute to the
end and all steps will turn dark green and have a check mark beside them.
Otherwise, you can click the "C" button to pass control to the next step manually
although the transition is not satisfied.
4. Select the menu command Debug > Test Mode.
This stops the Test mode.
6.2.2
Ready to Start?
The "SFC_RMT1" SFC chart is open in the SFC Editor and the Test mode is
active
CTRL_PID
INPUT_U
DOSE
6-7
6.3
6-8
7.1
7.2
7-1
7.3
7.3.1
Adapting picture names and activating the function for creating block icons
Compiling the OS
7-2
Compiling the OS
You run the "Compile OS" function once you have completed configuration of all
data in the SIMATIC Manager and before you start to configure the OS data of the
PCS 7 OS. All the data from the SIMATIC Manager, such as variables, messages,
texts and the hardware and connection configuration must be "made known" to the
OS.
Starting the OS
To continue configuration of the PCS 7 OS, you must start the OS so that you can
continue working in the WinCC Explorer.
7.3.1.1
Ready to Start?
7-3
7-4
7.3.1.2
Ready to Start?
FC111
Picture(4)
ADDIT
Picture(5)
7-5
7.3.1.3
Ready to Start?
For more detailed information on these settings, refer to "Configuring the Operator
Station Working in the SIMATIC Manager How to Edit Picture Properties" in
section "Activate the option for creating block icons".
7-6
7.3.1.4
Ready to Start?
7-7
7-8
Check Box
"Data"
"Picture Tree"
"Entire OS"
"Scope"
7-9
7-10
7.3.1.5
Ready to Start?
7-11
7.4
7.4.1
In the left pane, there is a navigation window: Here you find all the editors that
you can use to configure the PCS 7 OS.
In the "color_gs" project, we will work solely with the Graphics Designer. This is the
tool you use to create process pictures. You do not require any other editors to
configure the PCS 7 OS.
7.4.2
Overview
Process pictures represent the plant equipment for the operator. Here, the operator
can enter commands and display plant statuses.
The process picture you will create for the "color_gs" project already exists in the
SIMATIC Manager in the plant hierarchy.
In the "Graphics Designer" editor, you will edit this process picture; in other
words, you will insert the required static and dynamic objects and interconnect
them.
7-12
7.5
7.5.1
User Interface
The Graphics Designer is an editor for the PCS 7 OS. The user interface of the
Graphics Designer is structured as follows:
On the left-hand side, you will see a Color Palette with which you can assign
colors to the objects.
In the middle, you have the file window or drawing board on which you insert
the objects for the process picture.
On the right-hand side, you will see the Object Palette. This is the library with
the various standard objects provided by the Graphics Designer. You will also
see a Style Palette on the right-hand side with which you can format the
objects.
Libraries
The libraries of the Graphics Designer contain a wide selection of ready-to-use
graphic elements such as piping and valves. You can modify these elements or
add to them and store them in your own project libraries so that they are available
to you at any time.
Objects
The Graphics Designer distinguishes between two different types of objects:
Static objects these objects are purely drawing objects as you would find in a
drawing program, for example lines, circles, polygons, static text etc.
7-13
7.5.1.1
Ready to Start?
The "color_gs" project is open in the WinCC Explorer
7-14
7.5.1.2
Ready to Start?
The picture is opened in the Graphics Designer.
7-15
7.5.2
Static objects
Text fields
I/O fields
7.5.3
7.5.4
7.5.5
I/O fields can process different data formats, such as binary, decimal, string,
hexadecimal.
Just as for all other objects, you can also select different formats and make
different settings for I/O fields.
In the "color_gs" project, you will use an I/O field to control dosing either in
reactor 1 or 2.
7-16
7.5.6
7.6
7.6.1
Ready to Start?
Note
Click on the "glasses" button in the toolbar to obtain a preview of the graphic
objects.
7-17
Number
Pipe horizontal
2x
Pipe vertical
5x
Angle
1x
Angle
1x
Angle
1x
Angle
1x
Control valve
1x
Global Library/Symbols/Valves/30
Tanks representing
the reactors
2x
7-18
5. Select an object and adapt its size and position to match the following picture:
-
You can move the object by positioning the mouse pointer on the object,
holding down the mouse button and dragging the object to the required
location.
You can increase or decrease the size of the object by positioning the
mouse pointer on the corner handles of the object, holding down the
mouse button, and dragging to make the object larger or smaller.
7-19
7.6.2
7.6.2.1
Step
What?
Step 1
Step 2
Step 3
Ready to Start?
7-20
7.6.2.2
Ready to Start?
7-21
7.6.2.3
Ready to Start?
LI111
NK111
NK112
NK113
NK114
NP111
FC111
7-22
7.6.3
7-23
7.6.3.1
How to Connect the Raw Material Tank with the Process Value
The tank you inserted in your picture represents the raw material tank. You now
connect this tank with the relevant block to be able to display the current fill level of
the raw material tank in the process mode.
Ready to Start?
7-24
7-25
13. Position the mouse pointer on the "lightbulb" symbol of the "Maximum Value",
open the context-sensitive menu and select the Delete menu command.
The default variable is deleted and the default value "100" becomes active.
14. Do the same for "Minimum Value" attribute.
15. Close the "Object Properties" dialog box.
16. Select the menu command File > Save.
This saves the process picture.
7.6.3.2
7-26
Ready to Start?
7-27
6. Repeat steps 1 through 5 for all block icons according to the list below:
-
"..._NK111/VALVE"
"..._NP111/MOTOR"
"..._NK112/VALVE"
"..._NK113/VALVE"
"..._NK114/VALVE"
7-28
7.6.4
Reactor selection
External/internal setpoint
Start with the configuration for selecting the reactor this involves three steps.
Afterwards, you follow practically the same procedure to configure setpoints:
7.6.4.1
Step
What?
Step 1
Step 2
Step 3
Step 4
Ready to Start?
7-29
7-30
7.6.4.2
Ready to Start?
7-31
7.6.4.3
Ready to Start?
4. Drag a frame round the I/O field and the explanatory text use the "Standard
Objects/Rectangle" object.
5. Now format the text field using the Style Palette:
-
7-32
7.6.4.4
3. Specify the properties for the I/O field in the "Properties" dialog box:
-
8. Group the objects with the menu command Edit > Group > Group.
9. Position the object at the lower left.
7-33
7.6.4.5
Finishing Touches
1. Position the block icon "..._FC111/CTRL_PID" to the right beside the control
valve "FC111".
2. Insert an arrow between the actuator and the block icon to indicate the
relationship between the measuring point and the block icon.
3. Position the block icon "/CFC_LI111/LIA" to the right beside the raw material
tank.
4. Insert an arrow between the raw material tank and the block icon to indicate
the relationship between the measuring point and the block icon.
5. Position the block icon ".../CFC_FC111/DOSE" to the left beside reactor 1.
6. Position the setpoint selection above the block icon ".../CFC_FC111/DOSE".
7. Position the block icon "...RMT1/SFC_RMT1" in the top left corner.
7-34
7-35
7.7
7-36
8.1
8.1.1
Selecting whether the setpoint is read from the CFC chart or whether the
operator sets the setpoint externally
You can, of course, also monitor the CFC and SFC charts at the same time. You
have already got to know this function when testing the charts.
8.1.2
Message line the latest message with the highest priority is displayed here
Overview area with various buttons, you can select the various areas of a
plant and display them. In your "color_gs" project, you have only one button,
namely "RMT1" because your plant consists of only one plant section. Beside
each button, there are four further small buttons with which alarms and
warnings from hierarchically lower levels can be displayed. If you click in this
area, you automatically change to the process picture in which the alarm or
warning originated. With the arrow button on the extreme right, you can open a
tree structure in which you can select a lower area in the hierarchy.
8-1
Process picture depending on the area you selected in the overview area,
you will find the relevant process picture here. In your "color_gs" project, the
plant picture you created in the Graphics Designer is displayed.
Keyset using the keyset, you can invoke various functions that you can select
in the process mode. In the "color_gs" project, you will, of course, only get to
know the buttons that are important for this project.
Message line
Overview area
Process picture
Keyset
Follow the steps outlined here...
8-2
8.2
8.2.1
Ready to Start?
8-3
8.2.2
8-4
5. Position this detailed display so that you can see your entire process picture.
6. Click on the "Start" button.
The "SFC Control" dialog box opens.
7. Click the "OK" button.
The sequential control system starts: You can monitor the process both in your
process picture and in the detailed display of the SFC chart. The
representation in the SFC chart is no different from the representation you
know from the test mode.
8-5
8.2.3
8.2.4
8.2.5
Opening faceplates
8-6
8.2.6
Standard here, you can see, for example, the setpoint and actual value
of the controller as concrete values and in graphic form.
Parameters here, you can, for example, modify certain values. Using the
input fields "Bar HL" and "Bar LL", you can modify the graphic display for
the "Standard" tab.
Limits here, you can see, for example, the alarm limits that you defined in
the CFC chart for this block.
8.2.7
First you define whether or not the process uses the external or internal
setpoint.
8-7
8-8
8.2.8
Message Line
While the process is active, warnings and alarms with messages are displayed in
the message line of your screen. The message line contains the latest message
with the highest priority.
Click the button to the right of the message line to acknowledge the messages.
Message list
You can also view all the messages and alarms in a list.
1. Click the "Change Keyset" button.
then
want to acknowledge a single message click on the line number of the required
message and then click on the
"Acknowledge single messages" button.
8-9
4. Click on the buttons in the button area to change to the various message and
alarm lists.
5. Click on the "Previous Graphic" button in the button area:
8.2.9
8-10
9.1
9.1.1
Ready to Start?
9-1
Caution
If you copy or move charts and pictures singly; in other words, copy or move not
within the hierarchy folder, the references of the dynamic objects are lost and they
must be linked to the blocks again in the pictures.
3. Change the names of the hierarchy folder and the objects in the individual
hierarchy folders according to the table below:
Hierarchy folder
New name
New name
RMT1(1)
RMT2
RMT2
SFC_RMT1(1)
SFC_RMT2
FC111
FC112
CFC_FC111(1)
CFC_FC112
ADDIT
ADDIT2
CFC_SETP(1)
CFC_SETP2
LI111
LI112
CFC_LI111(1)
CFC_LI112
NK111
NK115
CFC_NK111(1)
CFC_NK115
NK112
NK116
CFC_NK112(1)
CFC_NK116
NK113
NK117
CFC_NK113(1)
CFC_NK117
NK114
NK118
CFC_NK114(1)
CFC_NK118
NP111
NP112
CFC_NP111(1)
CFC_NP112
9-2
9.2
9-3
9.2.1
Ready to Start?
9-4
Activate the "Changes" check box You only need to download the
additional charts from the "RMT2" plant section, you have already
downloaded all the other charts belonging to "RMT1".
Caution
The CPU remains in RUN only if you select this option.
6. Click the "OK" button and click "OK" in the "Download" message window.
7. Click on the "Start" button.
The "Download" message dialog opens.
8. Click the "yes" button.
The starts the download and the CPU remains in "RUN".
On completion of the download, the log file is displayed in an additional
window.
9-5
9.2.2
Ready to Start?
The "color_gs" project is open in the SIMATIC Manager
Caution
Make sure that you do not select a higher-level hierarchy folder. Otherwise, you
might overwrite the block icons in the RMT1 picture as well as the settings you
made there.
Caution
In step 4, activate the "Changes" option. This avoids all the information being
downloaded. This reduces the time required to compile.
9-6
If you no longer know the exact procedure in the various steps of the wizard, you
will find detailed information in
"Configuring the Operator Station Working in the SIMATIC Manager How to
Compile the OS".
5. Open the PCS 7 OS and open the "RMT2" process picture in the Graphics
Designer.
6. Make the following changes:
-
Adapt static texts to match the names in the plant hierarchy, for example
the text "NK111" must be changed to "NK115"
Set the "View Tag" attribute to "no" for the block icons
You will find detailed information on these procedures in "Configuring the Operator
Station Creating the Process Picture".
9.2.3
Ready to Start?
Note
For more detailed information, refer to "Working in the Process Mode Operator
Control and Monitoring in the Process Mode".
9-7
You will find more detailed information in "Working in the Process Mode".
9-8
10.1
10.1.1
Ready to Start?
The SIMATIC Manager is open
Note
You receive the sample project as a zip file that you can extract using a PCS 7
function. If you want to store the project in a specific folder, create the folder first in
the Windows Explorer and call it, for example, "sampleproj_gs".
10-1
then
have already created a separate folder navigate to this folder and then click the
for the sample project
"OK" button.
10-2
10.1.2
Ready to Start?
10-3
10.1.3
Ready to Start?
Caution
Make sure that you activate the "Entire program" check box in the "Compile
Program/Download" dialog box.
For more detailed information refer to "Compiling, Downloading, and Testing the
Charts How to Compile and Download the CFC and SFC Charts".
2. Change to the plant view, select the "color_gs_MP/ color_gs_Prj/ Plant1/
RMT1" folder in the tree structure and then select the menu command
Options > Plant Hierarchy > Create/Update Block Icons
For more detailed information, refer to "Configuring the Operator Station Working
in the SIMATIC Manager How to Create the Block Icons".
3. Change back to the component view, select the "color_gs_MP/ color_gs_Prj/
SIMATIC PC-Station(1)" entry in the tree structure and then select the menu
command Options > OS > Compile
Caution
Activate the "Entire OS" check box and the "With memory reset" check box.
10-4
For more detailed information, refer to "Configuring the Operator Station Working
in the SIMATIC Manager How to Compile the OS".
4. Open PCS 7 OS and adapt the computer names:
-
Select the computer in the detailed window and then select the menu
command View > Properties.
Enter the name of the computer on which you open the project in the
"Computer name" input field. This name corresponds to the name used for
the computer in the network. You can find this name as follows: "Start >
Settings > Control Panel > System > "Network Identification" > "Computer
name"".
10-5
10-6
Index
A
Adapting the sample project.........................10-3
Additional task ................................................9-1
Applications ....................................................2-1
B
Block catalog................................................4-18
Block comment.............................................4-38
Block icon.....................................................4-41
specifying the type....................................4-40
block icons
"View_Tag" attribute.................................7-27
Block icons ........... 7-4, 7-6, 7-7, 7-26, 7-27, 7-28
activating creation of ..................................7-3
adapting ...................................................7-26
creating ......................................................7-6
Blocks..................................... 4-4, 4-6, 4-7, 4-22
I/Os...........................................................4-22
inserting in library .......................................4-6
master data library......................................4-4
Brief overview.................................................2-1
C
Catalog.........................................................4-20
CFC chart.......................................................6-5
test mode ...................................................6-5
CFC charts ............... 4-1, 4-12, 4-13, 4-14, 4-16,
......................................... 4-21, 4-22, 6-1, 9-1
assigning parameter values to blocks ......4-22
color_gs project ........................................4-12
compiling ....................................................6-1
downloading ...............................................6-1
inserting....................................................4-16
object properties.......................................4-14
opening ....................................................4-21
plant hierarchy..........................................4-12
renaming ...........................................4-14, 9-1
significance of CFC_FC111 .....................4-13
significance of CFC_LI111 .......................4-14
significance of CFC_NK11x......................4-14
significance of CFC_NP111 .....................4-14
significance of CFC_SETP .......................4-13
CFC editor......................................................4-1
CFC Editor ......................... 4-18, 4-19, 4-20, 6-7
catalog......................................................4-20
monitoring ..................................................6-7
overview ...................................................4-19
D
Detailed window............................................. 2-2
SIMATIC Manager ..................................... 2-2
Device.......................................................... 3-32
Download......................................... 6-2, 6-3, 6-4
Drawing board ............................................. 7-13
Duplicating ................................................... 7-22
E
END ............................................................. 5-18
Entering setpoints ........................................ 7-29
F
Faceplates ..................................................... 8-7
Function....................................................... 3-32
Index-1
Index
G
Graphics Designer .....................7-13, 7-15, 7-16
libraries .................................................... 7-13
object palettes.......................................... 7-15
objects ............................................ 7-13, 7-16
toolbars .................................................... 7-15
H
Hardware ............................................ 3-20, 3-26
catalog ..................................................... 3-20
configuration OS ...................................... 3-26
PLC configuration .................................... 3-20
Hardware configuration.....3-19, 3-20, 3-23, 3-26
downloading............................................. 3-23
OS............................................................ 3-26
PLC.......................................................... 3-20
Hardware settings .......................................... 3-5
checking..................................................... 3-5
Hierarchy folder..............................3-35, 9-1, 9-2
inserting ................................................... 3-35
renaming.................................................... 9-1
I
I/O field ............................................... 7-29, 7-31
formatting ................................................. 7-31
inserting ................................................... 7-29
I/O fields....................................................... 7-16
I/Os .............................................................. 4-22
invisible .................................................... 4-22
INIT_DOSE .................................................. 5-17
INIT_LINE1 .................................................. 5-17
INIT_LINE2 .................................................. 5-17
Initialization .................................................. 5-13
input/output fields......................................... 7-29
Input/output fields
inserting ................................................... 7-29
ISO Ind. Ethernet ........................................... 3-8
K
Keyset............................................................ 8-2
L
Libraries .....................4-5, 4-10, 4-11, 4-18, 7-13
Graphics Designer ................................... 7-13
hiding ....................................................... 4-10
opening ...................................................... 4-5
M
Master data library .................3-12, 4-2, 4-3, 4-4,
.....................................................4-6, 4-7, 4-8
Advantages ................................................ 4-2
blocks......................................................... 4-4
inserting blocks .......................................... 4-6
Index-2
N
Navigation window........................................7-12
Network adapters ...........................................3-7
New Project wizard.......................................3-11
background information ............................3-11
Node address .................................................3-8
O
Object .............................................................2-1
project.........................................................2-1
Object palettes .............................................7-15
Objects ................................. 6-2, 6-4, 7-13, 7-16
compiling ....................................................6-1
downloading ....................................... 6-3, 6-4
dynamic ....................................................7-13
I/O fields ...................................................7-16
static ............................................... 7-13, 7-16
text fields ..................................................7-16
Operator station.................................... 7-7, 7-11
compiling ....................................................7-7
network connection.....................................7-7
starting......................................................7-11
OS configuration.............................................7-2
block icons..................................................7-2
compilation .................................................7-2
picture properties........................................7-2
Overview ......................................................4-19
Overview area ........................................ 8-1, 8-2
P
PCS 7 Library V60.................................. 4-6, 4-8
PCS 7 OS............................................. 7-1, 7-12
configuring..................................................7-1
structure ...................................................7-12
PG/PC interface .............................................3-8
ISO Ind. Ethernet........................................3-8
node address..............................................3-8
Target station .............................................3-8
Picture hierarchy ..........................................3-29
Picture properties ...........................................7-3
changing a picture name ............................7-3
editing.........................................................7-3
Picture Tree....................................................7-7
Pictures ..........................................................7-5
deleting.......................................................7-5
Index
R
Reactor selection ......................................... 7-29
Renaming ...................................................... 9-1
Requirements ......................................... 1-1, 1-2
hardware............................................. 1-1, 1-2
software ..................................................... 1-2
run time........................................................ 5-17
Run-time group .............................................. 6-1
S
Sample project..................10-1, 10-2, 10-3, 10-4
compiling.................................................. 10-4
downloading............................................. 10-4
opening .................................................... 10-1
Scan time....................................................... 6-1
Sequential control system.............................. 5-5
Sequential control systems ..................... 5-1, 5-7
creating ...................................................... 5-7
Setpoint assignment .................................... 7-33
inserting ................................................... 7-33
SFC chart ............................................... 5-4, 6-5
moving ....................................................... 5-4
test mode ................................................... 6-5
SFC charts........ 5-1, 5-4, 5-5, 5-13, 6-1, 6-3, 9-1
assigning parameter values ..................... 5-13
compiling.................................................... 6-3
downloading............................................... 6-1
initialization .............................................. 5-13
opening ...................................................... 5-5
renaming............................................. 5-4, 9-1
SFC Editor ....................................... 5-1, 5-2, 6-6
functions .................................................... 5-2
step............................................................ 5-1
test mode ............................................ 6-6, 6-7
testing charts ............................................. 6-6
transition .................................................... 5-1
SFC Visualization .......................................... 7-7
Sheet view ................................................... 4-19
SIMATIC Manager ........................... 2-2, 2-3, 7-3
OS compilation .......................................... 7-2
OS configuration ........................................ 7-2
structure..................................................... 2-2
user interface ............................................. 2-2
working with ............................................... 2-3
Single project ............................................... 3-11
SLOW_DOWN............................................. 5-18
Static objects ............................................... 7-16
Step ............................................................... 5-1
Steps ............................................. 5-2, 5-9, 5-10
properties................................................... 5-2
renaming.................................................... 5-9
Structure of the plant ..................................... 3-3
Index-3
Index
T
Tag interconnection ............................ 7-17, 7-24
raw material tank...................................... 7-24
Target station................................................. 3-8
Task ........................................................ 3-2, 3-3
piping and instrumentation flow diagram.... 3-2
structure of the plant .................................. 3-3
Templates .................................................... 4-17
Test mode........................................6-5, 6-6, 6-7
CFC chart .................................................. 6-5
CFC Editor ................................................. 6-7
mode.......................................................... 6-6
properties ................................................... 6-6
SFC chart................................................... 6-5
SFC Editor ................................................. 6-6
step control mode ...................................... 6-6
Text field ............................................. 7-20, 7-21
attributes .................................................. 7-21
formatting ................................................. 7-20
inserting ................................................... 7-20
labeling .................................................... 7-20
setting object properties ........................... 7-21
Text fields ..................................7-16, 7-22, 7-32
adding to .................................................. 7-32
duplicating................................................ 7-22
Index-4
Toolbars .......................................................7-15
Graphics Designer....................................7-15
Transition........................................................5-1
Transitions................................... 5-2, 5-11, 5-19
parameters ..................................... 5-19, 5-20
properties ...................................................5-2
renaming ..................................................5-11
Tree structure .................................................2-2
SIMATIC Manager......................................2-2
U
Unit ...............................................................3-32
V
View_Tag .....................................................7-26
Views..............................................................2-3
component view..........................................2-3
plant view ...................................................2-3
process object view ....................................2-3
W
WinCC Explorer............................................7-12
structure ...................................................7-12