Average: 0
Rating Count: 0

Development status: Released, Release: Release_1_28
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
BacklashScalar: DevDouble
ActiveScalar: DevLong 1 if motor is active. Set to 1 for activating it.
ModeScalar: DevLong 0 -> Open Loop/ 1 -> Close Loop (-1 ->not implemented)
SlewDoubleScalar: DevDouble
SlewDoubleMaxScalar: DevDouble
SlewRateScalar: DevFloat
EstimatedMoveTimeScalar: DevDouble
PositionAccuracyScalar: DevDouble
UpdateStatusRateScalar: DevDouble Rate for checking the status during a movement
UnitLimitMinScalar: DevDouble the lower limit of a motor
UnitLimitMaxScalar: DevDouble the upper motor limit
ConversionScalar: DevDouble the conversion factor, counts = conversion*units
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.
PositionCtsScalar: DevDouble Position in counts
AxisNameScalar: DevString
PositionScalar: DevDouble Position in degrees for motor 1, and mm for motors 3 and 4


Name Description
ClearDriveErrorInput: DevVoid
Output: DevVoid
Send a move movement of 1 step
ReadAxisStatusInput: DevVoid
Output: DevString
Read status from hardware.
ChangeModeAndHomeInput: DevLong
Output: DevVoid
Change mode (0->openloop,1->close loop) and home the motor.
HomeInput: DevVoid
Output: DevVoid
Move motor to home position.
StopMoveInput: DevVoid
Output: DevVoid
Stop all motors in PMAC
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
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.
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.



Name Description
MinimumStepsDevLong Number of steps to be moved by ClearDriveError command
VersionDevLong 0 -> old , 1 -> new
AxisNbDevLong Axis number
SimulationModeDevULong 0 -> real mode, 1 -> simulation mode
FMBOxfDCMCtrlDeviceDevString FMBOxfDCMCtrl server for RS232 interface

Please log in to comment.


PDF generated from POGO


build the library:


make sure the include files are in ~/Tango/Servers/sppserver/include

24 Apr 2021, DS Admin
The device class has been updated.
You can see previous version here .

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.