E_NcEncoderType

TwinCAT supports different encoders, these are defined in the enum E_NcEncoderType.

TYPE E_NcEncoderType :
(
    NcEncoderType_undefined,
    NcEncoderType_Simulation,
    NcEncoderType_ABS_M3000,
    NcEncoderType_INC_M31X0,
    NcEncoderType_INC_KL5101,
    NcEncoderType_ABS_KL5001_SSI,
    NcEncoderType_INC_KL5051,
    NcEncoderType_ABS_KL30XX,
    NcEncoderType_INC_Sercos_P,
    NcEncoderType_INC_Sercos_PV,
    NcEncoderType_INC_Binary,
    NcEncoderType_ABS_M2510,
    NcEncoderType_ABS_FOX50,
    NcEncoderType_HYDRAULIC_FORCE,
    NcEncoderType_AX2000_B200,
    NcEncoderType_PROFIDRIVE,
    NcEncoderType_UNIVERSAL,
    NcEncoderType_NCBACKPLANE,
    NcEncoderType_CANOPEN_LENZE,
    NcEncoderType_CANOPEN_DS402_MDP513_MDP742,
    NcEncoderType_AX2000_B900,
    NcEncoderType_KL5151,
    NcEncoderType_IP5209,
    NcEncoderType_KL2531_Stepper,
    NcEncoderType_KL2532_DC,
    NcEncoderType_TIMEBASEGENERATOR,
    NcEncoderType_INC_TCOM,
    NcEncoderType_CANOPEN_MDP513_64BIT,
    NcEncoderType_SPECIFIC
)DWORD;
END_TYPE

E_NcEncoderType

Description

NcEncoderType_undefined

 

NcEncoderType_Simulation

Simulation

NcEncoderType_ABS_M3000

Absolute, with 24 or 25 bits, and 12 and 13 bits single turn encoders (M3000)

NcEncoderType_INC_M31X0

Incremental, with 24 bits (M31x0, M3200, M3100, M2000)

NcEncoderType_INC_KL5101

MDP 511: Incremental with 16 bits and latch (MDP511: EL7041, EL5101, EL5151, EL2521, EL5021(SinCos); KL5101, IP5109, KL5111)

NcEncoderType_ABS_KL5001_SSI

MDP 500/501: Absolute SSI with 24 bits (KL5001, IP5009) (MDP 501: EL5001)

NcEncoderType_INC_KL5051

MDP 510: Absolute/Incremental BISSI with 16 bits (KL5051, PWM KL2502_30K(Frq-Cnt pulse mode), Pulse-Train KL2521, IP2512)

NcEncoderType_ABS_KL30XX

Absolute analog input with 16 bits (KL30xx)

NcEncoderType_INC_Sercos_P

SERCOS "Encoder" position

NcEncoderType_INC_Sercos_PV

SERCOS "Encoder" position and velocity

NcEncoderType_INC_Binary

Binary incremental encoders (0/1)

NcEncoderType_ABS_M2510

Absolute analog input with 12 bits (M2510)

NcEncoderType_ABS_FOX50

T&R Fox 50 module (24 bits absolute (SSI))

NcEncoderType_HYDRAULIC_FORCE

MMW type: force acquisition from Pa, Pb, Aa, Ab

NcEncoderType_AX2000_B200

Incremental AX2000-B200 Lightbus with 16/20 bits (AX2000)

NcEncoderType_PROFIDRIVE

Incremental with 32 Bit

NcEncoderType_UNIVERSAL

Incremental with variable bit mask (max. 32 bits)

NcEncoderType_NCBACKPLANE

Incremental NC backplane

NcEncoderType_CANOPEN_LENZE

Incremental CANopen Lenze

NcEncoderType_CANOPEN_DS402_MDP513_MDP742

MDP 513 / MDP 742 (DS402): CANopen and EtherCAT (AX2000-B510, AX2000-B1x0, EL7201, EL5032/32 Bit)

NcEncoderType_AX2000_B900

Incremental AX2000-B900 Ethernet

NcEncoderType_KL5151

Incremental with 16-bit counter and int. + ext 32-bit latch (KL5151_0000) (only switchable), the 2-channel KL5151_0050 has no latch.

NcEncoderType_IP5209

Incremental with 16-bit counter and int. 32-bit latch (IP5209)

NcEncoderType_KL2531_Stepper

Incremental with 16-bit counter and int. + ext. 15-bit latch (only switchable) (stepper motor terminal KL2531/KL2541)

NcEncoderType_KL2532_DC

Incremental with 16-bit counter and ext. 16-bit latch (only switchable) (2-channel DC motor output stage KL2532/KL2542), 2-channel PWM DC motor output stage KL2535/KL2545

NcEncoderType_TIMEBASEGENERATOR

Time Base Generator

NcEncoderType_INC_TCOM

TCOM Encoder -> Interface to Soft Drive Encoder

NcEncoderType_CANOPNE_MDP513_64BIT

MDP 513 (DS402, EnDat2.2, 64 Bit): EL5032/64 Bit

NcEncoderType_SPECIFIC