Modification and loading of parameters
INFORMATION

To write parameters, the stepper motor module must not display an error. In this case, you must first acknowledge the error and then write the parameter.
Writing parameters results in low time losses between starting the mode and executing the movement. You can control the behavior when writing parameters using the input variables xUpdateConfigbeforeStartExternal of the FB_StepperWrapper function block or the FB_StepperWrapperThroughLogicalDevice function block.
xUpdateConfigbeforeStartExternal =: TRUE
The set parameters for each mode are executed immediately after the activation is set.
xActivate =:TRUE
xSTART =: FALSE
xUpdateConfigbeforeStartExternal =: FALSE
In this case, set the following variable in the used mode after it has been activated but not yet started:
stStepper.stUserInterface.xxx.stConfig.stIn.xWriteConfig =: TRUE
xxx Stands for the operating mode.
Successful writing is signaled via the following variable:
stOut.xWriteDone
As soon as writing is complete, xxx.stIn.xWriteConfig is set to FALSE.
The mode can be started as soon as stOut.xBusyWriteConfig is set to FALSE.