-
Notifications
You must be signed in to change notification settings - Fork 5
/
example.template
96 lines (96 loc) · 2.33 KB
/
example.template
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
92
93
94
95
96
record(longin, "$(P):USER_DATE") {
field(DTYP, "regDev")
field(INP, "@user:0x04 T=bcd32")
field(PINI, "YES")
}
record(longin, "$(P):USER_DAY") {
field(DTYP, "regDev")
field(INP, "@user:0x04 T=bcd8")
field(PINI, "YES")
}
record(longin, "$(P):USER_MONTH") {
field(DTYP, "regDev")
field(INP, "@user:0x05 T=bcd8")
field(PINI, "YES")
}
record(longin, "$(P):USER_YEAR") {
field(DTYP, "regDev")
field(INP, "@user:0x06 T=bcd16")
field(PINI, "YES")
}
record(stringin, "$(P):USER_LABEL") {
field(DTYP, "regDev")
field(INP, "@user:0x08 L=32")
field(PINI, "YES")
}
record(stringin, "$(P):USER_FMC1") {
field(DTYP, "regDev")
field(INP, "@user:0x28 L=32")
field(PINI, "YES")
}
record(stringin, "$(P):USER_FMC2") {
field(DTYP, "regDev")
field(INP, "@user:0x38 L=32")
field(PINI, "YES")
}
record(longin, "$(P):CENTRAL_DATE") {
field(DTYP, "regDev")
field(INP, "@csr:0x34 T=bcd32")
field(PINI, "YES")
}
record(longin, "$(P):CENTRAL_DAY") {
field(DTYP, "regDev")
field(INP, "@csr:0x34 T=bcd8")
field(PINI, "YES")
}
record(longin, "$(P):CENTRAL_MONTH") {
field(DTYP, "regDev")
field(INP, "@csr:0x35 T=bcd8")
field(PINI, "YES")
}
record(longin, "$(P):CENTRAL_YEAR") {
field(DTYP, "regDev")
field(INP, "@csr:0x36 T=bcd16")
field(PINI, "YES")
}
record(ai, "$(P):SMON_TEMP") {
field(DTYP, "regDev")
field(INP, "@smon:0 T=uint16 L=0 H=0xffc0")
field(PINI, "YES")
field(SCAN, "1 second")
field(LINR, "LINEAR")
field(EGUL, "-273.15")
field(EGUF, "230.3328")
field(PREC, "2")
field(EGU, "C")
}
record(ai, "$(P):SMON_Vcc_int") {
field(DTYP, "regDev")
field(INP, "@smon:1 T=uint16 L=0 H=0xffc0")
field(PINI, "YES")
field(SCAN, "1 second")
field(LINR, "LINEAR")
field(EGUF, "2.997070313")
field(PREC, "3")
field(EGU, "V")
}
record(ai, "$(P):SMON_Vcc_aux") {
field(DTYP, "regDev")
field(INP, "@smon:2 T=uint16 L=0 H=0xffc0")
field(PINI, "YES")
field(SCAN, "1 second")
field(LINR, "LINEAR")
field(EGUF, "2.997070313")
field(PREC, "3")
field(EGU, "V")
}
record(aai, "$(P):Data") {
field(FTVL, "DOUBLE")
field(NELM, "4096")
field(DTYP, "regDev")
field(INP, "@shm:0x1000 T=uint16")
field(LOPR, "-10")
field(HOPR, "10")
field(PREC, "3")
field(EGU, "V")
}