X5 AC Drive User’s Manual
Chapter 7: X5 Parameters
DPD00089A
-
122 -
© 2009 Vacon Incorporated All Rights Reserved
7.4.7 Sample Sequencer Program
A machine is required to run in the forward direction at 50 Hz for one hour, then quickly decelerate
to a stop. While stopped, a digital output must be enabled to sound an alarm to an operator. After two
minutes, the machine must accelerate in the reverse direction to 5 Hz until a limit switch is activated.,
causing the drive to decelerate to a stop. The following three sequential states can be programmed
using only the drive:
First, since two of the sequential states are time-based, the proper setting of the “Seq Appl”
parameter must be determined. Since there is not time required that has resolution needed of less than
one second, the “1 sec Base” option is the easiest to use. If greater resolution is needed (for example,
if a state needed to last for 2.5 seconds), another option should be chosen.
As the sequence needs a digital input and a digital output, two non-sequencer parameters must be
used. Set parameter “DI1 Configure” to “Seq1” and parameter “DO1 Configure” to “SeqOut-01.”
Since control of the sequencer is only needed from the keypad, the configuration of the “Input Mode”
parameter should be “Local Only.”
Required parameter modifications for this program are given in Table 7-11, with brief explanations.
* These digital codes must be converted to hexadecimal equivalents for entry into the drive.
Table 7-10: Sample Sequencer Program Requirements
State 1
State 2
State 3
Direction Selection
Forward
Stop
Reverse
Speed Selection
50 Hz
Zero speed
5 Hz
Ramp Selection
Primary
Alternate
Primary
Output Configuration
SeqOut-00
SeqOut-01
SeqOut-10
State Duration
1 hour
2 minutes
Until DI active
Table 7-11: Required Parameter Settings for Sample Sequencer Program
Parameter
Value
Explanation
Seq Appl
“1 sec Base”
Sets 1 second time increments
DI1 Configure
“Seq1”
Allows DI1 to end state 3
DO1 Configure
“SeqOut-01”
Allows DO1 to be active in state 2
Preset Speed 1
5 Hz
Speed for state 3
Preset Speed 6
50 Hz
Speed for state 1
Seq Cntl1*
00010000110
No outputs/FWD/Timed/Primary Ramp/Preset Speed 6
Seq Count 1
0000010000000110
1 hour = 3600 seconds
Seq Cntl 2*
01000001000
Enable Output/Stop/Timed/Alt Ramp/Speed Ignored
Seq Count 2
0010000000010000
2 minutes = 120 seconds
Seq Cntl 3*
00101100001
No outputs/REV/DI Value/Primary Ramp/Preset Speed 1
Seq Count 3
0100100110000001
Seq1 active