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

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "<axis>" to "<''axis''>")
m
Line 4: Line 4:
 
<br>
 
<br>
 
?<''axis''>.OpModeMap[<''index''>]
 
?<''axis''>.OpModeMap[<''index''>]
|AVAILABILITY= From 4.9.0 and up
+
|AVAILABILITY=  
 +
Since Version 4.9.0
 
|DESCRIPTION=  
 
|DESCRIPTION=  
 
Defines opmode mapping of SERCOS telegram.
 
Defines opmode mapping of SERCOS telegram.

Revision as of 14:41, 26 March 2014

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