FunctionMLMstAbsPipe Network motion icon

Description

Performs a move to an absolute position. Returns TRUE if the function succeeded.

Arguments

Input

BlockID

Description

ID name of the Master Block

 

Data type

DINT

 

Range

[-2147483648, 2147483648]

 

Unit

n/a

 

Default

Position

Description

Sets the value of the absolute destination position.

When the Modulo is turned on, the Master Block moves to the targeted position during the corresponding period, calculated as follows:

  • If the Position input is between 0 and the Modulo Position, then the Master Block moves within the current period (no position rollover).
  • If the Position input is greater than the Modulo Position, then the Master Block moves during one of the next period (positive position rollover).

The Master Block works similarly for negative positions: if the Position input is less than zero, then the Master Block moves during one of the previous period (negative position rollover).

 

Data type

LREAL

 

Range

 

Unit

User unit

 

Default

Output

Default (.Q)

Description

Returns true when function successfully executes

See more details here

 

Data type

BOOL

 

Unit

n/a

Related Functions

MLMstWriteSpeed

MLMstWriteDecel

Examples

Structured Text

//Make an absolute positon move with a Master block called “MASTER” to position 1000.0
MLMstAbs( PipeNetwork.MASTER, 1000.0 );

Ladder Diagram

MLMstAbs: LD example

 

Function Block Diagram

MLMstAbs: FBD example

Go back to the top of the page [Top]

 


Stay Connected with Kollmorgen

Copyright © 2015 Kollmorgen™