MLAxisReadVel
Description
Return the actual velocity of the axis as calculated internally by the drive mapped to it, based on the data provided by the feedback deviceA process whereby some proportion of the output signal of a system is passed (fed back) to the input. In automation, a device coupled to each motor to provide indication of the motor's shaft angle, for use in commutating the motor and controlling its speed and position of the drive.
-
- This function or function block returns cached data. See Programming a Dual Core Controller for more information.
Arguments
Input
ID |
Description |
Pipe network identifier of the axis block |
Data type |
DINT |
|
Range |
— |
|
Unit |
n/a |
|
Default |
— |
Output
Velocity |
Description |
Actual velocity returned by the drive associated to the axis |
Data type |
LREAL |
|
Unit |
User unit/sec |
Related Functions
Example
Structured Text
Axis1_Velocity := MLAxisReadVel(PipeNetwork.Axis1 ) ;
|
Ladder Diagram
Function Block Diagram