-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
91 lines (73 loc) · 3.02 KB
/
README
File metadata and controls
91 lines (73 loc) · 3.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
The Acromag Digital Output Industry Pack Card
is a 32-channel card. The device support is via
asyn and supports the following records:
longout, mbbo, and bo
The ip445 library depends on the following external modules
and should and has been tested under EPICS R3-14-11
and EPICS R3-14-8-2
To build this library into your IOC Application do
the following:
# ========================================================
# Define external module dependencies
# ========================================================
Add this to your <TOP>/configure/RELEASE
IPAC_MODULE_VERSION=ipac-R2-8-lcls8
ASYN_MODULE_VERSION=asyn-R4-16-lcls1
IPAC=$(EPICS_MODULES)/ipac/$(IPAC_MODULE_VERSION)
ASYN=$(EPICS_MODULES)/asyn/$(ASYN_MODULE_VERSION)
# ========================================================
# ========================================================
# Linking in the Library
# =========================================================
Add this to your <TOP>/xxxApp/src/Makefile:
xxx_DBD += ip445.dbd
xxx_DBD += asyn.dbd
xxx_DBD += drvIpac.dbd
# The order is important
xxx_LIBS += ip445
xxx_LIBS += Ipac
xxx_LIBS += asyn
# =========================================================
# =========================================================
# EPICS Database Templates
# =========================================================
For example, database templates reference the ip440 driver:
<INSTALL_LOCATION>/db/IP445Bo.template
<INSTALL_LOCATION>/db/IP445Lo.template
<INSTALL_LOCATION>/db/IP445Mbbo.template
# =========================================================
# =========================================================
# Starting up an IOC
# ========================================================
Add the following to your "st.cmd" file before iocInit():
<TOP>/iocBoot/ioc-xxx
# ===================== Begin GeneralTime Hack ====================
# Uncomment the following for EPICS R3-14-10, R3-14-11 and R3-14-12
#osdTimeRegister()
# ===================== End GeneralTime Hack ======================
# =============================================================
# Acromag IP Carrier
# =============================================================
ipacAddXy9660("0x0000,0")
carrier1 = ipacLatestCarrier()
#ipacAddXy9660("0x0400,0")
#carrier2 = ipacLatestCarrier()
# ====================================================
# Acromag IP Modules
# ===================================================
# # initIP445(portName, carrier #, slot #)
initIP445("IP445",0,0)
# =====================================================
# Load EPICS Databases
# =====================================================
# Have a look at the drivers substitution file example
# dbLoadRecords("db/IP445.db")
# ================================================
# Asyn Debugging
# ================================================
#asynSetTraceMask("IP445",-1,0xFF)
#asynSetTraceIOMask("IP445",-1,0x4)
# =================================================
# Example EDM screens can be found in the driver:
# =================================================
<INSTALL_LOCATION>/display/IP445.edl