MLAxisRatedTq
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. - Allows conversion of drive 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 values from rated torque units
(1000 = rated motor continuous torque) to N.m (Newton meter).
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
ID |
DINT |
No range |
N/A |
No default |
Pipe network identifier of the axis block. |
LREAL |
No range |
N.m (Newton meter) |
No default |
Actual torque applied by the drive associated to the axis. Rated torque = Nominal Drive Current * Torque factor = DRV.ICONT * MOTOR.KT. About SDO
DRV.ICONT is obtained by SDO parameter: index 5083h (sub-index 0). MOTOR.KT is obtained by SDO parameter: index 3593h (sub-index 0). For more information, see:
To read/write an SDO object with an index greater than 16#7FFF (32767), the value must be entered in this form: Example:
|
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Default (.Q) |
BOOL |
|
|
Returns TRUE when the function successfully executes. See Pipe Network - General Rules for more information. |
Remarks
Figure 6-169: MLAxisRatedTq
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
MLAxisRatedTq(PipeNetwork.Axis1, Axis1_Torque ) ;
See Also