The text of a manual · part 6 of 20
M-Drive: M-Drive 5 Programming, pages 39 to 46
Pages 39 to 46 of 148, from M-Drive
The original document is the PDF (4.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Fenner M-TRIM-2 and Contrex M-TRIM-2
Page 39
PROGRAMMING 5
INTRODUCTION
This section of the manual explains the use of the code select procedure for changing and viewing the M-Drive’s Programming Codes. All Programming Codes can be divided into two broad categories: Control Parameters (indicated by a "CP-") and Monitor Variables (indicated by a *MV-". Programming or Scaling the M-Drive is accomplished by entering relevant values into the M-Drive’s Control Parameters to influence the control behavior of the M-Drive. Monitor variables are display variables used to view or monitor the systems performance during M-Drive operation.
This chapter is divided into six sections:
Code Select Procedure explains the use of the programmer keypad for gaining entry to the Control Parameters and Monitor Variables.
Modes and Formats explains how the Modes and Formats Operate in an M-Drive.
Setpoint Selection and Control explains how the setpoints are used in an M-Drive.
Examples provides 5 application examples using the M-Drive. Tuning provides procedures to fine-tune the M-Drive.
Phase Control provides procedures which allow Follower Scaling Mode to reduce the long-term speed error to zero.
CODE SELECT PROCEDURE
The Code Select Procedure indicates how the operator gains access to the various control and monitor parameters through their unique identification codes. Opening the lower door on the front of the M-Drive keypad exposes the programming keypad.
Accessing the desired parameter is a simple procedure:
1) Press the Code Select Key. 2) Enter the desired parameter code number. 3) Press the Enter Key.
At this point, the two digit Programming Code is displayed in the lower display window and the existing parameter value is displayed in the upper four digit display window. In addition, the keypad is enabled for changing the desired parameter (if applicable). To make a change, simply enter the new value and press the Enter Key.
Note: If the Enter Key is not pressed within approximately ten seconds of a new value being entered, the display reverts to the previous value. Page 5-1
Page 40
The Programming Codes can be grouped in the following categories:
Programming Codes Category
CP-01 to CP-06, CP-79 Setpoint Control
CP-10 to CP-15, CP-74 Alarms and Limits
CP-16, CP-17 Acceleration and Deceleration
CP-18, CP-19, CP-29 Phase Control CP-20 to CP-23, CP-30 to CP-38 Scaling
MV-40 to MV-57
Monitor Variables
CP-60 to CP-64, CP-75 to CP-78 Scaling Format Selection and Control
CP-65 to CP-69 CP-70 to CP-73 CP-80 to CP-86
Tuning Serial Communications Analog Input/Output
All other numbers are unused and reserved for expansion. A complete list of all Programming Codes accompanied by a short description is located in Appendix C of this manual.
LED INDICATORS
Next to the M-Drive programming keypad are five LEDs. When on, these LEDs indicate the following:
LED On
JOG Preset
Limit Alarm
Dev Alarm
Page 5-2
Indicates
M-Drive is in the RUN state M-Drive is in the JOG state M-Drive is referencing either Setpoint #2 or Setpoint #4
One or more of the following alarms or limits is invoked: Low Alarm (CP-12) High Alarm (CP-13) Minimum Speed (CP-10) Maximum Speed (CP-11) Current Limit
Either Error Alarm 1 (Ramped Reference Error) or Error Alarm 2 (Scaled Reference Error) or both are invoked.
Page 41
MODES AND FORMATS PRIMARY MODE/SECONDARY MODE
At any one time the M-Drive has two complete scaling programs available. In this manual these programs are referred to as "Formats". As initially programmed, these formats are "Master" and "Follower", descriptions of which appear below. The Scaling Format that is currently operative is determined by the voltage level at J4 Pin 3. When this pin is ata logic high (not shorted to common), the M-Drive is in Primary Mode and the Master Scaling Format is invoked. Alternatively, when the pin is at a logic low (shorted to common), the M-Drive is in Secondary Mode and the Follower Scaling Format is invoked.
Although the terms Primary and Secondary appear to be redundant with Master and Follower, this is not the case as other scaling formats exist. (These additional formats are discussed in the Advanced Programming chapter of this manual.) For the purposes of this chapter, Primary and Secondary may be considered synonymous with Master and Follower respectively.
MASTER SCALING FORMAT
The Master Scaling Format is the simplest M-Drive scaling format. The motor speed is controlled only by one variable: the Speed Setpoint. The motor Speed is directly proportional to the Speed Setpoint.
Scaling constants allow the programmer to specify the maximum normal operating RPM of the motor and the Speed Setpoint associated with it. The Speed Setpoint scaling is normally chosen to reflect the desired flow rate of product such as gallons/hour, feet/minute or widgets/day. Similarly, the tach displays a number directly proportional to motor speed and is usually scaled to reflect actual flow rate of product as calculated from the Feedback Frequency. Note that the Speed Setpoint and the Tach need not be scaled the same.
This scaling format is called Master because an M-Drive Operating under Master Format is often used to control the speed of an entire process line, setting the pace for other M- Drives following the Master at various controlled speed ratios.
Refer to Appendix H for Master Format parameters.
Page 5-3
Page 42
FOLLOWER SCALING FORMAT
The Follower Scaling Format is the most commonly used scaling format. Motor speed is controlled by and is directly proportional to two variables: The Ratio Setpoint and a frequency applied to J3 pin 2. This frequency is referred to as the External Reference Frequency, and it is usually generated by an encoder or gear and magnetic sensor combination mounted on a shaft upstream in the process (See Appendix A). Alternatively, this frequency may be produced by a voltage controlled oscillator (See Page 5-16).
Scaling constants allow the programmer to specify the maximum External Reference Frequency, the maximum Follower Motor RPM and the Ratio Setpoint to be associated with them. The Ratio Setpoint scaling is normally chosen to reflect the desired ratio of the flow of the product controlled by the Follower Motor to that controlled by the Master Motor. Similarly, the Tach displays the ratio of the Follower Motor Speed to the Master Motor Speed or frequency, and is usually (but not necessarily) scaled to reflect the actual ratio between the product flows.
This format is called Follower because the motor follows or is paced by a frequency or the speed of another motor at a ratio entered at the Ratio Setpoint. Refer to Appendix H for Follower Format parameters.
Note that other speed/tach formats and combinations exist other than Master Scaling Format and Follower Scaling Format. Consult the Advanced Programming chapter in this manual for information regarding these possibilities.
SETPOINT SELECTION AND CONTROL SINGLE SETPOINT FOR EACH FORMAT
When shipped from the factory, the M-Drive provides a separate individually settable setpoint for each scaling format. That is, one for Primary Mode and one for Secondary Mode. The relevant setpoint is automatically presented in the display when the "Set Speed" key is pressed. To illustrate, assume the M-Drive is being operated under Master Format (Primary Mode), and 1234 has been entered as a setpoint. If the operator presses the "Set Speed" key, 1234 appears in the display. If the M-Drive is then switched to Follower Format (Secondary Mode), a separate setpoint reserved for Follower Format appears in the display. Assume that 1.000 is now entered for the Follower Format Setpoint, and the M-Drive is then returned to Master Format. 1234 would then reappear as the operative setpoint for Master Mode.
Note that the decimal location for the two Setpoints is controlled by entries at CP-20 and CP-21, and need not be entered with the setpoint.
Page 5-4
Page 43
TWO SETPOINTS FOR EACH FORMAT
If needed, an alternate setpoint is available for each format (mode) for a total of four possible setpoints. These are identified by the numbers one through four and are accessible via CP-01, CP-02, CP-03 and CP-04. Specifically, setpoints 1 & 2 are associated with Primary Mode (#2 being the alternate or preset), and setpoints 3 & 4 are associated with Secondary Mode (#4 being the alternate or preset).
Although it was not stated, in the “One Setpoint for each Format" section above, Setpoint 1 was used by the Master Format in Primary Mode, and Setpoint 3 was used by the Follower Format in Secondary Mode.
To invoke Setpoint #2 while in Primary Mode, short J4 pin 8 to common. Note that Setpoint #2 is subject to the decimal point control established by the entry at CP-20 as is Setpoint #1.
To invoke Setpoint #4 while in Secondary Mode, short J4 pin 10 to common. Setpoint #4 is also subject to the decimal point control established by the entry at CP-21 as is Setpoint #3.
Table 5-1 illustrates the logic conditions necessary to invoke each setpoint. Recall that shorting J4 pin 3 to common puts the M-Drive into Secondary Mode.
(-- indicates irrelevant)
Setpoint 1 3_| Primary/Secondary Mode 9 | Primary Setpoint Select cc" 1@ | Secondary Setpoint Select
Setpoint 2 3 | Primary/Secondary Mode
9] Primary Setpoint Select = 19 | Secondary Setpoint Select
Setpoint 3 3_| Primary/Secondary Mode PrcL_2 | Primary Setpoint Select if | Secondary Setpoint Select
Setpoint 4 3 | Primary/Secondary Mode 9 | Primary Setpoint Select 19 | Secondary Setpoint Select
Table 5-1: Logic Conditions to Invoke Setpoints
Page 5-5
Page 44
MASTER SCALING FORMAT (PRIMARY MODE)
To program the M-Drive’s Master Scaling Format, enter the data as indicated below:
Code #
CP-1 or CP-2
CP-61 CP-63 CP-34
CP-20
CP-31
CP-22
Page 5-6
Code Title
Data to be Entered
Primary Setpoint
Primary Scaling Format Primary Display Format
Primary RPM Max Feedback
Primary Setpoint Eng Units
PPR Feedback
Primary Display Eng Units
This is the desired setpoint (speed) in Engineering Units.
01 01
RPM of the feedback sensor shaft when operating at the maximum speed during normal operation.
This is the number wanted as a setpoint when the feedback shaft is rotating at the RPM entered at CP-34.
This is the number of teeth on the gear or the number of lines on the encoder used for feedback
The number desired to be displayed by the tach when the feedback shaft is rotating at the RPM entered at CP-34. This is often but not always the same as the number at CP-20.
Page 45
MASTER FORMAT, DEFAULT PARAMETERS (PRIMARY MODE) When shipped from the factory, the following assumptions are made: The Feedback gear has 60 teeth and is mounted on the Motor armature.
The maximum motor RPM is 2000.
The Speed Setpoint is Scaled in RPM. The Tach indicates RPM.
Based on these assumptions, the M-Drive’s default programming is as follows:
Code # Code Title Data to be Entered
CP-61 Primary Scaling Format 01
CP-63 Primary Display Format 01
CP-34 Primary RPM Max Feedback 2000
CP-20 Primary Setpoint Eng Units 2000
CP-31 PPR Feedback 60
CP-22 Primary Display Eng Units 2000
NOTE: If the above assumptions are accurate for your application except that a
30-tooth gear is present, the above settings are accurate except that "30" would be entered at CP-31.
Page 5-7
Page 46
MASTER FORMAT, NON-STANDARD PARAMETERS (PRIMARY MODE)
Example:
A pump delivers 15 gallons/minute when the motor rotates at 1725 RPM.
A 30-tooth gear is present on the motor armature.
Both the Setpoint and the Tach are to indicate gallons per minute.
Code # Code Title Data to be Entered CP-61 Primary Scaling Format 01
CP-63 Primary Display Format 01
CP-34 Primary RPM Max Feedback 1725
CP-20 Primary Setpoint Eng Units 15.00
CP-31 PPR Feedback 30
CP-22 Primary Display Eng Units 15.00
Page 5-8