MLAxisGenReadAcc
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. - Get the acceleration of the internal generator of an axis.
Arguments
Input
|
AxisID |
Description |
ID Name of the Axis block |
|
Data type |
DINT |
|
|
Range |
— |
|
|
Unit |
N/A |
|
|
Default |
— |
Output
|
OK |
Description |
Returns true when function successfully executes See Function - General Rules for more information. |
|
Data type |
BOOL |
|
|
Unit |
N/A |
|
|
Acceleration |
Description |
Returns Axis Acceleration value |
|
Data type |
LREAL |
|
|
Unit |
User unit/sec2 |
Related Functions
Example
Structured Text
|
Axis1_Acceleration := MLAxisGenReadAcc( PipeNetwork.Axis1 );
|
Ladder Diagram
Function Block Diagram





