epics/streamdevice/proto_AG53181: AG53181A.db

File AG53181A.db, 7.4 KB (added by obina, 7 years ago)
Line 
1############### *IDN? ###############
2record(stringin, "$(user):idn")
3{
4#    field(DESC, "get IDN")
5    field(DESC, "string record")
6    field(DTYP, "stream")
7    field(INP,  "@AG53181.proto getIDN PS1 7")
8##    field(INP,  "@AG53181.proto getidn PS1 7") ##oomoji_komoji_kankeinai
9}
10
11############## *RST ###############
12record(bo, "$(user):rst")
13{
14    field(DESC, "binary output record")
15    field(SCAN, "Passive")
16    field(DTYP, "stream")
17    field(OUT,  "@AG53181.proto setRST PS1 7")
18}
19
20############## *CLS ###############
21record(bo, "$(user):cls")
22{
23    field(DESC, "binary output record")
24    field(SCAN, "Passive")
25    field(DTYP, "stream")
26    field(OUT,  "@AG53181.proto setCLS PS1 7")
27}
28
29############## *SRE0 ###############
30record(bo, "$(user):sre_0")
31{
32    field(DESC, "binary output record")
33    field(SCAN, "Passive")
34    field(DTYP, "stream")
35    field(OUT,  "@AG53181.proto setSRE0 PS1 7")
36}
37
38############## *ESE0 ###############
39record(bo, "$(user):ese_0")
40{
41    field(DESC, "binary output record")
42    field(SCAN, "Passive")
43    field(DTYP, "stream")
44    field(OUT,  "@AG53181.proto setESE0 PS1 7")
45}
46
47############## STATUS PRESET ###############
48record(bo, "$(user):stpr")
49{
50    field(DESC, "binary output record")
51    field(SCAN, "Passive")
52    field(DTYP, "stream")
53    field(OUT,  "@AG53181.proto setSTPR PS1 7")
54}
55
56############### FILTER OFForON ###############
57record(bi, "$(user):getfilt")
58{
59    field(DESC, "binary input record")
60    field(SCAN, "Passive")
61    field(DTYP, "stream")
62    field(INP,  "@AG53181.proto getFILT PS1 7")
63    field(ZNAM,"OFF")
64    field(ONAM,"ON")
65}
66
67record(bo, "$(user):setfilt")
68{
69    field(DESC, "binary output record")
70    field(SCAN, "Passive")
71    field(DTYP, "stream")
72    field(OUT,  "@AG53181.proto setFILT PS1 7")
73    field(ZNAM,"OFF")
74    field(ONAM,"ON")
75}
76
77############### TRIGGER LEVEL AUTO ###############
78record(bi, "$(user):getlevau")
79{
80    field(DESC, "binary input record")
81    field(SCAN, "Passive")
82    field(DTYP, "stream")
83    field(INP,  "@AG53181.proto getLEVAU PS1 7")
84    field(ZNAM,"OFF")
85    field(ONAM,"ON")
86}
87
88record(bo, "$(user):setlevau")
89{
90    field(DESC, "binary output record")
91    field(SCAN, "Passive")
92    field(DTYP, "stream")
93    field(OUT,  "@AG53181.proto setLEVAU PS1 7")
94    field(ZNAM,"OFF")
95    field(ONAM,"ON")
96}
97
98###############  TRIGGER LEVEL ###############
99record(ai, "$(user):getlev")
100{
101    field(DESC, "analog input record")
102    field(SCAN, "Passive")
103    field(DTYP, "stream")
104    field(INP,  "@AG53181.proto getLEV PS1 7")
105}
106
107record(ao, "$(user):setlev")
108{
109    field(DESC, "analog output record")
110    field(SCAN, "Passive")
111    field(DTYP, "stream")
112    field(OUT,  "@AG53181.proto setLEV PS1 7")
113}
114
115############## COUPLING ###############
116record(bi, "$(user):getcoup")
117{
118    field(DESC, "binary input record")
119    field(SCAN, "Passive")
120    field(DTYP, "stream")
121    field(INP,  "@AG53181.proto getCOUP PS1 7")
122    field(ZNAM,"AC")
123    field(ONAM,"DC")
124}
125
126record(bo, "$(user):setcoup")
127{
128    field(DESC, "binary output record")
129    field(SCAN, "Passive")
130    field(DTYP, "stream")
131    field(OUT,  "@AG53181.proto setCOUP PS1 7")
132    field(ZNAM,"AC")
133    field(ONAM,"DC")
134}
135
136############### IMPEDANCE ###############
137record(ai, "$(user):getimp")
138{
139    field(DESC, "analog input record")
140    field(SCAN, "Passive")
141    field(DTYP, "stream")
142    field(INP,  "@AG53181.proto getIMP PS1 7")
143}
144
145record(ao, "$(user):setimp")
146{
147    field(DESC, "analog output record")
148    field(SCAN, "Passive")
149    field(DTYP, "stream")
150    field(OUT,  "@AG53181.proto setIMP PS1 7")
151}
152
153############## TRIGGER SLOPE ###############
154record(bi, "$(user):getslop")
155{
156    field(DESC, "binary input record")
157    field(SCAN, "Passive")
158    field(DTYP, "stream")
159    field(INP,  "@AG53181.proto getSLOP PS1 7")
160    field(ZNAM, "POS")
161    field(ONAM, "NEG")
162}
163
164record(bo, "$(user):setslop")
165{
166    field(DESC, "binary output record")
167    field(SCAN, "Passive")
168    field(DTYP, "stream")
169    field(OUT,  "@AG53181.proto setSLOP PS1 7")
170    field(ZNAM, "POS")
171    field(ONAM, "NEG")
172}
173
174############### CHANNEL SELECT ###############
175#record(bi, "$(user):getsens")
176record(stringin, "$(user):getsens")
177{
178#    field(DESC, "binary input record")
179    field(DESC, "string record")
180    field(DTYP, "stream")
181    field(INP,  "@AG53181.proto getSENS PS1 7")
182#    field(ZNAM, "ch1")
183#    field(ONAM, "ch2")
184}
185
186record(bo, "$(user):setsens")
187{
188    field(DESC, "binary output record")
189    field(SCAN, "Passive")
190    field(DTYP, "stream")
191    field(OUT,  "@AG53181.proto setSENS PS1 7")
192    field(ZNAM, "ch1")
193    field(ONAM, "ch2")
194}
195
196############## GATE MODE ###############
197record(mbbi, "$(user):getgamo")
198{
199    field(DESC, "mbbi record")
200    field(SCAN, "Passive")
201    field(DTYP, "stream")
202    field(INP,  "@AG53181.proto getGAMO PS1 7")
203    field(ZRST, "IMM")
204    field(ONST, "EXT")
205#    field(ONST, "0.0")
206    field(TWST, "TIM")
207    field(THST, "DIG")
208}
209
210record(mbbo, "$(user):setgamo")
211{
212    field(DESC, "mbbo record")
213    field(SCAN, "Passive")
214    field(DTYP, "stream")
215    field(OUT,  "@AG53181.proto setGAMO PS1 7")
216    field(ZRST, "IMM")
217    field(ONST, "EXT")   #AG53181A GA EXT MODE NI HAIRUTO REMOTE DEHA NUKENAKUNARU
218#    field(ONST, "0.0")
219    field(TWST, "TIM")
220    field(THST, "DIG")
221}
222
223############### GATE TIMER ###############
224record(ai, "$(user):getgati")
225{
226    field(DESC, "analog input record")
227    field(SCAN, "Passive")
228    field(DTYP, "stream")
229    field(INP,  "@AG53181.proto getGATI PS1 7")
230}
231
232record(ao, "$(user):setgati")
233{
234    field(DESC, "analog output record")
235    field(SCAN, "Passive")
236    field(DTYP, "stream")
237    field(OUT,  "@AG53181.proto setGATI PS1 7")
238}
239
240############### FREQUENCY? ###############
241record(ai, "$(user):getfreq")
242{
243    field(DESC, "analog input record")
244#    field(SCAN, "10 second")
245#    field(SCAN, "2 second")
246#    field(SCAN, "1 second")
247#    field(SCAN, ".5 second")
248    field(SCAN, "Passive")
249    field(DTYP, "stream")
250    field(PREC, "9")
251#    field(FLNK, "$(user):fanout1")
252    field(INP,  "@AG53181.proto getFREQ PS1 7")
253#    field(INP,  "@AG53181.proto getFREQ PS1 7 PP NMS")
254}
255
256############### DATA? ###############
257record(ai, "$(user):getdata")
258{
259    field(DESC, "analog input record")
260#    field(SCAN, "10 second")
261#    field(SCAN, "2 second")
262#    field(SCAN, "1 second")
263    field(SCAN, ".5 second")
264#    field(SCAN, "Passive")
265    field(DTYP, "stream")
266    field(PREC, "9")
267    field(FLNK, "$(user):fanout1")
268    field(INP,  "@AG53181.proto getDATA PS1 7")
269}
270
271
272
273############### RUN MODE ###############
274record(bi, "$(user):getrun")
275{
276    field(DESC, "binary input record")
277    field(SCAN, "Passive")
278    field(DTYP, "stream")
279    field(INP,  "@AG53181.proto getRUN PS1 7")
280    field(ZNAM,"OFF")
281    field(ONAM,"ON")
282}
283
284record(bo, "$(user):setrun")
285{
286    field(DESC, "binary output record")
287    field(SCAN, "Passive")
288    field(DTYP, "stream")
289    field(OUT,  "@AG53181.proto setRUN PS1 7")
290    field(ZNAM,"OFF")
291    field(ONAM,"ON")
292}
293
294############### Fanout ################
295record(fanout, "$(user):fanout1")
296{
297    field(DESC, "fanout record")
298    field(SCAN, "Passive")
299    field(LNK1, "$(user):getgati")
300    field(LNK2, "$(user):getimp")
301    field(LNK3, "$(user):getlev")
302    field(LNK4, "$(user):getcoup")
303    field(LNK5, "$(user):getfilt")
304    field(LNK6, "$(user):fanout2")
305}
306
307record(fanout, "$(user):fanout2")
308{
309    field(DESC, "fanout record")
310    field(SCAN, "Passive")
311    field(LNK1, "$(user):getlevau")
312    field(LNK2, "$(user):getslop")
313    field(LNK3, "$(user):getgamo")
314    field(LNK4, "$(user):getsens")
315    field(LNK5, "$(user):getrun")
316    field(LNK6, "0.0")
317}
318
319
320
321