quantum iec

16
Quantum IEC Module 18 Objectives: After completing this lesson, the learner will be able to: Create a Derived Function Block. Use a Derived Function Block in a Concept Project. Identify the use of a Derived function Block within a Project. Zoom into and animate the internal logic of a Derived Function block.

Upload: trish

Post on 24-Jan-2016

31 views

Category:

Documents


0 download

DESCRIPTION

Quantum IEC. Module 18 Objectives: After completing this lesson, the learner will be able to: Create a Derived Function Block. Use a Derived Function Block in a Concept Project. Identify the use of a Derived function Block within a Project. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Quantum IEC

Quantum IEC

Module 18 Objectives:After completing this lesson, the learner will be

able to:– Create a Derived Function Block.– Use a Derived Function Block in a Concept Project.– Identify the use of a Derived function Block within a

Project.– Zoom into and animate the internal logic of a Derived

Function block.

Page 2: Quantum IEC

Quantum IEC

The Derived Function Block

Page 3: Quantum IEC

Quantum IEC Downloaded only one time

independent from the number of invocations.

Allows online monitoring at runtime for every invocation.

Page 4: Quantum IEC

Quantum IEC

A DFB is user logic encapsulated in a reusable module / block.

It supports 32 input pins and 32 output pins.

DFB variables are internal and local to that DFB.....

It is created with CONCEPT DFB Editor, using FBD, LD, IL or ST languages.

A DFB is graphically depicted with double vertical lines.

Page 5: Quantum IEC

Quantum IEC

Variables: Internal / Local assignments:

DFB Variables

• NO located Variables Constants Literals

Inputs / Outputs (unlocated): These variables are used to define the

pins of DFBs

Page 6: Quantum IEC

Quantum IEC

NOTE: If Security is enabled, the User MUST have Supervisor or Tools access rights

Page 7: Quantum IEC

Quantum IEC

The ProcessDevelop logic in new CONCEPT program and

simulateSelect all and copy logic code to Windows

clipboardClose CONCEPT softwareOpen CONCEPT DFBOpen new DFB:

• Create new Section

• Paste logic code from clipboardTest / simulate finished DFB in CONCEPT project

Page 8: Quantum IEC

Quantum IEC

DFB ProgrammingPrograms the same as CONCEPT projects

• Multiple sections allowed

All specific Elements and Objects of the current Program language can be used, Including other DFBs

Languages available: FBD, LD, IL or ST

Languages NOT available: SFC

Page 9: Quantum IEC

Quantum IEC

DFB Variables:Variable Editor, Inputs / Outputs / Variables

Page 10: Quantum IEC

Quantum IEC

DFB Variable Lookup Table: Inputs / Outputs / Variables

Page 11: Quantum IEC

Quantum IEC

Saving DFB’s: Save as Global DFB CONCEPT software distinguishes between global and local

DFBs. Global DFBs can be used in every project and DFB.

Global DFBs have to be saved under x:\concept\dfb.

Page 12: Quantum IEC

Quantum IEC

Saving DFB’s: Save as Local DFB Local DFBs can be used only by projects saved in the same

project directory and its local DFBs. Local DFBs have to be saved under x:\project\dfb. A Local DFB with the same name as a Global DFB will have priority

Page 13: Quantum IEC

Quantum IEC

Selection of Existing DFBs (Example)

Page 14: Quantum IEC

Quantum IEC

Modifying a DFB:If you modify a DFB

• Every usage of the DFB in every project using that DFB will be changed.

• NOTE: Remember Local DFBs have priority over Global.

Concept distinguishes 4 different kinds of modification. All 4 types will result in the project file being “Not Equal” to the PLC!!

Page 15: Quantum IEC

Quantum IEC

Page 16: Quantum IEC

Quantum IEC