FBD language

<< Click to Display Table of Contents >>

Navigation:  Project > Scripts >

FBD language

Previous pageReturn to chapter overviewNext page

Design FBD script

To start designing the script you want, you should double click on it or click right button on the Project window->Scripts and choose Open script menu item. To develop a script in FBD language you should use FBD objects.

 

Create script object

Add new object to the screen you can in this way: click right button on the Canvas and choose New object menu item:

 

newfbdscript1

You’ll see the Add script object window:

addscriptobject

 

Select library which object you want to use in your project (all libraries and their objects described below). Object you can select in several ways:

1.By double clicking on the object.

2.By clicking on the object (select rectangle will appear) and then clicking OK button.

3.By clicking right button and choosing Select item.

Add script object window will disappear and you can select the location on the screen where you want to place an object.

 

Connect script objects

To connect two objects, click the end of the first (the end to paint over) and click start the second. This will bring up a line connection.

 

connectfbdobject

 

Bind script object to the tag

You can bind Input/Output script objects to the tag. To do this click on Input/Output script object, dialog will appear. Select tag you want to bind.

 

bindtagfbdobject1

 

Enter value to the value script object

You can enter value to value script objects. To do this click on value script object, dialog will appear. Enter value you want to use with this object.

 

valuefbdobject1

 

Duplicate script object

You can duplicate script object. Right click on the object you want to duplicate and select Duplicate menu item.

 

duplicate1

 

Erase script object

You can erase script object. Right click on the object you want to erase and select Erase menu item.

 

erasefbd

 

Erase connection line

You can erase connection line. Right click on the line you want to erase and select Erase menu item.

 

eraseline

 

The FBD scripts