Pulse output instructions
1187
Part IV Tool Instructions
PulseOutput_Jog_
TargetValue_FB
JOG operation with target value
Description
This non-inline instruction is part of the tool instructions for pulse output. For a detailed description
of the instruction(s) used internally, please refer to the online help: F172_PulseOutput_Jog (see
page 1060). Use PulseInfo_IsActive (see page 1223
) to check if the control flag for the selected
channel is FALSE.
PLC types see page 1329
Input variable Data type Function
bExecute With edge or permanent if change of speed requiredWith edge
or permanent if change of speed required
bAbsolute
BOOL
FP0R: Absolute value control = TRUE, Relative value control =
FALSE
diInitialAndFinalSpeed FP0R: Initial and final speed = 1 to 50000 (1Hz–50kHz)
diTargetSpeed Target speed: Set this value according to the frequency range
selected in PulseOutput_Channel_Configuration_DUT:
FP
, FP-X: 1 to 9800 (1.5Hz–9.8kHz)
48 to 100000 (48Hz–100kHz)
191 to 100000 (191–100kHz)
FP0R: 1 to 50000 (1Hz–50kHz)
FP0, FP-e: 40 to 5000 (40Hz–5kHz)
diAccelerationTime Acceleration time (FP0R): 1ms–32760ms (up to the maximum
speed)
diDecelerationTime Deceleration time (FP0R): 1ms–32760ms (from the maximum
speed)
diTargetValue
DINT
Target value [pulses]: -2147483648–2147483647
dutChannelConfiguration Predefined system DUT for channel configuration:
PulseOutput_Channel_Configuration_DUT
Output variable Data type Function
bError BOOL Refers to an internal mismatch of input values to avoid a PLC
error.
Additional error condition for FP
, FP-X :
TRUE if the applied channel is not enabled in the system
registers or if bAbsolute is TRUE
This instruction is used for JOG operation. Pulses are output from the specified channel when the
control flag for this channel is FALSE and the execution condition is TRUE. Pulse output stops
when the target value is reached.
Data types