Difference between revisions of "MC-Basic:TORQUE"

From SoftMC-Wiki
Jump to: navigation, search
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:TORQUE}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM= Torque
 
|SHORT FORM= Torque
 
|SYNTAX=
 
|SYNTAX=
Torque <''axis''> <''Torque Value''> {TorqueChnageRatio=<''value''>} {TorqueChnageRatioMax=<''value''>} {StartType = Generator-Completed, Immediate, Super-Immediate}
+
Torque <''axis''> <''Torque Value''> {TorqueChangeRatio=<''value''>} {TorqueChangeRatioMax=<''value''>} {StartType = Generator-Completed, Immediate, Super-Immediate}
 
|AVAILABILITY= Since Version 4.9.0
 
|AVAILABILITY= Since Version 4.9.0
 
|DESCRIPTION=  
 
|DESCRIPTION=  
Line 8: Line 9:
 
*If executed in a mode different than TORQUEMODE a note will be thrown, but the command will be executed as usual
 
*If executed in a mode different than TORQUEMODE a note will be thrown, but the command will be executed as usual
  
*Interpolates torque command ([[Axystems:MC-Basic:axis.TORQUECOMMAND|TCMD]]) value from its initial value to the given torque value. The interpolation is done using the value of '''min([[Axystems:MC-Basic:axis.TORQUECHANGERATIO|TorqueChangeRatio]],[[Axystems:MC-Basic:axis.TORQUECHANGERATIOMAX|TorqueChangeRatioMax]])''' value as a rate of TCMD value change. No additional smoothing is done.
+
*Interpolates torque command ([[MC-Basic:element.TORQUECOMMAND|TCMD]]) value from its initial value to the given torque value. The interpolation is done using the value of '''min([[MC-Basic:axis.TORQUECHANGERATIO|TorqueChangeRatio]],[[MC-Basic:axis.TORQUECHANGERATIOMAX|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.
 
*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.
Line 24: Line 25:
 
|SEE ALSO=
 
|SEE ALSO=
 
* [[MC-Basic:axis.OPMODE|OPMODE]]
 
* [[MC-Basic:axis.OPMODE|OPMODE]]
* [[Axystems:MC-Basic:axis.TORQUECHANGERATIO|TORQUECHANGERATIO]]
+
* [[MC-Basic:axis.TORQUECHANGERATIO|TORQUECHANGERATIO]]
* [[Axystems:MC-Basic:axis.TORQUECHANGERATIOMAX|TORQUECHANGERATIOMAX]]
+
* [[MC-Basic:axis.TORQUECHANGERATIOMAX|TORQUECHANGERATIOMAX]]
* [[Axystems:MC-Basic:axis.SUMTORQUE|SUMTORQUE]]
+
* [[MC-Basic:axis.SUMTORQUE|SUMTORQUE]]
  
* [[Axystems:MC-Basic:axis.TORQUECOMMAND|TORQUECOMMAND]]
+
* [[MC-Basic:element.TORQUECOMMAND|TORQUECOMMAND]]
 
* [[MC-Basic:axis.COUNTTORQUECOMMAND|COUNTTORQUECOMMAND]]
 
* [[MC-Basic:axis.COUNTTORQUECOMMAND|COUNTTORQUECOMMAND]]
  
* [[Axystems:MC-Basic:axis.TORQUEADDCOMMAND|TORQUEADDCOMMAND]]
+
* [[MC-Basic:axis.TORQUEADDCOMMAND|TORQUEADDCOMMAND]]
 
* [[MC-Basic:axis.COUNTTORQUEADDITIVECOMMAND|COUNTTORQUEADDITIVECOMMAND]]
 
* [[MC-Basic:axis.COUNTTORQUEADDITIVECOMMAND|COUNTTORQUEADDITIVECOMMAND]]
  
* [[Axystems:MC-Basic:axis.TORQUEFEEDBACK|TORQUEFEEDBACK]]
+
* [[MC-Basic:element.TORQUEFEEDBACK|TORQUEFEEDBACK]]
 
* [[MC-Basic:axis.COUNTTORQUEFEEDBACK|COUNTTORQUEFEEDBACK]]
 
* [[MC-Basic:axis.COUNTTORQUEFEEDBACK|COUNTTORQUEFEEDBACK]]
  
* [[Axystems:MC-Basic:axis.TORQUEDRIVECOMMAND|TORQUEDRIVECOMMAND]]
+
* [[MC-Basic:axis.TORQUEDRIVECOMMAND|TORQUEDRIVECOMMAND]]
 
* [[MC-Basic:axis.COUNTTORQUEDRIVECOMMAND|COUNTTORQUEDRIVECOMMAND]]
 
* [[MC-Basic:axis.COUNTTORQUEDRIVECOMMAND|COUNTTORQUEDRIVECOMMAND]]
  
* [[Axystems:OperationalModes| Operational Modes]]
+
* [[MC-Basic:element.TORQUEGEARCOMMAND|TORQUEGEARCOMMAND]]
 +
* [[MC-Basic:element.TORQUEGEARFEEDBACK|TORQUEGEARFEEDBACK]]
 +
 
 +
* [[OperationalModes| Operational Modes]]
  
 
<br><br>
 
<br><br>
Line 46: Line 50:
 
* ''[[AXY:Operational_Modes | Operational Modes]]''
 
* ''[[AXY:Operational_Modes | Operational Modes]]''
 
}}
 
}}
[[Category:Axystems:OperationalModes]]
+
 
 +
[[Category:OperationalModes]]

Latest revision as of 08:20, 4 June 2020

Language: English  • 中文(简体)‎
  • 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 execution the value of isMoving will be nonzero. Values of axis PCMD, VCMD, ACCELCOMMAND are not affected.

Short form

Torque

Syntax

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

Availability

Since Version 4.9.0

Type

<Torque Value> - double

Examples

Torque Ax1 10.1 StartType=Immediate

See Also