Pulse output instructions
1175
Part IV Tool Instructions
Input variable Data type Function
bExecute Activates the function block (with permanent trigger)
bAbsolute
BOOL
Absolute value control = TRUE, Relative value control =
FALSE
bCounterclockwise
Rotation direction: Reverse = TRUE, Forward = FALSE
diTargetSpeed Target speed: Composite speed of both axes =
100–20000 (100Hz–20kHz)
diTargetValue_X
diTargetValue_Y
diCenterValue_X
diCenterValue_Y
DINT
Target value [pulses]: -8388608–8388607
dutChannelConfiguration_X_Y Predefined system DUT for channel configuration:
PulseOutput_Channel_Configuration_DUT
Channel: 0, 2
Output variable Data type Function
bError BOOL Refers to an internal mismatch of input values to avoid a
PLC error.
diRadius DINT Radius [pulses]
Data types
Example
In this example the function has been programmed in ladder diagram (LD). Please refer to the
online help for a structured text (ST) example. The same POU header is used for all programming
languages.
DUT
Use the following predefined DUT: PulseOutput_Channel_Configuration_DUT
POU header
All input and output variables used for programming this function have been declared in the POU
header.