.

Average: 0
Rating Count: 0

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



Class Description


This interface to undulators makes use of PLC.

Families: Instrumentation

Key words:

Platform: Unix Like

Language: Cpp

License:

Contact:

Hardware


Manufacturer: none

Bus: Not Applicable

Class interface


Attributes:

Name Description
CurrentGapScalar: DevLong The current Gap in um.
DesiredGapScalar: DevLong The desired Gap in um.
MaxGapScalar: DevLong The Max allowed value for the Gap, in um.\nIt is at most 225000 um.
MinGapScalar: DevLong The Min allowed value for the Gap, in um.\nIt is at least 8000 um.
CurrentTaperScalar: DevLong The current Taper in um.
DesiredTaperScalar: DevLong The desired Taper in um.
CurrentSpeedScalar: DevLong The current Speed.\n1 unit corresponds to 0.00856 um/s.
DesiredSpeedScalar: DevLong The desired Speed.\n1 unit corresponds to 0.00856 um/s.
StatusByteScalar: DevUShort Undulator Status Byte.
CtrlByteScalar: DevUShort External Control Byte.
CurrentUnitPositionScalar: DevDouble Unused.
UnitLimitMaxScalar: DevDouble Unused.
UnitLimitMinScalar: DevDouble Unused.
CwLimitScalar: DevLong Unused.
CcwLimitScalar: DevLong Unused.
SettleTimeScalar: DevDouble Unused.
FlagProtectedScalar: DevLong Unused.
CurrentShiftScalar: DevLong The current Shift in um (only valid for pu04 and pu23, 0 in other cases)
DesiredShiftScalar: DevLong The desired Shift in um (only valid for pu04 and pu23, 0 in other cases).
CurrentShiftModeScalar: DevLong The current shift mode (only valid for pu04 and pu23, 0 in other cases)
DesiredShiftModeScalar: DevLong Desired shift mode (only valid for pu04 and pu23, 0 in other cases)
RecentWritesSpectrum: DevString Contains the recent output operations

Commands:

Name Description
CalibrateInput: DevDouble
Value to be calibrated
Output: DevLong
Completion status
Unused.
UserCalibrateInput: DevDouble
Value to be calibrated
Output: DevLong
Completion status
Unused.
GetCtrlByteInput: DevVoid
Output: DevUShort
Control Byte
This command reads - and return - the undulator control byte.
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.
CompleteMoveInput: DevVoid
Output: DevLong
return status of execution
Unused.
SetupUnitMoveInput: DevDouble
final position, in units
Output: DevLong
completion status
Unused.
StartMoveInput: DevVoid
Output: DevLong
completion status
Start to move, the function returns immediately.
StopMoveInput: DevVoid
Output: DevLong
completion status
Stop moving, return immediately, don't wait for de-acceleation.
MoveInput: DevDouble
Final position, in units
Output: DevLong
Completion status
Unused.
ResetMotorInput: DevVoid

Output: DevLong
Completion status
Reset the motor.
GetStatusByteInput: DevVoid
Output: DevUShort
Status Byte
This command reads - and return - the undulator status byte.

Pipes:

Properties:

Name Description
PlcServerDevString The server which exports the plc
SimulationModeDevShort 0 real mode, 1 simulation mode.
FlagPU04DevLong 1 if pu04 or pu23


Please log in to comment.

28 Apr 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.