Lenze E94P PositionServo with MVOB User Manual
Page 7

PM94H201B_13xxxxxx_EN
L
5
Introduction
1.2
Programming Flowchart
MotionView utilizes a BASIC-like programming structure referred to as SimpleMotion Programming Language (SML).
SML is a quick and easy way to create powerful motion applications.
With SML the programmer describes his system’s motion, I/O processing and process flow using the SML structured
code. The programming language includes a full set of arithmetic and logical statements that allow the user to perform
mathematical calculations and comparisons of variables and apply the results within their application.
Before the PositionServo drive can execute the user’s program, the program must first be compiled (translated) into
binary machine code, and downloaded to the drive. Compiling the program is done by selecting the [Compile] button
from the toolbar located within the indexer program folder. The user can also compile and download the program at the
same time by selecting the [Load W Source] button from the toolbar. Once downloaded, the compiled program is stored
in both the PositionServo’s EPM memory and the internal flash memory. Figure 1 illustrates the flow of the program
preparation process.
Start Execution in
debug environment
or at next power up
Load compiled program
to PositionServo drive
NO
Any Error?
Compile Program
YES
Prepare User Program
Fix program errors
Figure 1: Program Preparation