Reference – Lenze E94P PositionServo with MVOB User Manual

Page 96

Advertising
background image

94

L

PM94H201B_13xxxxxx_EN

Reference

Table 44: MEMGET

MEMGET

Memory access statements MEMGET

Statement

Purpose

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

Syntax

MEMGET

<offset> [ <varlist>]

<offset>

specifies offset in RAM file where data will be retrieved.

Range: -32767 to 32767

<varlist>

any combinations of variables V0-V31

See Also

MEMSET

Example:

MEMGET 5 [V0]

;single variable will be retrieved from location 5

MEMGET V1 [V0,V3,V2]

;variables V0,V3,V2 will be retrieved from

;memory location starting at value held in V1

MEMGET 10 [V3-V7]

;variables V3 to V7 inclusively will be retrieved

MEMGET V1 [V0,V2,V4-V8]

;variables V0,V2, V4 through V8 will be retrieved

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>

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

Remarks

Any motion command executed in the user program while motion is suspended will be placed in the
motion queue but not executed. Motion commands accumulated on the motion stack will be performed
in the order they were loaded to the motion queue on execution of the Motion Resume statement.

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}

Advertising