Reference – Lenze PM94P01C User Manual

Page 96

Advertising
background image

PM94P01C

94

Reference

Table 45: MEMSET

MEMSET

Memory access statements MEMSET

Statement

Purpose

MEMSET provides command for simplified storage of data to the drives RAM memory file through
transfer of data from variables V0-V31. Using this statement any combinations of variables V0-V31
can be stored in the RAM file with a single statement.

Syntax

MEMSET

<offset> [ <varlist>]

<offset>

It specifies offset in RAM file where data will be stored.

Range: -32767 to 32767

<varlist>

any combinations of variables V0-V31

See Also

MEMGET

Example:

MEMSET 5 [V0]

;single variable will be stored in location 5

MEMSET V1 [V0,V3,V2]

;variables V0,V3,V2 will be stored in memory

;location starting at value held in V1

MEMSET 10 [V3-V7]

;variables V3 to V7 inclusively will be stored

MEMSET V1 [V0,V2,V4-V8]

;variables V0,V2, V4 through V8 will be stored.

Table 46: MOTION RESUME

MOTION RESUME Resume Motion

Statement

Purpose

Statement resumes motion previously suspended by MOTION SUSPEND. If motion was not
previously suspended, this has no effect on operation.

Syntax

MOTION RESUME

See Also

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

Example:

…{statements}
MOTION RESUME ;Motion is resumed from first command in motion Queue (if any)
…{statements}

Table 47: MOTION SUSPEND

MOTION SUSPEND Suspend

Statement

Purpose

This statement is used to temporarily suspend motion without flushing the Motion Queue’s contents.
If this statement is executed while a motion profile is being processed, then the motion will not be
suspended until after the completion of the move. If executing a series of segment moves, motion
will not be suspended until after all the MDV segments have been processed. If the Motion Queue is
empty then any subsequent motion statement will be loaded into the queue and will remain there until
the “Motion Resume” statement is executed. Any motion statements without the “C” modifier (except
MDV statements) will lock-up the User Program.

Syntax

MOTION SUSPEND

Remarks

Performing any MOVEx commands without “C” modifier will lock-up the user program. You will be
able to unlock it only by performing a Reset or Host Interface command “Motion Resume”

See Also

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

Example:

…{statements}
MOTION SUSPEND

;Motion will be suspended after current motion

;command is finished.

…{statements}

Advertising