Resumo da Linguagem FBD

Post on 23-Dec-2015

232 views 3 download

Tags:

description

Resumo da linguagem de programacao FBD em ingles

Transcript of Resumo da Linguagem FBD

Concept V2.5 FBD logic format

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)

Execution order Programmer SelectedInstance Name

Inverted (Normally Closed) Input.Outputs can also be inverted.

Value Passedwithout declaring

Variable Passedby linking

and declared

Output can be linkedto multiple inputs

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 OrderExecution order

reversedExecution 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

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

EN / ENO Special Input / Output

Concept V2.5 Logic Format

FBI_9_1 (1)

Default Function Block Instance 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