[INSTRM-557] add motors focus command and keyword Created: 24/Oct/18  Updated: 22/Apr/22  Resolved: 22/Apr/22

Status: Done
Project: Instrument control development
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: arnaud.lefur Assignee: cloomis
Resolution: Done Votes: 0
Labels: SM1, SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
is blocked by INSTRM-215 persist ccd motor positions Done
Relates
relates to INSTRM-1220 persist and regenerate motor position... Open
Story Points: 2
Sprint: SM1PD-2020 A, SM1PD-2020 B, SM1PD-2020 C, SM1PD-2020 G, SM1PD-2020 K, SM1PD-2020 G2, SM1PD-2020 H, SM1PD-2020 J, SM1PD-2020 M, SM1PD-2020 L, SM1PD-2020 N, SM1PD-2021 A, SM1PD-2021 A 2, SM1PD-2021 A 3, SM1PD-2021 A 4, SM1PD-2021 A 5, SM1PD-2021 A 6, SM1PD-2021 A7, SM1PD-2021 A8, SM1PD-2021 A9, SM1PD-2021 A10, SM1PD-2021 A 11, SM1PD-2021 A 12, SM1PD-2021 A 13, SM1PD-2021 A 14

 Description   

When the detector will be focused, we will end up with 3 motor positions that will become their nominal positions.

I suspect we'll store those positions somewhere (ics_config?) . 

Adding a few functionalities would be useful:

  • xcu motors move focus command to go straight to that positions 
  • xcu motors fullInit (fullInit is certaintly not the correct denomination), What I imply by that is doing an initCcd, homeCcd and move focus in one command
  • motors focus keyword, that describe if the current position is nominal or not : Key('motorsPosition', Enum('focus', 'undef')

 



 Comments   
Comment by hassan [ 04/Jun/20 ]

Halfway done. Expect to complete in 2 weeks.

Comment by hassan [ 14/Aug/21 ]

Need hardware to test this against at the moment.

Comment by cloomis [ 22/Apr/22 ]

Merged at 162fda0, tagged 2.0.5

Added moveFocus microns=N [@abs] command, which applies the pfs_instdata fpa.tilt and fpa.focus configurations. By default moves are relative to the nominal focus position. If abs is passed in, the move does not apply the nominal focus offset.

This also includes the motors @(toFocus|toCenter|nearHome|nearFar) convenience command, which uses the same {{fpa.xxx}{ configuration.

The keyword changes have not been made.

Generated at Sat Feb 10 16:26:15 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.