FunctionMLMstWriteInitPosPipe Network motion icon

Description

Set the initial position of a master block. 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

Position

Description

Initial position

 

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

Example

Structured Text

 

MLMstWriteInitPos( PipeNetwork.MASTER, 120.0 );

 

Ladder Diagram

MLMstWriteInitPos: LD example

Function Block Diagram

MLMstWriteInitPos: FBD example

Go back to the top of the page [Top]