MC-Basic:axis.OPMODEMAP

From SoftMC-Wiki
Revision as of 06:49, 19 March 2014 by Lisa (talk | contribs) (Text replace - "Modal-Only" to "Modal only")
Jump to: navigation, search

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

From 4.9.0 and up

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