MLMstWriteSpeed
Description
Set the speed of motion for the MLMstAbs and MLMstRel blocks. Returns TRUE if the function succeeded. This function does not generate any motion.
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 | — | |
Speed | Description | Speed of the motion |
Data type | LREAL | |
Range | — | |
Unit | User unit/sec | |
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
MLMstWriteSpeed( PipeNetwork.MASTER, 400.0 );
|
Ladder Diagram
Function Block Diagram