360 likes | 498 Views
Concept V2.5. Lesson 13 Objectives: After completing this lesson, the learner will be able to: Use the Project Browser to create sections. Create a new section for programming in FBD. Locate, insert and connect Function Blocks in an FBD Section.
E N D
Concept V2.5 • Lesson 13 Objectives: • After completing this lesson, the learner will be able to: • Use the Project Browser to create sections. • Create a new section for programming in FBD. • Locate, insert and connect Function Blocks in an FBD Section. • Utilize the built-in Help files to determine the operating characteristics of a given Function Block.
Concept V2.5 • The Project Browser
Concept V2.5 • Project Browser Functionality • Sections • Create, Open, Delete/clear sections (apply editor) Change section properties (name, comment) Change execution order • Section Groups • Create, Open, Rename, Delete (show substructure), Close section group (hide substructure), Search section groups/sections in the Project Browser, Move section groups / sections (changes execution order!) • Open Configurator • Windows: • open, close, minimize/maximize, Set window size • Animate enable states (animation of structure tree) • Switch enable/disable state
Concept V2.5 • Creating a New Section using Menus
Concept V2.5 • Create a New Section Using the Browser RightClick
Concept V2.5 • Menu Items Available Under FBD
Concept V2.5 • Memory Prediction • Calculate Memory Usage • By Section
Concept V2.5 • Memory Prediction (cont) • Calculate Memory Usage • By Project
Concept V2.5 • Toolbar Icons Common to all editors Zoom Out Zoom In Paste objects from the clipboard Copy selected objects to the clipboard Cut selected objects to the clipboard Undo last delete Download changes to controller Open online control panel Search for objects Open Project Browser Create or edit variables Save file Open an existing program section Create a new program section
Concept V2.5 • Toolbar Icons for FBD Select mode Link creation mode Re-insert last selected FFB Pin inversion mode Text creation mode Show FFB selection dialog Animate all selected variables Animate all boolean variables
Concept V2.5 • Functions (F) • Function Block (FB) • Elementary Function Blocks (EFB) • Derived Function Blocks (DFB) • General Abbreviation = FFB(Function/Function Block) • Macros (FFBs, DFBs) • FFBs are in Libraries and Groups • Interconnection of FFBs with: • Graphic Links: or • Variable Name: “MOT_LE”
Concept V2.5 • Provided Libraries
Concept V2.5 • Supported Block Libraries • IEC:with the groups Arithmetic, Bistable, Comparison, Converter, Counter, Edge detection, Logic, Numerical, Selection, Timer • EXTENDED:with the groups Arithmetic, Converter, Counter, Edge detection, Measurement, Selection • SYSTEM:with the groups HSBY, Specials, System • DIAGNO (DIAGNOSIS): with the groups Diag View, Diagnostics, Extended • ANA_IO:with the groups Analog I/O Config, Analog I/O Debug, Analog I/O Scaling,Compact I/O Config, Converter IBS, IM I/O, Quantum I/O, Scaling
Concept V2.5 • Supported Block Libraries (cont.) • CONT_CTL:with the groupsCLC, CLC_PRO, Conditioning, Controller, Mathematics, Output processing, Setpoint management • FUZZY:with the groups Defuzzify, Defuzzify_Struct, Fuzzify, Fuzzify_Struct, Operators_AND, Operators_OR • COMM:with the groupsCOMMON, IBS_NOA_PCP, MBP, RTU • EXPERTS:with the groups I/O Control, MVP, On Demand I/O, RTU, SIMTSX, ULEX Status • LIB984:Selected 984LL functions (21), incl. Block Move
Concept V2.5 • Select appropriate library • Select group • Select FFB and place on section
Concept V2.5 Selecting anFFB from adifferent library
Concept V2.5 • Getting Help for Function Blocks
Concept V2.5 • Help on Type
Concept V2.5 • Selecting a Derived Function Block
Concept V2.5 Execution order Value Passed without declaring Programmer Selected Instance Name • FBD logic format Output can be linked to multiple inputs Variable Passed by linking and declared Inverted (Normally Closed) Input. Outputs can also be inverted. NOTE: Data Type MUST match pin variable type or you will not be able to connect (only correct data type variables shown when you do a Variable Lookup)
Concept V2.5 • Extendable Function Blocks How many pins do you need? Up to 32 pins!
Concept V2.5 • Assigning Values to Pins
Concept V2.5 • Assigning Values to Pins
Concept V2.5 • Assigning Values to Pins
Concept V2.5 • Zooming into a Function Block
Concept V2.5 • Advanced Dialog
Concept V2.5 • Reversing Execution Order Execution order reversed Execution order (1) (2)
Concept V2.5 • Click one FFB in FBD Section • This FFB can be replaced: • Objects Replace FFBs • If number and names of formal operands (Data Types) are identical, no object will be lost.
Concept V2.5 • EN / ENO Special Input / Output • Double click on FFB, show EN/ENO: • Any FFB (DFB) will be executed only if EN = 1 (Saves scan time) • If EN/ENO is not displayed then EN has the default value of EN = 1 • ENO = 1 indicates the correct and successful execution
Concept V2.5 • Logic Format • FBI_9_1 (1) • Default Function BlockInstance name _9. created section _1. invoked EFB(can be changed by the user). • (1) First executed Function Block in the execution order. (Display can be turned off) • .9.3 (2) • Default function identifier (cannot be changed): .9. created section. .3. invoked EFB • (2) Second executed Function Block in execution order. (Display can be turned off)
Concept V2.5 • Basic Logic and Timing Functions
Concept V2.5 • Basic Math Functions
Concept V2.5 • Basic Latches and Comparisons
Concept V2.5 • Basic Functions Counters
Concept V2.5 • FBD - Example
Concept V2.5 FBD Demonstration and Lab