Kollmorgen M-SS-005-03 Benutzerhandbuch

Seite von 204
Danaher Motion 
06/2005 
Project 
M-SS-005-03 Rev 
63 
You can rename the axis. It is usually worthwhile to name the axes according 
to their function. It makes your program easier to understand and to debug. 
For example, you could enter: 
A1.AxisName = ConveyorAxis 
Later, you can query the velocity with: 
? ConveyorAxis.VelocityFeedback  
The axis name may only be changed into the configuration program 
Config.Prg. You cannot print the axis name at any time. 
3.6.3. Drive 
Address 
You must specify the drive address property of the axis. Simulated axes do 
not have drive addresses and do not require this property to be assigned. 
This assigns the physical address (dip switch setting on the SERVOSTAR 
drive) to the axis defined in the SERVOSTAR MC. If we wanted to assign the 
drive with address 5 to axis 1, we type the following command into the 
terminal window of the BASIC Moves Developer Studio or in our program: 
A1.Dadd = 5          ‘ Assign drive address 5 to axis 1 
The short form, DADD, of axis property DRIVEADDRESS is used in the 
example. Axis.DriveAddress property should meet to the drive hardware 
address configuration . Most axis properties and constants have short forms 
that can speed typing and ease the programming effort. Refer to the 
SERVOSTAR
®
 MC Reference Manual for more information. 
3.6.4. Starting 
Position 
Before we get started here, you must: 
Install and tune drives 
Follow the process for installing and tuning all drives according to the 
SERVOSTAR
®
 MC Installation Manual. Run MOTIONLINK
®
 to select 
your motor type and tune the axis to your satisfaction. 
Install and check out your MC 
Install and check out your SERVOSTAR MC according to the 
SERVOSTAR
®
 MC Installation Manual. Wire all I/O, connect the fiber-
optic ring, and follow the procedures in the SERVOSTAR
®
 MC 
Installation Manual to check out the wiring. 
Install BASIC Moves Development Studio 
Install BASIC Moves Development Studio after reviewing the BASIC 
Moves User’s Manual. 
We use the terminal screen here extensively. 
Remember, any commands typed in the terminal window are lost when 
you power down. Enter these commands in your MC program to be 
recalled at power up. 
3.6.5. 
BASIC Moves Auto Setup Program 
BMDS automatically generates a setup program each time you open a new 
project. BMDS first requests information regarding units and preferences for 
each axis in the system. Then, it generates a program with most of the setup 
for your application. 
The auto setup program has four sections: a short task-variable declaration, 
an example program which generates simple motion, a SERCOS setup 
subroutine, and an axis setup subroutine. The variable declaration section 
provides one or two examples of variable declarations for a task.