Programming – Lenze E94P PositionServo with MVOB User Manual

Page 43

Advertising
background image

PM94H201B_13xxxxxx_EN

L

41

Programming

When retrieving data with MEMGET statements memory locations will be sequentially copied to variables starting from
the one with lowest index in the list to the last with highest index. Consider the list for the MEMGET statement:
[V2, V5-V7, V3]

RAM file memory

Data1

Data2

Data3

Data4

Data5

Data6

...

... index increase

Here is how the data will be assigned to variables:
V2 <- Data1
V3 <- Data2
V5 <- Data3
V6 <- Data4
V7 <- Data5

2.7.4 Store and Retrieve Variables from the EPM

The EPM access statements LOADVARS and STOREVARS are provided to store/retrieve the values of the user
variables, V0-V31, to/from the EPM. The LOADVARS statement loads the stored values of the users variables V0-V31
from the EPM. Variable values V0-V31 can be previously stored via the interface or the STOREVARS statement. The
STOREVARS statement stores the values of the user variables V0-V31 to the EPM. Variable values V0-V31 can be
later retrieved via the interface or the LOADVARS statement. Refer to the Program Statement Glossary in section 3.1
for syntax and example details.

NOTE
At Bootup, variables V0-V31 are automatically retrieved from the EPM.

NOTE
EPM memory is specified for a limited number of write cycles (approximately 1 million). Care must
be taken not to excessively write to the EPM memory or not to exceed the maximum write cycle
count.

Advertising