resumo da linguagem fbd

16
Concept V2.5 FBD logic format TE: Data Type MUST match pin variable type or you will not be able t nnect (only correct data type variables shown when you do a Variable okup) Execution order Programmer Selected Instance Name Inverted (Normally Closed) Input. Outputs can also be inverted. Value Passed without declaring Variable Passed by linking and declared Output can be linked to multiple inputs

Upload: geovane-santos

Post on 23-Dec-2015

232 views

Category:

Documents


3 download

DESCRIPTION

Resumo da linguagem de programacao FBD em ingles

TRANSCRIPT

Page 1: 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

Page 2: Resumo da Linguagem FBD

Concept V2.5

Extendable Function Blocks

How many pins do you need?

Up to 32 pins!

Page 3: Resumo da Linguagem FBD

Concept V2.5

Assigning Values to Pins

Page 4: Resumo da Linguagem FBD

Concept V2.5

Assigning Values to Pins

Page 5: Resumo da Linguagem FBD

Concept V2.5

Assigning Values to Pins

Page 6: Resumo da Linguagem FBD

Concept V2.5

Zooming into a Function Block

Page 7: Resumo da Linguagem FBD

Concept V2.5

Advanced Dialog

Page 8: Resumo da Linguagem FBD

Concept V2.5

Reversing Execution OrderExecution order

reversedExecution order

(1)

(2)

Page 9: Resumo da Linguagem FBD

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.

Page 10: Resumo da Linguagem FBD

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

Page 11: Resumo da Linguagem FBD

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)

Page 12: Resumo da Linguagem FBD

Concept V2.5

Basic Logic and Timing Functions

Page 13: Resumo da Linguagem FBD

Concept V2.5

Basic Math Functions

Page 14: Resumo da Linguagem FBD

Concept V2.5

Basic Latches and Comparisons

Page 15: Resumo da Linguagem FBD

Concept V2.5

Basic Functions Counters

Page 16: Resumo da Linguagem FBD

Concept V2.5 FBD - Example