EasyManua.ls Logo

Lenze SX-1 - Counter and Variable Arithmetic 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.2
--__
_____
___
SET
Cvv
=
yyyy
SET
Cvv
=
Vddd
Meani
ng:
Preset
Counter
Cw
to
value
yyyy
or
to
the
value ot
Variable
Vddd.
Number
ot
Counter
C:
vv
=
0
...
99
Counter
value
yyyy
=
-9999
to
+9999
Variable
number:
ddd
=
0
...
255.
SET
Cvv=
C+aaaa
SET
Cvv=
C+Vddd
Meaning:
Add
to
the
present
value
ot
Counter
Cvv
the
value
aaaa
or
the
value
ot
Variable
Vddd.
NumberotCounterC:w=
0...
99
Value:
aaaa
=
-9999
to
+9999
Variable
number
V:
ddd
=
0
...
255.
S
Vddd
=
vvvvv.vvv
Meaning:
Preset
Variable
Vddd
to
value
vvvvv.vw.
Variable
number
V:
ddd
= 0
...
255.
Value:
vvvvv.vvv
=
-99999,999
to
+99999,999
SET
Vddd
=
V
[CvvJ
Meaning:
Preset
Variable
Vddd
to
the
value
which
is
in
the
Variable
[Cvv].
Example:
If
Counter
CO1
is
at value
5,
and ddd
=
00,
then
the
value ot
VOS is
ente
-
red
intoV0o.
Application:
Enables a
variable
list
(look-up table)
to
be
detined
at
the
start
of
a
program
or
by
host
computer,
to
allow
use ot
a
relatively
short
program.
Counter
number
C:
vv
=
0
...
99
Variable number
V:
ddd
=
0
...
255.
8/11
—______
__
__________
Lanze

Table of Contents

Related product manuals