1 # Control Word: W510 (This word will self-reset to 0)
2 # W510.00 set true to request Sample Attenuator to Open
3 # W510.01 set true to request Sample Attenuator to Close
6 # W511.00 true when Sample Attenuator requested to open via HMI or EPICS
7 # W511.01 true when Sample Attenuator is OPEN
8 # W511.02 true when Sample Attenuator is CLOSED
12 # The pressure value will be in range 10 to 99 corresponding to 1.0 to 9.9
13 # The exponent will be something like -3 encoded in two's complement and read back as e.g. 65533 (unsigned)
14 # Gauge Pressure x10_E description
15 # TPG300-1 A1 D100 D101 Section 1 pirani
16 # TPG300-1 A2 D102 D103 Section 2 pirani
17 # TPG300-1 B1 D104 D105 Section 3 pirani
18 # TPG300-1 B2 D106 D107 Spare
19 # TPG300-2 A1 D108 D109 Section 4 pirani
20 # TPG300-2 A2 D110 D111 Section 5 pirani
21 # TPG300-2 B1 D112 D113 Section 6 pirani
22 # TPG300-2 B2 D114 D115 Spare
26 field(SCAN,
"Passive")
27 field(DTYP,
"Soft Channel")
35 field(DESC,
"Attenuator Status")
36 field(DTYP,
"asynInt32")
37 field(INP,
"@asynMask($(PORT=PLC), 511, 16, 5.0) FINS_WR_READ")
38 field(SCAN,
".1 second")
39 # we right shift by 1 to drop the "open request" status bit
48 field(SIML,
"$(P)$(Q)SIM")
49 field(SIOL,
"$(P)$(Q)SIM:STATUS")
50 field(FLNK,
"$(P)$(Q)_STATUSD.PROC")
51 info(INTEREST,
"HIGH")
52 info(alarm,
"Attenuator")
56 record(mbbiDirect,
"$(P)$(Q)_STATUSD")
58 field(DESC,
"Attenuator Bits")
59 field(DTYP,
"Soft Channel")
60 field(INP,
"$(P)$(Q)STATUS NPP")
61 field(FLNK,
"$(P)$(Q)OPEN.PROC")
66 field(DESC,
"Attenuator Open")
69 field(INP,
"$(P)$(Q)_STATUSD.B0 NPP")
70 info(INTEREST,
"HIGH")
71 info(alarm,
"Attenuator Open")
72 field(FLNK,
"$(P)$(Q)CLOSED.PROC")
77 field(DESC,
"Attenuator Closed")
80 field(INP,
"$(P)$(Q)_STATUSD.B1 NPP")
81 info(INTEREST,
"HIGH")
82 info(alarm,
"Attenuator Open")
85 ## write 0 to CLOSE, 1 to OPEN
88 field(DESC,
"Move Attenuator")
89 field(DTYP,
"asynInt32")
94 field(OUT,
"@asyn($(PORT=PLC), 510, 5.0) FINS_WR_WRITE")
95 field(SIML,
"$(P)$(Q)SIM")
96 field(SIOL,
"$(P)$(Q)SIM:MOVE")
101 field(DESC,
"Open Attenuator")
102 field(DTYP,
"asynInt32")
105 field(OUT,
"@asyn($(PORT=PLC), 510, 5.0) FINS_WR_WRITE_B0")
106 field(SIML,
"$(P)$(Q)SIM")
107 field(SIOL,
"$(P)$(Q)SIM:OPEN")
112 field(DESC,
"Close Attenuator")
113 field(DTYP,
"asynInt32")
116 field(OUT,
"@asyn($(PORT=PLC), 510, 5.0) FINS_WR_WRITE_B1")
117 field(SIML,
"$(P)$(Q)SIM")
118 field(SIOL,
"$(P)$(Q)SIM:CLOSE")
122 ### SIMULATION RECORDS ###
124 # $(P)$(Q)SIM is in header file
128 field(SCAN,
"Passive")
129 field(DTYP,
"Soft Channel")
135 field(SCAN,
"Passive")
136 field(DTYP,
"Soft Channel")
142 field(SCAN,
"Passive")
143 field(DTYP,
"Soft Channel")
149 field(SCAN,
"Passive")
150 field(DTYP,
"Soft Channel")
record(longin,"$(P)$(Q)$(NAME):RAW")