diff -r f6e1a4c75073 -r 320de4b4c9ee iocBoot/iocIOCINFRA/st.cmd --- a/iocBoot/iocIOCINFRA/st.cmd Fri Jul 10 06:11:39 2020 +0200 +++ b/iocBoot/iocIOCINFRA/st.cmd Wed Jul 15 08:12:22 2020 +0200 @@ -24,7 +24,8 @@ epicsEnvSet ("LOG_DIR", "/epics/iocs/log") cd "${TOP}" -epicsEnvSet "XGS-600" "_trarpes_vac_xgs600_1" +epicsEnvSet "XGS-600_1" "_trarpes_vac_xgs600_1" +epicsEnvSet "XGS-600_2" "_trarpes_vac_xgs600_2" ## Register all support components dbLoadDatabase "dbd/IOCINFRA.dbd" @@ -34,8 +35,19 @@ #dbLoadRecords("db/xxx.db","user=epics") # Configure asyn communication port, first -drvAsynIPPortConfigure(${XGS-600}, "172.24.192.29:4001", 0, 0, 0 ) -dbLoadTemplate("db/XGS600.substitutions") +drvAsynIPPortConfigure(${XGS-600_1}, "172.24.192.29:4001", 0, 0, 0 ) +dbLoadTemplate("db/XGS600_1.substitutions", "LINK=${XGS-600_1}") +drvAsynIPPortConfigure(${XGS-600_2}, "172.24.192.32:4001", 0, 0, 0 ) +dbLoadTemplate("db/XGS600_2.substitutions", "LINK=${XGS-600_2}") + +# von 4kstm +epicsEnvSet MAXI_INET 172.24.192.32:4002 +epicsEnvSet MAXI_LINK MAXI_01 +drvAsynIPPortConfigure(${MAXI_LINK}, ${MAXI_INET}, 0, 0, 0) +dbLoadTemplate("db/maxigauge.sub") + +#drvAsynIPPortConfigure("MOXA_2_2", "172.24.192.32:4002", 0, 0, 0) +#dbLoadRecords("db/TPG26x.db", "P=staticARPES:TPG256:CH, IFPRESSUR1=, IFPRESSUR2=, PORT=MOXA_2_2") drvAsynIPPortConfigure("MOXA_2", "172.24.192.29:4002", 0, 0, 0) #asynSetTraceIOMask("MOXA_2", -1, 0x2)