EasyManua.ls Logo

Vector VEC-VA Series

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
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.

Table of Contents

Related product manuals