Attributes

pogo_html_docu/FMBOxfDCMEnergy/Attributes.html See pogo generated info for more details.

 BraggAngle. Reads the position from the Tango server corresponding to the bragg motor.

 Crystal. It is used for getting the right lattice distance in the energy calculations: 0 -> CrystalSi111, 1 -> CrystalSi311, 2 CrystalSi111 with crystal cut (in this case only the bragg angle is moved when the energy is set, and the ExitOffset is computed as a function of the bragg angle and the CrystalCutGap. If the parallel motor is in a position bigger than 100 when the crystal is swichted to 2, it will be moved to 99.5). For version 11, it is determined by the position of the bragg motor and by writting moves the motor.

 ExitOffset. Exit offset in mm. It is used for the motor position calculations. If the crystal is 2, this value is computed from the Bragg angle und the CrystalCutGap.

 ExitOffsetC0. Exit offset to be set when the crystal is changed to 0 using the ChangeCrystalAndRecalibrate command. The value of this attribute is set together with the ExitOffset attribute if the current crystal is 0.

 ExitOffsetC1. Exit offset to be set when the crystal is changed to 1 using the ChangeCrystalAndRecalibrate command. The value of this attribute is set together with the ExitOffset attribute if the current crystal is 1.

 MaskMotorMoves. Mask for avoiding that a motor prevent the energy to move (and the state of the device to be set to FAULT) when the is not active, or the given position is out of limits. 1 -> Perpendicular $\&$ 2 -> Parallel.

 PhasingMode. Allows the selection of the phasing mode: 0 -> soft, 1 -> forced. It is used by the StartUp command.

 Position. Reads the energy in eV, computed from the position of the motors. By writting moves the monochromator to the written value (in eV), writting in the position attribute of the implied motor devices. If the movement implies a change in the Bragg Angle larger than 10 degrees or outside the range (2.1, 55.5) the movement will not be performed. In crystal 2 only the bragg angle is moved. If any of the motors, in case a pmac motor and not an oms one is used, is not active (it is seen from a variable in the pmac) and this motor is not set in the MaskMotorMoves attribute, the state is set to FAULT and the movement is not performed. The same happens in any of the motor, in case of pmac ones, is in error (also read from pmac variables). If the position of the parallel motor corresponding to the given energy is below 25 mm, the motor will be moved to 25 mm. If the position of the perpendicular motor corresponding to the given energy is below 9 mm a Tango exception will be thrown and the energy movement will not be done. If the movement is done to bigger Bragg positions and the change in the Bragg angle is bigger than one degree, the bragg movement will be done only after the parallel axis has reached the soll position for the new given energy. The state is set to FAULT if any of the written positions is out of limits (for motors not set in the MaskMotorMoves attribute) but the rest of the motors are moved.

 PositionAccuracy. Reads PositionAccuracy from the Bragg Motor device. Value in eV. Only implemented for versions 1 and 2.

 PositionSim Setting this attribute does not involve any move. Instead the attribute ResultSim is filled with the calculated final positions.

 PseudoChannelCutMode. If set to 1 this mode is selected. The parallel axis will not be moved. Not movemente will be done if the position of the bragg angle is outside 5 degress of the position when this mode is set, or if the calculated parallel position is outside 15 mm from the current position.

 ResultSim An array of strings that returns the calculated final positions after the PositionSim attribute has been set.

 UnitLimitMax. Used for limiting the position (only if bigger than UnitLimitMin).

 UnitLimitMin. Used for limiting the position (only if smaller than UnitLimitMin).

 UpdateStatusRate. Rate for updating checking if the motor is still moving during a movement (in s). If it is less or equal than 0 or bigger than 1, the program set it to 1.