EasyManua.ls Logo

Vector VEC-VA Series - Page 38

Vector VEC-VA Series
649 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
VA Motion Controller Programming Manual
33
String function
Such as
: RIGHT
and
INSER T
Time data type function
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 :
Bistable element,
Such as
SR
and
RS
Edge detection function block
Such as
: R_RIG
and
F_TRIG
counter
Such as
: CTU
and
CTD
Timer function block
Such as
: TON
and
TOF
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.

Table of Contents

Related product manuals