MLMstReadSpeed
Description
Get the presently used value for speed of a master block.
Arguments
Input
EN |
Description |
Enables FB to be executed |
Data type |
BOOL |
|
Range |
0, 1 |
|
Unit |
n/a |
|
Default |
— |
|
Block ID |
Description |
ID name of the Master Block |
Data type |
DINT |
|
Range |
[-2147483648, 2147483648] |
|
Unit |
n/a |
|
Default |
— |
Output
OK |
Description |
Returns true when function successfully executes See more details here |
Data type |
BOOL |
|
Unit |
n/a |
|
Speed |
Description |
Returns current Speed |
Data type |
LREAL |
|
Unit |
User unit/sec |
Related Functions
Example
Structured Text
MstSpeed := MLMstReadSpeed( PipeNetwork.MASTER );
|
Ladder Diagram
Function Block Diagram