Upload
buitruc
View
229
Download
4
Embed Size (px)
Citation preview
Set on Human Machine Interface
Local Operator Control and Monitoring using Touch Panel
Micro Automation Set 4
Warranty, Liability and Support
Micro Automation Set 4 Entry ID: 21063460 :
Version – Identification V2.0 – Release 06/15/05 2/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
Warranty, Liability and Support We do not accept any liability for the information contained in this document.
We do not accept liability, whatever the legal basis, for any damages arising from the use of examples, notes, programs, configuration and performance data etc. described in this document, except where we are obliged to by the German Product Liability Act or in cases of willful damage or gross negligence, injury to life, body or health, breach of guarantee for the condition of products or items assumed by us, fraudulent concealment of a defect or breach of a substantial contractual obligation. However, claims arising from a breach of a condition which goes to the root of the contract shall be limited to the foreseeable damage which is intrinsic to the contract, unless caused by intent or gross negligence or based on mandatory liability for injury of life, body or health. The above conditions are not meant to change the burden of proof to the detriment of the user.
The application examples do not purport to cover all details or variations in equipment, nor do they provide for every possible contingency. They are not customer-specific solutions. They are only intended to provide support for typical tasks. You are responsible for ensuring that the described products are used correctly. These application examples do not relieve you of the responsibility to use sound practices in application, installation, operation and maintenance. By using this application example you accept that Siemens is not liable for any damages except for those specified in the above liability clause. We reserve the right to make changes in these application examples at any time without prior notice. If there are any deviations between the recommendations provided in this application example and other Siemens publications – e.g. Catalogs – the contents of the other documents have priority.
Copyright© 2005 Siemens A&D. Any form of duplication or distribution of these application examples or excerpts hereof is prohibited without the expressed consent of Siemens Energy & Automation, Inc.
For questions about this document please use the following e-mail address:
Foreword
Micro Automation Set 4 Entry ID: 21063460 :
Version – Identification V2.0 – Release 06/15/05 3/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
Foreword Micro Automation Sets are fully functional and tested automation configurations based on A&D standard products for easy, fast and inexpensive implementation of automation tasks in small-scale automation. Each of these Micro Automatic Sets covers a frequently occurring subtask of a typical customer problem in the low-end range.
The sets help you to obtain answers with regard to required products and the question how they function when combined.
However, depending on the system requirements, a variety of other components (e.g. other CPUs, power supplies, etc.) can be used to implement the functionality on which this set is based. Please refer to the respective SIEMENS A&D catalogs for these components.
The Micro Automation Sets are also available by clicking the following link:
http://www.siemens.de/microset
Table of Contents
Table of Contents ......................................................................................................... 3
1 Fields of Application and Benefit .................................................................. 4
2 Configuration .................................................................................................. 6
3 Required Hardware and Software Components .......................................... 7
4 Principle of Operation .................................................................................... 8 4.1 Multi-master operation at the PPI bus .............................................................. 8 4.2 Vector diagram for display of the course of manufacture ................................. 8 4.3 Text lists for display of the production status.................................................... 9 4.4 Messages and bar display ................................................................................ 9 4.5 Recipe management......................................................................................... 9
5 Software Examples for Startup ................................................................... 10 5.1 Preliminary remark.......................................................................................... 10 5.2 Download of the startup code ......................................................................... 10 5.3 Configuring the startup code........................................................................... 10 5.4 Operation ........................................................................................................ 13
6 Performance Data of the Components ....................................................... 20
Fields of Application and Benefit
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 4/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
1 Fields of Application and Benefit
Automation task For good comprehensibility, the features of the Micro Automation Set are explained on the basis of an automation task.
The automation task consists of filling a container depending on predefined recipes. The ingredients required for filling are stored in respective containers. It is to be possible to select the recipe via a panel and to display the produced number of containers. The containers are to be refilled either manually or automatically.
AAA
BBB
CCC
B
C
A
Recipe
Container
Containers
Conveyor belt
Automation solution – Set 4 For each station, the automation solution uses an S7-200 for control of the process and a SIMATIC TP177micro Touch Panel for operator control and monitoring. Via a PPI bus connection, several S7-200 controllers can exchange data. S7-200 and TP 177micro of each station can be centrally configured via a PG/PC.
The recipes are stored in the memory module of the S7-200 station.
Station 1
2
24 V
1
TP177micro Touch Panel LOGO! Power SIMATIC S7-200
PC/PG
M
3256 kB
Station 3
M
Station 2
M
Fields of Application and Benefit
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 5/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
Fields of application The Micro Automation Set is particularly suitable for use in cost-effective and user-friendly monitoring and controlling of automated plants. Process data are stored centrally and provided individually.
The Micro Automation Set is particularly suitable for the following sectors:
• E.g. bottling plants
• E.g. assembly machines
• E.g. conveyor systems
• E.g. automatic machines
• E.g. packaging machines
• E.g. ...
Benefit • Economic combination of S7-200 and TP 177micro with software
packages specially adapted to the requirements of micro automation
• Central display of current process data of the distributed machine stations
• Quick and easy configuration via WinCC flexible and MicroWin
• Considerably more options of visualization compared to text-based display systems
• TP 177micro and S7-200 can be used worldwide, five languages are available on TP 177micro
• Reduction of programming overhead due to the automated communication between S7-200 and TP 177micro
Configuration
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 6/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
2 Configuration
Layout diagram of Micro Automation Set 04
Micro Automation Set 04 consists of a TP 177micro and an S7-200 CPU 222 with 256 KB memory module. Port 0 of the S7-200 and of the RS 485 interface of TP 177micro are connected via a PROFIBUS cable. The power supply of both devices is provided by a LOGO! Power 1.3 A.
A standard Windows PC with MicroWin and WinCC flexible is used for the configuration of the components listed above.
Required Hardware and Software Components
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 7/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
3 Required Hardware and Software Components
Products Table 3-1
Component No. MLFB/Order number Note
S7-200 CPU 222 1 6ES7212-1AB23-0XB0 TP 177micro touch panel 1 6AV6640-0CA11-0AX0 LOGO! Power 1 6EP1331-1SH02
Accessories Table 3-2
Component No. MLFB/Order number Note
Memory module 256 Kbytes
1 6ES7291-8GH23-0XA0
PROFIBUS cable 830-IT 1 6XV1 830-1CH30
Configuration software/tools Table 3-3
Component No. MLFB/Order number Note
PC/PPI cable 1 6ES7 901-3CB30-0XA0 SIMATIC STEP7 MicroWIN 4.0 SP1
1 6ES7810-2CC03-0YX0
SIMATIC WinCC flexible 2004 micro SP1
1 6AV6610-0AA01-0AA0
Principle of Operation
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 8/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
4 Principle of Operation
4.1 Multi-master operation at the PPI bus
No. Function Comment
1 As displayed in figure 4-1, several stations consisting of a TP 177micro and an S7-200 can be connected via the PPI bus. Each communication station requires a unique bus address. One TP 177micro communicates with one S7-200.
Station 1
2
24 V
1
TP177micro Touch Panel LOGO! Power SIMATIC S7-200
M
3256 kB
2 Data can be exchanged between the S7-200 controllers.The user program can be changed via a centrally connected PG/PC.
PC/PGStation 1
M
Station 2
M
Station n
M1 2 3 4 5 6 0
Figure 4-1
PC/PGStation 1
M
Station 2
M
Station n
M
1 2 3 4 5 6 0
4.2 Vector diagram for display of the course of manufacture
No. Function Comment
1 Each container consists of one vector diagram. Only the container vector diagram is displayed of which the position corresponds to the position of the container on the conveyor belt in the area of the filling container. All others are hidden.
2 Each container includes 3 output boxes. If a container is filled with an ingredient A, B or C, the associated output box is shown and the name of the ingredient is displayed. All output boxes located above are hidden.
Principle of Operation
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 9/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
4.3 Text lists for display of the production status
No. Function Comment
1 A central output box displays the current process status. This is realized via a text list of which the text is dynamically changed depending on the step number of the control step sequence.
2 Different font sizes in a screen form increase the clarity of the display.
4.4 Messages and bar display
No. Function Comment
1 A dynamic bar displays the level of the filling containers.
2 In manual mode, falling below a minimum level causes the display of a status message indicating that the level is critical.
1/1/2005 3:58:37 PMFill level container A critical
4.5 Recipe management
No. Function Comment
1 The recipes are created using a MicroWin wizard and stored in the memory module of the S7-200.
2 Via two buttons, a recipe number is selected at TP 177micro. Additional background or operator information can be stored via the help text function.
3 A standard block in the S7-200 determines the required ingredients via the selected recipe number as index. This information is displayed at TP 177micro.
Software Examples for Startup
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 10/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
5 Software Examples for Startup
5.1 Preliminary remark
For the startup, we offer you software examples with startup code and test parameters as download. The software examples support you during the first steps and tests with your Micro Automation Sets. They enable quick testing of hardware and software interfaces between the products described in the Micro Automation Sets.
The software examples are always assigned to the components used in the Micro Automation Set and show their basic interaction. However, they are not real applications in the sense of technological problem solving with definable properties.
5.2 Download of the startup code
The software examples are available as download on the HTML page from which you have downloaded this document.
The download consists of a ZIP file which can be extracted with any unzip program. The ZIP file contains the files: Table 5-1
File name Content
Set04_Panel_V2.0_en.zip Archived WinCC flexible configuration for TP177 micro
Set04_S7-200_V2.0_en.mwp S7-200 project for CPU 222
5.3 Configuring the startup code
Note It is assumed that the necessary software is installed on your computer and that you are basically familiar with the software.
Software Examples for Startup
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 11/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
Configuring SIMATIC TP177micro panel with WinCC flexible Table 2
No. Instruction Comment
1 • Connect TP 177micro to a DC 24V power supply. • Connect PC and TP 177micro with an RS232/PPI
cable via the serial COM1 interface. When using a different COM interface, this has to be considered accordingly in the transfer properties of the WinCC flexible project.
• Set the DIP switches of the RS232/PPI cable as follows:
1 2 3 4 5 6 7 8 0 0 0 0 0 0 0 0
2 Extract the WinCC flexible configuration to your hard disk.
3 Open the extracted WinCC flexible project. 4 Switch on the power supply of TP177micro and select the
“Transfer” button after the “bootloader” sequence. The download of the WinCC flexible project can start when a dialog box with the designation Transfer ... is displayed on the panel.
5 In WinCC flexible, start the transfer of the configuration
to TP 177micro.
6 Close the WinCC flexible project.
Software Examples for Startup
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 12/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
Configuring S7-200 with MicroWin project Table 3
No. Function Comment
1 • Connect the S7-200 CPU to a DC 24V power supply. • Connect PC and S7-200 CPU with an RS232/PPI
cable via the serial COM1 interface. When using a different COM interface, this has to be considered accordingly in MicroWIN.
• Se the DIP switches of the RS232/PPI cable as follows:
1 2 3 4 5 6 7 8
0 0 0 0 1 0 0 0 2 • Plug the 256 KB memory module in the S7-200 CPU.
• Switch on the power supply.
3 Open the included S7-200 project using MicroWin. 4 Load the program to the S7-200 CPU and start the
S7-200 CPU.
Starting communication between S7-200 and SIMATIC TP177micro panel
No. Function Comment
1 If the S7-200 project and the WinCC flexible configuration have been successfully loaded, connect S7-200 CPU and TP 177micro via a PROFIBUS cable.
Software Examples for Startup
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 13/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
5.4 Operation
Where are the individual features displayed? The application example of a bottling plant is used to illustrate the features of Micro Automation Set 4.
The overview below shows the operating structure with the respectively used features.
productionproduction
fillingfilling production statusproduction status
recipe administrationrecipe administration
recipesrecipes supplysupply
settingssettings
Dynamisierte VektorgrafikAusgabe des Prozessschritts mit Listenfelder
Anwählen einer in der S7-200 hinterlegten RezepturFüllstandsanzeige mit dynamischen Balken
SprachumschaltungZeiteinstellungSystemfunktionen
Navigation Features
Maske 1 Maske 2
Maske 3 Maske 4
Maske 5
Software Examples for Startup
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 14/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
Screen form 1: Set 04 – filling (start screen form)
What is displayed? This screen form displays the filling of containers (2) with the ingredients A,B and C. The containers are filled depending on the selected recipe. An output box (3) provides information on the current process step.
Selecting the screen form (4)
filling production statusproduction recipe administration settingsStep 1
Step 2
Control functions Start Clicking this button (1) starts the production.
Stop Select this button (1) to stop the production. As a consequence, all containers are removed from the conveyor belt.
Software Examples for Startup
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 15/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
Screen form 2: Set 04 – production status
What is displayed? This screen form provides information on the recipe used for the production (2) and on the order in which the ingredients are to be filled into the container (3).
The output box (1) displays the number of containers (3) produced since the last start of production.
Selecting the screen form
filling production statusproduction recipe administration settingsStep 1
Step 2
Control functions None
Software Examples for Startup
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 16/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
Screen form 3: Set 04 – recipes
What is displayed? This screen form enables the user to select one of four recipes (1). The output box (2) provides information on the selected recipe. The container (3) shows the filling sequence of the recipe ingredients A, B and C of the currently selected recipe. The online help can be called by clicking the “Help” button (4).
Selecting the screen form
recipes supplyproduction recipe administration settings
Step 1
Step 2
Control functions
Clicking this button decreases the recipe number
Clicking this button increases the recipe number
? Help Clicking this button opens a dialog box with online help
Software Examples for Startup
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 17/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
Screen form 4: Set 04 – supply
What is displayed? This screen form is used to monitor the container supplies. Each container holds 20 ingredient units. The current supply is indicated by a dynamic bar (3).
Depending on the position of the mode switch (1), each container is filled either manually or automatically. In automatic mode, S7-200 monitors the level. Falling below the supply of 5 ingredient units causes an automatic refilling of the container.
In manual mode, button (2) enables a manual refill of the container. An empty container causes an automatic stop of the production process.
Selecting the screen form
recipes supplyproduction recipe administration settings
Step 1
Step 2
Control functions automatical The containers are automatically filled
manual The containers are manually filled
refill Start manual refill of the containers
Software Examples for Startup
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 18/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
Screen form 5: Set 04 – settings
What is displayed? This screen form enables to change between the languages (1) German and English.
Aside from calling selected system functions (2), the time (3) of TP 177micro can be set.
Selecting the screen form
recipes supplyproduction recipe administration settings Step 1
Control functions English: Change to English
German: Change to German
Contrast+ Increase contrast
Contrast- Decrease contrast
Transfer Switch panel to receive mode
online Establish connection to controller
offline Interrupt connection to controller
clear screen Deactivate all control functions to clear the panel screen
Software Examples for Startup
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 19/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
calibration Calibration of the tactile sensor
date time Setting date and time
Set 04 – messages
What is displayed? In automatic mode, falling below the container level of 5 ingredient units causes an automatic refill. A status message (1) configured in WinCC flexible indicates this refill process.
If, however, manual mode is selected and if the level falls below the value of 5 ingredient units, a corresponding status message is displayed.
If a container has been completely emptied, this is indicated by a status message.
Selecting the screen form The message screen form is automatically called if a new message has been generated.
Control functions X Closing the message window
Performance Data of the Components
Micro Automation Set 4 Entry ID: 21063460
Version – Identification V2.0 – Release 06/15/05 20/20
Cop
yrig
ht ©
Sie
men
s A
G 2
005
All
right
s re
serv
ed
Set
04_D
ocTe
ch_V
2.0_
en.d
oc
6 Performance Data of the Components
SIMATIC S7-CPU 222 Table 6-1
Criterion Performance data Additional note
Supply voltage DC 20.4 to 28.8 V or AC 85 to 264 V
Current consumption 500 mA Output current 340 mA For expansion modules Interfaces 1x RS 485 communication
interface, expansion bus for modules
Inputs/outputs 6DI/8DO Dimensions (W x H x D) in mm
90 x 80 x 62
TP 177micro touch panel Table 6-2
Criterion Performance data Additional note
Supply voltage DC 20.4 to 28.8 V Current consumption 100 mA Memory for configuration 256 KB flash (Typically 250 images) Dimensions (W x H x D) in mm
196 x 142 x 45 Mounting cutout
LOGO! Power 24V/1.3A Table 6-3
Criterion Performance data Additional note
Supply voltage AC 85 to 264 V Output voltage DC 24 V (setting range DC 22.2
to 26.4 V)
Output current 1.3 A Dimensions (W x H x D) in mm
54 x 90 x 55