Skip to content
Snippets Groups Projects
Commit bc0dda29 authored by Juliano Murari's avatar Juliano Murari
Browse files

Add template and subs files for differential interlock PVs

parent 6231d3e1
No related branches found
No related tags found
1 merge request!47PBIBCM-241 Add differential interlock enable/disable
Pipeline #196055 passed
#=================================================================#
# Template file: sis8300bcm-diff-lut-interlock.template
# Database for the records of differential interlock LUT based on
# the beam destination
# Juliano Murari
# August 21, 2024
record(bo, "$(P)$(R)Lut$(N)InterlockEnable")
{
field(DTYP, "asynInt32")
field(OUT, "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))BCM.LUT$(N).INTERLOCK_ENABLE")
field(ZNAM, "Disable")
field(ONAM, "Enable")
field(VAL, "0")
field(ASG, "critical")
info(autosaveFields, "VAL")
}
record(bi, "$(P)$(R)Lut$(N)InterlockEnableR")
{
field(DTYP, "asynInt32")
field(INP, "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))BCM.LUT$(N).INTERLOCK_ENABLE")
field(SCAN, "I/O Intr")
field(ZNAM, "Disabled")
field(ONAM, "Enabled")
}
file sis8300bcm-diff-lut-interlock.template
{
pattern { P, ADDR R, N }
{ $(P), 0, DF1, 1 }
{ $(P), 0, DF1, 2 }
{ $(P), 0, DF1, 3 }
{ $(P), 0, DF1, 4 }
{ $(P), 0, DF1, 5 }
{ $(P), 0, DF1, 6 }
{ $(P), 0, DF1, 7 }
{ $(P), 0, DF1, 8 }
{ $(P), 0, DF1, 9 }
{ $(P), 0, DF1, 10 }
{ $(P), 0, DF1, 11 }
{ $(P), 0, DF1, 12 }
{ $(P), 0, DF1, 13 }
{ $(P), 0, DF1, 14 }
{ $(P), 0, DF1, 15 }
{ $(P), 0, DF1, 16 }
{ $(P), 1, DF2, 1 }
{ $(P), 1, DF2, 2 }
{ $(P), 1, DF2, 3 }
{ $(P), 1, DF2, 4 }
{ $(P), 1, DF2, 5 }
{ $(P), 1, DF2, 6 }
{ $(P), 1, DF2, 7 }
{ $(P), 1, DF2, 8 }
{ $(P), 1, DF2, 9 }
{ $(P), 1, DF2, 10 }
{ $(P), 1, DF2, 11 }
{ $(P), 1, DF2, 12 }
{ $(P), 1, DF2, 13 }
{ $(P), 1, DF2, 14 }
{ $(P), 1, DF2, 15 }
{ $(P), 1, DF2, 16 }
{ $(P), 2, DF3, 1 }
{ $(P), 2, DF3, 2 }
{ $(P), 2, DF3, 3 }
{ $(P), 2, DF3, 4 }
{ $(P), 2, DF3, 5 }
{ $(P), 2, DF3, 6 }
{ $(P), 2, DF3, 7 }
{ $(P), 2, DF3, 8 }
{ $(P), 2, DF3, 9 }
{ $(P), 2, DF3, 10 }
{ $(P), 2, DF3, 11 }
{ $(P), 2, DF3, 12 }
{ $(P), 2, DF3, 13 }
{ $(P), 2, DF3, 14 }
{ $(P), 2, DF3, 15 }
{ $(P), 2, DF3, 16 }
{ $(P), 3, DF4, 1 }
{ $(P), 3, DF4, 2 }
{ $(P), 3, DF4, 3 }
{ $(P), 3, DF4, 4 }
{ $(P), 3, DF4, 5 }
{ $(P), 3, DF4, 6 }
{ $(P), 3, DF4, 7 }
{ $(P), 3, DF4, 8 }
{ $(P), 3, DF4, 9 }
{ $(P), 3, DF4, 10 }
{ $(P), 3, DF4, 11 }
{ $(P), 3, DF4, 12 }
{ $(P), 3, DF4, 13 }
{ $(P), 3, DF4, 14 }
{ $(P), 3, DF4, 15 }
{ $(P), 3, DF4, 16 }
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment