MLMstWriteDecel
Description
Set the deceleration of a master block. Returns TRUE if the function succeeded.
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 |
— |
|
Deceleration |
Description |
Deceleration value |
Data type |
LREAL |
|
Range |
— |
|
Unit |
User unit/sec2 |
|
Default |
— |
Output
Default (.Q) |
Description |
Returns true when function successfully executes See more details here. |
Data type |
BOOL |
|
Unit |
N/A |
Related Functions
Example
Structured Text
MLMstWriteDecel( PipeNetwork.MASTER, 40000.0 );
|
Ladder Diagram
Function Block Diagram