Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STI insertion device (13 devices, including two at 4ID) #977

Closed
Tracked by #973
prjemian opened this issue May 24, 2024 · 6 comments · Fixed by #996
Closed
Tracked by #973

STI insertion device (13 devices, including two at 4ID) #977

prjemian opened this issue May 24, 2024 · 6 comments · Fixed by #996
Assignees
Milestone

Comments

@prjemian
Copy link
Contributor

prjemian commented May 24, 2024

image

@prjemian
Copy link
Contributor Author

prjemian commented Jun 6, 2024

$ ls /APSshare/adlsys/*/*/*/*/*/STI_newIDControl.adl
    /APSshare/adlsys/screens/adl/iocs/idctl/adl_BL/STI_newIDControl.adl  /APSshare/adlsys/screens/adl/iocs/idctl/adl_New/STI_newIDControl.adl

or

bash

$ find /APSshare/adlsys/screens/adl -name STI_newIDControl.adl
/APSshare/adlsys/screens/adl/iocs/idctl/adl_BL/STI_newIDControl.adl
/APSshare/adlsys/screens/adl/iocs/idctl/adl_New/STI_newIDControl.adl

@prjemian
Copy link
Contributor Author

prjemian commented Jun 6, 2024

The two files are identical (timestamp, size, cksum).

 $ grep chan= /APSshare/adlsys/screens/adl/iocs/idctl/adl_BL/STI_newIDControl.adl
		chan="$(P):StopC.VAL"
		chan="$(P):DeviceM"
		chan="$(P):Message2M.VAL"
		chan="$(P):Message1M.VAL"
		chan="$(P):EnergyM.VAL"
		chan="$(P):GapSetC.VAL"
		chan="$(P):EnergySetC.VAL"
		chan="$(P):GapM.VAL"
		chan="$(P):LocationM"
		chan="$(P):StartC.VAL"
		chan="$(P):DeviceLimitM.VAL"
		chan="$(P):DeadbandGapC"
		chan="$(P):AccessSecurityC.VAL"
		chan="$(P):TaperGapSetC.VAL"
		chan="$(P):TaperEnergySetC.VAL"
		chan="$(P):TaperEnergyM.VAL"
		chan="$(P):TaperGapM.VAL"
		chan="$(P):HarmonicValueC"
		chan="$(P):PLCVersionM.VAL"
		chan="$(P):TotalPowerM.VAL"
		chan="$(P):AccessSecurityC"
		chan="$(P):OptimumTaperM.VAL"
		chan="$(P):STIVersionM.VAL"
		chan="$(P):DeviceMagnetM"

@prjemian
Copy link
Contributor Author

prjemian commented Jun 6, 2024

Prefix for 4-ID upstream insertion device: S04ID:USID:. Downstream similar, such as:

lift% caget S04ID:{U,D}SID:DeviceM
S04ID:USID:DeviceM             APS30#4
S04ID:DSID:DeviceM             APS30#9

@prjemian
Copy link
Contributor Author

prjemian commented Jun 6, 2024

Energy upstream downstream
setpoint S04ID:USID:EnergySetC 11.3812 S04ID:DSID:EnergySetC 140
readback S04ID:USID:EnergyM 11.3812 S04ID:DSID:EnergyM 11.3812

@prjemian
Copy link
Contributor Author

prjemian commented Jul 2, 2024

Curious. Today, the gap control screen for 04US, as started from the ID_Main.adl screen, is for the Planar undulator PVs, using the S04US PVs.
image

Digging around a bit, I found the STI screen and compared. From the user perspective, the controls seem identical. Let's start the ophyd Device for the STI using the same pattern as for Planar.

class STI_InsertionDevice(ID_Spectrum_Mixin, ID_Controls_Mixin, ID_Misc_Mixin, Device):
    """Same PVs as APS Planar Undulator."""

@gfabbris
Copy link
Collaborator

gfabbris commented Jul 2, 2024

As far as I understand the STI undulators are all planar undulators, but are produced by STI Optronics instead of in-house.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants