.

Average: 0
Rating Count: 0

Development status: New development
Information status: New
Repository: https://gitlab.maxiv.lu.se/kits-maxiv/dev-maxiv-k2modulator
Contact:



Class Description


This class is able to control a ScandiNova K2 modulator equipped with an ethernet interface.

Families: Controllers

Key words:

Platform: All Platforms

Language: Cpp

License:

Contact:

Hardware


Manufacturer: ScandiNova Systems AB

Product:

K2

Bus: Socket

Class interface


Attributes:

Name Description
CvdScalar: DevDouble Capacitive Voltage Divider. Modulator output pulse voltage in KV units.
CtScalar: DevDouble Current Transformer. Modulator pulse output current. Unit ampere.
PrfScalar: DevDouble Pulse Repetion Frequency.
PowerScalar: DevDouble Modulator average output power.
HvPsVoltageScalar: DevDouble HV PS DC voltage output read value. The Primary voltage.
FilamentVoltageScalar: DevDouble
FilamentCurrentScalar: DevDouble
BiasVoltageScalar: DevDouble Pulse transformer bias voltage.
BiasCurrentScalar: DevDouble Pulse transformer bias current.
SolenoidPs1VoltageScalar: DevDouble Klystron solenoid PS1 voltage.
SolenoidPs1CurrentScalar: DevDouble Klystron solenoid PS1 current.
SolenoidPs2VoltageScalar: DevDouble Klystron solenoid PS2 voltage.
SolenoidPs2CurrentScalar: DevDouble Klystron solenoid PS2 current.
SolenoidPs3VoltageScalar: DevDouble Klystron solenoid PS3 voltage.
SolenoidPs3CurrentScalar: DevDouble Klystron solenoid PS3 current.
SolenoidPs4VoltageScalar: DevDouble Klystron solenoid PS4 voltage.
SolenoidPs4CurrentScalar: DevDouble Klystron solenoid PS4 current.
SolenoidPs5VoltageScalar: DevDouble Klystron solenoid PS5 voltage.
SolenoidPs5CurrentScalar: DevDouble Klystron solenoid PS5 current.
SolenoidPs6VoltageScalar: DevDouble Klystron solenoid PS6 voltage.
SolenoidPs6CurrentScalar: DevDouble Klystron solenoid PS6 current.
RemainingTimeScalar: DevLong Indicates the time in seconds before the requested modulator state is reached. e,g. when waiting for the filament preheat time period.
ModStateReadScalar: DevUShort Modulator StateRead variable, See Control System Manual.
ModStateSetScalar: DevUShort Modulator StateSet variable. See Control System Manual.
SetHvVoltScalar: DevDouble Set voltage for DCPS.
AccessLevelScalar: DevShort Actual acees level. -1 = LOCAL mode. Read access 2 = REMOTE mode. Full Write and Read access.
SetPs1CurrentScalar: DevDouble Set solenoid PS 1 current..
SetPs2CurrentScalar: DevDouble Set Current solenoid PS 2..
SetPs3CurrentScalar: DevDouble Set Current solenoid PS 3.
SetPs4CurrentScalar: DevDouble Set Current solenoid PS 4.
SetPs5CurrentScalar: DevDouble Set Current solenoid PS 5.
SetPs6CurrentScalar: DevDouble Set Current solenoid PS 6.
SetFilCurrScalar: DevDouble Set filament current..
SetBiasCurrScalar: DevDouble Set bias current..
CommandStatusScalar: DevLong Status for last command. 0 = OK. 1 = Not connected. 2 = Timeout. 3 = Range error. 4 = Access error. 5 = Parameter error.
ComStatusScalar: DevLong Communication status. 0 = OK. 1 = Not connected.
PulsewidthScalar: DevDouble

Commands:

Name Description
ReadIntArrayInput: DevLong
Output: DevVarLongArray
ReadFloatArrayInput: DevLong
Output: DevVarDoubleArray
ReadIntVariableInput: DevLong
Output: DevLong
StateInput: DevVoid
Output: State
Device state
This command gets the device state (stored in its device_state data member) and returns it to the caller.
StatusInput: DevVoid
Output: ConstDevString
Device status
This command gets the device status (stored in its device_status data member) and returns it to the caller.
ResetInput: DevVoid
Output: DevVoid
Reset active modulator interlocks.
OffInput: DevVoid
Output: DevVoid
Request modulator OFF state.
StandbyInput: DevVoid
Output: DevVoid
Request modulator STANDBY state.
HVInput: DevVoid
Output: DevVoid
Request modulator HV state.
TrigInput: DevVoid
Output: DevVoid
Request modulator TRIG state.
ReadFloatVariableInput: DevLong
Output: DevDouble
Read a modulator variable (float). Input argument Variable ID. Returns variable value.
SetIntVariableInput: DevVarLongArray
Output: DevShort
Set a modulator variable (Int). Input argument [Variable ID,Value,...]. Success returns zero..
SetCalibInput: DevVarDoubleArray
Output: DevUShort
Set calibraion (scaling) data for a Modulator variable. Input argument [Variable ID,calib data,...]. Success returns zero.
ReadCalibInput: DevLong
Output: DevVarDoubleArray
Read calibraion (scaling) data for a Modulator variable. Input argument Variable ID. Returns calibration data.
SetFloatVariableInput: DevVarDoubleArray
Output: DevLong

Pipes:

Properties:

Name Description
IPDevString IP address


Please log in to comment.

4 Jun 2019, MAX-IV Device Classes
Created:
The device class has been added to catalogue.
Added by:mdevice_classes on:4 Jun 2019, 7:36 a.m.