Difference between revisions of "MC-Basic:axis.SUMTORQUE"

From SoftMC-Wiki
Jump to: navigation, search
(Add note about SumTorque in position OpMode)
Line 17: Line 17:
 
1 - TAddCmd is added to TCmd <br>
 
1 - TAddCmd is added to TCmd <br>
  
 +
{{Note/Important|
 +
If an axis is in '''POSITION''' OpMode and SumTorque is set to 1, the value set to property TAddCmd is added to TCmd. However, TCMD is meaningless in position OpMode,<br/>therefore this situation
 +
will actually have no real influence. If you want to use TAddCmd in position OpMode - set SumTorque to 0 !}}
 
|TYPE=  
 
|TYPE=  
 
Long
 
Long

Revision as of 09:55, 3 December 2014

Defines whether TAddCmd is added to the TCmd value in Torque mode. If true, the sum of TAddCmd and TCmd is sent as TCmd (IDN S-80) and zero as TAddCmd (IDN-81) to SERCOS.

0 - TAddCmd and TCmd are sent separately
1 - TAddCmd is added to TCmd

IMPORTANT.svgIMPORTANT

If an axis is in POSITION OpMode and SumTorque is set to 1, the value set to property TAddCmd is added to TCmd. However, TCMD is meaningless in position OpMode,
therefore this situation

will actually have no real influence. If you want to use TAddCmd in position OpMode - set SumTorque to 0 !

Short form

STORQUE

Syntax

<axis>.SumTorque

Type

Long

Range

0, 1

Default

0

Scope

Task, Terminal

Limitations

Modal only

See Also