diff --git a/csaxs_bec/device_configs/smaract_test.yaml b/csaxs_bec/device_configs/smaract_test.yaml new file mode 100644 index 0000000..20aca3d --- /dev/null +++ b/csaxs_bec/device_configs/smaract_test.yaml @@ -0,0 +1,416 @@ +################## XBOX 1 ES ##################### +xbpm3x: + description: X-ray beam position x monitor 1 in ESbox1 + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: A + host: x12sa-eb-smaract-mcs-04.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: -1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +xbpm3y: + description: X-ray beam position y monitor 1 in ESbox1 + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: B + host: x12sa-eb-smaract-mcs-04.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: 1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +sl3trxi: + description: ESbox1 slit 3 inner blade movement + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: C + host: x12sa-eb-smaract-mcs-04.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: -1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +sl3trxo: + description: ESbox1 slit 3 outer blade movement + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: D + host: x12sa-eb-smaract-mcs-04.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: -1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +sl3trxb: + description: ESbox1 slit 3 bottom blade movement + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: E + host: x12sa-eb-smaract-mcs-04.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: 1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +sl3trxt: + description: ESbox1 slit 3 top blade movement + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: F + host: x12sa-eb-smaract-mcs-04.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: 1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +fast_shutter_n1_x: + description: ESbox1 New fast shutter 1 x movment + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: H + host: x12sa-eb-smaract-mcs-01.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: -1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +fast_shutter_o1_x: + description: ESbox1 Old fast shutter 1 x movment + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: G + host: x12sa-eb-smaract-mcs-01.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: -1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +fast_shutter_o2_x: + description: ESbox1 Old fast shutter 2 x movment + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: F + host: x12sa-eb-smaract-mcs-01.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: -1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +filter_array_1_x: + description: ESbox1 Filter Array 1 x movment + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: B + host: x12sa-eb-smaract-mcs-01.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: -1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +filter_array_2_x: + description: ESbox1 Filter Array 2 x movment + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: C + host: x12sa-eb-smaract-mcs-01.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: -1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +filter_array_3_x: + description: ESbox1 Filter Array 3 x movment + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: D + host: x12sa-eb-smaract-mcs-01.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: -1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +filter_array_4_x: + description: ESbox1 Filter Array 4 x movment + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: E + host: x12sa-eb-smaract-mcs-01.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: -1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +sl4trxi: + description: ESbox1 slit 4 inner blade movement + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: G + host: x12sa-eb-smaract-mcs-04.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: -1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +sl4trxo: + description: ESbox1 slit 4 outer blade movement + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: H + host: x12sa-eb-smaract-mcs-04.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: -1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +sl4trxb: + description: ESbox1 slit 4 bottom blade movement + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: I + host: x12sa-eb-smaract-mcs-04.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: 1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +sl4trxt: + description: ESbox1 slit 4 top blade movement + deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor + deviceConfig: + axis_Id: A + host: x12sa-eb-smaract-mcs-01.psi.ch + limits: + - -200 + - 200 + port: 5000 + sign: 1 + # precision: 3 + # tolerance: 0.005 + enabled: true + onFailure: buffer + readOnly: false + readoutPriority: baseline + +################## XBOX 2 ES ##################### + +# sl5trxi: +# description: ESbox2 slit 5 inner blade movement +# deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor +# deviceConfig: +# axis_Id: C +# host: x12sa-eb-smaract-mcs-02.psi.ch +# limits: +# - -200 +# - 200 +# port: 5000 +# sign: 1 +# # precision: 3 +# # tolerance: 0.005 +# enabled: true +# onFailure: buffer +# readOnly: false +# readoutPriority: baseline + +# sl5trxo: +# description: ESbox2 slit 5 outer blade movement +# deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor +# deviceConfig: +# axis_Id: D +# host: x12sa-eb-smaract-mcs-02.psi.ch +# limits: +# - -200 +# - 200 +# port: 5000 +# sign: 1 +# # precision: 3 +# # tolerance: 0.005 +# enabled: true +# onFailure: buffer +# readOnly: false +# readoutPriority: baseline + +# sl5trxb: +# description: ESbox2 slit 5 bottom blade movement +# deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor +# deviceConfig: +# axis_Id: E +# host: x12sa-eb-smaract-mcs-02.psi.ch +# limits: +# - -200 +# - 200 +# port: 5000 +# sign: 1 +# # precision: 3 +# # tolerance: 0.005 +# enabled: true +# onFailure: buffer +# readOnly: false +# readoutPriority: baseline + +# sl5trxt: +# description: ESbox1 slit 5 top blade movement +# deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor +# deviceConfig: +# axis_Id: F +# host: x12sa-eb-smaract-mcs-02.psi.ch +# limits: +# - -200 +# - 200 +# port: 5000 +# sign: 1 +# # precision: 3 +# # tolerance: 0.005 +# enabled: true +# onFailure: buffer +# readOnly: false +# readoutPriority: baseline + +# xbimtrx: +# description: ESbox2 beam intensity monitor x movement +# deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor +# deviceConfig: +# axis_Id: A +# host: x12sa-eb-smaract-mcs-02.psi.ch +# limits: +# - -200 +# - 200 +# port: 5000 +# sign: 1 +# # precision: 3 +# # tolerance: 0.005 +# enabled: true +# onFailure: buffer +# readOnly: false +# readoutPriority: baseline + +# xbimtry: +# description: ESbox2 beam intensity monitor y movement +# deviceClass: csaxs_bec.devices.smaract.smaract_ophyd.SmaractMotor +# deviceConfig: +# axis_Id: B +# host: x12sa-eb-smaract-mcs-02.psi.ch +# limits: +# - -200 +# - 200 +# port: 5000 +# sign: 1 +# # precision: 3 +# # tolerance: 0.005 +# enabled: true +# onFailure: buffer +# readOnly: false +# readoutPriority: baseline diff --git a/csaxs_bec/devices/smaract/smaract_controller.py b/csaxs_bec/devices/smaract/smaract_controller.py index 8b2e513..6107329 100644 --- a/csaxs_bec/devices/smaract/smaract_controller.py +++ b/csaxs_bec/devices/smaract/smaract_controller.py @@ -70,7 +70,7 @@ class SmaractSensors: class SmaractController(Controller): - _axes_per_controller = 6 + _axes_per_controller = 9 _initialized = False USER_ACCESS = [ "socket_put_and_receive",