|Language:||English • 中文（简体）|
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
<axis>.Direction = <expression>
-1 or 1
Configuration, Task or Terminal
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).
Axis1.Direction = 1