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

From SoftMC-Wiki
Jump to: navigation, search
Line 5: Line 5:
 
|AVAILABILITY=
 
|AVAILABILITY=
 
|DESCRIPTION= This command allows you to change the drive operation mode.
 
|DESCRIPTION= This command allows you to change the drive operation mode.
 +
Once a operation mode has been chosen only certain motion interpolation commands are allowed:
 +
 +
 +
<table border="1" cellpadding="20" cellspacing="0">
 +
 +
<tr><td>COMMAND</td>  <td>POSITIONMODE</td>  <td>VELOCITYMODE</td> <td>TORQUEMODE</td></tr>
 +
<tr><td>MOVE <axis></td>  <td>OK</td> <td>OK</td> <td>-</td> </tr>
 +
<tr><td>JOG <axis></td>  <td>OK</td> <td>OK</td> <td>-</td> </tr>
 +
<tr><td>TORQUE <axis></td><td>-</td> <td>-</td> <td>OK</td>  </tr>
 +
<tr><td>DWELL <axis></td> <td>OK</td> <td>OK</td> <td>OK</td></tr>
 +
</table>
 +
 +
 
|TYPE= long
 
|TYPE= long
 
|RANGE= 0-2<br>
 
|RANGE= 0-2<br>

Revision as of 11:36, 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.

Examples

OpMode 2

See Also