150 likes | 255 Views
Concept V2.5. Lesson 10 Objectives: After completing this lesson, the learner will be able to: Define what is described by the term “Project”. Describe the “Scan Cycle” of the controller when executing an IEC Project. Describe the two methods available to set Section Execution Order.
E N D
Concept V2.5 • Lesson 10 Objectives: • After completing this lesson, the learner will be able to: • Define what is described by the term “Project”. • Describe the “Scan Cycle” of the controller when executing an IEC Project. • Describe the two methods available to set Section Execution Order.
Concept V2.5 Project Structure
Project Configuration Module_n Module_1 Global data area (HEAP) Group_1 Group_1 Group_n Group_n Global data area (STATE RAM) Task EFB/ DFB I/O update MASTER (cyclic) Program Disable Disable Disable Section_2 (any language) Section_n (any language) Section_1 (SFC) Transition sections Concept V2.5 • Concept’s IEC Application Structure
Concept V2.5 • A Project represents the entire program for a complete process that is controlled by one CPU • A Project includes files for the program, the configuration, local and global DFB’s • Several projects for one plant could be stored in one directory or in separate directories • A project may be partitioned into one or more Program Sections • Structure of Concept: The Project
Concept V2.5 • A Project can be partitioned in up to 1,600 sections • A Section is like a chapter in a book. It allows the structuring of projects into maintainable modules • A Section is programmable in any of the following IEC Languages: FBD, SFC, LD, IL, or ST • A Section can be used to monitor the process status in online mode • Each Section can have it’s execution status enabled or disabled individually • Structure of Concept: The Section
Concept V2.5 • The memory of a Quantum PLC is generally divided into three parts: • Memory for the EXEC file • The EXEC file contains the operating system and one or more runtime systems (IEC and / or LL984) for the processing of user programs. • State RAM can be partitioned into several areas: • the used 0x, 1x, 3x, and 4x references • a reserved area for additional 0x, 1x, 3x, and 4x references • if necessary, an extended memory area for 6x references • Program memory • The program memory can be partitioned into several areas, depending on the application: • which CPU used, Programming logic (IEC and / or LL984), I/O map, Loadables, etc. Structure of Concept: The Memory Partition
Concept V2.5 • The Quantum Memory Partition Program memory: e.g CPU x13 xx LL984 User Program ULEX Loadable IEC User Program IEC User Data IEC Loadables reserved area for expansion Data for ASCII messages, Peer Cop, Ethernet etc. reserved area for expansion I/O map etc. State - RAM: used references 0x, 1x, 3x, 4x reserved area for expansion Extended memory Operating / runtime system Exec file: e.g., Q186V222.BIN
Concept V2.5 Start WriteOutputs • The Scan Cycle System Overhead i.e..Communications, Diagnostics ReadInputs IST WriteOutputs Execute 984LL in order of Segment Scheduler EveryScan ReadInputs IST Execute IEC code in First Section WriteOutputs ProgramCycle(Scan) ReadInputs Execute IEC code in Second Section IST Overhead Execute IEC code in Third Section Execute IEC code in Last Section
Concept V2.5 • Execution Order Control
Concept V2.5 Create Project
Concept V2.5 • Starting Concept
Concept Project - Flow Chart Start Concept New Project ( or Open Project) Online: Connect to PLC PLC Config Select Project Variable Declaration Factory / Field Test & Commission Program Logic (New Sections) PLC Configuration & I/O Mapping Test Logic in Simulator
Concept V2.5 • Start ‘New project’ • When you save a project the first time go to Save Project as... and enter a project name • If the required sub-directory is not already created you can create it by specifying the full path for the file save • e.g., C:\PLANT_DIR\project_name.PRJ • Advice: Do not save your project under the Main CONCEPT sub-directory • Creating a Project
Concept V2.5 • Creating a New Section
30 Columns 23Lines 52 Columns 230 Lines Cell oriented 32 Columns 200 Lines Concept V2.5 • IEC 61131-3 Editors