Movedmovedistance statement, Moved, Move distance statement – Lenze PMSS1000 Simple Servo User Manual

Page 63

Advertising
background image

Indexer-Programmer-Manual.pdf REV 1.3

more stack space fault will result. Programmer should check
F_MQUEUE_FULL system flag to see if there is available space.


<condition>

The condition to be tested. The condition may be a comparison, an input being TRUE
or FALSE (H or L) system flag or a variable is used as flag (if 0 - false, else - true ).


Remarks
See Also

MOVEP, MOVED, MOVEPR, MOVEDR, MDV, MOTION SUSPEND, MOTION
RESUME


Example:

{Statements…}


MOVE UNTIL V0<3

MOVE BACK UNTIL V0>4

MOVE

WHILE

V0<3

MOVE BACK WHILE V0>4

MOVE

WHILE

V0<3,C

MOVED Move

Distance

Statement


Purpose

MOVED performs incremental motion (distance) specified in User Units. Valid range
for distance is -231 to 231. Statement suspends the program execution until motion is
completed unless statement is used with C modifier. If "S" modifier is used S-curve
accel is performed during the move.


Syntax

MOVED <distance>[,S] [,C]

C[ontinue]

optional modifier allows program to continue while motion is
performed. If the other motion is not completed yet requested
motion is placed in motion stack. Motion stack is16 entries deep.
If there is no more stack space fault will result. Programmer
should check F_MQUEUE_FULL system flag to see if there is
available space.

S[-curve]

optional modifier specifies S-curve acceleration.


See Also

MOVE, MOVEP, MOVEPR, MOVEDR, MDV, MOTION SUSPEND, MOTION
RESUME


Example:

{Statements…}


MOVED 3

;moves 3 user units forward

MOVED BACK 3

;moves 3 user units backward

{Statements…}



63

Advertising