Average: 0
Rating Count: 0

Development status: Released, Release: Release_1_27
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/BeamlineComponents/Monochromators/FMBOxfDCMMotor

Class Description

Class for controlling a single motor of the Double Crystal Monochromator from FMB Oxford

Families: Motion

Key words:

Platform: Unix Like

Language: Cpp




Manufacturer: none

Bus: Serial Line

Class interface


Name Description
PositionScalar: DevDouble Position in degrees for motor 1, and mm for motors 3 and 4
AxisNameScalar: DevString
PositionCtsScalar: DevDouble Position in counts
UnitCalibrationScalar: DevDouble Offset factor for the position (in units: degrees for Bragg motor, mm for perpendicular and paralel motors). Limits sets for Bragg motor, this class is not used for par or perp.
ConversionScalar: DevDouble the conversion factor, counts = conversion*units
UnitLimitMaxScalar: DevDouble the upper motor limit
UnitLimitMinScalar: DevDouble the lower limit of a motor
UpdateStatusRateScalar: DevDouble Rate for checking the status during a movement
PositionAccuracyScalar: DevDouble
EstimatedMoveTimeScalar: DevDouble
SlewRateScalar: DevFloat
SlewDoubleMaxScalar: DevDouble
SlewDoubleScalar: DevDouble
ModeScalar: DevLong 0 -> Open Loop/ 1 -> Close Loop (-1 ->not implemented)
ActiveScalar: DevLong 1 if motor is active. Set to 1 for activating it.
BacklashScalar: DevDouble


Name Description
StateInput: DevVoid
Output: State
State Code
This command gets the device state (stored in its <i>device_state</i> data member) and returns it to the caller.
StatusInput: DevVoid
Output: ConstDevString
Status description
This command gets the device status (stored in its <i>device_status</i> data member) and returns it to the caller.
CalibrateInput: DevDouble
Value to be calibrated
Output: DevLong
Completion status
Calibrate the motor: current position is calibrated to be the value given as an argument
StopMoveInput: DevVoid
Output: DevVoid
Stop all motors in PMAC
HomeInput: DevVoid
Output: DevVoid
Move motor to home position.
ChangeModeAndHomeInput: DevLong
Output: DevVoid
Change mode (0->openloop,1->close loop) and home the motor.
ReadAxisStatusInput: DevVoid
Output: DevString
Read status from hardware.



Name Description
FMBOxfDCMCtrlDeviceDevString FMBOxfDCMCtrl server for RS232 interface
SimulationModeDevULong 0 -> real mode, 1 -> simulation mode
AxisNbDevLong Axis number
VersionDevLong 0 -> old , 1 -> new

Please log in to comment.


PDF generated from POGO


build the library:


make sure the include files are in

23 Feb 2017, Piotr Goryl
The device class has been updated.
You can see previous version here .

19 Jan 2017, Piotr Goryl
The device server has been updated.
You can see previous version here .

2 Jan 2017, Piotr Goryl
The device server has been added to catalogue.
Added by:pgoryl2 on:2 Jan 2017, 3:47 p.m.