E_EncoderReferenceMode

This data type is used in conjunction with the MC_Home function block and the ... structure to select a reference mode other than the one set in the configuration on the encoder, if required.

Type E_EncoderReferenceMode :
(
    ENCODERREFERENCEMODE_DEFAULT           :=  0,
    ENCODERREFERENCEMODE_PLCCAM            :=  1,
    ENCODERREFERENCEMODE_HARDWARESYNC      :=  2,
    ENCODERREFERENCEMODE_HARDWARELATCHPOS  :=  3,
    ENCODERREFERENCEMODE_HARDWARELATCHNEG  :=  4,
    ENCODERREFERENCEMODE_SOFTWARESYNC      :=  5,
    ENCODERREFERENCEMODE_SOFTDRIVELATCHPOS :=  6,
    ENCODERREFERENCEMODE_SOFTDRIVELATCHNEG :=  7,
)UDINT;
END_TYPE