HVCAEN
HVCAEN IOC
Main Page
Files
File List
File Members
db
HVCAENx527chItLk.db
Go to the documentation of this file.
1
#
2
# Copyright Canadian Light Source, Inc. All rights reserved.
3
# - see licence.txt and licence_CAEN.txt for limitations on use.
4
#
5
# Interlock Records for channel $(CHANNUM) of a
6
# CAEN HVx527 HV controller
7
#
8
9
# ISIS: disable FLNK so not doing checks at moment
10
record
( ai,
"$(P):$(PSNAME):$(SLOT):$(CHANNUM):ilock:in"
)
11
{
12
field( INP,
"$(P):$(PSNAME):$(SLOT):$(CHANNUM):vmon CPP"
)
13
# field( FLNK, "$(P):$(PSNAME):$(SLOT):$(CHANNUM):ilock:test.PROC")
14
}
15
record
( mbbo,
"$(P):$(PSNAME):$(SLOT):$(CHANNUM):ilock:cond"
)
16
{
17
field( VAL,
"0"
)
18
field( ZRVL,
"0"
)
19
field( ZRST,
">"
)
20
field( ONVL,
"1"
)
21
field( ONST,
"="
)
22
field( TWVL,
"2"
)
23
field( TWST,
"<"
)
24
field( THVL,
"3"
)
25
field( THST,
"!="
)
26
field( PINI,
"1"
)
27
info(autosaveFields,
"VAL"
)
28
}
29
record
( ao,
"$(P):$(PSNAME):$(SLOT):$(CHANNUM):ilock:thresh"
)
30
{
31
field( VAL,
"400"
)
32
field( PINI,
"1"
)
33
info(autosaveFields,
"VAL"
)
34
}
35
# The calc record only determines if conditions have been met.
36
# The fanout actually determines if a signal should be sent.
37
record
( calc,
"$(P):$(PSNAME):$(SLOT):$(CHANNUM):ilock:test"
)
38
{
39
field( INPA,
"$(P):$(PSNAME):$(SLOT):$(CHANNUM):ilock:in"
)
40
field( INPB,
"$(P):$(PSNAME):$(SLOT):$(CHANNUM):ilock:thresh"
)
41
field( INPJ,
"$(P):$(PSNAME):$(SLOT):$(CHANNUM):ilock:cond"
)
42
field( CALC,
"J=1&&A=B||J=2&&A<B||J=0&&A>B||J=3&&A#B"
)
43
field( FLNK,
"$(P):$(PSNAME):$(SLOT):$(CHANNUM):ilock:act.PROC"
)
44
}
45
record
( seq,
"$(P):$(PSNAME):$(SLOT):$(CHANNUM):ilock:act"
)
46
{
47
field( SELL,
"$(P):$(PSNAME):$(SLOT):$(CHANNUM):ilock:test"
)
48
field( SELM,
"Specified"
)
49
field( DOL1,
"0"
)
50
field( LNK1,
"$(P):$(PSNAME):$(SLOT):$(CHANNUM):pwonoff PP"
)
51
}
record
record(ao,"$(P):$(PSNAME):scanPeriod")
DESC field: Base poll period
Definition:
HVCAENx527.db:16
Copyright © 2013
Science and Technology Facilities Council
| Generated by
1.8.5