[INSTRM-105] Motor A homing using raw command is not working anymore Created: 03/Apr/17 Updated: 20/Oct/17 Resolved: 27/Apr/17 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | ics_xcuActor |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Normal |
| Reporter: | fmadec | Assignee: | cloomis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Using the new version of xcu actor, the homing using the raw command aM1zXXXXXR has no effect on the motor status. It remains as Unknown so no move is possible wihtout using force option. 09:15:46.397061 .hub 0 cmds d CmdIn="client.pfs","xcu_r1","motors raw=aM1D6R" 09:15:46.397978 .hub 0 cmds d CmdQueued=4759268,1491210946.39,"client.pfs",19,"xcu_r1",63,"motors raw=aM1D6R" 09:15:46.419465 client.pfs 19 xcu_r1 d text="sending '~@,T10000,/1aM1D6R'" 09:15:46.461039 client.pfs 19 xcu_r1 d text="received '/0@'" 09:15:46.461778 client.pfs 19 xcu_r1 : text="returned " 09:15:46.462420 .hub 0 cmds d CmdDone=4759268,":" 09:24:08.209995 .hub 0 cmds d CmdIn="client.pfs","xcu_r1","motors raw=aM1z65856R" 09:24:08.210929 .hub 0 cmds d CmdQueued=4759838,1491211448.21,"client.pfs",29,"xcu_r1",73,"motors raw=aM1z65856R" 09:24:08.252666 client.pfs 29 xcu_r1 d text="sending '~@,T10000,/1aM1z65856R'" 09:24:08.294523 client.pfs 29 xcu_r1 d text="received '/0@'" 09:24:08.296047 client.pfs 29 xcu_r1 : text="returned " 09:24:08.296886 .hub 0 cmds d CmdDone=4759838,":" 09:24:11.099386 .hub 0 cmds d CmdIn="client.pfs","xcu_r1","motors status" 09:24:11.100215 .hub 0 cmds d CmdQueued=4759840,1491211451.08,"client.pfs",30,"xcu_r1",74,"motors status" 09:24:11.121694 client.pfs 30 xcu_r1 d text="waiting 2.000s for for idle" 09:24:11.163346 client.pfs 30 xcu_r1 d text="not busy after 0.00s" 09:24:11.164172 client.pfs 30 xcu_r1 d text="sending '~@,T10000,/1aM1R'" 09:24:11.205716 client.pfs 30 xcu_r1 d text="received '/0@'" 09:24:11.206707 client.pfs 30 xcu_r1 d text="sending '~@,T10000,/1?aa1'" 09:24:11.409588 client.pfs 30 xcu_r1 d text="received '/0`15,31'" 09:24:11.410485 client.pfs 30 xcu_r1 d text="sending '~@,T10000,/1?0'" 09:24:11.452048 client.pfs 30 xcu_r1 d text="received '/0`65856'" 09:24:11.452992 client.pfs 30 xcu_r1 i ccdMotor1=Unknown,0,0,4116,346.77 09:24:11.453858 client.pfs 30 xcu_r1 d text="sending '~@,T10000,/1aM2R'" 09:24:11.636685 client.pfs 30 xcu_r1 d text="received '/0@'" 09:24:11.637566 client.pfs 30 xcu_r1 d text="sending '~@,T10000,/1?aa2'" 09:24:11.679188 client.pfs 30 xcu_r1 d text="received '/0`15,16'" 09:24:11.680199 client.pfs 30 xcu_r1 d text="sending '~@,T10000,/1?0'" 09:24:11.883011 client.pfs 30 xcu_r1 d text="received '/0`59680'" 09:24:11.884048 client.pfs 30 xcu_r1 i ccdMotor2=OK,0,0,3730,319.97 09:24:11.884880 client.pfs 30 xcu_r1 d text="sending '~@,T10000,/1aM3R'" 09:24:11.926670 client.pfs 30 xcu_r1 d text="received '/0@'" 09:24:11.927599 client.pfs 30 xcu_r1 d text="sending '~@,T10000,/1?aa3'" 09:24:12.130346 client.pfs 30 xcu_r1 d text="received '/0`16335,15'" 09:24:12.131375 client.pfs 30 xcu_r1 d text="sending '~@,T10000,/1?0'" 09:24:12.173041 client.pfs 30 xcu_r1 d text="received '/0`56988'" 09:24:12.174076 client.pfs 30 xcu_r1 w text="motor 3 is not at a full step: 56988 microsteps" 09:24:12.174922 client.pfs 30 xcu_r1 i ccdMotor3=Unknown,0,1,3561,305.14 09:24:12.175721 client.pfs 30 xcu_r1 : |
| Comments |
| Comment by cloomis [ 03/Apr/17 ] |
|
What does the raw command do that home axes=a doesn't? |
| Comment by fmadec [ 03/Apr/17 ] |
|
Remember that the motor A dose not home correctly due to a mechanical interference (probably) |
| Comment by cloomis [ 03/Apr/17 ] |
|
I completely forgot that when tightening up the moving logic. Am tagging a new version which does not enforce homing on axis A if there is a config entry: [hacks]
brokenLAMr1A = true
|
| Comment by cloomis [ 03/Apr/17 ] |
|
Please test 1.6.1, after adding the listed config entry. |
| Comment by cloomis [ 27/Apr/17 ] |
|
LAM-only fix installed in 1.6.1 |
| Comment by fmadec [ 11/Jul/17 ] |
|
Hi Caig, unfortunately, motor A is not homing again. So we need this hack again... Fabrice |
| Comment by cloomis [ 12/Jul/17 ] |
|
Just set the variable in the config file again. Then ccd_r1 reloadConfiguration. |