> - There was a bug in the INJ_MAIN metatron, the channel BPC.ML_TH_OFFS was not recognized and threw a connection error everytime it was used. Maybe it doesn't have a gname yet? This crashed the metatron a few times, we ended up commenting the command (line 307 of INJ_MAIN.py).
The ML_TH_OFFS gname was added to the BPC card but then we forgot to do the update from the BPC Gains Client to make it available at Tango level. This has been done and command reactivated. This bug may have been triggered some of the other malfunctioning (FIXED).
> - The setpoint for the MC F0 Z position was wrong. This setpoint is stored in the INJ_MAIN.ini file, but apparently the correct value changes. Partway through the shift we realized that the old setpoint (-13786) was moving the MC mirror to about 1mm away from the good value. Is there another input to the MC F0 Z control, something that integrates up to a large value and changes the nominal setpoint? We changed the setpoint in the ini file to -14876, and this restored the Sa_MC_F0_Z position back to the right place (about -750um).
The logic has been updated using Sa_MC_F0_Z, to derive reference and current position, instead of MC.F0_Z_SET and the same approach as on the SUS_XX nodes namely:
-
The delta between mc_z_ref on the
.inifile and the current position from LVDT (Sa_MC_F0_Z) is calculated; - The new DSP setpoint is calculated by adding the delta to the current DSP setting;
- The new setpoint is applied to the DSP
(Supposedly FIXED)
> - A few times the IMC would not relock, we had to use the same off-on trick as Franco this morning.
A check has been added on the relock waiting loops. If they exeed 5min then the off-on trick is automatically applied. This is done only once, if not effective then the state machine is brough to END waiting for manual recovery (Supposedly FIXED)
> We also noticed that the INJ_MAIN metatron states associated with Fmoderr are "redirect=False" states, so if the metatron gets stuck in one of these states it's impossible to leave - for example, we can't request DOWN if we are stuck in FMODERR_TUNING. Probably this is by design to protect us from leaving the state too soon, but a few times tonight the metatron process appeared to freeze in some of these states and the log messages were not enough to help us figure out the problem. So we restarted the metatron process...not the best solution.
In order to prevent incorrect redirections, the "redirect=False" must stay for those states. It is always possible to exit from this deadlock on the metamedm interface by first requesting INIT and then DOWN
The settings of the IMC control has been reviewed and tuned by the INJ team and few further tests of this updated version of FModErr made. The behavior will be kept monitored in the coming days.