EasyManua.ls Logo

Lenze SX-1 - 8.2.2 Programming Instructions and their meaning; BEG, END, Label, and JMP Instructions

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.2
8.22
Programming
lnstructions
and
their
meaning
BEG
Hnnnnnn,
END
Hnnnnnn
Meaning:
Beginning
and End
ot
Main
program.
Input:
BEG,
ENTER,
number,
ENTER
Number
ot
the
Program
H:
nnnnnn
=
1
...
999 999
BEG Uww,
END
Uww
Meaning:
Beginning
and End
ot
Subroutine.
Input:
BEG,
MODE, ENTER,
numbers, ENTER
Number
ot
Subroutine
U:
ww
=
0
...
99
Label
Lww
Meaning:
Jump
destination
Label.
A
Label
may
be
placed betore
any
instruction:
it
becomes
part
ot
that
instruction,
and
it
may
not
exist
alone.
lt
is
„jumped“
to
by
the
JMP Lww
instruction.
NumberofLabelL:
ww=0...99
JMP
Lww
_______
Meaning:
Jump
to Label
Lww
(destination).
NumberofLabelL:
ww=0...99
When
the
program
reaches
this
instruction,
an
unconditional
jumpto
Label
Lww
will
occur,
and
the
program
continues
trom
that point.
8/3
Lanze

Table of Contents

Related product manuals