Average: 0
Rating Count: 0

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

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




Manufacturer: ScandiNova Systems AB



Bus: Socket

Class interface


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


Name Description
SetFloatVariableInput: DevVarDoubleArray
Output: DevLong
ReadCalibInput: DevLong
Output: DevVarDoubleArray
Read calibraion (scaling) data for a Modulator variable. Input argument Variable ID. Returns calibration data.
SetCalibInput: DevVarDoubleArray
Output: DevUShort
Set calibraion (scaling) data for a Modulator variable. Input argument [Variable ID,calib data,...]. Success returns zero.
SetIntVariableInput: DevVarLongArray
Output: DevShort
Set a modulator variable (Int). Input argument [Variable ID,Value,...]. Success returns zero..
ReadFloatVariableInput: DevLong
Output: DevDouble
Read a modulator variable (float). Input argument Variable ID. Returns variable value.
TrigInput: DevVoid
Output: DevVoid
Request modulator TRIG state.
HVInput: DevVoid
Output: DevVoid
Request modulator HV state.
StandbyInput: DevVoid
Output: DevVoid
Request modulator STANDBY state.
OffInput: DevVoid
Output: DevVoid
Request modulator OFF state.
ResetInput: DevVoid
Output: DevVoid
Reset active modulator interlocks.
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.
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.
ReadIntVariableInput: DevLong
Output: DevLong
ReadFloatArrayInput: DevLong
Output: DevVarDoubleArray
ReadIntArrayInput: DevLong
Output: DevVarLongArray



Name Description
IPDevString IP address

Please log in to comment.

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