Pulse output instructions
1182
Part IV Tool Instructions
PulseOutput_Jog_
Positioning0_FB
JOG operation and positioning
The speed can be changed within the range of the specified target speed.
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:
F171_PulseOutput_Jog_Positioning (see page 1055). Use PulseInfo_IsActive (see page 1223) to
check if the control flag for the sele
cted channel is FALSE. Use PulseControl_PulseOutputStop
(see page 1213) to stop pulse output on a specified channel. Use PulseControl_DeceleratedStop
(see pa
ge 1202) to perform a decelerated stop.
PLC types see see page 1329
Input variable Data type Function
bExecute BOOL With edge or permanent if change of speed required
bAbsolute BOOL:=FAL
SE
Only incremental mode supported, must be FALSE always,
otherwise an error is output.
diInitialAndFinalSpeed Initial and final speed (FP0R): 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
Description
This instruction is used for JOG operation. The specified number of pulses is output after the
position control trigger input has turned to TRUE. A deceleration is performed before the target
value is reached and pulse output stops. Pulses are output from the specified channel when the
control flag for this channel is FALSE and the execution condition is TRUE.
Data types