MC_Direction

This enumeration type contains the possible directions of movement for the function blocks MC_MoveVelocity and MC_MoveModulo.

TYPE MC_Direction :
(
    MC_Positive_Direction := 1,
    MC_Shortest_Way ,
    MC_Negative_Direction,
    MC_Current_Direction,
    MC_Undefined_Direction := 128
);
END_TYPE

MC_Direction

Description

MC_Positive_Direction

Positive direction of movement

MC_Shortest_Way

Shortest way

MC_Negative_Direction

Negative direction of movement

MC_Current_Direction

Current direction of movement is maintained

MC_Undefined_Direction

Undefined direction of movement

Requirements

Development environment

Target system type

PLC libraries to include

TwinCAT v3.0.0

PC or CX (x86 or x64)

Tc2_MC2