2 variable list, Reference – Lenze PM94P01C User Manual
Page 105

PM94P01C
103
Reference
3.2
Variable List
Table 62 provides a complete list of the accessible PositionServo variables. These variables can be accessed from
the user’s program or any supported communications interface protocol. From the user program, any variable can be
accessed by either its variable name or by its index value (using the syntax: @
the variable index from Table 62). From the communications interface any variable can be accessed by its index value.
The column “
Type” indicates the type of variable:
mtr
Motor: denotes a motor value
mtn
Motion: writing to an “mtn” variable could cause the start of motion
vel
Velocity: denotes a velocity or velocity scaling value
The column “
Format” provides the native format of the variable:
W
32 bit integer
F
float (real)
When setting a variable via an external device the value can be addressed as floating or integer. The value will
automatically adjusted to fit it’s given form.
The column “
EPM” shows if a variable has a non-volatile storage space in the EPM memory:
Y
Variable has non-volatile storage Space in EPM
N
Variable does not exist in EPM memory
The user’s program uses a RAM (volatile) ‘copy’ of the variables stored on the EPM. At power up all RAM copies
of the variables are initialized with the EPM values. The EPM’s values are not affected by changing the variables in
the user’s program. When the user’s program reads a variable it always reads from the RAM (volatile) copy of the
variable. Communications Interface functions can change both the volatile and non-volatile copy of the variable. If the
host interface requests a change to the EPM (non-volatile) value, this change is done both in the user program’s RAM
memory as well as in the EPM. Interface functions have the choice of reading from the RAM (volatile) or from the EPM
(non-volatile) copy of the variable.
The column “
Access” lists the user’s access rights to a variable:
R
read only
W
write only
R/W
read/write
Writing to an R (read-only) variable or reading from a W (write-only) variable will not work.
The column “
Units” shows units of the variable. Units unique to this manual that are used for motion are:
UU
user units
EC
encoder counts
S
seconds
PPS
pulses per sample. Sample time is 255ms - servo loop rate
PPSS pulses per sample per sample. Sample time is 255ms - servo loop rate