Quantum IEC n Module 18 Objectives l After

Quantum IEC n Module 18 Objectives: l 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.

Quantum IEC n The Derived Function Block

Quantum IEC n Downloaded only one time independent from the number of invocations. n Allows online monitoring at runtime for every invocation.

Quantum IEC n A DFB is user logic encapsulated in a reusable module / block. n It supports 32 input pins and 32 output pins. n DFB variables are internal and local to that DFB. . . n It is created with CONCEPT DFB Editor, using FBD, LD, IL or ST languages. n A DFB is graphically depicted with double vertical lines.

Quantum IEC n Variables: n Internal / Local assignments: l DFB Variables • NO located Variables l Constants l Literals n Inputs / Outputs (unlocated): l These variables are used to define the pins of DFBs

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

Quantum IEC n The Process l Develop logic in new CONCEPT program and simulate l Select all and copy logic code to Windows clipboard l Close CONCEPT software l Open CONCEPT DFB l Open new DFB: • Create new Section • Paste logic code from clipboard l Test / simulate finished DFB in CONCEPT project

Quantum IEC n DFB Programming l Programs the same as CONCEPT projects • Multiple sections allowed l All specific Elements and Objects of the current Program language can be used, Including other DFBs l Languages available: FBD, LD, IL or ST l Languages NOT available: SFC

Quantum IEC n DFB Variables: l Variable Editor, Inputs / Outputs / Variables

Quantum IEC n DFB Variable Lookup Table: l Inputs / Outputs / Variables

Quantum IEC n Saving DFB’s: Save as Global DFB n CONCEPT software distinguishes between global and local DFBs. n Global DFBs can be used in every project and DFB. l Global DFBs have to be saved under x: conceptdfb.

Quantum IEC n Saving DFB’s: Save as Local DFB n Local DFBs can be used only by projects saved in the same project directory and its local DFBs. l Local DFBs have to be saved under x: projectdfb. l A Local DFB with the same name as a Global DFB will have priority

Quantum IEC n Selection of Existing DFBs (Example)

Quantum IEC n Modifying a DFB: l 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. l Concept distinguishes 4 different kinds of modification. All 4 types will result in the project file being “Not Equal” to the PLC!!

Quantum IEC

Quantum IEC
- Slides: 16