MLPmpReadInitPos
Description
Get the Initial Position parameter of a PMP block. This value is the position the Pmpblock starts at when the Pipe Network is enabled. This position can be set when adding a Pmp Block to a Pipe Network and defining the parameters for that block.
Arguments
Input
|
BlockID |
Description |
ID Name of a PMP function block in the Pipe Network |
|
Data type |
DINT |
|
|
Range |
[-2147483648, 2147483648] |
|
|
Unit |
n/a |
|
|
Default |
— |
Output
|
InitialPosition |
Description |
Present Initial Position of the PMP PipeNetork Function |
|
Data type |
LREAL |
|
|
Unit |
User unit |
|
|
Default |
Value defined in the setup of a PMP Block within a Pipe Network. It is in the “INITIAL_POSITION” field in the parameter tab. |
Related Functions
Example
Structured Text
|
PmpInitPos := MLPmpReadInitPos( PipeNetwork.PmpMaster ) ;
|
Ladder Diagram
Function Block Diagram
[Top]





