Alignment›Alignment
#14718
Problem in communication between Alp and Qa
We found a failure in a cm command issued by Alp to the Qa82.
During Step 8 Alp send an AMove command (Absolute Move) to the end quadrant stage:
CMD_CM Qa72 AMove -text "Pr_B7_q1" -int -6478 -int 10910
CMD_CM Qa72 AMove -text "Pr_B7_q2" -int -71360 -int 11390
CMD_CM Qa82 AMove -text "Pr_B8_q1" -int 41110 -int 28370
CMD_CM Qa82 AMove -text "Pr_B8_q2" -int -56910 -int 36150
By looking at the Alp log file, the commands are correctly sent:
Jan12,07-18:51:02>INFO...-> At GPS852659473-FR16081 - Cm send -to Qa72 -type AMove -text "Pr_B7_q1" -int -6478 -int 10910 (OK)
Jan12,07-18:51:02>INFO...-> At GPS852659473-FR16081 - Cm send -to Qa72 -type AMove -text "Pr_B7_q2" -int -71360 -int 11390 (OK)
Jan12,07-18:51:02>INFO...-> At GPS852659473-FR16081 - Cm send -to Qa82 -type AMove -text "Pr_B8_q1" -int 41110 -int 28370 (OK)
Jan12,07-18:51:02>INFO...-> At GPS852659473-FR16081 - Cm send -to Qa82 -type AMove -text "Pr_B8_q2" -int -56910 -int 36150 (OK)
but, it seems that the Qa82 does not receive one command. In fact, by looking at the Qa82 log file:
Jan12,07-18:51:00>INFO...-QaCmStop> Motor 0 stopped by AlpMain
Jan12,07-18:51:00>INFO...-QaCmStop> Motor 1 stopped by AlpMain
Jan12,07-18:51:01>INFO...-QaCmAMove> Motor 0 moved to 41110, 28370 by AlpMain
Jan12,07-19:29:43>INFO...-CfgOut> ClBenchesE.ctrl15.virgo.infn.it.23191 [5, 1, UIRqInfo, dynamic, , ].
Jan12,07-20:48:34>INFO...-QaCmAuto> AutoCentering for Quadrant 0 disabled by AlpAli
Only the command sent to the Motor 0 (q81) was received and executed.
Since the log is executed inside the cm handler, we should conclude that the Qa82 does not receive, or was not able to correctly handle, the last cm command.
It should check if by inserting a WAIT 1 between the two command may avoid this exception (maybe the handler is still busy with the first command when the second one arrives).
BTW in the previous lock acquisition the communication worked fine:
Jan12,07-17:47:41>INFO...-QaCmStop> Motor 0 stopped by AlpMain
Jan12,07-17:47:41>INFO...-QaCmStop> Motor 1 stopped by AlpMain
Jan12,07-17:47:43>INFO...-QaCmAMove> Motor 0 moved to 41110, 28370 by AlpMain
Jan12,07-17:47:43>INFO...-QaCmAMove> Motor 1 moved to -56910, 36150 by AlpMain