Skip to main content

resetCurrentStepParametersToDefaults

Parameters

none

Code

Declaration

METHOD PROTECTED resetCurrentStepParametersToDefaults
VAR_INPUT
END_VAR

Implementation

THIS^.currentErrorStep := THIS^.defaultErrorStep;
THIS^.currentPauseEnabled := THIS^.defaultPauseEnabled;
THIS^.currentSteppingEnabled := THIS^.defaultSteppingEnabled;
THIS^.currentStepWidth := THIS^.defaultStepWidth;
THIS^.currentStopRequestMode := THIS^.defaultStopRequestMode;
THIS^.currentTimeoutStep := THIS^.defaultTimeoutStep;
THIS^.currentTimeout := THIS^.defaultTimeout;