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

From SoftMC-Wiki
Jump to: navigation, search
Line 2: Line 2:
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM= None
 
|SHORT FORM= None
|SYNTAX= OpMode {<axis>} <value> <br> ''?OpMode'''
+
|SYNTAX= OpMode {<axis>} <value> <br> ''?OpMode''
 
|AVAILABILITY=
 
|AVAILABILITY=
 
|DESCRIPTION= This command allows you to change the drive operation mode.
 
|DESCRIPTION= This command allows you to change the drive operation mode.
 
|TYPE= long
 
|TYPE= long
|RANGE= 0-2
+
|RANGE= 0-2<br>
0 - TORQUEMODE
+
* 0 - TORQUEMODE<br>
1 - VELOCITYMODE
+
* 1 - VELOCITYMODE<br>
2 - POSITIONMODE
+
* 2 - POSITIONMODE<br>
 
|UNITS= NA
 
|UNITS= NA
 
|DEFAULT= 2
 
|DEFAULT= 2
Line 22: Line 22:
 
* [[AXY:Operational_Modes | Operational Modes]]
 
* [[AXY:Operational_Modes | Operational Modes]]
 
* [[AXY:MC-Basic:axis.OPMODEMAP|OPMODEMAP ]]
 
* [[AXY:MC-Basic:axis.OPMODEMAP|OPMODEMAP ]]
* [[AXY:SERCOS_Operation_Modes|SERCOS OPMODE]]
+
* [[AXY:SERCOS_Operation_Modes|SERCOS OPMODEs]]
  
 
}}
 
}}
 
[[Category:Axystems:OperationalModes]]
 
[[Category:Axystems:OperationalModes]]

Revision as of 11:21, 10 November 2011

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.

Examples

OpMode 2

See Also