This is historical information of device classes implemented in TwickenhamSMC device server.

Use this link to find the valid information.

Development status: New development
Information status: Updated

Contact:



Class Description


This class is used for controlling the main features of Twickenham Superconducting Magnet Controller

Families: Instrumentation

Key words:

Platform: All Platforms

Language: Python

License: GPL

Contact:

Hardware


Manufacturer: Twickenham

Product:

Superconducting Magnet Controller 120-10/20 firmware 5.64 - 5.68

Bus: Serial Line

Class interface


Attributes:

Name Description
CalibrationScalar: DevDouble Calibration factor used to compute field from current
CurrentScalar: DevDouble Output current being delivered
FieldScalar: DevDouble Output field being delivered
VoltageScalar: DevDouble Output voltage being delivered
DirectionScalar: DevBoolean Ramp direction (positive=False/negative=True)
FPLockedScalar: DevBoolean Front panel locked
PausedScalar: DevBoolean Ramp paused
RampRateScalar: DevDouble Ramp rate
RampTargetScalar: DevString Ramp target (lower, zero or upper)
TargetToleranceScalar: DevDouble Tolerance to consider target reached
TargetTolerance0Scalar: DevDouble Tolerance to consider zero reached
UnitsScalar: DevString Units displayed in front panel (Amps or Tesla)
UpperScalar: DevDouble Upper target setpoint
LowerScalar: DevDouble Lower target setpoint
CommErrorsSpectrum: DevString Log of communication errors since last init

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.
RampInput: DevUShort
0 : ramp to Zero 1 : ramp to Lower 2 : ramp to Upper
Output: DevVoid
Ramp power supply to Lower, Upper or Zero
RampInRangeInput: DevVarDoubleArray
start and end points of the ramp range
Output: DevVoid
Ramp power supply between the 2 setpoints passed as parameters
StopInput: DevVoid
Output: DevVoid
Stop power supply at current value by setting current field/amps as lower/upper setpoing, depending on current set target
ZeroInput: DevVoid
Output: DevVoid
Set zero as target

Pipes:

Properties:

Name Description
SerialDeviceDevString The serial device to connect to. Three types are supported: Configuration: 9600 8N2, SOFTWARE FLOW CONTROL ENABLED (XON/XOFF)!, newline 0xA, 1) Simu. Simulated mode for development purposes 2) The name of the serial tango device to connect to. Serial and PySerial devices are supported 3) The name of the serial device to connect to (i.e. /dev/ttyS0). In this case the connection is direct and this server must be run on the machine where the serial port resides
AutoRampDownDevBoolean Device should check that auto ramp down is correctly configured in the hardware
AutoInvertDevBoolean Allow or not automatic polarity inversion if requested ramping requires inverting it
CalibrationDevDouble Calibration factor Tesla/Amp
MaxCurrentDevDouble Maximum current in Amps
MaxRampRateDevDouble Maximum ramp rate in Amps/sec
MaxVoltageDevDouble Maximum voltage in Volts
UnitsDevString If defined then the especified value will be set in the hardware on initialization

README

b'There are 2 servers defined in this repository:\n\n1) TwickenhamSMC: this is a server for controlling a Twickenham Superconducting\nMagnet Controller. This should be fully reusable.\n\nNOTES\n\na) Note that AutoRampDown specific ramp rate introduced in firmware 5.68 is only\nchecked at init if AutoRampDown property is set to True. If your SMC firmware is\nlower than 5.68, then the device will fail on init if AutoRampDown is True.\n\nb) Note that version 5.68 allows the locking of the upper setpoint. You have to\nmanipulate the hardware to do this (explained in section "Setting of special\nfunctions" in 5.68 manual). If you do so, please note that writting the Upper\nattribute to a value different than the default one will always fail.\n\nc) It looks like the hardware may contain a communications error. Please have a\nlook at "test" directory for more details.\n\nd) To clarify:\n- Which are the ramp rate presets?\n- Why cmd_current_status K returns "R0M2P0X3H0Z0.00E00Q 000.000" (note white\n space) instead of "R0M2P0X3H0Z0.00E00Q-000.000" when direction is inverted?.\n This made fail the regular expression.\n- Why writing upper or lower returns different value (i.e 4.5 is read back as 4.5001)\n\n2) VectorMagnetXMCD: this is a specific server for managing the 3 SMC of the Alba\nBL29 XMCD end. It takes care of all the necessary restrictions and specific\nfeatures of XMCD. Note that these are specific to this beamline, so this device\nprobably is not reusable.\n'

23 Feb 2017, Piotr Goryl
Updated:
A device class has been added.
You are looking at this version now.



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 .



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



2 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:23 Feb 2017, 10:17 a.m.