.

Average: 0
Rating Count: 0

Development status: Released, Release: Release_2_6
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/MagneticDevices/Petra3Undulator
Contact:



Class Description


The undulator class for the Petra3 beamlines implements the basic parameters (gap, taper, velocity) to drive an undulator from a beamline. It also handles the state and disables the access in case of a local usage or an exclusive usage by the acceleraor control room. <p> The undulator control is handled by a Tine device in the accelerator control system. The Tine device has to be mapped into a Tango device by the Tine To Tango Gateway (TTTGW class). You have to specify the name of a TTTGW device for every device of this class. </p> <p> The Tine undulator device has many more attributes and shows the hardware state via a control byte and a status byte. <br /> Control byte information: </p> <p> bit 1 (0x2) = set when vacuum interlock OK <br /> bit 2 (ox4) = set when beamline access enabled </p> <p> Status byte information: </p> <p> 1 - local control for comissioning <br /> 5 - Undulator moves <br /> 6 - Undulator ready to move <br /> 7 - Error detected by local control, try to reset <br /> 10 - local control is switched off <br /> 27 - Undulator is ready to move, but an incoherent read and set value was detected </p>

Families: Instrumentation

Key words:

Platform: Unix Like

Language: Cpp

License:

Contact:

Hardware


Manufacturer: none

Bus: Not Applicable

Class interface


Attributes:

Name Description
GapTargetScalar: DevFloat The gaptarget of the undulator.
TaperTargetScalar: DevFloat The tapertarget on the undulator.
GapScalar: DevFloat The gap of the undulator.
TaperScalar: DevFloat The applied taper on the undulator.
VelocityScalar: DevFloat The moving velocity of the undulator gap in % of the\nmaximum velocity. Limited to 33%.
PositionScalar: DevDouble Moves the gap by setting the energy.
HarmonicScalar: DevLong Harmonic to be used in the relation between gap and energy.\n0-> take automatically the lowest odd possible harmonic.
PositionSimScalar: DevDouble
UnitLimitMaxScalar: DevDouble
UnitLimitMinScalar: DevDouble
GapOffsetScalar: DevFloat
SetHarmonicAutomaticallyScalar: DevLong Set to 1 for changing the harmonic automatically depending on the energy.
HarmonicSimScalar: DevLong Harmonic to be used in the relation between gap and energy for the simulaton mode. 0-> take automatically the lowest odd possible harmonic.
ResultSimSpectrum: DevString
RecentWritesSpectrum: DevString Stores the recent output operations.

Commands:

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
Real position
Output: DevLong
Complation status
ResetMotorInput: DevVoid
Output: DevVoid
Reset a hardware fault.
StopMoveInput: DevVoid
Output: DevVoid
Stop a gap or taper movement.
StartMoveInput: DevVoid
Output: DevVoid
Start a gap or taper movement.

Pipes:

Properties:

Name Description
TTTGW_NameDevString The name of the Tine device for the undulator. The Tine devices should be mapped automatically into Tango devices by the TTTGW (Tine To Tango GateWay) class with the same name. The Undulator class will acess the device of the Tine To Tango Gateway.
PTTGW_NameDevString The name of the plc device for the undulator.
BeamlineDevLong Beamline number. Set in Branch property A or B if there are two undulators, by default A
LockTimeMsDevFloat After sending a StartMove command, the state will be locked to MOVING for `LockTimeMs` milliseconds. This is to avoid state oscillations if the actual start of the move takes some time.
BranchDevString Property for distinguish undulator A or B for beamlines with boths.


Please log in to comment.

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



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



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



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



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



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



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



30 Jun 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 .



5 Jan 2018, DS Admin
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, 2:49 p.m.