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 <nowiki><value></nowiki> <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=
+
|TYPE= long
|RANGE= 0 , <del>1</del> , 2 , <del>3</del> and 5<br>
+
|RANGE= 0-2
'''0''' : Digital velocity opmode<br>
+
0 - TORQUEMODE
<del>'''1''' : Analog velocity<br></del>
+
1 - VELOCITYMODE
'''2''' : Digital torque<br>
+
2 - POSITIONMODE
<del>'''3''' : Analog torque<br></del>
 
'''5''' : External position used as the digital position, the regular position mode<br>
 
 
 
 
|UNITS= NA
 
|UNITS= NA
|DEFAULT= 5
+
|DEFAULT= 2
|SCOPE= Configuration, Task, Terminal
+
|SCOPE= Task, Terminal
|LIMITATIONS= Read/Write: R/W in CP4, Axis must be disabled.
+
|LIMITATIONS= Write in CP4 only, Opmode change allowed in disabled state only.
 
|EXAMPLE= OpMode 2
 
|EXAMPLE= OpMode 2
 
|SEE ALSO=  
 
|SEE ALSO=  
Line 25: 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]]
  
 
}}
 
}}
 
[[Category:Axystems:OperationalModes]]
 
[[Category:Axystems:OperationalModes]]

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