VA Motion Controller Programming Manual
33
Such as SUB with TIME data type
function block
" Function block " , abbreviateDAs the FB , is a program with multiple inputs and multiple
outputs organizational units the POU, " functional blocks " can call another internal
" function block " or " function " , but can not be called " program " , Recursive calls are not
allowed. All " function blocks, " ( IEC defined, library library FB and user-defined FB ) can be
easily inserted into the user's " function block " or " program " . When declaring a " function
block " , you must declare input and output variables, intermediate variables, and external
variables in the variable worksheet of this " function block " .
List of function blocks supported by MULTIPROG :
Edge detection function block
program
A " program " is a combination of prograMCode that contains functions and function
blocks. The behavior and use of a " program " is similar to a function block. It can have input and
output parameters, can have internal storage, but does not allow recursive calls. When creating a
project, MULTIPROG automatically declares a " program " . When a new " program " is declared ,
MULTIPROG also generates a variable worksheet for the " program " ( double-click the newly
declared program, then click on the variable work order) this variable may enter worksheet
program ) , and load it into tasks first task in the directory, this can cut and paste into another
application tasks. As describeDAbove, in the Tasks insertion program instance at a task to be
input program name and type instances, this program is a program instance type logic POU
inserted under the " program " , so that, in a plurality of tasks can be inserted Multiple program
instances, the names of these program instances can be different, but can be the same program
instance type, that is, a program instance type can be executed in multiple tasks. The " program "
must be linked to the task.