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

From SoftMC-Wiki
Jump to: navigation, search
Line 26: Line 26:
 
|DEFAULT= 2
 
|DEFAULT= 2
 
|SCOPE=  Task, Terminal
 
|SCOPE=  Task, Terminal
|LIMITATIONS= Write in CP4 only, Opmode change allowed in disabled state only.
+
|LIMITATIONS=  
 +
* Write in CP4 only, Opmode change allowed in disabled state only.<br>
 +
* OPMODE change of an axis belonging to an ''attached group'' is not allowed
 
|EXAMPLE= OpMode 2
 
|EXAMPLE= OpMode 2
 
|SEE ALSO=  
 
|SEE ALSO=  

Revision as of 11:44, 10 November 2011

Axystems:Template:Temporary-Specification This command allows you to change the drive operation mode. Once a operation mode has been chosen only certain motion interpolation commands are allowed:


COMMAND POSITIONMODE VELOCITYMODE TORQUEMODE
MOVE <axis> OK OK -
JOG <axis> OK OK -
TORQUE <axis>- - OK
DWELL <axis> OK OK OK

Short form

None

Syntax

OpMode {<axis>} <value>
?OpMode

Type

long

Range

0-2

  • 0 - TORQUEMODE
  • 1 - VELOCITYMODE
  • 2 - POSITIONMODE

Units

NA

Default

2

Scope

Task, Terminal

Limitations

  • Write in CP4 only, Opmode change allowed in disabled state only.
  • OPMODE change of an axis belonging to an attached group is not allowed

Examples

OpMode 2

See Also