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

Improves dfanout and seq snippets #62

Open
vnadot opened this issue Jun 15, 2022 · 1 comment
Open

Improves dfanout and seq snippets #62

vnadot opened this issue Jun 15, 2022 · 1 comment
Assignees

Comments

@vnadot
Copy link
Collaborator

vnadot commented Jun 15, 2022

add all the "Write Parameters" (8 for dfanout, 10 for seq)

https://epics.anl.gov/EpicsDocumentation/AppDevManuals/RecordRef/Recordref-17.html
https://epics.anl.gov/EpicsDocumentation/AppDevManuals/RecordRef/Recordref-34.html

@vnadot vnadot self-assigned this Jun 15, 2022
@vnadot
Copy link
Collaborator Author

vnadot commented Oct 13, 2022

Add a dedicated snippet for all SELM. Here is for "all"

# reset scope and chopper alarm counter
record(seq, "${P=CEA:}ResetAfterPmSeq0") {
    field(DESC, "reset scope and chop alrm cnt after PM")
    field(SELM, "All")
    # OUT 0 : reset scope
    field(DOL0, "${P=CEA:}PmRstRb CP")                 # get value to write from this PV
    field(LNK0, "SL-MPS-SBCT:MPS-ADCS-1:NSMP.PROC PP") # write value to this PV
    field(DLY0, "0.0") # sec
    # OUT 1: chopper - reset chopper max time response
    field(DOL1, "${P=CEA:}PmRstRb")
    field(LNK1, "${P=CEA:}ChopMaxResponseTimeRstCmd PP")
    field(DLY1, "0.0") # sec
    # OUT 2: chopper - reset counter
    field(DOL2, "${P=CEA:}PmRstRb")
    field(LNK2, "${P=CEA:}ChopAlrmRstCmd PP")
    field(DLY2, "0.0") # sec
}

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

No branches or pull requests

1 participant