2 ## Define beamline information
4 # % macro, P, device prefix
5 # % macro, BL, beamline
6 # % macro, INST, instrument on this beamline
7 # % macro, INST2, second instrument on this beamline
8 # % macro, INST3, third instrument on this beamline
9 # % macro, IFINST2, indicates second instrument on this beamline
10 # % macro, IFINST3, indicates third instrument on this beamline
12 ## Status of shutter on beamline
13 record(stringin,
"$(P)BL:$(BL):SHUTTER:STATUS")
15 field(DTYP,
"asynOctetRead")
16 field(INP,
"@asyn(isisbeam,0,0)SHUT_$(BL)")
17 field(SCAN,
"I/O Intr")
18 field(SDIS,
"$(P)ISISBEAM:DISABLE")
19 field(DESC,
"Shutter status on $(BL)")
22 ## Alias of beamline shutter status for instrument
23 alias(
"$(P)BL:$(BL):SHUTTER:STATUS",
"$(P)IN:$(INST):SHTR:STAT")
24 ## Alias of beamline shutter status for instrument
25 $(
IFINST2)
alias(
"$(P)BL:$(BL):SHUTTER:STATUS",
"$(P)IN:$(INST2):SHTR:STAT")
26 ## Alias of beamline shutter status for instrument
27 $(
IFINST3)
alias(
"$(P)BL:$(BL):SHUTTER:STATUS",
"$(P)IN:$(INST3):SHTR:STAT")
29 ## Mode of shutter on beamline
30 record(stringin,
"$(P)BL:$(BL):SHUTTER:MODE")
32 field(DTYP,
"asynOctetRead")
33 field(INP,
"@asyn(isisbeam,0,0)SMODE_$(BL)")
34 field(SCAN,
"I/O Intr")
35 field(SDIS,
"$(P)ISISBEAM:DISABLE")
36 field(DESC,
"Shutter mode on $(BL)")
39 ## Alias of beamline shutter mode for instrument
40 alias(
"$(P)BL:$(BL):SHUTTER:MODE",
"$(P)IN:$(INST):SHTR:MODE")
41 ## Alias of beamline shutter mode for instrument
42 $(
IFINST2)
alias(
"$(P)BL:$(BL):SHUTTER:MODE",
"$(P)IN:$(INST2):SHTR:MODE")
43 ## Alias of beamline shutter mode for instrument
44 $(
IFINST3)
alias(
"$(P)BL:$(BL):SHUTTER:MODE",
"$(P)IN:$(INST3):SHTR:MODE")
46 ## Status of VAT value on beamline
47 record(stringin,
"$(P)BL:$(BL):VAT:STAT")
49 field(DTYP,
"asynOctetRead")
50 field(INP, "@asyn(isisbeam,0,0)VAT_$(
BL)")
51 field(SCAN, "I/O Intr")
52 field(SDIS, "$(
P)ISISBEAM:DISABLE")
53 field(DESC, "VAT value status on $(
BL)")
56 ## Alias of beamline VAT value for instrument
57 alias(
"$(P)BL:$(BL):VAT:STAT",
"$(P)IN:$(INST):VAT:STAT")
58 ## Alias of beamline VAT value for instrument
59 $(
IFINST2)
alias(
"$(P)BL:$(BL):VAT:STAT",
"$(P)IN:$(INST2):VAT:STAT")
60 ## Alias of beamline VAT value for instrument
61 $(
IFINST3)
alias(
"$(P)BL:$(BL):VAT:STAT",
"$(P)IN:$(INST3):VAT:STAT")
alias("$(P)BL:$(BL):SHUTTER:STATUS","$(P)IN:$(INST):SHTR:STAT")
Alias of beamline shutter status for instrument.
record(stringin,"$(P)BL:$(BL):SHUTTER:STATUS")
Status of shutter on beamline.