Select library

<< Click to Display Table of Contents >>

Navigation:  Project > Scripts > FBD language > Script objects of FBD language  >

Select library

Previous pageReturn to chapter overviewNext page

selectlib

Selectable enable - this script object used to select value form Input2 if Input1 is true (IF Input==true THEN Output=Input2).

Selectable negate - this script object used to select value form Input2 if Input1 is false (IF Input==false THEN Output=Input2).

Minimum - this script object used to select minimum value of Input2 and Input1 (Output=Min(Input, Input2)).

Maximum - this script object used to select maximum value of Input2 and Input1 (Output=Max(Input, Input2)).

 

Example:

selex

This operation compare Tag's value and Tag1's value and place result in Tag2's value. If Tag's value greater than Tag1's value, Tag2's value equal Tag's value.

Tag

Tag1

Tag2

5

9

9

12

8

12