22 |
22 |
23 #used by autosave |
23 #used by autosave |
24 epicsEnvSet ("LOG_DIR", "/epics/iocs/log") |
24 epicsEnvSet ("LOG_DIR", "/epics/iocs/log") |
25 |
25 |
26 cd "${TOP}" |
26 cd "${TOP}" |
27 epicsEnvSet "XGS-600" "_trarpes_vac_xgs600_1" |
27 epicsEnvSet "XGS-600_1" "_trarpes_vac_xgs600_1" |
|
28 epicsEnvSet "XGS-600_2" "_trarpes_vac_xgs600_2" |
28 |
29 |
29 ## Register all support components |
30 ## Register all support components |
30 dbLoadDatabase "dbd/IOCINFRA.dbd" |
31 dbLoadDatabase "dbd/IOCINFRA.dbd" |
31 IOCINFRA_registerRecordDeviceDriver pdbbase |
32 IOCINFRA_registerRecordDeviceDriver pdbbase |
32 |
33 |
33 ## Load record instances |
34 ## Load record instances |
34 #dbLoadRecords("db/xxx.db","user=epics") |
35 #dbLoadRecords("db/xxx.db","user=epics") |
35 |
36 |
36 # Configure asyn communication port, first |
37 # Configure asyn communication port, first |
37 drvAsynIPPortConfigure(${XGS-600}, "172.24.192.29:4001", 0, 0, 0 ) |
38 drvAsynIPPortConfigure(${XGS-600_1}, "172.24.192.29:4001", 0, 0, 0 ) |
38 dbLoadTemplate("db/XGS600.substitutions") |
39 dbLoadTemplate("db/XGS600_1.substitutions", "LINK=${XGS-600_1}") |
|
40 drvAsynIPPortConfigure(${XGS-600_2}, "172.24.192.32:4001", 0, 0, 0 ) |
|
41 dbLoadTemplate("db/XGS600_2.substitutions", "LINK=${XGS-600_2}") |
|
42 |
|
43 # von 4kstm |
|
44 epicsEnvSet MAXI_INET 172.24.192.32:4002 |
|
45 epicsEnvSet MAXI_LINK MAXI_01 |
|
46 drvAsynIPPortConfigure(${MAXI_LINK}, ${MAXI_INET}, 0, 0, 0) |
|
47 dbLoadTemplate("db/maxigauge.sub") |
|
48 |
|
49 #drvAsynIPPortConfigure("MOXA_2_2", "172.24.192.32:4002", 0, 0, 0) |
|
50 #dbLoadRecords("db/TPG26x.db", "P=staticARPES:TPG256:CH, IFPRESSUR1=, IFPRESSUR2=, PORT=MOXA_2_2") |
39 |
51 |
40 drvAsynIPPortConfigure("MOXA_2", "172.24.192.29:4002", 0, 0, 0) |
52 drvAsynIPPortConfigure("MOXA_2", "172.24.192.29:4002", 0, 0, 0) |
41 #asynSetTraceIOMask("MOXA_2", -1, 0x2) |
53 #asynSetTraceIOMask("MOXA_2", -1, 0x2) |
42 #asynSetTraceMask("MOXA_2", -1, 0x9) |
54 #asynSetTraceMask("MOXA_2", -1, 0x9) |
43 dbLoadTemplate("db/SATECO_lakeshore.substitution") |
55 dbLoadTemplate("db/SATECO_lakeshore.substitution") |