ABB ST语言编程(12)
时间:2025-07-06
时间:2025-07-06
13.4.3Declaring Function Block Instances
As an absolute minimum a function block instance must be given a name and a
function block type:
1.Mark the“Function Blocks” tab in the declarations pane of the POU.
2.Type in an instance name for the functionblock in the“Name” column.
3.Type in the required function block type in the“Function BlockType” column.Place the cursor in thefield and press ‘Ctrl + J’ to see a list of all available
function block types.
NOTE!Function Block Types are defined in the libraries.
If the library that contains the function block type that you want has not beenconnected to the application then it will not appear in the list.
13.4.4Calling a Function BlockInstance
In the example below a delay off timer has been declared in the“Function Block”declaration tab, calledMixTimer of type
TOf:
Chapter13-12
上一篇:小学二年级平移练习题