Skip to content

Commit

Permalink
BLD: rebuild IOC
Browse files Browse the repository at this point in the history
  • Loading branch information
ZLLentz committed Jan 5, 2023
1 parent 392805c commit 28efa05
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 30 deletions.
2 changes: 0 additions & 2 deletions iocBoot/ioc-lfe-motion/lfe_motion.archive
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
PLC:LFE:MOTION:PhotonEnergy_RBV.VAL 1 scan
PLC:LFE:MOTION:PhotonEnergy.VAL 1 scan
PLC:LFE:MOTION:ARB:AP:Entry:010:Live_RBV.VAL 1 scan
PLC:LFE:MOTION:ARB:AP:Entry:010:Veto_RBV.VAL 1 scan
PLC:LFE:MOTION:ARB:AP:Entry:010:BeamClassRanges_RBV.VAL 1 scan
Expand Down
22 changes: 0 additions & 22 deletions iocBoot/ioc-lfe-motion/lfe_motion.db
Original file line number Diff line number Diff line change
@@ -1,25 +1,3 @@
record(ai, "PLC:LFE:MOTION:PhotonEnergy_RBV") {
field(DESC, "GVL.fPhotonEnergy_eV")
field(SCAN, "I/O Intr")
field(PINI, "1")
field(TSE, "-2")
field(DTYP, "asynFloat64")
field(INP, "@asyn($(PORT),0,1)ADSPORT=851/POLL_RATE=1/GVL.fPhotonEnergy_eV?")
field(PREC, "3")
info(autosaveFields_pass0, "DESC DISS HHSV HIGH HIHI HSV LLSV LOLO LOW LSV PREC SIMS UDFS")
info(archive, "VAL")
}

record(ao, "PLC:LFE:MOTION:PhotonEnergy") {
field(DESC, "GVL.fPhotonEnergy_eV")
field(DTYP, "asynFloat64")
field(UDFS, "0")
field(OUT, "@asyn($(PORT),0,1)ADSPORT=851/GVL.fPhotonEnergy_eV=")
field(PREC, "3")
info(autosaveFields_pass0, "DESC DISS DRVH DRVL HHSV HIGH HIHI HSV LLSV LOLO LOW LSV PREC SIMS UDFS VAL")
info(archive, "VAL")
}

record(bi, "PLC:LFE:MOTION:ARB:AP:Entry:010:Live_RBV") {
field(DESC, "Assertion Pool")
field(SCAN, "I/O Intr")
Expand Down
12 changes: 6 additions & 6 deletions iocBoot/ioc-lfe-motion/st.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Project: plc-lfe-motion.tsproj
# PLC name: lfe_motion (lfe_motion Instance)
# Generated using: pytmc 2.14.1
# Project version: v1.2.1-80-g0f7d8a2
# Project hash: 0f7d8a281a043acc4d71ae02bfc1d3897871f648
# Project version: v1.2.1-84-g392805c
# Project hash: 392805c322a35a10484015d5e7ae910197615190
# PLC IP/host: 172.21.88.228
# PLC Net ID: 172.21.88.228.1.1
# ** Production mode IOC **
Expand Down Expand Up @@ -45,7 +45,7 @@ epicsEnvSet("ASYN_PORT", "ASYN_PLC")
epicsEnvSet("IPADDR", "172.21.88.228")
epicsEnvSet("AMSID", "172.21.88.228.1.1")
epicsEnvSet("AMS_PORT", "851")
epicsEnvSet("ADS_MAX_PARAMS", "10401")
epicsEnvSet("ADS_MAX_PARAMS", "10399")
epicsEnvSet("ADS_SAMPLE_MS", "50")
epicsEnvSet("ADS_MAX_DELAY_MS", "100")
epicsEnvSet("ADS_TIMEOUT_MS", "1000")
Expand Down Expand Up @@ -844,7 +844,7 @@ dbLoadRecords("caPutLog.db", "IOC=$(IOC)")
dbLoadRecords("TwinCAT_TaskInfo.db", "PORT=$(ASYN_PORT),PREFIX=PLC:LFE:MOTION,IDX=1")
dbLoadRecords("TwinCAT_AppInfo.db", "PORT=$(ASYN_PORT), PREFIX=PLC:LFE:MOTION")

dbLoadRecords("TwinCAT_Project.db", "PREFIX=PLC:LFE:MOTION,PROJECT=plc-lfe-motion.tsproj,HASH=0f7d8a2,VERSION=v1.2.1-80-g0f7d8a2,PYTMC=2.14.1,PLC_HOST=172.21.88.228")
dbLoadRecords("TwinCAT_Project.db", "PREFIX=PLC:LFE:MOTION,PROJECT=plc-lfe-motion.tsproj,HASH=392805c,VERSION=v1.2.1-84-g392805c,PYTMC=2.14.1,PLC_HOST=172.21.88.228")

# LCLS General: * -> 2.4.2 (SLAC)
dbLoadRecords("TwinCAT_Dependency.db", "PREFIX=PLC:LFE:MOTION,DEPENDENCY=LCLS_General,VERSION=2.4.2,VENDOR=SLAC")
Expand Down Expand Up @@ -872,8 +872,8 @@ cd "$(IOC_TOP)"
## PLC Project Database files ##
dbLoadRecords("lfe_motion.db", "PORT=$(ASYN_PORT),PREFIX=PLC:LFE:MOTION:,IOCNAME=$(IOC),IOC=$(IOC)")

# Total records: 9401
callbackSetQueueSize(20802)
# Total records: 9399
callbackSetQueueSize(20798)

# Autosave and archive settings:
save_restoreSet_status_prefix("PLC:LFE:MOTION:")
Expand Down

0 comments on commit 28efa05

Please sign in to comment.