E_PositionType

E_PositionType is used for external setpoint generation MC_ExtSetPointGenEnable to define how the given position is to be interpreted.

TYPE E_PositionType :
(
    POSITIONTYPE_ABSOLUTE := 1, (*Absolute position*)
    POSITIONTYPE_RELATIVE,     (*Relative position*)
    POSITIONTYPE_MODULO := 5 (*Modulo position*)
);
END_TYPE

E_PositionType

Description

POSITIONTYPE_ABSOLUTE 

Absolute position

POSITIONTYPE_RELATIVE

Relative position

POSITIONTYPE_MODULO 

Modulo position

Requirements

Development environment

Target system type

PLC libraries to include

TwinCAT v3.0.0

PC or CX (x86 or x64)

Tc2_MC2