Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
схемотехника / Manuals_Handb№cher / ALPHA / English / Alpha_Software_Manual_versJ_ENGLISH.pdf
Скачиваний:
35
Добавлен:
17.04.2015
Размер:
2.62 Mб
Скачать

α Series Simple Application Controllers

Function Block Diagram (FBD) Programming 6

 

 

6.8Register the User Function Block

The User function block is a user-defined combination of ordinary functions saved for repeated use.

Note:

The system will use the original function block when reading the program from the α series with AL-PCS/WIN-E to which this user function block is not registered and display the program.

To register the user function block:

1)Click “User func” button on the User function toolbar, and click on the FBD base.

2)Set parameter for the sub FBD base.

3)Arrange Icon for user function block.

4)Connect each icon.

5)Set the parameters for the function blocks.

6-37

α Series Simple Application Controllers

Function Block Diagram (FBD) Programming 6

 

 

6)Click “UserFunc Registration” button to register the User Function Block.

7)Set the OFF and ON images.

Registering ON/OFF images

Table 6.9: ON/OFF Image Specifications

 

 

 

 

 

 

Specifications

 

 

 

 

 

 

File Type

Bitmap file

 

 

 

 

 

 

Size

36 × 36 pixels

 

 

 

 

 

 

Color

16 color or 256 color

 

 

 

 

 

 

 

 

 

a)Click the “Browse...” button to register each image.

b)Choose the ON or OFF image from the Open window. Then, click the “Open” button to register the ON or OFF image.

When registering the bitmap image (*.bmp) for the ON or OFF icons, the AL - PC S/ WI N - E g ene r at es t he *_ON.bmp or *_OFF.bmp image for the registered user function block.

“*” is the name of the registered User Function Block.

8)Click the “OK” button to finish the registration of the User Function Block.

When registering the user function block, the *.ruf, *_ON.bmp and *_OFF.bmp files should be stored in the following folder.

Table 6.10:Generation Files for User Function Block

 

 

 

 

 

 

File name

Stored Folder

Description

 

 

 

 

 

 

 

*.ruf

“Installed application folder”\Library\UserFunc

The Information file for the User

 

 

(E.g. C:\Program Files\Alvls\Library\UserFunc)

Function Block.

 

 

 

 

 

 

 

 

 

 

*_ON.bmp

“Installed application folder”\Library\Bitmap

The ON image icon for the User

 

 

(E.g. C:\Program Files\Alvls\Library\Bitmap)

Function Block.

 

 

 

 

 

 

 

 

 

 

*_OFF.bmp

“Installed application folder”\Library\Bitmap

The OFF image icon for the User

 

 

(E.g. C:\Program Files\Alvls\Library\Bitmap)

Function Block.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

“*” is the name of the registered User Function Block.

6-38

α Series Simple Application Controllers

Function Block Diagram (FBD) Programming 6

 

 

6.8.1Export Registered User Function Block

The registered UserFunc data (User Function Block) is exported (stored) to a designated folder; Thus, registering the UserFunc data (User Function Block) is possible from one PC to another.

1)Click the icon of the UserFunc to Export.

2)Select “Export Registered User Func” from the File menu.

3)In the “Export Registered User Func” dialog box, choose the folder that saves the exported file and enter the UserFunc name then click the “Save” button.

The *.ruf, *_ON.bmp and *_OFF.bmp files should be stored together in the chosen folder.

“*” is the name of the registered User Function Block.

6-39

Соседние файлы в папке English