Positioning and control functions

Arithmetic

8.4.30 Arithmetic

Unit hardware

/ cable

Syntax:

Note

Items permitted to the left of the equal sign:

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)

Connector

assignment

Technical data

 

Configuration

 

Items permitted to the right of the equal sign:

An operand is:

Example:

an operand or

a simple arithmetic term22

a parameter Pxxx or

a variable Vxxx (V1 - V39) or

a status value Sxxx or

a constant with max. 8 significant digits + 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

Positioning and

control functions

Optimization

functions

Interfaces

 

/

 

Curve memory

Example:

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.

Accessories options

Status

Parameter

22Curve points can only be modified using an assignment; an arithmetic term is not allowed.

113

Error list

Page 113
Image 113
Parker  Products COMPAX-M /-S (L) manual Arithmetic, Parameter assignments, Curve memory, Example