1. Trang chủ
  2. » Công Nghệ Thông Tin

TÀI LIỆU HƯỚNG DẪN LẬP TRÌNH PID

64 387 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 64
Dung lượng 2,37 MB

Nội dung

TÀI LIỆU HƯỚNG DẪN DẪN LẬP TRÌNH PIDPortable Document Format (PDF) is a specific document file format. A PDF file is often a combination of vector graphics, text, and bitmap graphics. A PDF document can also support links (inside document or web page), forms, JavaScript, and many other types of embedded content. File sizes can vary drastically due to image resolution, embedded fonts, and text stored as graphics.

SITRAIN Training for Automation and Drives ST-BWINCCS Creating a Project Page 1 Date: 29.09.2003 File: a_dSwincc03e.1 SIMATIC S7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Creating a Project, Coupling a PLC, and Tag Simulation 1 Contents Page Creating a Project, Coupling a PLC, Tag Simulation 1 1 Creating a Project, Coupling a PLC, Tag Simulation 2 2 Objectives 3 Configuration Preparation 4 Creating a Project 5 WinCC Project Structure and Files 6 Interchanging between Projects 7 Specifying Project Properties 8 Computer Properties 1/2 9 Computer Properties 2/2 10 Function Modules within WinCC 1/2 … 11 Function Modules within WinCC 2/2 … 12 Task Definition 13 Tags for the Process Connection 14 Data Exchange with SIMATIC S7 … 15 Data Exchange with SIMATIC 505 16 Installation of the SIMATIC Device Drivers (S7-DOS) 17 Communication Structure 18 Selecting Communication Drivers for the Connection 19 Exercise: Creating a Project, Configuring the PLC Connection 1 20 Status of the Connection ……… 21 Connection Diagnostic with SIMATIC S7 (*.LOG) 22 Quality Code 23 Exercise: Creating a Project, Configuring the PLC Connection 2 24 Configuring Process Tags for SIMATIC S5/S7 25 Configuring Process Tags for SIMATIC 505 …… 26 Exercise: Configuring Process Tags and Tag Groups … 27 Configuring Internal Tags 28 SITRAIN Training for Automation and Drives ST-BWINCCS Creating a Project Page 2 Date: 29.09.2003 File: a_dSwincc03e.2 SIMATIC S7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Creating a Project, Coupling a PLC, Variable Simulation 2 Contents Page Exercise: Configuring Internal Tags and Tag Groups 1 … 29 Exercise: Configuring Internal Tags and Tag Groups 2 …… 30 “Cross Reference“ (Cross Reference List 1/3) … … 31 “Cross Reference“ (Cross Reference List 2/3) 32 “Cross Reference“ (Cross Reference List 3/3) 33 Tools: Cross Reference Assistant 34 Tag Simulation 1/2 …… … 35 Tag Simulation 2/2 …… … 36 WinCC Communication with S7 Protocol using MPI to S7- 300/400 37 Communication Components 38 Procedure 39 Installing the CP5611 Card in the PC 40 Installing Modules 41 Specifying Properties of the CP5611 Card 42 S7 Variable Table for Monitoring and Modifying 43 Connection Status 44 Documentation for Communication 45 Totally Integrated Automation Function - Mapping Tags 46-56 Totally Integrated Automation Function - Ladder Rung Jump with Writing Authority in STEP7 57-60 Totally Integrated Automation Function - Hardware Diagnosis from WinCC Pictures 61-63 Totally Integrated Automation Function - SIMATIC “Report System Error“ in WinCC Pictures 64 SITRAIN Training for Automation and Drives ST-BWINCCS Creating a Project Page 3 Ö Upon completion of this chapter, the participant should be able to: z recognize configuration relationships z start WinCC and create a project z describe the start procedure for WinCC z work with the WinCC Explorer z use the function modules for WinCC z describe a data exchange z use the computer features z install the communication driver for his connection z carry out the necessary parameter settings for the communication connection z configure tags and tag groups z install the auxiliary (help) program for tag simulation z operate the auxiliary program for tag simulation z use the result of the Cross Reference List Date: 29.09.2003 File: a_dSwincc03e.3 SIMATIC S7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Objectives - Creating a Project - Installing Communication Drivers - Configuring Tags - Tag Simulation - Cross Reference SITRAIN Training for Automation and Drives ST-BWINCCS Creating a Project Page 4 Ö Configuration Preparation  Process coupling z Specifying the programmable logic controllers (PLCs) for the data exchange z Specifying the physical level for the data transmission z Specifying the number of input data and output data for PLC communication z Specifying data areas for the individual send cycles  Visualization see Chapter 4.  Password Protection see Chapter 4. Date: 29.09.2003 File: a_dSwincc03e.4 SIMATIC S7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Configuration Preparation - Programmable Logic Controllers - Type of Coupling - Process Tags SITRAIN Training for Automation and Drives ST-BWINCCS Creating a Project Page 5 Starting WinCC from After you start WinCC, you are prompted to create a project. Windows WinCC independently creates a project folder for each project created (use ue_kurs, for example). Then the MS SQL Server 2000 database is set up. After configuration is started again, the project last edited is called up. If a new project is to be created, then select the following in the WinCC Explorer: 1. In the menu bar, click on "File". 2. In the drop-down menu, click on "New". The Explorer dialog box appears. 3. Select "Single User" 4. Click on "OK". 5. In the "Create New Project" dialog box, enter the project name. 6. Click on the "Create" button. Selection The Explorer dialog box offers 3 configuration selections for creating a Possibilities in the new project. Start Dialog You can open an existing project in a further dialog box. Use the Context Help. Note You can use both lower case and upper case characters in a project name. Characters Not . , ; : ! ? " ' + = / \ @ * [ ] { } < > Blank Allowed Date: 29.09.2003 File: a_dSwincc03e.5 SIMATIC S7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Creating a Project SIMATIC NET PLC Office PC or Industrial PC -one Single-User -one Server, several Clients without their own project -Distributed Systems, several Clients with their own project SITRAIN Training for Automation and Drives ST-BWINCCS Creating a Project Page 6 Note The directory structure is dynamic and is dependent on the software tools installed and on the use of WinCC applications (on the WinCC CD). ldf, mdf Database files always have two files. ArchiveManager A larmLogging File name structure: ComputerName_ProjectName_ALG_FromTime_ToTime.mdf ArchiveManager T agLogging Fast File name structure: ComputerName_ProjectName_TLG_F_FromTime_ToTime.mdf Acquisition cycle <1min. ArchiveManager T agLogging Slow File name structure: ComputerName _ ProjectName _TLG_S_ FromTime_ToTime.mdf Acquisition cycle >1min. Empty RT-DB An empty RT-Database is located in the installation directory: WinCC_SQL.mdf Siemens\\WinCC\\bin\\ WinCC_SQL.mdf, that can be renamed after a copy is made. When an new project is created, the database is automatically generated. *.Log File Log Files *.log contain setup data, system status and error messages for the application engineer and service technician. Installation directory: Siemens\\WinCC\\Diagnose. Date: 29.09.2003 File: a_dSwincc03e.6 SIMATIC S7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives WinCC Project Structure and Files -Configured Screens (.pdl, .sav) -Screen Files (.bmp, .emf, .wmf) -Action Lists (.act) -Project Functions (.fct) -Projekt Library (.pxl) -Funktion Declarations (.h) -Function Library (.dll) -Cross Reference List (.xfc) -Report Layouts (.rpl) -Master-DB with link to the RT-Files + User Archive-Database -Log File to Database -Main File of the Project -Database Logfile -Database with Configuration Data -Computer Name -Project Actions (.pas) -Cross Reference Main File -Tag Logging RT-Data -Alarm Logging RT-Data see Text -Imported RT-Data SITRAIN Training for Automation and Drives ST-BWINCCS Creating a Project Page 7 Switching Projects You can switch between existing projects: 1. In the WinCC Explorer menu bar, click on "File" . 2. In the drop-down menu, click on "Open". 3. In the "Open" window, search for your project. 4. Click on your file name, as illustrated in the slide above (File name: Beispiel.MCP). 5. Click on the "Open" button. You should now have switched to another project Date: 29.09.2003 File: a_dSwincc03e.7 SIMATIC S7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Interchanging between Projects Project name. MCP SITRAIN Training for Automation and Drives ST-BWINCCS Creating a Project Page 8 Date: 29.09.2003 File: a_dSwincc03e.8 SIMATIC S7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Specifying Project Properties Specifying Project By means of the shortcut menu for your project name (ue_kurs), you Properties enter the creator, the version, and comments in the "General Information" tab of the Project properties dialog box that appears. Update By means of the "Update Cycles" tab, you can observe the 15 update Cycle cycles for the project. Of these update cycles, you can change five settings (update: acyclical, 250 ms to 1 hr). Hot Keys Hot keys are key combinations that trigger certain actions within WinCC, such as hardcopy, log on, and log off. Configuration The connections and tags to the programmable logic controllers are Structure specified for your own computer. Find Function The shortcut menu calls up the WinCC Find function. Use the right mouse button to click on the Computer icon or the Tag Management icon. The following Find functions are available: •Name • Date of change • Individual object types or all object types SITRAIN Training for Automation and Drives ST-BWINCCS Creating a Project Page 9 Computer List The computer list contains all computers assigned to the current project. Call-up 1. Select the "Computer" icon in the navigation window. 2. Use the right mouse button to call the shortcut menu, and select "Properties". 3. To change the computer name, select "Properties" again. 4. Now enter a new computer name, such as STATIONx (x=lab station number), in the "General" tab. General The computer name, such as STATION1, and the computer type are specified in the "General" tab. Startup You use the "Startup" tab to specify standard WinCC programs to be loaded when the application is activated (Runtime is started). The selectable WinCC applications are: Graphics Runtime, Report Runtime, Tag Logging Runtime, Alarm Logging Runtime, Global Script Runtime, Text Library Runtime. You can start other (Windows) applications during startup by using the "Add" button. Parameters You use the "Parameters" tab to specify the language setting at runtime, and inhibit the Windows key combinations. The PLC Clock Setting selection allows you to display the RT time for WinCC data in the local time zone (PLC is set in the local winter time all year) or in the coordinated time zone -UTC U niversal Time Coordinated (The PLC is set to the coordinated world time). Graphics Runtime You can make individual project settings (see slide above) in the Graphics Runtime tab. Select the Online Help. Note The computer name may not contain a blank, a hyphen or an underscore. The first character must be a letter. All characters must be capitalized. It is recommended that you only use the characters a to z, A to Z, 0 to 9. Characters Not . , ; : ! ? " ' ^ ´ ` ~ - + = / \ ¦ @ * # $ % & § ° ( ) [ ] { } < > Allowed Date: 29.09.2003 File: a_dSwincc03e.9 SIMATIC S7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Computer Properties (1/2) SITRAIN Training for Automation and Drives ST-BWINCCS Creating a Project Page 10 Date: 29.09.2003 File: a_dSwincc03e.10 SIMATIC S7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Computer Properties (2/2) .cur .ani Runtime The settings in this tab are valid (as of WinCC V6.0) for all WinCC projects on the computer used. The following settings are possible möglich: -Set Debug Options for Visual Basic Scripts in the Graphics Designer -Set Debug Options for Visual Basic Scripts in Global Script -Enable monitor keyboard -Use picture cache -change mouse pointer . File to Database -Main File of the Project -Database Logfile -Database with Configuration Data -Computer Name -Project Actions (.pas) -Cross Reference Main File -Tag Logging RT-Data -Alarm Logging. the station name, start-up characteristics (program list) and parameters (language setting and key combinations). Tag Management Tag management manages the drivers for coupling, logical connections,. telegrams. Data Manager The data manager takes over the administration of the data in WinCC. This is not visible to the user. The data manager works with the data created in the WinCC project and

Ngày đăng: 01/07/2014, 21:37

TỪ KHÓA LIÊN QUAN

w