MLAxisReadVel
Function - Returns the actual velocity of the axis based on the data provided by the drive's feedback device.
In AKD, S300, and S700 drives:
- The actual velocity is calculated internally by the drive.
- The Velocity Actual Value object (CoE object 0x606C, subindex 0) must be included in the drive's Input (Tx) PDO data for the controller to read the axis actual velocity from the drives.
- This is added using the PDO Editor tab.
- By default, the Velocity Actual Value object is included in the AKD PDOs 0x1B20, 0x1B22, and 0x1B23.
-
-
- This function or function block returns cached data.
- See Program a Multi-Core Controller.
Inputs
|
Input |
Data Type See Data Types. |
Range |
Unit |
Default |
Description |
|---|---|---|---|---|---|
|
ID |
DINT |
1 to 1024 |
N/A |
No default |
Pipe network identifier of the axis block. |
Outputs
|
Output |
Data Type See Data Types. |
Range |
Unit |
Description |
|---|---|---|---|---|
|
Velocity |
LREAL |
No range |
User units / sec |
The actual velocity of the axis. |
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
Axis1_Velocity := MLAxisReadVel(PipeNetwork.Axis1 ) ;
See Also







