MLPmpReadAccel
Description
Get the Acceleration parameter of a PMP block used in both the MLPmpAbs and MLPmpRel function block.
Arguments
Input
BlockID | Description | ID Name of the PMP function block in the Pipe Network |
Data type | DINT | |
Range | [-2147483648, 2147483648] | |
Unit | N/A | |
Default | — |
Output
Acceleration | Description | Present Acceleration 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/sec2 | |
Default | Value defined PMP Block when creating a Pipe Network. It is in the “ACCELERATION” field in the parameter tab. |
Related Functions
Example
Structured Text
PmpAccelValue := MLPmpReadAccel( PipeNetwork.PmpMaster ) ;
|
Ladder Diagram
Function Block Diagram