MC-Basic:axis.DIRECTIONEXTERNAL

From SoftMC-Wiki
Revision as of 16:01, 13 December 2010 by Arwiebe (talk | contribs) (Created page with '{{MC-Basic |SHORT FORM= ''<axis>''.DirExt |SYNTAX= ''<axis>''.DirectionExternal  = ''<expression>''<br> ?''<axis>''.DirectionExternal |AVAILABILITY= All versions |DESCRIPTION…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

See Also