MLPmpReadInitPos

Pipe Network motion icon

 Function - Gets the Initial Position parameter of a PMP block.

  • This value is the position the PMP block starts at when the Pipe Network is enabled.
  • Can be set when adding a PMP block to a Pipe Network and defining the parameters for that block.

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

BlockID

DINT

1 to 1024

N/A

No default

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

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

InitialPosition

LREAL

 

User units

Present Initial Position of the PMP Pipe Network function block.

  • Value defined in the setup of a PMP block in a Pipe Network.
  • The value is entered in the INITIAL_POSITION field in the Parameter tab.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

PmpInitPos := MLPmpReadInitPos( PipeNetwork.PmpMaster )  ;

See Also

MLPmpInit