MLPmpReadLstSpd
Description
Get the LastTravelSpeed parameter of a PMP block used in the MLPmpRel function 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
LastTravelSpeed | Description | Last Travel Speed of the PMP PipeNetork FunctionA function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. Block |
Data type | LREAL | |
Unit | User unit/sec | |
Default | Value defined in the setup of a PMP Block within a Pipe Network. It is in the “LAST_TRAVEL_SPEED” field in the parameter tab. |
Related Functions
Example
Structured Text
PmpLastSpeed := MLPmpReadLstSpd( PipeNetwork.PmpMaster ) ;
|
Ladder Diagram
Function Block Diagram