.

Average: 0
Rating Count: 0

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



Class Description


Class for controlling the FMB Oxford Double Crystal Monochromator

Families: Motion

Key words:

Platform: Unix Like

Language: Cpp

License:

Contact:

Hardware


Manufacturer: none

Bus: Serial Line

Class interface


Attributes:

Name Description
ResultSimSpectrum: DevString
BraggOffset3Scalar: DevDouble Value to be restored in BraggOffset if crystal is changed to Si311 as Si111 - crystal 3 (only for p01 and p06).
BraggOffset1Scalar: DevDouble Value to be restored in BraggOffset if crystal is changed to Si311 - crystal 1 (only for p01 and p06).
BraggOffset0Scalar: DevDouble Value to be restored in BraggOffset if crystal is changed to Si111 - crystal 0 (only for p01 and p06).
BraggOffsetScalar: DevDouble Offset used only in p01 when the crystal Si311 is used as Si111
PseudoChannelCutModeScalar: DevLong If 1 the PseudoChannelCutMode is activated: \nparallel axis not moved for small angles.
MaskMoveMotorsScalar: DevLong Masked motors will not be set the state to FAULT if they can not be moved. 1 (Perp) & 2 (Par)
ExitOffsetC0Scalar: DevDouble ExitOffset to be restored when crystal is changed to 0 with the ChangeCrystalAndRecalibrate command.
ExitOffsetC1Scalar: DevDouble ExitOffset to be restored when crystal is changed to 1 with the ChangeCrystalAndRecalibrate command.
PositionAccuracyScalar: DevDouble Reads PositionAccuray from Bragg motor device and transforme it to eV.
UpdateStatusRateScalar: DevDouble Rate for checking status of the motors during a movement.
PositionSimScalar: DevDouble
UnitLimitMinScalar: DevDouble Software limit for minimum Position
UnitLimitMaxScalar: DevDouble Software limit for maximum Position
PositionScalar: DevDouble Monochromator Energy
CrystalScalar: DevLong Select the crystal type for the energy move. 0 -> CrystalSi111 1 -> CrystalSi311 2 ->Si111 ChannelCut 3 -> Si311 as Si111 (P01), Si111 as Si311 (P06)
PhasingModeScalar: DevLong 0 -> Soft Phasing Mode\n1-> Forced Phasing Mode
ExitOffsetScalar: DevDouble
BraggAngleScalar: DevDouble

Commands:

Name Description
BrakeInput: DevVoid
Output: DevVoid
Activate the Bragg brake in the current position
BrakeWithCorrectionInput: DevVoid
Output: DevVoid
Prepare the system for movements with a fixed energy and less vibrations.
ClearStateInput: DevVoid
Output: DevVoid
Set state to ON.
ChangeCrystalAndRecalibrateInput: DevLong
Crystal number
Output: DevVoid
Change the crystal and recalibrate the motors with hardcoded constants.
HomeLateralsInput: DevVoid
Output: DevVoid
Home lateral motors for DCM GKSS
HomeJacksInput: DevVoid
Output: DevVoid
Home jack motors for DCM GKSS
CalibrateInput: DevDouble
Value to be calibrated
Output: DevLong
Completion status
Calibrate the energy: current energy is calibrated to be the value given as an argument
HomeAllInput: DevVoid
Output: DevVoid
Home motors for version 10.
StopMoveInput: DevVoid
Output: DevVoid
Stop a movement
CheckErrorInput: DevVoid
Output: DevLong
Error code
Read the error flags and return an error: bit 1 BraggAxisInErr bit 2 PerpAxisInErr bit 3 ParAxisInErr bit 4 TmOutErrFlag bit 5 Skipped
ShutdownInput: DevVoid
Output: DevVoid
Automatic system shutdown
StartUpInput: DevVoid
Output: DevVoid
Automated system startup
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.

Pipes:

Properties:

Name Description
PerpOffsetC3DevDouble Perpendicular offset crystal 3
ParOffsetC3DevDouble Parallel Offset crystal 3
BraggOffsetC3DevDouble Bragg Offset for crystal 3
DCrystalSI311DevDouble Lattice spacing for SI311 crystal. If value is not set or set to 0 or negative a default value is taken.
DCrystalSI111DevDouble Lattice spacing for SI111 crystal. If value is not set or set to 0 or negative a default value is taken.
BeamlineDevLong Beamline number. Needed for shutter,
LongitudinalOffsetC2DevDouble Longitudinal Offset crystal 2
LongitudinalOffsetC1DevDouble Longitudinal Offset crystal 1
LongitudinalOffsetC0DevDouble Longitudinal offset crystal 0
Bragg2OffsetC2DevDouble Bragg2 offset crystal 2
Bragg2OffsetC1DevDouble Bragg2 offset crystal 1
Bragg2OffsetC0DevDouble Bragg2 offset crystal 0
PerpOffsetC2DevDouble Perpendicular Offset crystal 2
PerpOffsetC1DevDouble Perpendicular Offset crystal 1
PerpOffsetC0DevDouble Perpendicular offset crystal 0
ParOffsetC2DevDouble Parallel offset crystal 2
ParOffsetC1DevDouble Parallel Offset crystal 1
ParOffsetC0DevDouble Parallel Offset crystal 0
BraggOffsetC2DevDouble Bragg Offset for crystal 2
BraggOffsetC1DevDouble Bragg Offset for crystal 1
BraggOffsetC0DevDouble Bragg Offset for crystal 0
ChannelCutGapDevFloat Gap for the channel cut.
LongitudinalDeviceDevString Tango Device Name for the longitudinal motor (version 10, DCM gkss)
Bragg2DeviceDevString Tango Device Name for the second bragg motor (version 10, DCM gkss)
PerpDeviceDevString Name of the Tango device for the perpendicular motor
ParDeviceDevString Name of the Tango device for the parallel motor
FMBOxfDCMCtrlDevice2DevString Second controller in case of motors not controlled via global movements (version 10)
BraggDeviceDevString Name of the Tango device for the Bragg motor
VersionDevLong 0 -> old , 1 -> new
SimulationModeDevULong 0 -> real mode, 1 -> simulation mode
FMBOxfDCMCtrlDeviceDevString FMBOxfDCMCtrl server for RS232 interface


Please log in to comment.

Generated

PDF generated from POGO



README


The FMBOxfDCMEnergy class uses FMBOxfDCMCtrl and FMBOxfDCMMotor

# ./Do.pl [nodeName]

creates a server and copies it to /usr/local/bin/server or the
same directory on nodeName.

# make using_trunk=1

makes the server by using the trunk dirs as input

# make

creates the server by using the current version dir

7 Mar 2020, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



22 May 2019, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



25 Aug 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



26 May 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



31 Mar 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



5 Jan 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



20 Apr 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



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



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



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