Difference between revisions of "MC-Basic:axis.DIRECTIONEXTERNAL"
Line 41: | Line 41: | ||
* [[MC-Basic:axis.VELOCITYEXTERNALFACTOR|axis.VELOCITYEXTERNALFACTOR]] | * [[MC-Basic:axis.VELOCITYEXTERNALFACTOR|axis.VELOCITYEXTERNALFACTOR]] | ||
* [[MC-Basic:axis.POSITIONEXTERNALFACTOR|axis.POSITIONEXTERNALFACTOR]] | * [[MC-Basic:axis.POSITIONEXTERNALFACTOR|axis.POSITIONEXTERNALFACTOR]] | ||
− | * [[MC-Basic:axis.POSITIONFEEDBACK|axis.POSITIONFEEDBACK]] | + | * [[AXY:MC-Basic:axis.POSITIONFEEDBACK|axis.POSITIONFEEDBACK]] |
* [[MC-Basic:axis.VELOCITYEXTERNAL|axis.VELOCITYEXTERNAL]] | * [[MC-Basic:axis.VELOCITYEXTERNAL|axis.VELOCITYEXTERNAL]] | ||
* [[MC-Basic:axis.VELOCITYEXTERNALFACTOR|axis.VELOCITYEXTERNALFACTOR]] | * [[MC-Basic:axis.VELOCITYEXTERNALFACTOR|axis.VELOCITYEXTERNALFACTOR]] |
Revision as of 07:08, 14 August 2017
Language: | [[::MC-Basic:axis.DIRECTIONEXTERNAL|English]] • [[::MC-Basic:axis.DIRECTIONEXTERNAL/zh-hans|中文(简体)]] |
---|
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