MAN1032-10-EN_EXL6_UserManual
March 12, 2020
103 | 191
10.16 STP Examples
Example 1
Start
Frequency
Run
Frequency
Accel Count
Run Count
Decel Count
10,000,000
steps
control
sequence
Set %AQ421
= 2500Hz
Set %AQ422
= 5000Hz
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
=
500Hz
Set %AQ422
= 1000Hz
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.5kHz and ramps up to 1kHz during the
first 2,000,000 steps. Then, it runs at 1kHz 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
=
50Hz
Set %AQ422
=
250Hz
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 10.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 EXL6 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.