SKF Fermi Chopper. Under construction. Nick Hauser 2009-03-31 15:50 Commands This chapter is untested documentation. It was inherited from the velocity selector documentation, with alterations based on an email from Ferdi to Andy on 11th May 2011. The Mirrortron/SKF fermi chopper is a SICS script context object???. There are 2 choppers, the master chopper which uses the prefix mch and the slave chopper sch. There should be 2 parts, the script context object, which has the name /instrument/fermi_chopper and the 2 driveable interfaces to the object, which have the names mchs for speed and mchp for phase. Hence you can drive and run the mchs and mchp. With the master/slave chopper setup, the slave indicates the controller is in PHASE CONTROL MODE to a master controller. This is required if the slave controller is operating sub-synchronously to the REFERENCE parameter. To get other parameters use hget or /instrument/fermi_chopper/. hset doesn't work for these nodes. drive mchs rpm Units: RPM Runs the fermi chopper to rpm Allowed values mchs (master), schs (slave) drive mchp phase Units: ns??? Allowed values mchp (master), schp (slave) hlist /instrument/fermi_chopper Lists all the fermi_chopper nodes hset /instrument/fermi_chopper/chopper/node val Set val on a node of chopper hget /instrument/fermi_chopper/chopper/node Get the value of a chopper/node The fermi chopper is under the /instrument/fermi_chopper node in hipadaba, which is where it will be found when using the Gumtree TableTree. This complies with the NeXus standard. Parameters For more detailed description of these parameter, please see the MIRRORTRON/SKF chopper manual in the NBI content management system. /instrument/fermi_chopper/chopper/ e.g. /instrument/fermi_chopper/mch. Contains all the chopper specific parameters hget /instrument/fermi_chopper/chopper/device_error CHECK this section ???. Inherited from velocity selector documentation Description??? hget /instrument/fermi_chopper/chopper/rotation_speed Units = rpm Get the actual speed hget /instrument/fermi_chopper/chopper/phase_veto_count VETO is the number of TDC pulses that have fallen outside the veto window or occurred when a Reference Loss alarm was present since the veto count was last reset. hget /instrument/fermi_chopper/chopper/phase_nonveto_count NON_VETO is the number of TDC pulses that fall inside the veto window without Reference Loss alarm being present since the veto count was last reset hget /instrument/fermi_chopper/chopper/phase_acc Units = µs PHASE ACCURACY is calculated as the mean value of phase errors. PHASE ACCURACY should equal the PHASE DELAY motor parameter when the machine is phased locked hget /instrument/fermi_chopper/chopper/phase_rep Units = µs PHASE REPEATABILITY is the standard deviation of phase. hget /instrument/fermi_chopper/chopper/phase_ok Units = % PHASE OK is the percentage of TDC pulses that fall in a time window centered around the Reference-In pulse adjusted for PHASE DELAY. The width of time window is defined by the VETO WINDOW parameter. hset hget /instrument/fermi_chopper/chopper/vetowin100ns Units = 100ns This command sets the VETO WINDOW parameter in volatile memory. (This parameter returns to its default value when the controller is re-powered.) hset hget /instrument/fermi_chopper/chopper/vetowin50ns Units = 50ns This command sets the VETO WINDOW parameter in volatile memory. (This parameter returns to its default value when the controller is re-powered.) Although the parameter is sent with resolution of 10ns, it will be rounded and used with precision of 50ns. hset hget /instrument/fermi_chopper/chopper/mode Sets the MOTOR CONTROL MODE (0=RPM, 1=PHASE) hset hget /instrument/fermi_chopper/chopper/speed_setpt Units = RPM This command sets RUN SPEED set point parameter value in non-volatile memory. This only sets this value, it does not run the motor to this value. hset hget /instrument/fermi_chopper/chopper/prop_gain Sets the motor control proportional gain parameter and saves it in non-volatile memory. hset hget /instrument/fermi_chopper/chopper/int_gain Sets the motor control integral gain parameter and saves it in non-volatile memory hset hget /instrument/fermi_chopper/chopper/phase_gain Sets the motor control phase gain parameter and saves it in non-volatile memory. hset hget /instrument/fermi_chopper/chopper/ref_delay Units = ms Sets the phasing time delay and saves it in non-volatile memory hset hget /instrument/fermi_chopper/chopper/ref_period Units = ns Sets the reference period and saves it in non-volatile memory hset hget /instrument/fermi_chopper/chopper/sync_srce Sets the sync source (0=external, 1=internal) hset hget /instrument/fermi_chopper/chopper/motdir Sets the motor direction (0=CW, 1=CCW) hset hget /instrument/fermi_chopper/chopper/idle_toggle ??? /instrument/fermi_chopper/chopper/system_status e.g. /instrument/fermi_chopper/mch/system_status. Contains the system status, which are chopper specific. hget only. These are read-only binary, allowed values 0 or 1. hget /instrument/fermi_chopper/chopper/system_status/avc_on gets the ??? 1=true, 0=false hget /instrument/fermi_chopper/chopper/system_status/motdir gets the motor direction (0=CW, 1=CCW) hget /instrument/fermi_chopper/chopper/system_status/phase_locked 1=TDC signal is locked to reference signal. This corresponds to the PHASE LOCK relay contact. hget /instrument/fermi_chopper/chopper/system_status/lev_complete 1=Rotor is Levitated hget /instrument/fermi_chopper/chopper/system_status/alarm 1=Shutdown is latched. The state of this bit matches the status of the front panel Fault LED and the SHUTDOWN relay contact. hget /instrument/fermi_chopper/chopper/system_status/run 1=Permission to run motor. This is given when the RUN bit is set and the SHUTDOWN bit is not set. This indicates levitation complete AND position shutdown alarms are enabled. It matches the status of the RUN relay contact. hget /instrument/fermi_chopper/chopper/system_status/up_to_speed 1=Speed is within 1% of the OPERATING SPEED parameter hget /instrument/fermi_chopper/chopper/system_status/ok 1=Controller is able and ready to levitate, or is levitating. This corresponds with the REALY LED flashing or being steady green /instrument/fermi_chopper/chopper/intlck_status e.g. /instrument/fermi_chopper/mch/intlck_status. Contains the interlock status. Check here if a chopper won't do as it is commanded. To run a chopper, all these status must be 0. hget only. These are read-only binary, allowed values 0 or 1. hget /instrument/fermi_chopper/chopper/intlck_status/test_mode 1=Test mode active (rotation prevented). hget /instrument/fermi_chopper/chopper/intlck_status/cc_shutdown_req 1= Motor controller requests shutdown of levitation controller because it has detected a shutdown condition. hget /instrument/fermi_chopper/chopper/intlck_status/dsp_summ_shtdwn 1= DSP Summary Shutdown. Levitation controller request a motor shutdown. hget /instrument/fermi_chopper/chopper/intlck_status/cooling_loss 1 = Cooling Loss Shutdown hget /instrument/fermi_chopper/chopper/intlck_status/spd_sensor_loss 1 = Speed Sensor Loss Shutdown hget /instrument/fermi_chopper/chopper/intlck_status/ref_sig_loss 1 = Reference Signal Loss hget /instrument/fermi_chopper/chopper/intlck_status/over_temp 1= Motor Over Temperature Shutdown or RTD Over Temperature Shutdown. hget /instrument/fermi_chopper/chopper/intlck_status/vac_fail 1 = Vacuum Fail Shutdown hget /instrument/fermi_chopper/chopper/intlck_status/overspeed_or_breakfail 1 = Over Speed Trip Shutdown or Motor Brake Fail Shutdown hget /instrument/fermi_chopper/chopper/intlck_status/cc_wd_fail 1 = Customer Card Watch Dog Fail Shutdown hget /instrument/fermi_chopper/chopper/intlck_status/ext_fault 1 = External Fault Shutdown hget /instrument/fermi_chopper/chopper/intlck_status/ups_fail 1= UPS Fail Shutdown hget /instrument/fermi_chopper/chopper/intlck_status/emerg_stop 1 = Emergency Stop Shutdown hget /instrument/fermi_chopper/chopper/intlck_status/pos_alarm 1 = Position Shutdown on one of the bearing axis hget /instrument/fermi_chopper/chopper/intlck_status/osc_fail 1 = Oscillator Fail Shutdown. hget /instrument/fermi_chopper/chopper/intlck_status/dsp_wd_fail 1 = DSP Watch Dog Fail Shutdown /instrument/fermi_chopper/chopper/control/ e.g. /instrument/fermi_chopper/mch/control. Contains the settable parameters that control the chopper. hget /instrument/fermi_chopper/chopper/control/device_error ??? is this the overall error state hget /instrument/fermi_chopper/chopper/control/set_vetowin100 1= Motor controller requests shutdown of levitation controller because it has detected a shutdown condition. hget /instrument/fermi_chopper/chopper/control/set_vetowin50 1= DSP Summary Shutdown. Levitation controller request a motor shutdown. hget /instrument/fermi_chopper/chopper/control/set_mode 1 = Cooling Loss Shutdown hget /instrument/fermi_chopper/chopper/control/set_rotspeed 1 = Speed Sensor Loss Shutdown hget /instrument/fermi_chopper/chopper/control/set_prop_gain 1 = Reference Signal Loss hget /instrument/fermi_chopper/chopper/control/set_int_gain 1= Motor Over Temperature Shutdown or RTD Over Temperature Shutdown. hget /instrument/fermi_chopper/chopper/control/set_phase_gain 1 = Vacuum Fail Shutdown hget /instrument/fermi_chopper/chopper/control/set_ref_delay 1 = Over Speed Trip Shutdown or Motor Brake Fail Shutdown hget /instrument/fermi_chopper/chopper/control/set_ref_period 1 = Customer Card Watch Dog Fail Shutdown hget /instrument/fermi_chopper/chopper/control/set_sync_source 1 = External Fault Shutdown hget /instrument/fermi_chopper/chopper/control/set_motor_dir 1= UPS Fail Shutdown hget /instrument/fermi_chopper/chopper/control/start 1 = Emergency Stop Shutdown hget /instrument/fermi_chopper/chopper/control/stop 1 = Position Shutdown on one of the bearing axis hget /instrument/fermi_chopper/chopper/control/idle_toggle 1 = Oscillator Fail Shutdown. hget /instrument/fermi_chopper/chopper/control/reset 1 = DSP Watch Dog Fail Shutdown