Difference between revisions of "MC-Basic:axis.OPMODEMAP"
Line 6: | Line 6: | ||
|AVAILABILITY= From 4.9.0 and up | |AVAILABILITY= From 4.9.0 and up | ||
|DESCRIPTION= | |DESCRIPTION= | ||
+ | Defines opmode mapping of SERCOS telagram. | ||
+ | * Opmode[1] - position mode ''(Primary)'' | ||
+ | * Opmode[2] - velocity mode ''(Secondary)'' | ||
+ | * Opmode[3] - torque mode ''(Tertiary)'' | ||
|TYPE= array of integers | |TYPE= array of integers | ||
|RANGE= | |RANGE= | ||
Line 12: | Line 16: | ||
|UNITS= None | |UNITS= None | ||
|DEFAULT= | |DEFAULT= | ||
+ | * Opmode[1] = 0 | ||
+ | * Opmode[2] = 1 | ||
+ | * Opmode[3] = 2 | ||
|SCOPE= Task, Terminal | |SCOPE= Task, Terminal | ||
|LIMITATIONS= Modal-Only | |LIMITATIONS= Modal-Only |
Revision as of 10:02, 10 November 2011
Defines opmode mapping of SERCOS telagram.
- Opmode[1] - position mode (Primary)
- Opmode[2] - velocity mode (Secondary)
- Opmode[3] - torque mode (Tertiary)
Short form
OpModeMap
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
- Opmode[1] = 0
- Opmode[2] = 1
- Opmode[3] = 2
Scope
Task, Terminal
Limitations
Modal-Only
Examples
Ax1.OpModemap[1] = 0