POU header
All input and output variables used for programming this function have been declared in the POU
header.
LD
ST
When programming with structured text, enter the following:
IF
DF(X0_bMotorSwitch)
dutHome.diInitialAndFinalSpeed:=diInitialSpeed;
dutHome.diTargetSpeed:=diTargetSpeed;
dutHome.diAccelerationDecelerationTime:=diAccelerationTime;
dutHome.diDeviationCounterClearSignalOutputTime:=10;
END_IF;
(*Example for home position return*)
IF
DF(X0_bMotorSwitch)
F171_PulseOutput_Home(s_dutDataTable
n_iPulseOutputChannel
END_IF;
THEN
THEN
:= dutHome,
:= 0);
Pulse output instructions
1055