Skip to content

Commit

Permalink
Add no mean pvs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Batista Cardoso committed Sep 27, 2022
1 parent cab84d0 commit fd938dc
Show file tree
Hide file tree
Showing 14 changed files with 1,182 additions and 91 deletions.
41 changes: 3 additions & 38 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -251,58 +251,23 @@ RUN cd /opt/etheripIOC/ && \
COPY entrypoint.sh /opt/etheripIOC/entrypoint.sh
ENTRYPOINT [ "/bin/bash", "/opt/etheripIOC/entrypoint.sh" ]

FROM base AS delta
COPY ./ioc/database /opt/etheripIOC/database
COPY ./ioc/iocBoot /opt/etheripIOC/iocBoot
ENV NAME DELTA
ENV CMD Delta.cmd
ENV DEVIP 1.1.1.1

FROM base AS fcplc01
COPY ./ioc/database /opt/etheripIOC/database
COPY ./ioc/iocBoot /opt/etheripIOC/iocBoot
ENV NAME FCPLC01
ENV CMD FCPLC01.cmd
ENV CMD sirius-amb-temp-ioc-1.cmd
ENV DEVIP 10.20.35.211

FROM base AS fcplc02
COPY ./ioc/database /opt/etheripIOC/database
COPY ./ioc/iocBoot /opt/etheripIOC/iocBoot
ENV NAME FCPLC02
ENV CMD FCPLC02.cmd
ENV CMD sirius-amb-temp-ioc-2.cmd
ENV DEVIP 10.20.35.221

FROM base AS fcplc03
COPY ./ioc/database /opt/etheripIOC/database
COPY ./ioc/iocBoot /opt/etheripIOC/iocBoot
ENV NAME FCPLC03
ENV CMD FCPLC03.cmd
ENV CMD sirius-amb-temp-ioc-3.cmd
ENV DEVIP 10.20.35.231

FROM base AS linac
COPY ./ioc/database /opt/etheripIOC/database
COPY ./ioc/iocBoot /opt/etheripIOC/iocBoot
ENV NAME linac
ENV CMD SKID_LINAC.cmd
ENV DEVIP 10.0.38.250

FROM base AS petraV
COPY ./ioc/database /opt/etheripIOC/database
COPY ./ioc/iocBoot /opt/etheripIOC/iocBoot
ENV NAME petraV
ENV CMD SKID_PetraV.cmd
ENV DEVIP 10.0.38.246

FROM base AS petraVII
COPY ./ioc/database /opt/etheripIOC/database
COPY ./ioc/iocBoot /opt/etheripIOC/iocBoot
ENV NAME petraV
ENV CMD SKID_PetraVII.cmd
ENV DEVIP 10.0.38.249

FROM base AS delta_v2
COPY ./ioc/database /opt/etheripIOC/database
COPY ./ioc/iocBoot /opt/etheripIOC/iocBoot
ENV NAME DELTA-V2
ENV CMD Delta_v2.cmd
ENV DEVIP 1.1.1.1
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -eu
echo "##########################################################################"
echo "# ${NAME} - Port ${IOC_PROCSERV_SOCK}"
echo "##########################################################################"
chmod +x /opt/etheripIOC/iocBoot/iocetheripIOC/*
/usr/local/bin/procServ \
--logfile - \
--chdir "$(pwd)/iocBoot/iocetheripIOC/" \
Expand Down
Binary file added etc/SiriusAmbTempPVs.xlsx
Binary file not shown.
216 changes: 216 additions & 0 deletions ioc/database/sirius-amb-temp-ioc-1.db
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@

record(ai, "UA-Hall-52C:HVAC-PT100-FC1-1:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB01_ST_614_01_1.val")
field(DESC, "FC-614-01/02/03/04 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-54C:HVAC-PT100-FC1-2:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB02_ST_614_01_2.val")
field(DESC, "FC-614-01/02/03/04 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-55C:HVAC-PT100-FC1-3:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB03_ST_614_01_3.val")
field(DESC, "FC-614-01/02/03/04 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-56C:HVAC-PT100-FC1-4:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB04_ST_614_01_4.val")
field(DESC, "FC-614-01/02/03/04 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-53B:HVAC-PT100-FC1-5:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB05_ST_614_01_5.val")
field(DESC, "FC-614-01/02/03/04 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-57B:HVAC-PT100-FC1-6:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB06_ST_614_01_6.val")
field(DESC, "FC-614-01/02/03/04 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-52D:HVAC-PT100-FC1-7:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB07_ST_614_01_7.val")
field(DESC, "FC-614-01/02/03/04 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-55D:HVAC-PT100-FC2-8:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB08_ST_614_01_8.val")
field(DESC, "FC-614-01/02/03/04 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-44C:HVAC-PT100-FC9-1:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB01_ST_614_18_1.val")
field(DESC, "FC-614-42/43/44/45 input 1")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-43C:HVAC-PT100-FC9-2:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB02_ST_614_18_2.val")
field(DESC, "FC-614-42/43/44/45 input 2")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-41C:HVAC-PT100-FC9-3:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB03_ST_614_18_3.val")
field(DESC, "FC-614-42/43/44/45 input 3")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-40C:HVAC-PT100-FC9-4:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB04_ST_614_18_4.val")
field(DESC, "FC-614-42/43/44/45 input 4")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-43B:HVAC-PT100-FC9-5:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB05_ST_614_18_5.val")
field(DESC, "FC-614-42/43/44/45 input 5")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-41B:HVAC-PT100-FC9-6:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB06_ST_614_18_6.val")
field(DESC, "FC-614-42/43/44/45 input 6")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-40D:HVAC-PT100-FC9-7:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB07_ST_614_18_7.val")
field(DESC, "FC-614-42/43/44/45 input 7")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-43D:HVAC-PT100-FC9-8:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB08_ST_614_18_8.val")
field(DESC, "FC-614-42/43/44/45 input 8")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-51C:HVAC-PT100-FC10-1:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB01_ST_614_20_1.val")
field(DESC, "FC-614-47/48/49/50 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-49C:HVAC-PT100-FC10-2:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB02_ST_614_20_2.val")
field(DESC, "FC-614-47/48/49/50 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-47C:HVAC-PT100-FC10-3:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB03_ST_614_20_3.val")
field(DESC, "FC-614-47/48/49/50 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-46C:HVAC-PT100-FC10-4:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB04_ST_614_20_4.val")
field(DESC, "FC-614-47/48/49/50 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-47B:HVAC-PT100-FC10-5:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB05_ST_614_20_5.val")
field(DESC, "FC-614-47/48/49/50 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-50B:HVAC-PT100-FC10-6:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB06_ST_614_20_6.val")
field(DESC, "FC-614-47/48/49/50 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-46D:HVAC-PT100-FC10-7:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB07_ST_614_20_7.val")
field(DESC, "FC-614-47/48/49/50 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}

record(ai, "UA-Hall-49D:HVAC-PT100-FC10-8:Temperature-Mon"){
field(DTYP, "EtherIP")
field(INP, "@$(PLC) TEAMB08_ST_614_20_8.val")
field(DESC, "FC-614-47/48/49/50 pt100 inp")
field(SCAN, ".1 second")
field(PREC, "5")
field(EGU, "C")
}
Loading

0 comments on commit fd938dc

Please sign in to comment.