Difference between revisions of "MC-Basic:axis.DIRECTION"

From SoftMC-Wiki
Jump to: navigation, search
Line 43: Line 43:
 
* [[MC-Basic:axis.ACCELERATIONFACTOR|axis.ACCELERATIONFACTOR]]
 
* [[MC-Basic:axis.ACCELERATIONFACTOR|axis.ACCELERATIONFACTOR]]
 
* [[MC-Basic:axis.POSITIONFACTOR|axis.POSITIONFACTOR]]
 
* [[MC-Basic:axis.POSITIONFACTOR|axis.POSITIONFACTOR]]
* [[Axystems:MC-Basic:axis.VELOCITYFACTOR|axis.VELOCITYFACTOR]]
+
* [[MC-Basic:axis.VELOCITYFACTOR|axis.VELOCITYFACTOR]]
  
  
 
}}
 
}}

Revision as of 08:49, 22 May 2014

This property allows you to define the logical direction of the movement. The movement factors (i.e., POSITIONFACTOR, VELOCITYFACTOR, ACCELERATIONFACTOR) are assigned to positive values only. DIRECTION determines their sign.

-1: motion is forward
1: motion is backward

Syntax

<axis>.Direction = <expression>

?<axis>.Direction

Availability

All versions

Type

Long

Range

-1 or 1

Default

1

Scope

Configuration, Task or Terminal

Limitations

Cannot be changed while axis is enabled or while axis is set up as a master axis.

In order to set the value within a task, the axis must be attached to that task (using the ATTACH command).

Examples

Axis1.Direction = 1

See Also