MLMstReadAccel
Description
Get the presently used value for acceleration of a master block.
Arguments
Input
EN |
Description |
Enables FB to be executed |
Data type |
BOOL |
|
Range |
0, 1 |
|
Unit |
N/A |
|
Default |
— |
|
|
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 |
|
Acceleration |
Description |
Returns Acceleration value |
Data type |
LREAL |
|
Unit |
User unit/sec2 |
Related Functions
Example
Structured Text
// Read the present acceleration of a Pipe Block named “MASTER”
MLMstReadAccel( PipeNetwork.MASTER );
Ladder Diagram
Function Block Diagram