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

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{MC-Basic |SHORT FORM= OpModeMap |SYNTAX=<axis>.OpModeMap[<index>] = <value> ?<axis>.OpModeMap[<index>] |AVAILABILITY= From 4.9.0 and up |DESCRIPTION= |TYPE= array of integers …")
 
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:axis.OPMODEMAP}}
 
{{MC-Basic
 
{{MC-Basic
|SHORT FORM= OpModeMap
+
|SHORT FORM=  
|SYNTAX=<axis>.OpModeMap[<index>] = <value>
+
|SYNTAX=<''axis''>.OpModeMap[<''index''>] = <''value''>
?<axis>.OpModeMap[<index>]
+
<br>
|AVAILABILITY= From 4.9.0 and up
+
?<''axis''>.OpModeMap[<''index''>]
 +
|AVAILABILITY=  
 +
Since Version 4.9.0
 
|DESCRIPTION=  
 
|DESCRIPTION=  
 +
Defines opmode mapping of SERCOS telegram.
 +
* OpmodeMap[1] - position mode (Primary)
 +
* OpmodeMap[2] - velocity mode (Secondary)
 +
* OpmodeMap[3] - torque mode  (Tertiary)
 
|TYPE= array of integers
 
|TYPE= array of integers
 
|RANGE=  
 
|RANGE=  
Line 11: Line 18:
 
|UNITS= None
 
|UNITS= None
 
|DEFAULT=  
 
|DEFAULT=  
 +
* OpmodeMap[1] = 0
 +
* OpmodeMap[2] = 1
 +
* OpmodeMap[3] = 2
 
|SCOPE= Task, Terminal
 
|SCOPE= Task, Terminal
 
|LIMITATIONS= Modal-Only
 
|LIMITATIONS= Modal-Only
 
|EXAMPLE=
 
|EXAMPLE=
 +
Ax1.OpModemap[1] = 0
 
|SEE ALSO=
 
|SEE ALSO=
 +
* [[MC-Basic:TORQUE|TORQUE ]]
 +
* [[MC-Basic:axis.TORQUECHANGERATIO|TORQUECHANGERATIO]]
 +
* [[AXY:MC_Operational_Modes | MC Operational Modes]]
 +
* [[AXY:Operational_Modes | Operational Modes]]
 +
 +
 
}}
 
}}
 +
[[Category:OperationalModes]]

Latest revision as of 02:52, 20 April 2017

Language: English  • 中文(简体)‎

Defines opmode mapping of SERCOS telegram.

  • OpmodeMap[1] - position mode (Primary)
  • OpmodeMap[2] - velocity mode (Secondary)
  • OpmodeMap[3] - torque mode (Tertiary)

Syntax

<axis>.OpModeMap[<index>] = <value>
?<axis>.OpModeMap[<index>]

Availability

Since Version 4.9.0

Type

array of integers

Range

  • Index 1-3
  • Values: 0-7

Units

None

Default

  • OpmodeMap[1] = 0
  • OpmodeMap[2] = 1
  • OpmodeMap[3] = 2

Scope

Task, Terminal

Limitations

Modal-Only

Examples

Ax1.OpModemap[1] = 0

See Also