- Parker Compact Servo Controller User Guide

Operating Instructions
COMPAX-M / -S
Arithmetic
116
To include the actual position in a calculation, for example, you may assign as
follows:
N100: V030=S1
or
N100: V030= S1 + 10
The variable V030 derived in this way can be used later, for example, in a
positioning instruction as a preset target.
After Power On, the variables retain the old value as before Power Off as they are
stored in the ZPRAM. With the special instruction V000=x, all variables (on the cam
controller settings) are set to the value x.
Writing convention of variables (V0-V39) and control parameters (P40-P49)
For reasons of compatibility, a preceding point (full stop) is expected in the syntax for motion commands:
e.g.: POSA .P40, ACCEL .V10
The new comparison and arithmetic commands will operate without a preceding point (full stop): e.g.:
P41=V10+S1, IF V20 > S2 GOTO 10
Read status and
assign variables
Initializing
variables:
POSA
POSR
SPEED
ACCEL
OUTPUT
Password
SPEED
SYNC
Mark
reference
POSR
SPEED
POSR
OUTPUT
Cam
controller
WAIT
GOTO
GOSUB
RETURN
END
REPEAT
IF I..
Comparison
WAIT Start
GOTO /
GOSUB EXT
IF Error/ Stop
Arithmetic
Position
monitoring
Idle display
Speed
monitoring
Engage /
disengage
brake / final
stage
Variable
voltage