TOC PREV NEXT INDEX

Put your logo here!


4 INSTALLATION

The generation and installation of the motei module follows VLT standards as described in [2].

4.1 General Requirements

The motei module requires the availability of Hardware and Software detailed in [2], CCS or CCS-lite and the following modules as of VLT Common Software Release OCT98:

· seq version 2.25 or higher
· panel version 4.12 or higher
· uif version 3.9 or higher
· samp version 1.48 or higher
· mcm version 2.7 or higher

4.2 Database configuration

In both LCU & WS environments (not on CCS-lite), the database shall contain MCM motor branches. As described in [2], chapter 4, section 4, a motor branch is instanciated from the base class motMOTOR, or from any specialized sub-class, such as motDVA0X, motDVAMA, motDVAMI, motDXXMA, motDXXMI & motSVSMS, derived from the main class motMOTOR, by overloading.

Dedicated to the Engineering Interface, 6 motors have been instanciated resp. from each sub-class. These branches are collected in the file moteiDATABASE.db(5) (see 5.3.1) that may be included in the environment configuration file $VLTDATA/ENVIRONMENTS/<mcmEnv>/dbl/DATABASE.db.

On WS/CCS environment, the motor branches are located under :Appl_data:MOTEI

On LCU environment under :MOTEI

The motors are aliased according to their class names : DVA0X, DVAMA, DVAMI, DXXMA, DXXMI & SVSMS.

The tables default to the maximum number of entries and preset the HW initialization sequence to one single action END, implying that the motor may be initialized without motion therefore enabling the normal motions for tuning.

The following table describes the 6 motors as of their HW configuration, all axis are linear, the board parameters are preset to their default values:
MOTOR
Motor
Encoder
Servo Amplifier
Motion Controller

DVAMI

DC

Incremental

VME4SA

MAC4-INC

DVAMA

DC

Absolute

VME4SA

MAC4-SSI

DVA0X

DC

none

VME4SA

none

DXXMI

DC

Incremental

stand-alone

MAC4-INC

DXXMA

DC

Absolute

stand-alone

MAC4-SSI

SVSMS

Stepper

Incremental

stand-alone1

MAC4-STP

1
VME4ST or compatible

Below is an example of the file $VLTDATA/ENVIRONMENTS/<mcmEnv>/dbl/DATABASE.db :

//*****************************************************************************
//* E.S.O. - VLT project
//*
//* "@(#) $Id: DATABASE.db,v 1.16 1997/04/01 12:29:01 vltsccm Exp $"
//*
//* who when what
//* -------- -------- ----------------------------------------------
//* NNNNNNNN dd/mm/yy created
//*

//************************************************************************
// VLT COMMON SOFTWARE
//************************************************************************

// Loads classes definition from standard file
#include "CCS.db"

//
// USER.db contains necessary points for CCS, but requiring editing to match
// installed configuration.
#include "USER.db"

//************************************************************************
// APPLICATION SOFTWARE
//************************************************************************
//
// Load branches needed by your application
//
#ifdef MAKE_VXWORKS
#define motMOTORROOT :MotorINC
#else
#define motMOTORROOT :Appl_data:MotorINC
#endif
#define motMOTORTYPE motDVAMI
#define motMOTORNAME MI
#define motNUMBER_NAMED_POSITIONS 10
#define motNUMBER_NAMED_SPEEDS 10
#include "motor.db"
//
// Load motei branch
//
#include "moteiDATABASE.db"

// ___oOo___

The database will contain the 6 template motors instanciated in moteiDATABASE.db and one motor aliased MI.

4.3 LCU Configuration

It is recommended to use the tool vccConfigLcu(1) to set-up the modules and processes required in the LCU-side of MCM:

1. System Modules:
a. lcudrv, lculog, lqs
b. drivers: ampl, mcon
c. optional drivers : acro (for signals), tim
d. lcc, cai
e. scan (optional)
2. User Modules:
a. mcm
b. ntp (optional)
3. Processes:
a. lccServer, msgServer, rdbServer
b. motServer

See [3] or the corresponding man-pages for instructions to use the vccConfigLcu tool.

The figure shown below is an example of a LCU configuration for the MCM Engineering Interface:



Quadralay Corporation
http://www.webworks.com
Voice: (512) 719-3399
Fax: (512) 719-3606
sales@webworks.com
TOC PREV NEXT INDEX