background image

The following basic settings can be used in most
applications with a 1024 PPR encoder connected directly
to the motor shaft and maximum reference (

3-03 Maximum

Reference

) is 1500 RPM:

32-60 Proportional factor

= 200

32-61 Derivative factor

= 1000

32-62 Integral factor

= 5

32-65 Velocity Feed-Forward

= 10200

Velocity Feed-forward (

32-65 Velocity Feed-Forward

) can

also be calculated using the following formula:

Velocity  Feed  forward   =  

62914560000

 

envel  ×  eres  ×  tsample

Where:

-

“envel” is encoder velocity in RPM at maximum
reference (

3-03 Maximum Reference

).

-

eres” is the encoder resolution
(Incremental encoder: eres = 

32-01 Incremental

Resolution

 * 4.

Absolute encoder: eres = 

32-03 Absolute

Resolution

).

-

“tsample” is PID sample time
(tsample = 

32-69 Sampling Time for PID Control

except with SYNCV where tsample = 

32-70 Scan

Time for Profile Generator

).

The sample program “Feed-forward calculation” is making
the above calculation and sets the parameters:

3.6.1 Sample Program: Feed-forward

Calculation

This program calculates basic settings for Velocity Feed-
forward and PID settings based on the following inputs:
Encoder type (

32-00 Incremental Signal Type

 and

32-02 Absolute Protocol

), Encoder resolution

(

32-01 Incremental Resolution

 or 

32-03 Absolute Resolution

),

Encoder velocity (par. 19-00), and Motion type (par. 19-00).
These parameters must thus be set before starting the
calculation.
The program performs the following steps when setting
input 1:

1.

Check encoder type and resolution

2.

Calculate PID sample time in order to get
sufficient resolution

3.

Check motion type and select sample time

4.

Calculate Feed-Forward.

Parameters are updated when setting input 2.
The updated parameters can be saved by setting input 3.
New calculation is enabled by setting input 4.

3.6.2 Influence to the Control Loop when

Changing Parameters

The gain of the control loop changes when one or more of
the following parameters is changed: Maximum reference,
encoder resolution, and gearing between motor and
encoder.
When changing these parameters the following rules
apply:
Increased maximum reference = P and D factors as well as
Feed-forward must be reduced.
Higher encoder resolution = P and D factors as well as
Feed-forward must be reduced.
Increase gear-ratio between motor and encoder (encoder
turning slower) = P and D factors as well as Feedforward
must be increased.

How to Install

MCO 305 Operating Instructions

MG.33.K3.02 - VLT

®

 is a registered Danfoss trademark

17

3

3

Summary of Contents for MCO 305

Page 1: ...MAKING MODERN LIVING POSSIBLE Operating Instructions Programmable Motion Controller MCO 305...

Page 2: ...4 Basic MCO Parameter Settings 14 3 4 1 Setting of Encoder Parameters 14 3 4 2 Setting of parameters for CANopen feedback encoder 14 3 4 3 Setting of parameters for CANopen Master encoder 15 3 4 4 Se...

Page 3: ...4 5 1 Download Application Program and Configuration 24 5 2 Backup and Restore 24 5 3 How to Connect and Run Multiple Frequency Converters 25 6 General Specifications 26 6 1 Protection and Features 26...

Page 4: ...ical literature is also available online at www danfoss com drives 1 2 Symbols and Conventions Symbols The following symbols are used in this manual WARNING Indicates a potentially hazardous situation...

Page 5: ...ntrol Option MCO Motion Control Tool MCT Parameter par Protective Extra Low Voltage PELV Position Control Loop PID Pulses per Revolution PPR Quad counts qc Revolutions per Minute RPM Second sec Switch...

Page 6: ...ng to national and local regulations Motor overload protection is not included in the default settings To add this function set par 1 90 Motor thermal protection to value ETR trip or ETR warning For t...

Page 7: ...be followed The information and instructions of Operating Instructions are not sufficient for a correct and safe use of the Safe Stop functionality 2 6 General Warning WARNING Touching the electrical...

Page 8: ...ocol 8 31 Address 8 32 FC Port Baud Rate 8 35 Minimum Response Delay 8 36 Max Response Delay 8 37 Max Inter Char Delay 15 00 15 05 Operating Data 15 20 15 22 Historic log 15 30 15 32 Fault log 33 90 X...

Page 9: ...to be used in slot C0 but can be combined with another option in slot C1 Mounting kit depending on frame Order no Bookstyle A2 and A3 40 mm for one C option 130B7530 A2 and A3 60 mm for C0 C1 option...

Page 10: ...Illustration 3 2 Compact A5 B except B3 C D E F How to Install MCO 305 Operating Instructions MG 33 K3 02 VLT is a registered Danfoss trademark 9 3 3...

Page 11: ...debug terminals RS485 are located on the top of the c option cover If these connections are used cut out the plastic parts above the connectors and mount the cable relief 130BA248 11 Illustration 3 3...

Page 12: ...Name Encoder 2 Feedback X55 1 24V Supply 2 8V Supply 3 5V Supply 4 GND 5 A 6 A not 7 B 8 B not 9 Z Clock 10 Z not Clock not 11 DATA 12 DATA not Terminal block Terminal number Descriptive Name Encoder...

Page 13: ...tions Examples 5V incremental encoder 1 2 3 12 130BA163 10 7 5 4 6 8 9 10 11 24V 8V 5V GND A A B B Z Z D D Illustration 3 6 5V Incremental Encoder RS 422 Supplied by MCO 305 Illustration 3 7 5V Increm...

Page 14: ...rfaces are interconnected termination must be on 32 40 Encoder Termination ON at both ends of the bus Termination must be off 32 40 Encoder Termination OFF in all other MCOs How to Install MCO 305 Ope...

Page 15: ...s must always be checked and if necessary adjusted Depending on the requirements of the application it might be necessary to adjust other parameters as well For the other parameters use the default se...

Page 16: ...this value 3 4 5 Setting of Home Parameters Homing is not necessary in standard synchronization applications and applications using an absolute encoder When using an incremental encoder the controlle...

Page 17: ...ons by means of the test program Select the file Enc S m via the MCT 10 APOSS and with that the file is opened automatically 3 5 1 Execute the Encoder Test Program In the Development menu click on Exe...

Page 18: ...al Signal Type and 32 02 Absolute Protocol Encoder resolution 32 01 Incremental Resolution or 32 03 Absolute Resolution Encoder velocity par 19 00 and Motion type par 19 00 These parameters must thus...

Page 19: ...or immediately with the EMERGENCY STOP button if it vibrates heavily or sets off uncontrolled the motor sets off uncontrolled but the encoder test previously was successful then decrease 32 60 Proport...

Page 20: ...s you can directly influence to what degree and how quickly a deviation from a theoretical set path as specified by the setpoint series should be counteracted The following behavior indicate that the...

Page 21: ...d accurate response to changes in the setpoint reference 2 A closed loop PID control The PID controller monitors the difference between the actual position and the setpoint position Based on this info...

Page 22: ...al speed reference is maxed out for long periods of time This feature is also very helpful in applications where the power to the motor is turned off and on while the option card is controlling the VL...

Page 23: ...lution in 32 00 Incremental Signal Type and 32 01 Incremental Resolution and 32 81 Shortest Ramp If these settings change again at a later point the controller may need optimizing again Par Typical Se...

Page 24: ...ood and increasing overshoot and oscillations in the system which is bad If you are using the Integral part of the PID controller remember to reduce the 32 63 Limit Value for Integral Sum as much as p...

Page 25: ...NOTE MCO 305 programs can only be read out when they have be downloaded including source code Use the following steps to back up parameters and data by PC 1 Go on line with the drive via the Network f...

Page 26: ...tings menu allows selecting the interface Run programs in several frequency converters If you want to load the program into several controllers link the program with the corresponding VLT AutomationDr...

Page 27: ...e on input 28V DC Table 6 2 Digital Inputs 1 Selected in parameter 5 00 Digital I O mode The digital inputs are galvanic isolated from the internal electronics and can be sourced by an external 24V po...

Page 28: ...1 more with repeater Maximum cable length 400m Table 6 9 Encoder Output Number of supply voltages 3 Terminal block X55 and X56 Terminal number 1 2 3 4 24V max load 250mA1 8V max load 250mA12 5V max lo...

Page 29: ...more SDO chn Number of SDO channels exceeded 125 HW end limit Limit switch activated 149 Too many inter Too many interrupt functions 150 No ext 24V External supply is missing 151 Too many gosub Too ma...

Page 30: ...RD_ERROR_MODULE_NOT_RESPONSE 103 GUARD_ERROR_NO_MODULE 104 Error 103 Illegal axis number An attempt has been made to find an axis which does not exist in the controller Check to see if the program axi...

Page 31: ...utputs NOTE Using virtual inputs as limit switches is dangerous because it eliminates the direct connection between the limit switch and the controller That may introduce a time delay or other failure...

Page 32: ...the opposite direction But if you try to move in the wrong direction then the error 198 occurs Limit switches and reference switches allow the usage of any input That means not only 1 8 are supported...

Page 33: ...meout listed was exceeded The timeout is probably too short or the index impulse could not found see also Error 109 Error 183 Invalid argument This command error signals that an TESTSTOP command conta...

Page 34: ...t circuit in accordance with the displayed LED An error will be indicated even if no encoder is connected Error 193 Stack overflow Internal error Dynamic stack overflow caused by too many local variab...

Page 35: ...er recognizes that the data in the array area is formatted incorrectly In order to be able to save a file the following conditions must be fulfilled Identical software versions same configuration e g...

Page 36: ...nt16 4 Integer 32 Int32 5 Unsigned 8 Uint8 6 Unsigned 16 Uint16 7 Unsigned 32 Uint32 8 1 1 Application Parameters Parameter Group 19 Par No Parameter name Parameter description Default setting Changes...

Page 37: ...tion TRUE 1 set up Uint8 32 11 POSFACT_N User Unit Denominator 1 TRUE 1 set up Uint32 32 12 POSFACT_Z User Unit Numerator 1 TRUE 1 set up Uint32 32 13 ENCCONTROL Enc 2 Control 0 TRUE 2 set ups Uint8 3...

Page 38: ...TRUE 1 set up Uint32 32 68 REVERS Reverse Behavior for Slave 0 Reversing TRUE 1 set up Uint8 32 69 TIMER Sampling Time for PID control 1 ms TRUE 1 set up Uint16 32 70 PROFTIME Scan Time for Profile Ge...

Page 39: ...e M S 1 TRUE 1 set up Int32 33 12 SYNCPOSOFFS Position Offset for Synchronization 0 qc TRUE 1 set up Int32 33 13 SYNC ACCURACY Accuracy Window for Position Synchro nization 1000 qc TRUE 1 set up Int32...

Page 40: ...End Limit Active 0 Inactive TRUE 1 set up Uint8 33 44 SWPOSLIMACT Positive Software End Limit Active 0 Inactive TRUE 1 set up Uint8 33 45 TESTTIM Time in Target Window 0 ms TRUE 1 set up Uint8 33 46 T...

Page 41: ...8 33 68 O_FUNCTION_6 Terminal X59 6 Digital Output 0 no function TRUE 1 set up Uint8 33 69 O_FUNCTION_7 Terminal X59 7 Digital Output 0 no function TRUE 1 set up Uint8 33 70 O_FUNCTION_8 Terminal X59...

Page 42: ...27 PCD 7 Read from MCO 1 set up Uint16 34 28 PCD 8 Read from MCO 1 set up Uint16 34 29 PCD 9 Read from MCO 1 set up Uint16 34 30 PCD 10 Read from MCO 1 set up Uint16 34 4 Inputs Outputs 34 40 Digital...

Page 43: ...pply 27 Ending The Encoder Check 16 Execute The Encoder Test Program 16 F FFACC 21 FFVEL 21 G General Specifications 26 Warning 6 H High Voltage Warning 5 How To Connect And Run Multiple Frequency Con...

Page 44: ...ware Version 5 Stationary Precision Is Required 23 Supply Voltage Overview 27 Symbols 3 T Technical Data 26 Terminal Overview 11 Test Program 18 The Maximum Acceleration Is Not Achieved 23 Motor Doesn...

Page 45: ...www danfoss com drives MG33K302 130R0086 MG33K302 Rev 2011 05 24...

Reviews: