MLAxisReadTq
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. - Returns the actual torque Torque is the tendency of a force to rotate an object about an axis. Just as a force is a push or a pull, a torque can be thought of as a twist applied by the drive mapped to the specified axis.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
ID |
DINT |
No range |
N/A |
No default |
Pipe network identifier of the axis block. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
LREAL |
No range |
N.m (Newton meter) |
Actual torque applied by the drive associated to the axis. If the MLAxisRatedTq function is not invoked, the Output value is rated motor continuous torque (where 1000.0 = rated torque). |
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller for more information.
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
Axis1_Torque := MLAxisReadTq(PipeNetwork.Axis1 ) ;
See Also