<< Click to Display Table of Contents >> FBD language |
|
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:
You’ll see the Add script object window:
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.
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.
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.
Duplicate script object
You can duplicate script object. Right click on the object you want to duplicate and select Duplicate menu item.
Erase script object
You can erase script object. Right click on the object you want to erase and select Erase menu item.
Erase connection line
You can erase connection line. Right click on the line you want to erase and select Erase menu item.
The FBD scripts