VA Motion Controller Programming Manual
32
specify the name of the data type worksheet, double-click the generated data type work order,
enter the editing area, type the following characters as shown
example:
Above code defines a containing
100
th
the IN T
are array variables, array name
DATAl
.
(3) Logical POU
1
) The program organization unit
POU
is a language element of the
PLC
program. They
contain the prograMCode is the most small, independent software units. The name of
the
POU
must be unique within the project. The right-click " Logical
POU
" can be inserted into
the following three program organization units
:
A:
〗
program (
PROGRAM
)
B:
〗
function block (
FUNCTION BLOCK
)
C:
〗
function (
FUNCTION
)
2
) Each
POU
consists of two different parts
: the
variable work order and the code ontology,
which are all variables that appear in the
POU
in the variable worksheet . A
POU
code works with single-user
IL, ST
,
FBD, the LD, the SFC
five programming languages are written
one, where
IL
is an instruction list programming language (
Instruction List
)
ST
is a structured text
programming language (
Structured the Text
)
; FBD
is a functional block diagram programming
language (
function block Diagram
)
, the LD
is the ladder programming language (
Relay ladder
Logic Diagram
)
; the SFC
is a sequential function programming language (
the sequential function
the Chart
) .
function
" Function " , abbreviateDAs
FU
, is a program organization unit
POU
with multiple inputs
and one output . Similar to functions in high-level programming languages, the return value
of " function " can be simple data types such as
BOOL, IN T,
etc. " function " internal can call
another " function " , but can not be called " functional blocks " or " program " does not allow
recursive call. When declaring a " function, you must declare input and output variables,
intermediate variables, and external variables in the variable worksheet of this " function " .
List of features supported by
MULTIPROG :
Type conversion function
Such as
: IN_TO_REAL
Numerical function
Such as
: ABS
and
LOG
StandarDArithmetic function
Such as
: ADDA
nd
MUL
Bit string function
Such as
: ANDA
nd
SHL
Selection
and
comparison
function
Such as
: SEL
and
GE
Summary of Contents for VEC-VA Series
Page 1: ......
Page 25: ...VA Motion Controller Programming Manual 20 Word STRING String VECTOR ...
Page 90: ...VA Motion Controller Programming Manual 85 ...
Page 116: ...VA Motion Controller Programming Manual 111 ...
Page 139: ...VA Motion Controller Programming Manual 134 ...
Page 274: ...VA Motion Controller Programming Manual 269 ...
Page 329: ...VA Motion Controller Programming Manual 324 ...
Page 342: ...VA Motion Controller Programming Manual 337 2 Motion curve and timing diagram ...
Page 352: ...VA Motion Controller Programming Manual 347 2 Motion curve and timing diagram ...
Page 357: ...VA Motion Controller Programming Manual 352 2 Motion curve and timing diagram ...
Page 372: ...VA Motion Controller Programming Manual 367 2 Timing and motion profiles of FIG ...
Page 386: ...VA Motion Controller Programming Manual 381 2 the motion profile and timing ...
Page 444: ...VA Motion Controller Programming Manual 439 ...
Page 460: ...VA Motion Controller Programming Manual 455 ...
Page 461: ...VA Motion Controller Programming Manual 456 2 a timing graph and ...
Page 481: ...VA Motion Controller Programming Manual 476 ...
Page 543: ...VA Motion Controller Programming Manual 538 ...
Page 561: ...VA Motion Controller Programming Manual 556 ...
Page 597: ...VA Motion Controller Programming Manual 592 ...
Page 603: ...VA Motion Controller Programming Manual 598 ...
Page 607: ...VA Motion Controller Programming Manual 602 ...
Page 610: ...VA Motion Controller Programming Manual 605 ...
Page 613: ...VA Motion Controller Programming Manual 608 ...
Page 648: ...VA Motion Controller Programming Manual 643 Mode 1 is not available ...