Difference between revisions of "MC-Basic:axis.OPMODEMAP"
m (Text replace - "Modal-Only" to "Modal only") |
|||
Line 1: | Line 1: | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
− | |SYNTAX=<axis>.OpModeMap[<index>] = <value> | + | |SYNTAX=<''axis''>.OpModeMap[<''index'>] = <''value''> |
<br> | <br> | ||
− | ?<axis>.OpModeMap[<index>] | + | ?<axis>.OpModeMap[<''index''>] |
|AVAILABILITY= From 4.9.0 and up | |AVAILABILITY= From 4.9.0 and up | ||
|DESCRIPTION= | |DESCRIPTION= | ||
Defines opmode mapping of SERCOS telegram. | Defines opmode mapping of SERCOS telegram. | ||
− | * OpmodeMap[1] - position mode | + | * OpmodeMap[1] - position mode (Primary) |
− | * OpmodeMap[2] - velocity mode | + | * OpmodeMap[2] - velocity mode (Secondary) |
− | * OpmodeMap[3] - torque mode | + | * OpmodeMap[3] - torque mode (Tertiary) |
|TYPE= array of integers | |TYPE= array of integers | ||
|RANGE= | |RANGE= | ||
Line 20: | Line 20: | ||
* OpmodeMap[3] = 2 | * OpmodeMap[3] = 2 | ||
|SCOPE= Task, Terminal | |SCOPE= Task, Terminal | ||
− | |LIMITATIONS= Modal | + | |LIMITATIONS= Modal-Only |
|EXAMPLE= | |EXAMPLE= | ||
Ax1.OpModemap[1] = 0 | Ax1.OpModemap[1] = 0 |
Revision as of 06:49, 19 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
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