MLMstRel

Pipe Network motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Performs a move for a specified distance relative to the current position.

Returns TRUE if the function succeeded.

Arguments

Input

EN

Description

Enables FB to be executed

 

Data type

BOOL

 

Range

0, 1

 

Unit

N/A

 

Default

Block ID

Description

ID name of the Master Block

 

Data type

DINT

 

Range

[-2147483648, 2147483648]

 

Unit

N/A

 

Default

DeltaPos

Description

Relative distance to move

 

Data type

LREAL

 

Range

 

Unit

User unit

 

Default

Output

Default (.Q)

Description

Returns true when function successfully executes

See Function - General Rules for more information.
 

Data type

BOOL

 

Unit

N/A

Related Functions

MLMstWriteSpeed

MLMstWriteDecel

Example

Structured Text

 

MLMstRel( PipeNetwork.MASTER, 750.0 );

 

Ladder Diagram

MLMstRel: LD example

Function Block Diagram

MLMstRel: FBD example

Go back to the top of the page[Top]