MLPmpForcePos

Pipe Network motion icon

 Function - Forces the position of a PMP block to a specified position.

Inputs

Input

Data Type

Range

Unit

Default

Description

EN

BOOL

FALSE, TRUE

N/A

No default

Enables execution.

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

ID name of a PMP function block in the Pipe Network.

Position

LREAL

No range

User units

No default

Defines the PMP starting position when the motion starts.

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

FALSE, TRUE

N/A

Returns TRUE when the function successfully executes.

See Function - General Rules.

Remarks

  • This block can only be executed when motion is NOT occurring.
  • It can be used to force the PMP starting position to the values to start motion from.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

MLPmpForcePos( PipeNetwork.PMP, 2500.0 );

See Also

MLPmpReadInitPos