Positioning - General

General

Positioning is a mode where the axis moves to a target undependable of other axis in the application. Below are positioning modes that define the movements and the target.

Relative

The axis moves the distance of the target and the position of the axis is (starting position + target). Then the movement is done as illustrated in Figure_._.

Relative Trace of the Positioing

G-SE-0064634.1.gif-high.gif

 

 

Absolute

The position of the axis is not changed and the movement is (target – starting position). Figure_._ gives an example of Absolute Trace.

Absolute Trace of the Positioning

G-SE-0064633.1.gif-high.gif

 

 

Table __.__ displays a summary of the parameters and the return values of the OpMode_Posi­tioning .

Variable

Data Type

Description

i_etPosMode

SystemInterface.ET_PosMode

Positioning mode.

SystemInterface.ET_PosMode.Relative

SystemInterface.ET_PosMode.Endless

SystemInterface.ET_PosMode.Absolute

i_lrTarget

LREAL

Travel distance or targets of the motion in the units are dependent on i_etPosMode.

i_lrVel

LREAL

Velocity (change of position) in units/s.

i_IrAcc

LREAL

Acceleration (change of velocity)in units/s2.

i_lrDec

LREAL

Deceleration (change of velocity) in units/s2.

i_lrJerk

LREAL

Jerk (change of acceleration/deceleration) in units/s3.

The Op_Mode Positioning Trace (Figure _._) and source code demonstrate how an axis can be positioned using the given commands:

Positioning Trace Example

G-SE-0064631.1.gif-high.gif

 

 

ST_Positioning Source Code

ST_Positioning.i_etPosMode := ET_PosMode.Absolute

ST_Positioning.i_lrTarget := 250.0

ST_Positioning.i_lrVel := 1_000.0

ST_Positioning.i_lrAcc := 10_000.0

ST_Positioning.i_lrDec := 10_000.0

ST_Positioning.i_lrJerk := 1_000_000.0