Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 9 of 16

M-Drive User Manual, pages 81 to 90

Pages 81 to 90 of 160

The original document is the PDF (1.8 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-DRIVE-4 and Contrex M-DRIVE-4

Page 81 read from a scan by OCR; it may hold reading errors

DATA INQUIRY - M-DRIVE RESPONSE

CHAR # 1 2 3 4 5 6 7 8 9 1 1l 12 Dev#} Dev#| ERROR Par#/| Par#|/ DATA} DATA] DATA] DATA [DATA DESC. | STX} 18s} 1s | CODE | 18s ls 1998s!190sj19s j1s FORM {ETX

@ = ASCII | STX|9-9 |9-9 |DEL 9-9 G-9 | B-9 |G-9 |G-9 |} G-9 |G9-7 {|ETX

38-| 38-| 49- | 38- 3G-| 38-| 38-|] 38-| 38-| 38- HEX G2 39 39 7F 39 39 39 39 39 39 37 _{|63

CHARACTER 1: STX The leading character is the ASCII STX.

CHARACTERS 2 & 3: DEVICE NUMBER

The device address is echoed back.

CHARACTER 4: ERROR CODE

The Error Code is transmitted back as appropriate. See Parameter Send - Error Code for the bit pattern of the error code.

CHARACTERS 5 & 6: PARAMETER NUMBER

The Parameter Number is echoed back.

CHARACTERS 7 TO 10: DATA

This is the requested data for the selected parameter. See Data Explanation below.

CHARACTER 11: DATA FORMAT

This code tells how to interpret the returned data for positive, negative, and decimal point location.

Refer to Parameter Send - Data Format for the coding of this character.

CHARACTER 12: ETX

The message always terminates with the ASCH ETX character.

Page 7-9

DATA INQUIRY - M-DRIVE RESPONSE

CHAR # 1 2 3 4 5 6 7 8 9 1 il 12 Dev# | Dev#| ERROR Par#/|Par#| DATA} DATA] DATA] DATA [DATA DESC. | STX} 18s} 1s | CODE | 19s ls 19985!100sj19s {1s FORM! ETX pet ASCII | STX|9-9 | 8-9 | DEL -9 B-9 | B-9 {8-9 |G-9 | B-9 |9-7 | ETX

3G-| 38-| 40- | 38- 3G-| 38-} 38-) 30-| 36-| 39- HEX G2 39 39 7E 39 39 39 39 39 39 37 {63

CHARACTER 1: STX The leading character is the ASCII STX.

CHARACTERS 2 & 3: DEVICE NUMBER

The device address is echoed back.

CHARACTER 4: ERROR CODE

The Error Code is transmitted back as appropriate. See Parameter Send - Error Code for the bit pattern of the error code.

CHARACTERS 5 & 6: PARAMETER NUMBER

The Parameter Number is echoed back.

CHARACTERS 7 TO 10: DATA

This is the requested data for the selected parameter. See Data Explanation below.

CHARACTER 11: DATA FORMAT

This code tells how to interpret the returned data for positive, negative, and decimal point location.

Refer to Parameter Send - Data Format for the coding of this character.

CHARACTER 12: ETX

The message always terminates with the ASCH ETX character.

Page 7-9

Page 82 read from a scan by OCR; it may hold reading errors

DATA EXPLANATION

Most data returned by the M-Drive in response to a Data Inquiry command can be easily interpreted via the Data and Data Format fields. However, a few variables return an eight bit coded response which must be decoded to allow interpretation. In general this number is between “O" and "255" decimal and is received as a four character ASCII representation of the decimal number. As an example, the bit structured value 1011011 binary = 183 decimal, and would be received as 0 1 8 3 ASCII or 30 31 38 33 HEX. This data structure applies to the following variables: MV-52, MV-53, MV-54 and CP-73.

To interpret an eight bit coded number, first convert it to binary using Table 7-2 on Page 7-11. Then refer to the appropriate Figure below to identify the M-Drive information.

Le|7te[s[«]s]2[2] 1=Ramp Enable/0=Ramp Disable =Keypad Enable/0=Keypad Disable 1=Local/0=Computer

1=Sec Setpoint #3/0=Sec Setpoint #4

=Pri Setpoint #1/0=Pri Setpoint #2

1=Closed Loop/0=Open Loop

1=(Don't Care)

1=Primary/0=Secondary

Figure 7-1: MV-54 Interpretation As above, assume that 183 is returned by the M-Drive in response to MV-54 Data Inquiry Command. Using Table 7-2, the number 183 converts to 10110111: 1 0 2 2 O 2 2 1D (183)

Lel7tets{s]s|2 [2]

Using Figure 7-1 above, 183 can now be interpreted to indicate the following M-Drive Status: Primary Mode, Closed Loop, Primary Setpoint #1, Secondary Setpoint #4, Local, Keypad Enable and Ramp Enable.

Page 7-10

DATA EXPLANATION

Most data returned by the M-Drive in response to a Data Inquiry command can be easily interpreted via the Data and Data Format fields. However, a few variables return an eight bit coded response which must be decoded to allow interpretation. In general this number is between “O" and "255" decimal and is received as a four character ASCII representation of the decimal number. As an example, the bit structured value 1011011 binary = 183 decimal, and would be received as 0 1 8 3 ASCII or 30 31 38 33 HEX. This data structure applies to the following variables: MV-52, MV-53, MV-54 and CP-73.

To interpret an eight bit coded number, first convert it to binary using Table 7-2 on Page 7-11. Then refer to the appropriate Figure below to identify the M-Drive information.

Le|7te[s[«]s]2[2] 1=Ramp Enable/0=Ramp Disable =Keypad Enable/0=Keypad Disable 1=Local/0=Computer 1=Sec Setpoint #3/0=Sec Setpoint #4

=Pri Setpoint #1/0=Pri Setpoint #2

1=Closed Loop/0=Open Loop

1=(Don't Care)

1=Primary/0=Secondary

Figure 7-1: MV-54 Interpretation As above, assume that 183 is returned by the M-Drive in response to MV-54 Data Inquiry Command. Using Table 7-2, the number 183 converts to 10110111: 1 0 2 2 O 2 2 1D (183)

Lel7tets{s]s|2 [2]

Using Figure 7-1 above, 183 can now be interpreted to indicate the following M-Drive Status: Primary Mode, Closed Loop, Primary Setpoint #1, Secondary Setpoint #4, Local, Keypad Enable and Ramp Enable.

Page 7-10

Page 83 read from a scan by OCR; it may hold reading errors

WDIRH6LNEA

Baesa0e0 eeeeeeel eeaeeeia ee0e8811 gee0d1e8 69980121 08880118 @9888111 62001088 862061821 08801018 ee8g01e811 e9681196 68991181 088811198 08881111 9a019988 98018921 69018018 88818811 88018128 88818191 88018118 90818111 80011688 98811901 88011818 89811811 90611190 88811191 88811118 08811111

1gggeoe8 16880881 188800108 12888811 19980108 188801981 188881198 18888111 18881908 18481861 18901818 18681611 16061188 18981181 10881118 10881111 18819983 10618661 18810016 18818811 16816198 16918161 16619118 16919111 16811808 16811681 186118168 16811911 16911168 19611181 18811118 16811111 e81ee8R80 60198801 881626128 681608611 601801898 68198181 68186118 68180111 88101968 68181801 68181816 68161011 88161186 @8181181 68181118 08181111 86118688 681198881 68119018 @8110011 86116198 @8118191 96118118 66110111 86111868 86111601 68111018 66111811 06111198 98111181 86111118 98111111

16160826 10186691 18180816 16188811 19180198 16186191 18188116 16188111 161081668 18181661 10181816 18181611 18181166 186161191 16181118 16181111 18110888 16118661 18116818 16116811 18116188 16116181 161181126 18119111 181119998 16111881 18111818 18111811 16111188 16111161 16111116 18111111

81ee8e8688 @1eeeee1 61880818 81880811 01898180 81868181 61996118 @1688111 21861866 01061881 61861018 @1881811 01081128 618811981 918811168 61881111 81818868 81819881 81918019 01818811 81918108 61818181 81818118 91816111 81811008 81611881 61811018 @1811811 81611108 81611181 81811116 @1811111

110686888 11888861 11088818 11899011 11888108 11688181 11696118 11069111 11681868 11081861 11081818 11681611 11981168 118661181 11981116 11681111 11818888 11018881 11018818 11816811 11616168 11818181 11612116 11818111 11811896 11811661 11611818 11811811 11611188 11611181 11611118 11611111

Table 7-2: Decimal to Binary Conversion

61188080 @1186601 611686128 61188611 @1186198 61186161 61168116 @1196111 61181868 61181661 @1128161¢8 @1181811 61181198 61161181 91181118 @1181111 611128868 61119881 61119919 61119811 81118126 @1116121 91110118 @1116111 81111988 81111681 91111918 @1111811 @1111198 @1111181 @1111118 @1111111

11188680 11192681 11188816 11198611 11168188 11188191 11166118 211198111 11161888 11161621 11181818 21181811 111811988 11181181 11181118 11181111 11119669 11118681 11116818 11118611 11119188 21119161 11118119 11116111 11111686 21111861 11111616 11111611 11111188 21111121 21111112 12121111 eageeee8o eeeeeeel eeoeedie eeeeee211 geeedles 88900181 08860118 @9088111 60001280 82821881 18 68601616 ll 68991911 12 868281196 13 68981181 14 08881118 15 98881111 16 98019988 17 98818881 18 698180108 19 98818811 26 88818188 21 98816181 22 98818118 23 98818111 24 «98011886 25 08811901 26 68011818 27 4986811611 28 98611198 29 68811101 36 88811118 31 98811111

WDIHRHWEYNEE

128 1ge080888 129 19988081 136 18680018 131 12088811 132 18080108 133 16888191 134 10000118 135 19888111 136 1809819888 137 18681861 138 10261818 139 18681811 148 18881188 141 18981181 142 18881116 7 143 18881111 144 16018083 145 18816881 146 10816016 147 18618811 148 18919196 149 18918181 158 16819118 151 16819111 152 16611888 153 16611681 154 16811618 155 16811911 156 16911188 157 19811181 158 19611116 159 18811111

@61e08088 60198801 88188018 68188811 66199189 60198181 60186118 @8188111 861201088 68181801 88181018 88181011 86161188 @6181181 66181116 98181111 881186288 68119881 86119018 @8118811 86116198 88118101 96116118 @6118111 86111868 @6111601 68111918 #6111611 861111968 98111181 @8111118 88111111

16180828 10186681 161680816 16186011 191601828 18166191 16100116 161086111 16181688 18181661 10161816 16181611 16181188 16161191 16161118 16181111 18110888 16118681 16118618 18118811 16118188 18118181 16118116 18119111 18111998 16111881 16111218 16111811 16111198 16111161 16111116 16111111

B1lgese8e80 81088081 @1260810 81880811 018991808 81866121 @19961128 @1608111 01021668 01081081 61881818 @1881811 @1861198 81881181 81881118 @1881111 81818860 81816881 81918010 01019811 81916108 818181681 81816118 91816111 @1811908 61811681 61811018 @1811811 81811108 91611181 81811118 @1811111

11lgeee88 118886681 11008618 11699811 11868186 11688181 11686116 11069111 11681688 11061681 11061818 11661611 11981188 11861161 119811168 11681111 11818888 11019881 11018018 11916811 11616168 11818181 11612118 11816111 11811926 11811881 11811818 11811811 11611188 211611161 11611118 11811111

Table 7-2: Decimal to Binary Conversion

Page 7-11

61198860 @1186601 6118668120 @11866811 @11¢86190 @1186101 @11e8011¢8 @1196111 011812808 @1181601 @1181619 81181811 @1181198 81181181 81181118 @1181111 811198088 81119621 61119919 81119811 81118188 81118121 811191198 @1118111 81111098 81111681 81111918 @1111811 @1111180 @1111101 @111111¢8 @1111111

11168680 11189681 11180016 111886811 11168106 11188191 11166118 11188111 11161688 11161621 11181818 211181811 11181198 11181181 11181116 11161111 111196689 11118681 11118618 11118611 111191828 11119161 11118119 11116111 111116868 21111861 11111618 11111611 11111169 21111121 211111128 121111121

Page 7-11

Page 84 read from a scan by OCR; it may hold reading errors

The following three figures provide the interpretations for the other eight bit coded variables. The technique to interpret these variables is identical to the MV-54 example demonstrated on Page 7-10,

Lel7{ets]«]s]e]:]

The following three figures provide the interpretations for the other eight bit coded variables. The technique to interpret these variables is identical to the MV-54 example demonstrated on Page 7-10,

Lel7{ets]«]s]e]:]

1=High Limit 1=Low Limit 1=High Alarm 1=Low Alarm

1=Deviation 1 Alarm

1=Deviation 2 Alarn

1=Current Limit

X (Don't Care)

Figure 7-2: MV-52 Interpretation

1=High Limit 1=Low Limit 1=High Alarm 1=Low Alarm

1=Deviation 1 Alarm

1=Deviation 2 Alarn

1=Current Limit

X (Don't Care)

el7}s{s|«]afe]:]

1=Jog X (Don't Care) X (Don't Care)

X (Don't Care)

X (Don't Care)

1=Run

1=R~-Stop

1=F-Stop

Figure 7-2: MV-52 Interpretation el7}s{s|«]afe]:]

Page 7-12

Figure 7-3: MV-53 Interpretation

1=Jog X (Don't Care) X (Don't Care)

X (Don't Care)

X (Don't Care)

1=Run

1=R~-Stop

1=F-Stop

Figure 7-3: MV-53 Interpretation

Page 85 read from a scan by OCR; it may hold reading errors

Note: CP-73 indicates whether the computer has control over the listed variables. Note: CP-73 indicates whether the computer has control over the listed variables.

1 indicates that the computer has control, 0 indicates the computer does not have 1 indicates that the computer has control, 0 indicates the computer does not have control. control. Lei7ts[s|[«|s{[e]:] Leiz{e|s[e[sfe]a] T | 1=Ramp Enable/Disable 1=Ramp Enable/Disable X (Don't Care) X (Don't Care) 1=Run/Stop 1=Run/Stop 1=Secondary Setpoint Select 1=Secondary Setpoint Select 1=Primary Setpoint Select 1=Primary Setpoint Select 1=Closed/open Loop =Closed/open Loop X (Don't Care) X (Don't Care) 1=Primary Mode/Secondary Mode 1=Primary Mode/Secondary Mode Figure 7-4: CP-73 Interpretation Figure 7-4: CP-73 Interpretation 7

Page 7-13 Page 7-13

Page 86 read from a scan by OCR; it may hold reading errors

CONTROL COMMAND SEND - HOST TRANSMISSION

CHAR # 1 2 3 4 5 6 7 8 9 18 il 12

Dev#|Dev#) MSG] Par# /[Par# DATATDATA (DATA [DATA |DATA DESC. | STX; 18s! 1s |TYPE; 18s Is 1}988s{|190s|18s j1s FORM | ETX

G- g- ASCII | STX|8-9 | 9-9 1 | g~9 g g @ 1 9 g ETX 3G-) 38- 38- | 38-

HEX 92 393 39 31 38 38 39 38 39 39 38 | 983

CHARACTER 1: STX The message always begins with the ASCII STX character.

CHARACTERS 2 & 3: DEVICE NUMBER The desired M-Drive device address.

CHARACTER 4: MESSAGE TYPE Set to 1 for this message type.

CHARACTERS 5 & 6: PARAMETER NUMBER Set to 0 for this message type.

CHARACTERS 7 & 8: DATA 1000x & 100s Set to 0 for this message type.

CHARACTERS 9 & 10: DATA 10s & 1s Enter data control command character code as follows:

01 - Fast Stop

02 - Ramp Stop

03 - Run

04 - Enable Primary Mode

05 - Enable Secondary Mode

06 - Not Used

07 - Not Used

08 - Enable Closed Loop

09 - Enable Open Loop

10 - Enable Primary Setpoint 1

11 - Enable Primary Setpoint 2

12 - Enable Secondary Setpoint 3 13 - Enable Secondary Setpoint 4 14 - Ramp Disable

15 - Ramp Enable

CHARACTER 11: DATA FORMAT Set to 0 for this message type.

CHARACTER 12: ETX The message always terminates with the ASCII character ETX.

Page 7-14

CONTROL COMMAND SEND - HOST TRANSMISSION

CHAR # 1 2 3 4 5 6 7 8 9 18 il 12 Dev#|Dev#) MSG] Par# /[Par# DATATDATA (DATA [DATA |DATA DESC. | STX; 18s! 1s |TYPE; 18s Is 1}988s{|190s|18s j1s FORM | ETX

G- g- ASCII | STX| 8-9 | 9-9 1 | g~9 g g @ 1 9 g ETX 3G-) 38- 38- | 38-

HEX 92 393 39 31 38 38 39 38 39 39 38 | 983

CHARACTER 1: STX The message always begins with the ASCII STX character.

CHARACTERS 2 & 3: DEVICE NUMBER The desired M-Drive device address.

CHARACTER 4: MESSAGE TYPE Set to 1 for this message type.

CHARACTERS 5 & 6: PARAMETER NUMBER Set to 0 for this message type.

CHARACTERS 7 & 8: DATA 1000x & 100s Set to 0 for this message type.

CHARACTERS 9 & 10: DATA 10s & 1s Enter data control command character code as follows:

01 - Fast Stop

02 - Ramp Stop

03 - Run

04 - Enable Primary Mode

05 - Enable Secondary Mode

06 - Not Used

07 - Not Used

08 - Enable Closed Loop

09 - Enable Open Loop

10 - Enable Primary Setpoint 1

11 - Enable Primary Setpoint 2

12 - Enable Secondary Setpoint 3 13 - Enable Secondary Setpoint 4 14 - Ramp Disable

15 - Ramp Enable

CHARACTER 11: DATA FORMAT Set to 0 for this message type.

CHARACTER 12: ETX The message always terminates with the ASCII character ETX.

Page 7-14

Page 87 read from a scan by OCR; it may hold reading errors

CONTROL COMMAND SEND - M-DRIVE RESPONSE

CHAR # 1 2 3 4 5 6 7 8 9 1g il 12 Dev# | Dev#] ERROR| Par#]Par#/ DATA|DATA]DATA|DATA|DATA DESC. | STX/] 10s| 1s [CODE |18s ls 28@G@Gs|1GGs|1Bs j1s FORM | ETX

€- G- | B- ASCII | stx|g-9 |g-9 |pEL |g g g g 1 9 @ |ETx 30-| 38-| 40- 3G-| 38-

HEX B2 39 39 7F 39 38 38 38 31 39 38 |83

CHARACTER 1: STX

The message always begins with the ASCII STX character.

CHARACTERS 2 & 3: DEVICE NUMBER

The device address of the M-Drive.

CHARACTER 4: ERROR CODE Error Code for the received message.

See Parameter Send - Error Code for the bit pattern to decode the error message.

CHARACTERS 5 & 6: PARAMETER NUMBER

Always 0 for this message type.

CHARACTERS 7 & 8: DATA 1000s & 100s

Always 0 for this message type.

CHARACTERS 9 & 10: DATA 10s & 1s

The command mode from the receive message is returned by the M-Drive.

CHARACTER 11: DATA FORMAT

Always 0 for this message type.

CHARACTER 12: ETX

Message always terminates with the ETX character.

Page 7-15

CONTROL COMMAND SEND - M-DRIVE RESPONSE

CHAR # 1 2 3 4 5 6 7 8 9 16 il 12 Dev# | Dev#| ERROR/| Par#]Par#| DATA|DATA] DATA | DATA|DATA DESC. | STX] 18s| 1s [CODE |18s ls 2@GGsl|1GGWs|1Bs j1s FORM /ETX

@ ~ G- G- ASCII | STX|9-9 {9-9 | DEL @ iJ i @ 1 9 g ETX 39-| 38-| 46~ 39-| 38-

HEX 82 39 39 7F 38 39 39 38 31 39 38 | 83

CHARACTER 1: STX

The message always begins with the ASCII STX character.

CHARACTERS 2 & 3: DEVICE NUMBER

The device address of the M-Drive.

CHARACTER 4: ERROR CODE Error Code for the received message.

See Parameter Send - Error Code for the bit pattern to decode the error message.

CHARACTERS 5 & 6: PARAMETER NUMBER

Always 0 for this message type.

CHARACTERS 7 & 8: DATA 1000s & 100s

Always 0 for this message type.

CHARACTERS 9 & 10: DATA 10s & 1s

The command mode from the receive message is returned by the M-Drive.

CHARACTER 11: DATA FORMAT

Always 0 for this message type.

CHARACTER 12: ETX

Message always terminates with the ETX character.

Page 7-15

Page 88 read from a scan by OCR; it may hold reading errors

EXAMPLE PROGRAM

The following example program can be used to verify wiring and data format for the Communications Link.

28

228 239 248 258 269 278 288

‘ FILENAME "PHELP“ REV 1 ’

"THIS SIMPLE PROGRAM CAN VERIFY M-TRIM/M-DRIVE COMM LINK WIRING & FUNCTION ‘IT WORKS WITH IBM CLASS COMPUTERS WITH BASIC/BASICA/GWBASIC

*IT ASSUMES:

: COMPUTER- COMM PORT IS #1

‘ - EVEN PARITY, 7 DATA BITS, 1 STOP BIT, 3282 BAUD ' M-TRIM/M-DRIVE-

, ~ ADDRESS= 1 (CODE 7#= 1)

. - BAUD= 38% (CODE 71= 1)

‘, CHARACTER FORMAT E,7,1 (CODE 72=2)

. ~ JUMPER FOR COMPUTER MODE (J4~11/12)

’

‘ACTIVE PART OF PROGRAM FOLLOWS: . OPEN "COM1:309,E,7,1,RS,CS,DS,CD" AS #1 ‘OPEN COMM PORT

PRINT #1, CHR$(2);"9138112346";CHR$({(3); ‘SEND MESSAGE TO CONTROLLER AS=INPUT$(12,1) "RECEIVE REPLY AT COMPUTER

BS = MID$(A$,7,4) ‘PICK 4 DATA DIGITS (7-18TH CHAR) PRINT B$ ‘PRINT DATA DIGITS ON SCREEN PRINT A$ ‘PRINT WHOLE REPLY STRING END

NOTE: Line 228 may require the elimination of the terms

“RS,CS,DS,CD" on certain computer models.

Page 7-16

EXAMPLE PROGRAM

The following example program can be used to verify wiring and data format for the Communications Link.

1g ° 22 ' 30 ‘ FILENAME "PHELP“ REV 1 4g? 56 ' 68 'THIS SIMPLE PROGRAM CAN VERIFY M-TRIM/M-DRIVE COMM LINK WIRING & FUNCTION 78 ‘IT WORKS WITH IBM CLASS COMPUTERS WITH BASIC/BASICA/GWBASIC 8g ' oo ' 188 *IT ASSUMES: 11g * COMPUTER- COMM PORT IS #1 128 * - EVEN PARITY, 7 DATA BITS, 1 STOP BIT, 3282 BAUD 13g * M-TRIM/M-DRIVE- 146 * ~ ADDRESS= 1 (CODE 7#= 1) 159 ° - BAUD= 38% (CODE 71= 1) 168 *, CHARACTER FORMAT E,7,1 (CODE 72=2) 178° ~ JUMPER FOR COMPUTER MODE (J4~11/12) 18g * 199 * 289 ‘ACTIVE PART OF PROGRAM FOLLOWS: 218 * 228 OPEN "COM1:309,E,7,1,RS,CS,DS,CD" AS #1 ‘OPEN COMM PORT 239 PRINT #1, CHR$(2);"9139112346";CHR$(3): ‘SEND MESSAGE TO CONTROLLER 248 AS=INPUTS$(12,1) "RECEIVE REPLY AT COMPUTER 258 BS = MID$(A$,7,4) ‘PICK 4 DATA DIGITS (7-18TH CHAR) 268 PRINT BS ‘PRINT DATA DIGITS ON SCREEN 278 PRINT A$ ‘PRINT WHOLE REPLY STRING 288 END NOTE: Line 228 may require the elimination of the terms “RS,CS,DS,CD" on certain computer models. Page 7-16

Page 89 read from a scan by OCR; it may hold reading errors

ADVANCE PROGRAMMING 8

INTRODUCTION

This chapter explores some of the advanced programming capabilities of the M-Drive. These capabilities include two additional speed control formats, a form of position control and analog input/output. The five sections of this chapter are:

Format Definition

Direct Speed Control Format

Offset Speed Control Format

Additional Setpoint and Tachometer Possibilities Analog Input/Output (Optional)

FORMAT DEFINITION

Master and Follower speed contro! formats are both explained in chapter five. Two additional speed control formats are possible: Direct and Offset. The Direct speed control format is a method to command the M-Drive’s drive output to a specific percentage of the output voltage, ignoring the scaling and feedback conditions. Direct is typically used for system trouble-shooting.

The Offset speed control format adds two independent process variables, with the resulting sum used to pace the M-Drive. An example of the Offset control format using a follower system with a dancer POT is provided in this chapter.

SELECTING A SPEED CONTROL FORMAT

As indicated in chapter five, the Primary /Secondary discrete input selects between Master and Follower. Therefore, the question arises “How are the additional speed control formats invoked?". The answer is that the M-Drive must be told which format to use as Primary and which to use as Secondary. This is done by entering the number associated with each format (as listed below) into CP-61 for Primary and CP-62 for Secondary. A review of the programming examples in chapter five shows that the first step was in fact defining CP-61 and CP-62.

Number Speed Control Format ce] Direct

1 Master 2 Follower 3 Offset

Page 8-1

ADVANCE PROGRAMMING 8

INTRODUCTION

This chapter explores some of the advanced programming capabilities of the M-Drive. These capabilities include two additional speed control formats, a form of position control and analog input/output. The five sections of this chapter are:

Format Definition

Direct Speed Control Format

Offset Speed Control Format

Additional Setpoint and Tachometer Possibilities Analog Input/Output (Optional)

FORMAT DEFINITION

Master and Follower speed contro! formats are both explained in chapter five. Two additional speed control formats are possible: Direct and Offset. The Direct speed contro! format is a method to command the M-Drive’s drive output to a specific percentage of the output voltage, ignoring the scaling and feedback conditions. Direct is typically used for system trouble-shooting.

The Offset speed control format adds two independent process variables, with the resulting sum used to pace the M-Drive. An example of the Offset contro! format using a follower system with a dancer POT is provided in this chapter.

SELECTING A SPEED CONTROL FORMAT

As indicated in chapter five, the Primary/Secondary discrete input selects between Master and Follower. Therefore, the question arises “How are the additional speed control formats invoked?". The answer is that the M-Drive must be told which format to use as Primary and which to use as Secondary. This is done by entering the number associated with each format (as listed below) into CP-61 for Primary and CP-62 for Secondary. A review of the programming examples in chapter five shows that the first step was in fact defining CP-61 and CP-€2.

Number Speed Control Format

0 Direct

1 Master 2 Follower 3 Offset

Page 8-1

Page 90 read from a scan by OCR; it may hold reading errors

Note also that many of the scaling constants (CP-20 through CP-39) divide themselves into a primary and secondary group. Thus, the typical programming procedure is as follows:

1. Determine the speed control format for Primary Mode.

2. Enter the appropriate number in CP-61.

3. Load system constants into the Primary Parameter Group.

4

Repeat steps 1 through 3 above for Secondary Mode, using CP-62 and the Secondary Parameter Group.

DIRECT SPEED CONTROL FORMAT

When using the Direct Speed Control Format, the operator is able to control the output to the motor directly. When operating in Direct Format, the M-Drive ignores Accel, Decel and Feedback values, and immediately changes the output to the requested level entered into CP-6. The normal RUN/STOP logic is complied with. The example below illustrates Direct Format using Primary Mode (Secondary Mode would work as well). OBJECTIVE: Run the motor drive at 10% of full output.

1. Enter a 0 into CP-61 thereby designating Primary Mode as using Direct Format.

2. Enter 10 into CP-6 (Output Setpoint).

3. Place the M-Drive into the RUN state. RESULTS: The output should be at 10% of full output. The actual motor speed will depend on load characteristics, and will most likely not be 10% of the rated speed.

CAUTION: When operating in Direct Format, the current limit feedback is overridden by the M-Drive. Caution should be exercised to prevent equipment damage.

Page 8-2

Note also that many of the scaling constants (CP-20 through CP-39) divide themselves into a primary and secondary group. Thus, the typical programming procedure is as follows:

1. Determine the speed control format for Primary Mode.

2. Enter the appropriate number in CP-61.

3. Load system constants into the Primary Parameter Group.

4

Repeat steps 1 through 3 above for Secondary Mode, using CP-62 and the Secondary Parameter Group.

DIRECT SPEED CONTROL FORMAT

When using the Direct Speed Control Format, the operator is able to control the output to the motor directly. When operating in Direct Format, the M-Drive ignores Accel, Decel and Feedback values, and immediately changes the output to the requested level entered into CP-6. The normal RUN/STOP logic is complied with. The example below illustrates Direct Format using Primary Mode (Secondary Mode would work as well). OBJECTIVE: Run the motor drive at 10% of full output.

1. Enter a 0 into CP-61 thereby designating Primary Mode as using Direct Format.

2. Enter 10 into CP-6 (Output Setpoint).

3. Place the M-Drive into the RUN state. RESULTS: The output should be at 10% of full output. The actual motor speed will depend on load characteristics, and will most likely not be 10% of the rated speed.

CAUTION: When operating in Direct Format, the current limit feedback is overridden by the M-Drive. Caution should be exercised to prevent equipment damage.

Page 8-2