MAN0974-11-EN_XL7_UserManual
March 22
nd
, 2020
Page 105 | 195
9.8 STP Examples
Example 1
Start
Frequency
Run
Frequency
Accel Count
Run Count
Decel Count
10,000,000
steps
control
sequence
Set %AQ421
= 2500 (Hz)
Set %AQ422
= 5000 (Hz)
Set %AQ423-
4 = 1,000,000
(Steps)
Set %AQ425-
6 = 8,000,000
(Steps)
Set %AQ427-8
= 1,0000,000
(Steps)
When the start bit is energized, the example starts at 2.5kHz and ramps up to 5kHz during the
first 1,000,000 steps. Then, it runs at 5kHz for the next 8,000,000 steps. Finally, during the
last 1,000,000 steps it slows to a stop.
Example 2
Start
Frequency
Run
Frequency
Accel Count
Run Count
Decel Count
5,000,000
steps
control
sequence
Set %AQ421
=
500 (Hz)
Set %AQ422
= 1000 (Hz)
Set %AQ423-
4 = 2,000,000
(Steps)
Set %AQ425-
6 = 2,000,000
(Steps)
Set %AQ427-8
= 1,000,000
(Steps)
When the start bit is energized, the example starts at 0.5 kHz and ramps up to 1 kHz during the
first 2,000,000 steps. Then, it runs at 1 kHz for the next 2,000,000 steps. Finally, during the
last 1,000,000 steps it slows to a stop.
Example 3
Start
Frequency
Run
Frequency
Accel Count
Run Count
Decel Count
6,000,000
steps
control
sequence
Set %AQ421
=
50 (Hz)
Set %AQ422
=
250 (Hz)
Set %AQ423-
4 = 150,000
(Steps)
Set %AQ425-
6 = 5,500,000
(Steps)
Set %AQ427-8
= 350,000
(Steps)
When the start bit is energized, the following example starts at 50Hz and ramps up to 250Hz
during the first 150,000 steps. Then, it runs at 250Hz for the next 5,500,000 steps. During the
last 350,000 steps it slows to a stop.
Table 9.11
–
STP Examples
NOTE: Prior to the start of a move, the Ready/Done bit for that channel must be ON (%I1617 or
%I1619 for channel 1 and 2 respectfully). The Ready/Done bit will turn OFF during the move,
and then back ON once the move is completed.
NOTE: The pulse generation hardware on the XL7 can generate any frequency that can be
evenly divided into 10MHz (10,000,000Hz) under the maximum recommended frequencies for
each model. This results in a very smooth operation at lower frequencies, with a progressively
choppier operation at higher frequencies, as the units reach their maximum recommended
frequency.