Pulse output instructions
In this example the function has been programmed in ladder diagram (LD) and structured text (ST).
Example
The same POU header is used for all programming languages.
DUT
The DUT F171_PulseOutput_Jog_Positioning_Type0_DUT is predefined in the FP Library.
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
(Start)
dutJog.diInitialAndFinalSpeed:=diInitialAndFinalSpeed;
END_IF;
IF
(Start)
F171_PulseOutput_Jog_Positioning(s_dutDataTable
END_IF;
1060
THEN
THEN
:= dutJog, 0);