MLPmpReadInitPos

Pipe Network motion icon

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

Inputs

Input

Data Type

Range

Unit

Default

Description

BlockID

DINT

-2147483648 to 2147483647

N/A

No default

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

Outputs

Output

Data Type

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.

Remarks

  • 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.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

PmpInitPos := MLPmpReadInitPos( PipeNetwork.PmpMaster )  ;

See Also

MLPmpInit