MLAxisGenWriteSpd
Description
Set the speed of the internal generator of an axis. Returns TRUE if the function succeeded. This function does not generate any motion.
Arguments
Input
AxisID |
Description |
ID Name of the Axis block |
Data type |
DINT |
|
Range |
— |
|
Unit |
N/A |
|
Default |
— |
|
Speed |
Description |
Sets the generator Speed value |
Data type |
LREAL |
|
Range |
— |
|
Unit |
||
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
MLAxisGenWriteSpd(PipeNetwork.Axis1, 500 ) ;
|
Ladder Diagram
Function Block Diagram