MLPmpReadFstSpd
Descriptions
Get the FirstTravelSpeed parameter of a PMP block. This parameter is used as the first of 2 speeds in an MLPmpRel Motion Block. It is also used as the speed in an MLPmpAbs Motion 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
FirstTravelSpeed | Description | Present first travel velocity 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 “FIRST_TRAVEL_SPEED” field in the parameter tab |
Related Functions
Example
Structured Text
FirstSpeedValue := MLPmpReadFstSpd( PipeNetwork.PmpMaster ) ;
|
Ladder Diagram
Function Block Diagram