MLAxisGenWriteAcc
Function A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Set the acceleration of the internal generator of an axis.
Returns TRUE if the internal generator axis is ready.
Arguments
Input
AxisID |
Description |
ID Name of the Axis block |
Data type |
DINT |
|
Range |
— |
|
Unit |
N/A |
|
Default |
— |
|
Acceleration |
Description |
Sets the generator Acceleration value |
Data type |
LREAL |
|
Range |
— |
|
Unit |
User unit/sec2 |
|
Default |
— |
Output
Default (.Q) |
Description |
Returns true when function successfully executes See Function - General Rules for more information. |
Data type |
BOOL |
|
Unit |
N/A |
Related Functions
Example
Structured Text
MLAxisGenWriteAcc(PipeNetwork.Axis1, 100000 ) ;
|
Ladder Diagram
Function Block Diagram