Difference between revisions of "MC-Basic:TORQUE"

From SoftMC-Wiki
Jump to: navigation, search
Line 44: Line 44:
  
 
* [[Axystems:MC-Basic:axis.TORQUEDRIVECOMMAND|TORQUEDRIVECOMMAND]]
 
* [[Axystems:MC-Basic:axis.TORQUEDRIVECOMMAND|TORQUEDRIVECOMMAND]]
* [[Axystems:MC-Basic:axis.COUNTTORQUEFEEDBACK|COUNTTORQUECODRIVEMMAND]]
+
* [[Axystems:MC-Basic:axis.COUNTTORQUECODRIVEMMAND|COUNTTORQUECODRIVEMMAND]]
  
  

Revision as of 08:59, 27 June 2013

  • if executed in a mode different than TORQUEMODE a note will be thrown, but the command will be executed as usual
  • Interpolates torque command (TCMD) value from its initial value to the given torque value. The interpolation is done using the value of min(TorqueChangeRatio,TorqueChangeRatioMax) value as a rate of TCMD value change. No additional smoothing is done.
  • The torque interpolation is done using same mechanisms as motion interpolation. Depending on the value of <axis>.StartType the interpolation will start after the previous torque command was given or immediately (same rules as move command).The value of inpos for the starttype will be ignored and GCOMP will be used instead.
  • During it's execution value of isMoving will be nonzero. Values of axis PCMD , VCMD , ACCELCOMMAND are not affected.

Short form

Torque

Syntax

Torque <axis> <Torque Value> {TorqueChnageRatio=<value>} {TorqueChnageRatioMax=<value>} {StartType = Generator-Completed, Immediate, Super-Immediate}

Availability

from 4.9.0

Type

<Torque Value> - double

Examples

Torque Ax1 10.1 StartType=Immediate

See Also