EasyManua.ls Logo

Lenze SX-1 - 8. Programming; 8.1 Program Structure

Lenze SX-1
168 pages
Print Icon
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...
8-8.1
______
8.
Programming
After
the
Parameters
have
been
entered
(See
Chapter
7),
you
may
commence
program-
rrung.
The
Program
detines
the
logical
and motion control
tunctions
to
be
performed
by
the
SX-1
.
Furthermore,
certainvaluesfixedbythe
parameters
(e.
g.
velocity,
acceleration)
may
be
moditied
by
the
Program
tor
individual movements.
Such
values
have
priority
over
the
values
fixed by
the
parameters.
8.1
Program
Structure
lt
is
possible
to make
an
easily-understood
Program
using
only
a few instructions
trom
the
ECL programming
language.
Main
programs
can
be
broken
up
into
subroutines:
the
SX-1
can
have
up
to
20 main
Programs,
each
with
up
to
100
subroutines.
lt
is
possible
to
„nest“
subroutines
up
to
10
deep. Subroutines
are
„called“
using
JMP
(jump)
instructions:
when
the
END
ot
a
Subroutine
is
reached,
the
Program
continues
at
the
calling JMP
in
St
ructio
n.
Mein
Program
H1
max.
10
BEG
Ul
JMP
U2
END
UI
Subroutine
UI
/
BEG
U2
0
0
0
END
U2
0000
Subroutine
U2
BEG
Ux
0
0
0
END
Ux
Subroutine
Ux
Example ot
a
possible
Program
structure.
8/1
tanze
BEG~N
HI
0
0
0
0
LEEEJ
0
0
0
0
END
HI
xv

Table of Contents

Related product manuals