ST_PowerStepperStruct

TYPE ST_PowerStepperStruct :
STRUCT
    DestallDetectMode : E_DestallDetectMode;
    DestallMode       : E_DestallMode;
    DestallEnable     : BOOL;
    StatusMonEnable   : BOOL;
END_STRUCT
END_TYPE

This structure specifies the parameters for the MC_PowerStepper block.

DestallDetectMode: A coded value is used here to specify how a stall situation is to be detected.
DestallMode: A coded value is used here to specify how a stall situation that has been detected is to be handled.
DestallEnable: This parameter specifies whether stall detection and handling in accordance with the rules above is active.
StatusMonEnable: This parameter specifies whether the status bits of the I/O terminal are monitored and whether errors that occur are to be reported.

Requirements

Development environment

Target system type

PLC libraries to be linked

TwinCAT v2.9, build 1026 onwards

PC (i386)

TcMC.Lib