Positioning and control functions
Arithmetic
113
Unit
hardware
Connector
assignment / cable
Technical data
Configuration
Positioning and
control functions
Optimization
functions
Interfaces
Accessories /
options
Status
Parameter
Error list
8.4.30 Arithmetic
8.4.30.1 Parameter assignments
N001: P40 = 123.456
N002: V19 = P1
The assignments for parameters and variables are defined with an equal sign. The
variables are represented by V0 to V39.
The assignment of variables is also possible as a direct command, e.g. from a
terminal.
•
a parameter Pxxx or
•
a variable Vxxx (V0 - V39) or
•
a curve point Ixxxx (digital or analogue auxiliary functions when using COMPAX
XX70) or
•
a curve point Fxxxx (set points when using COMPAX XX70)
•
an operand
or
•
a simple arithmetic term
22
•
a parameter Pxxx or
•
a variable Vxxx (V1 - V39) or
•
a status value Sxxx or
•
a constant with max. 8 significant sign + decimal point.
All parameters may be assigned.
The commands "VP" and "VC" (with which the parameters are validated) can be
programmed in the program.
N123: P081=30
(modifies moment of inertia)
N124: VC
N234: P013=10
(modifies lag tolerance)
N235: VP
COMPAX XX70: the curve memory is also accessible:
N200: F5450=0.5 (modifies idle postion of 1st curve)
N201: I5460=128 (modifies master cycle route of 1st curve)
N202: VF
(validates curve)
For more information, see operating instructions for electronical curve
control
.
22
Curve points can only be modified using an assignment; an arithmetic term is
not allowed.
Syntax:
Note
Items permitted to
the left of the equal
sign:
Items permitted to
the right of the
equal sign:
An operand is:
Example:
Curve memory
Example: