Difference between revisions of "MC-Basic:axis.DIRECTIONEXTERNAL"
(Created page with '{{MC-Basic |SHORT FORM= ''<axis>''.DirExt |SYNTAX= ''<axis>''.DirectionExternal = ''<expression>''<br> ?''<axis>''.DirectionExternal |AVAILABILITY= All versions |DESCRIPTION…') |
(AXY: new links) |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:axis.DIRECTIONEXTERNAL}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
− | '' | + | <''axis''>.DirExt |
|SYNTAX= | |SYNTAX= | ||
− | '' | + | <''axis''>.DirectionExternal = <''expression''> <br> |
− | ?'' | + | ?<''axis''>.DirectionExternal |
|AVAILABILITY= | |AVAILABILITY= | ||
Line 32: | Line 33: | ||
|EXAMPLE= | |EXAMPLE= | ||
− | A1.DirExt = | + | A1.DirExt = 1 ' Setting external direction to a positive value<br> |
− | ?A1. | + | ?A1.DirExt ' Querying the external value |
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:axis.POSITIONEXTERNAL|axis.POSITIONEXTERNAL]] |
− | * [[ | + | * [[MC-Basic:axis.VELOCITYEXTERNALFACTOR|axis.VELOCITYEXTERNALFACTOR]] |
− | * [[ | + | * [[MC-Basic:axis.POSITIONEXTERNALFACTOR|axis.POSITIONEXTERNALFACTOR]] |
− | * [[ | + | * [[MC-Basic:element.POSITIONFEEDBACK|POSITIONFEEDBACK]] |
+ | * [[MC-Basic:axis.VELOCITYEXTERNAL|axis.VELOCITYEXTERNAL]] | ||
+ | * [[MC-Basic:axis.VELOCITYEXTERNALFACTOR|axis.VELOCITYEXTERNALFACTOR]] | ||
+ | * [[MC-Basic:axis.COUNTEXTERNAL|axis.COUNTEXTERNAL]] | ||
+ | * [[MC-Basic:axis.DIRECTIONEXTERNAL|axis.DIRECTIONEXTERNAL]] | ||
+ | * [[MC-Basic:axis.POSITIONEXTROLLOVER|axis.POSITIONEXTROLLOVER]] | ||
+ | * [[MC-Basic:axis.POSITIONROLLOVERENABLE|axis.POSITIONROLLOVERENABLE]] | ||
+ | * [[Endless Axes|Infinite Axes]] | ||
}} | }} |
Latest revision as of 12:03, 13 September 2017
Language: | English • 中文(简体) |
---|
This property is used to multiply the POSITIONEXTERNALFACTOR and VELOCITYEXTERNALFACTOR in order to determine the sign of the external encoder input.
Short form
<axis>.DirExt
Syntax
<axis>.DirectionExternal = <expression>
?<axis>.DirectionExternal
Availability
All versions
Type
Integer
Range
-1 or 1
Default
1
Scope
Configuration, Task or Terminal
Limitations
The axis must be disabled to set the property. Within a task, the specified axis must be attached in order to set it.
Examples
A1.DirExt = 1 ' Setting external direction to a positive value
?A1.DirExt ' Querying the external value