MLPmpStatus
Function A 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. - Returns the status of the PMP block generator.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
EN |
BOOL |
0, 1 |
N/A |
No default |
Enables execution. |
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 |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
OK |
BOOL |
|
N/A |
Returns TRUE when the function successfully executes. See Pipe Network - General Rules for more information. |
||||||||
Default (.Q) |
DINT |
|
N/A |
Returns the status of the PMP block generator.
|
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller for more information.
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
PMP_Status := MLPmpStatus ( PipeNetwork.PmpMaster ) ;
Done :=TRUE;