Skip to content

Iss9 mono move#24

Open
mdwyman wants to merge 2 commits into
masterfrom
iss9_monoMove
Open

Iss9 mono move#24
mdwyman wants to merge 2 commits into
masterfrom
iss9_monoMove

Conversation

@mdwyman
Copy link
Copy Markdown
Contributor

@mdwyman mdwyman commented May 22, 2026

In issue #9, the mono would get stuck in "Moving" state when attempting to set energy to current energy in auto mode (can easily happen when running experiments from Bluesky). The AO control PVs (Energy, Bragg, Lambda) will not cause any monitors to process but each PV will (via forward link) cause the mono's busy signal to be set to busy (aka "Moving"). The sequence program is responsible for "un-setting" the busy (aka Done) but since none of the AO control PVs cause a monitor to process, the sequence program doesn't leave it's waitForCMND state.

Two solutions were found:

  • Setting MDEL of the AO controls PVs to -1 -- this will cause monitors to process even though PV value is unchanged (effectively turns off any deadband checks)
  • Adding a monitor for the mono's busy PV to the sequence program along with a state for when the busy is changed. In this new state, if none of the control flags were set, it will still move to change states for the control PVs

The first solution doesn't require any changes in the underlying EPICS or sequence program support, so it can be used for older version of the optics module.

The second solution does requires the changes made in this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant