15
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

  • Upload
    clodia

  • View
    21

  • Download
    2

Embed Size (px)

DESCRIPTION

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. - PowerPoint PPT Presentation

Citation preview

Page 1: Concept V2.5

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.

Page 2: Concept V2.5

Concept V2.5

Page 3: Concept V2.5

Configuration

Task

Program

Group_1

Group_n

Module_1

MASTER(cyclic)

I/O update

Transitionsections

Global data area (HEAP)

Global data area (STATE RAM)

EFB/DFB

Project

Group_1

Group_n

Module_n

Section_1(SFC)

Disable

Section_2(any language)

Disable

Section_n(any language)

Disable

Concept V2.5 Concept’s IEC Application Structure

Page 4: Concept V2.5

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

Page 5: Concept V2.5

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 modeEach Section can have it’s execution status

enabled or disabled individually

Structure of Concept: The Section

Page 6: Concept V2.5

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

Page 7: Concept V2.5

Operating / runtime systemExec file:

e.g., Q186V222.BIN

State - RAM:used references

0x, 1x, 3x, 4xreserved area for expansion

Extended memory

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.

The Quantum Memory Partition

Concept V2.5

Page 8: Concept V2.5

Start

System Overhead i.e..Communications, Diagnostics

Execute 984LL in order of Segment Scheduler

Execute IEC code in First Section

IST

IST

IST

Overhead

WriteOutputs

WriteOutputs

WriteOutputs

ReadInputs

ReadInputs

ReadInputs

ProgramCycle(Scan)

EveryScan

Execute IEC code in Second Section

Execute IEC code in Third Section

Execute IEC code in Last Section

Concept V2.5

The Scan Cycle

Page 9: Concept V2.5

Concept V2.5 Execution Order Control

Page 10: Concept V2.5

Concept V2.5

Page 11: Concept V2.5

Concept V2.5

Starting Concept

Page 12: Concept V2.5

Program Logic(New Sections)

Project VariableDeclaration

New Project( or Open Project)

Start Concept

PLCConfiguration

&I/O Mapping

Online:Connect to PLC

Test Logicin

Simulator

Factory / FieldTest &

Commission

PLCConfig Select

Concept Project - Flow Chart

Page 13: Concept V2.5

Concept V2.5

Start ‘New project’ When you save a project the first time go to Save

Project as... and enter a project nameIf 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.PRJAdvice: Do not save your project under the Main

CONCEPT sub-directory

Creating a Project

Page 14: Concept V2.5

Concept V2.5

Creating a New Section

Page 15: Concept V2.5

Concept V2.5 IEC 61131-3 Editors

30 Columns23Lines

52 Columns230 Lines

Cell oriented

32 Columns200 Lines