MLBlkIsReady
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. - Check if a block is ready.
Input
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
ID |
DINT |
-2147483648 to 2147483648 |
N/A |
No default |
ID number of a created Pipe Block. |
Output
Output |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
Default (.Q) |
BOOL |
N/A |
N/A |
No default |
Returns TRUE if no function of a specified Pipe Block is running. See Function - General Rules for more information. |
Remarks
- Returns TRUE if no function of a specified Pipe Block is running.
- Returns FALSE if the selected Pipe Block has a function running.
-
-
Same return value as the .Q output of a specific function itself.
-
-
This function or function block returns cached data.
See Programming a Dual Core Controller for more information.
FBD Language
FFLD Language
ST Language
//Check if the MST Pipe Block named “MASTER” has a function running
IsReady := MLBlkIsReady( PipeNetwork.MASTER );
See Also