McSetAxisTorque

Structured Text McSetAxisTorque
Sets the target torque of an axis.
Return Value
  DINT Error identification. See KsError.
Parameter
Axis AXIS_REF Reference to an axis.
Torque DOUBLE The torque of an axis. The unit is percent (%). The minimum accepted value is 0.1.
  • In the Direct Torque mode, you can set an axis' torque every cycle based on your needs or customized interpolation.
  • This function can be used only in the Direct Torque control mode, in which this is the only function to set the target torque of an axis.