VA Motion Controller Programming Manual
42
6 .3 ST structured text programming language
Structured text programming language
S T
is a high level language, similar to
the
Pascal
programming language, it does not use low-level machine-oriented operators, but using
a similar date statements often language to describe control commands, sophisticateDAlgorithms
can be described. A structured text language prograMConsists of statements consisting of
expressions and keywords with the following characteristics
:
There is no jump statement, and the conditional statement is used to implement the branch
of the program
;
Each statement ends with a semicolon "
;
"
;
with (
**
) add comments to the program, comments can not be nested, such
as (
*
(
**
)
*
);
Need to declare input, output, internal, external, global variables in the variable worksheet
corresponding to the
POU
;
6 .3.1 create aNST program
Using
ST
language programming, the user can type a statement in the editing area, or drag
and drop the command directly into the editing area in the " Edit Wizard " , and then type the
operanDAnd the ending character "
;
" below with an
A*B=OUT
( multiplication ) program as an
example
ST
programmed pass procedure
:
1>
Create a project
2>
Right Project tree " series of
the POU
" , select Insert a program, pop-up dialog box, type
the program name in the dialog box, in this case
ST_Text
, select the language bar
ST
, click " OK "
as shown.
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 ...