MC_DIRECTION (ENUM)

 

TYPE MC_DIRECTION :

This global variable is part of library SM3_Basic. It is used as an input of several function blocks and specifies the direction of the movement. Please note, that not all modes can be applied to all function blocks and axis types (modulo/finite).

InOut:

Name

Initial

Comment

fastest

3

Selects the direction automatically in order to reach the target position as fast as possible (only modulo axes).

current

2

Keeps the current direction to reach the target (only modulo axes).

positive

1

Moves in positive direction.

shortest

0

Selects the direction according to the shortest distance (only modulo axes).

negative

-1

Moves in negative direction.