MC-Basic:axis.OPMODE

From SoftMC-Wiki
Revision as of 11:36, 10 November 2011 by Miborich (talk | contribs)
Jump to: navigation, search

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.

Examples

OpMode 2

See Also