Baixe Sequenciamento com CLP SIMATIC PCS7 e outras Manuais, Projetos, Pesquisas em PDF para Automação, somente na Docsity!
SIMATIC PCS 7 – Exercises
- Training Documentation, V1.00, ST-PCS7SYS 19 -
- Content
- 19 Tasks ........................................................................................................................
- 19.1 Multiproject.............................................................................................................................
- 19.2 Station Configuration PC
- 19.3 Station Configuration AS
- 19.4 Plant Hierarchy
- 19.5 Drivers for the Signal Box
- 19.6 Installing the process simulation..........................................................................................
- 19.7 Material Tank M110
- 19.8 Everything of D210, R310 and B410
- 19.9 Launch of the OS.................................................................................................................
- 19.10 M120 and M130
- 19.11 Level bar objects in tanks
- 19.12 Auto Mode for the material tanks.........................................................................................
- 19.13 First Sequence for R310......................................................................................................
- 19.14 Complete Sequence for R310
- 19.15 Holding and resuming..........................................................................................................
- 19.16 SFC Objects.........................................................................................................................
- 19.17 Users....................................................................................................................................
- 19.18 OS Project editor – Area buttons …
- 19.19 Time Synchronization and Lifebeat Monitoring
- 19.20 PCS 7 compliant picture change
- 19.21 Project Editor - Message Display.........................................................................................
- 19.22 Alarms..................................................................................................................................
- 19.23 Smart Alarm Hiding..............................................................................................................
- 19.24 Status display for stirring motors
- 19.25 Archiving the Material Tanks levels
- 19.26 Interlock for the dose valves
- 19.27 Local operation of M316
- 19.28 Valves as a Process Tag
- 19.29 Model of the reactor.............................................................................................................
- 19.30 AS-AS communication.........................................................................................................
- 19.31 Configuration in Run
SIMATIC PCS 7 – Exercises 19 - 2 Training Documentation, V1.00, ST-PCS7SYS
19.32 Simulation LIA134................................................................................................................ 46 19.33 New function block............................................................................................................... 47 19.34 New block icon..................................................................................................................... 49
SIMATIC PCS 7 – Exercises 19 - 4 Training Documentation, V1.00, ST-PCS7SYS
12. For the project and both libraries, select two different languages as the languages for
Display Devices, with English as the Default Language.
SIMATIC PCS 7 – Exercises Training Documentation, V1.00, ST-PCS7SYS 19 - 5
19.2 Station Configuration PC
Goal
A configured SIMATIC PC Station, both in the project and the Station Configurator.
Main steps
1. In the Properties of the SIMATIC PC Station, check the setting to have the Computer
name identical to PC Station name.
2. From the Start menu, activate:
Siemens Automation -> SIMATIC -> SIMATIC NET -> Configuration Console and identify in the Modules section the MAC and IP addresses (including Subnet mask) and the module types to be used (note them on paper). Your instructor may supply you with the current local information.
3. In the Component view, open the PC Station configuration. You will find the “WinCC
Appl.“ positioned at Index 2, because of the creation by the PCS 7 Wizard “New Project“.
4. From the Catalog, insert the proper CP Industrial Ethernet into the Index 1 position.
Supply the module with the proper addresses (both MAC and IP) and have it connected to the Ethernet network of your project.
5. For these changes, activate Save and Compile and close the HW Config editor.
6. From the SIMATIC PC Station icon, activate using its context menu the options for
configuring and download the station configuration.
7. Check the result in the Station Configuration Editor
SIMATIC PCS 7 – Exercises Training Documentation, V1.00, ST-PCS7SYS 19 - 7
19.4 Plant Hierarchy
Goal
The starting point of the Plant Hierarchy
Main steps
1. Create or rename existing hierarchy folders to achieve the following structure:
Johnsson
Material Tanks
M
Buffer Tanks
B
Reactors
R-General
R
Dose
Mix
Heat
Drain
Level 4
Level 3
Level 2
Level 1
2. Check if the assignment of all hierarchy folders is to the Charts folder of your AS.
3. Insert another folder on the 2 nd^ level called “Signal Box”.
4. Using HW Config of the AS, insert symbolic names for the 3 signals of the relay:
- output: “Relay”
- input: “Relay_NC” (normally closed)
- input: “Relay_NO” (normally opened)
SIMATIC PCS 7 – Exercises 19 - 8 Training Documentation, V1.00, ST-PCS7SYS
19.5 Drivers for the Signal Box
Goal
5 charts containing drivers for the I/O signals of the Signal Box.
The real available training equipment is dependent of the training site. This task description assumes the use of the SITRAIN standard equipment for PCS 7 training purposes and the Signal Box.
Main steps
1. Assign symbols to some channels of the 4 modules of the ET 200M rack connected to
Profibus DP. Find the signals to use now in the table below. Check the 2 function diagrams of the digital and analog signals to identify the used channels.
Type Symbol Comment Digital in T T T T S S S S
Pushbutton T1 on the Signal Box Pushbutton T2 on the Signal Box Pushbutton T3 on the Signal Box Pushbutton T4 on the Signal Box Switch S1 on the Signal Box Switch S2 on the Signal Box Switch S3 on the Signal Box Switch S4 on the Signal Box Digital out H H H H
Lamp H1 on the Signal Box Lamp H2 on the Signal Box Lamp H3 on the Signal Box Lamp H4 on the Signal Box Analog in AI AI
Potentiometer 1 on the Signal Box Potentiometer 2 on the Signal Box Analog out AO AO
Analog output 1 on the Signal Box Analog output 2 on the Signal Box
2. Open the Plant hierarchy folder “SignalBox”.
3. In the “Signal Box” folder insert a new chart called “Relay”. Have it in the OB33 run
sequence.
4. Insert 1 digital output driver and 2 digital input drivers, and connect them to the
addresses of the Relay:
- Output: „Relay“
- Input: „Relay_NC“ (normally closed)
- Input „Relay_NO“ (normally opened)
5. In the “Signal Box” folder insert 2 new charts, installed in the run sequence of OB32,
called “ SignalBoxAnIn ” and “ SignalBoxAnOu ”. Have the proper Analog input and output drivers inserted and connect them to the symbols you created earlier.
SIMATIC PCS 7 – Exercises 19 - 10 Training Documentation, V1.00, ST-PCS7SYS
19.6 Installing the process simulation
Goal
A running process simulation of the Johnsson plant. After this task the functions for the plant can be configured.
Main steps
1. Copy the chart “@Johnsson” from the Course Library Charts folder to the Charts folder
of your AS.
2. Open both symbol tables of the Course Library and of your AS.
3. In the Symbol Editor, arrange both windows next to each other.
4. Sort the contents of the library table for the Address column in ascending order.
5. Copy the lines with the input and output addresses (by highlighting the line numbers)
and paste them in the symbol table of your AS (put your pointer in the Symbol field of the last line before your perform the Paste). You should have copied 127 lines.
6. Close both tables (save).
7. In the plant hierarchy, copy the chart “Relay” and paste it into the folder
Johnsson\Reactors\R310\Dose.
8. Rename the chart to “Temp_V311”.
9. Open the chart, and change the 3 addresses to the addresses of V311.
10. For the output driver, parameterize input Mode with the value 16#8000FFFE
11. For both input drivers, parameterize input Mode with the value 16#8000FFFF
12. Make a new Trend Display called “Temp_V311” and connect the 3 values from the
drivers.
13. Test the function in the chart, using the Trend Display and watch the behavior of the
control signal and both feedback signals.
SIMATIC PCS 7 – Exercises Training Documentation, V1.00, ST-PCS7SYS 19 - 11
19.7 Material Tank M
Goal
Configure the AS functions for Material Tank M110. Measuring and monitoring the level of the tank and controlling and monitoring the valve and the pump, based on templates from the library.
Main steps
1. In SIMATIC Manager, open the Library “ PCS 7 AP Library V80 ” and select its chart
folder “Templates” (Component View).
2. Copy 4 charts into the “Process tag types” folder of your Master Data Library (Plant
View):
- AnalogMonitoring
- MotorLean
- PIDControlLean
- ValveLean
3. Close the Library window
4. Before the charts will be copied into our application, we will first adapt some settings :
Chart\block I/O for Visible and Watched
Change parameter value AnalogMonitoring\MonAnalog PV_AH_Act PV_AH_En PV_AH_Lim PV_AL_Act PV_AL_En PV_AL_Lim PV_WH_Act PV_WH_En PV_WH_Lim PV_WL_Act PV_WL_En PV_WL_Lim
SIMATIC PCS 7 – Exercises Training Documentation, V1.00, ST-PCS7SYS 19 - 13
- from the Master Data Library, folder “Process tag types”
- to the plant hierarchy of your project, folder “Johnsson\Material Tanks\M
- charts: AnalogMonitoring, MotorLean, ValveLean
6. For each of the 3 charts, open the “Properties CFC chart” dialog, and active the “ Clear ”
button in the “Process tag type” tab.
7. Rename the charts:
AnalogMonitoring LIA MotorLean P ValveLean V
8. Configure in chart LIA114 :
- PV_In: Interconnection to Address: “LT114”
- Scale: 0 … 6000
- Unit of Measure: 1088 (kg)
9. Configure in chart P113 :
- addresses: “P113_O” as the feedback, “P113” as the control output
10. Configure in chart V112 :
- addresses: “V112_O” and “V112_C” as feedbacks, “V112” as the control output
11. Make a temporary chart “tempV211” in the hierarchy folder
“Johnsson\Reactors\R310\Dose”.
12. In this temporary chart, install a copy of the output driver from chart V112.
13. Connect this driver to address “V211” and set the value 1 for both inputs SimOn and
SimPV_In.
14. Bring the changes to the real AS (Compile and Download).
15. Open only the 3 charts of M110, have their windows arranged next to each other, and
active Test mode.
16. The content of the tank should start with 5700 kg, but when the valve is opened and
the pump in running, the content should decrease with about 3 kg per second.
17. Finish this task with the pump stopped and the valve closed.
SIMATIC PCS 7 – Exercises 19 - 14 Training Documentation, V1.00, ST-PCS7SYS
19.8 Everything of D210, R310 and B
Goal
All devices of D210, R310 and B410 monitored and controlled in manual mode.
Main steps
1. Delete the temporary chart “tempV211”.
2. In your Master Data Library, open the Process tag type “ PIDControlLean ” to make
some adjustments.
3. Copy the Pcs7AnIn driver into the lower left corner of sheet 1 of this chart, and rename
it to Rbk.
4. At input PV_In, change the Interconnection to Address to the text “ Read back ”.
5. Connect the output PV_out of the new driver to the input Rbk of the controller block.
6. From both Or04 block, have the input In2 set to visible, and make proper connections
to the new driver.
7. Close this chart now and copy it from the Master data Library to the plant hierarchy:
Johnsson\Reactors\R310\Heat and rename it to TICA.
8. For this chart, open the “Properties CFC chart” dialog, and active the “ Clear ” button in
the “Process tag type” tab.
9. Open the chart TIC315 now and use the I/O addresses :
- input for PV: TT
- input for Rbk: CV315_X
- output: CV
10. Set the controllers input TI to a value of 30.
11. Scale the process value from 0 … 200.
12. Close the chart TIC315.
SIMATIC PCS 7 – Exercises 19 - 16 Training Documentation, V1.00, ST-PCS7SYS
19.9 Launch of the OS
Goal
A running OS based on the AS functions configured up to now.
Main steps
1. Make an OS-AS connection based on MAC address.
2. Name the connection ASxx (xx = your team number)
3. Have the connection downloaded to both stations.
4. In the Component view, select the OS and if present, delete any existing picture.
5. Copy the 6 supplied (background) pictures from the Course Library (OSLib) to the Plant
Hierarchy / regarded folders (just by drag & drop).
6. In hierarchy folder Signal Box , insert a new picture and rename it to SignalBox.
7. For the 3 pictures in the third hierarchy level, the option Derive the block icons
from … in the property dialog window is to be checked.
8. Point to one of the hierarchy folders and select the option Plant Hierarchy >
Settings …
9. Select only level 3 to be included in the HID.
10. Select level 2 as the OS area.
11. Compile the OS
12. In the three 3 rd^ level pictures, move the block icons to the proper position in the process
image.
13. Activate the OS (Runtime).
14. Get familiar to the general way of operation.
SIMATIC PCS 7 – Exercises Training Documentation, V1.00, ST-PCS7SYS 19 - 17
19.10 M120 and M
Goal
AS and OS function for M120 and M130 based on a copy of M110.
Main steps
1. De-activate the OS.
2. In the Process Object View make two copies of the folder (including its content) M110,
on the same hierarchy level.
3. Rename the new hierarchy folders to the proper names (in the tree).
4. Rename the new charts and pictures (tab General).
5. Change the block comments for the new operating and monitoring blocks (tab Blocks)
6. Change the I/O addresses (tab Signals)
7. Compile and Download the charts.
8. Compile the OS (select at Scope: Changes).
9. In Graphic Designer, edit the static text in the pictures M120 and M130:
10. Close the pictures and Graphics Designer and watch the pictures in Run Time.
SIMATIC PCS 7 – Exercises Training Documentation, V1.00, ST-PCS7SYS 19 - 19
19.12 Auto Mode for the material tanks
Goal
One common switch on the OS to set the outlet valves and outlet pumps of the material tanks in Auto mode. When in Auto Mode, then the outlet valve and outlet pump of a material tank must follow up the demand for the material: opening and starting when a dose valve has opened.
Main steps
1. In hierarchy folder Material Tanks , make a new hierarchy folder M-General. In this new
folder insert a new chart M-General and a new picture M-General.
2. In the chart insert a block of type OpDi01 , named AutoMode.
3. Connect the output Out of this operator block to both the inputs ModLiOp and
AutModLi of the VlvL and MotL blocks of M110, M120 and M130.
4. In each of the 3 charts for the Material tank outlet valve, insert a new OR04 block, and
connect its output Out to the input OpenAut of the VlvL.
5. Complete all connections, as summarized in the diagram on the next page.
SIMATIC PCS 7 – Exercises 19 - 20 Training Documentation, V1.00, ST-PCS7SYS
VlvL
OR
OpDi
MotL
VlvL V112 P
V
M-General
OpenAut Opened
ModLiOp AutModLi
StartAut
Out
Opened
VlvL
OR
MotL
VlvL V122 P
V
VlvL
OR
MotL
VlvL V132 P
V
6. For the 3 new OR04 blocks, insert textual connections as a preparation for the valves
of the other 3 dose tanks that will appear later.
7. Compile and Download to the AS , compile the OS , and test.