MC-Basic:axis.OPMODE
Axystems:Template:Temporary-Specification This command allows you to change the drive operation mode.
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