What is the difference between HSCMAIN_M258 and ENCODER_M258.
The major difference between an HSCMAIN and ENCODER_M258 is that,in function block ENCODER_M258,the encoder
is supposed to get a position from a linear axis or rotary axis. The function block HSCMAIN_M258 is only for counting events.
The encoder has some extra features (such as capture, slacking correction, scaling) which allow to manage the position of an axis.