-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_config.yaml
136 lines (130 loc) · 3.09 KB
/
example_config.yaml
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
name: Human
devices:
bsy:
type: Motor
name: Beam Stop Y
pv: XF:17IDC-ES:FMX{BS:1-Ax:Y}Mtr
tolerance: 5
timeout: 5
positions:
Up: 1000
Down: 100.0
bsz:
type: Motor
name: Beam Stop Z
pv: XF:17IDC-ES:FMX{BS:1-Ax:Z}Mtr
tolerance: 5
timeout: 5
positions:
Park: 500.0
DAQ: -500
li:
type: Motor
name: Light Y
pv: XF:17IDC-ES:FMX{Light:1-Ax:Y}Mtr
tolerance: 5
timeout: 5
positions:
In: 1100
Out: 100
cx:
type: Motor
name: Cryostream X
pv: XF:17IDC-ES:FMX{CS:1-Ax:X}Mtr
tolerance: 5
timeout: 5
positions:
In: 455
Out: 255
cxy:
type: Motor
name: Cryostream XY
pv: XF:17IDC-ES:FMX{CS:1-Ax:XY}Mtr
tolerance: 5
timeout: 5
positions:
Near: 676
Far: -200
dz:
type: Motor
name: Detector Z
pv: XF:17IDC-ES:FMX{Det-Ax:Z}Mtr
tolerance: 5
timeout: 5
positions:
In: 100
Out: -800
collixy:
type: Device
name: Collimator XY
pv: XF:17IDC-ES:FMX{Colli:1-Ax:XY}Mtr
tolerance: 5
timeout: 5
positions:
In: 999
Out: 666
dc:
type: Valve
name: Detector Cover
pv: XF:17IDC-ES:FMX{Det:FMX-Cover}
timeout: 5
states:
M:
name: Maintenance
SE:
name: Sample Exchange
targets:
bsy: {target: Down, limits: [-100.0, 100.0], updateAfter: true}
bsz: {target: Park, limits: [0, 600.0]}
li: {target: Out, limits: [0, 0]}
cxy: {target: Far, limits: [0, 0]}
cx: {target: In, limits: [0, 0]}
dz: {target: Out, limits: [0, 0]}
collixy: {target: Out, limits: [0, 0]}
SA:
name: Sample Alignment
targets:
bsy: {target: Up, limits: [0, 0]}
bsz: {target: Park, limits: [0, 0]}
li: {target: In, limits: [0, 0]}
cxy: {target: Near, limits: [0, 0]}
cx: {target: In, limits: [0, 0]}
dz: {target: In, limits: [0, 0]}
collixy: {target: In, limits: [0, 0]}
DA:
name: Data Acquisition
targets:
bsy: {target: Up, limits: [0, 0]}
bsz: {target: DAQ, limits: [0, 0]}
li: {target: Out, limits: [0, 0]}
cxy: {target: Near, limits: [0, 0]}
cx: {target: In, limits: [0, 0]}
dz: {target: In, limits: [0, 0]}
collixy: {target: In, limits: [0, 0]}
BL:
name: Beam Location
targets:
bsy: {target: Up, limits: [0, 0]}
bsz: {target: DAQ, limits: [0, 0]}
li: {target: In, limits: [0, 0]}
cxy: {target: Far, limits: [0, 0]}
cx: {target: Out, limits: [0, 0]}
dz: {target: Out, limits: [0, 0]}
collixy: {target: In, limits: [0, 0]}
init_state: M
transitions:
M:
SE: [[dz, li, cxy, cx], bsz, bsy, collixy]
SE:
SA: [cxy, li, bsy, dz, collixy, cx, bsz]
BL: [bsy, li, cx, dz, bsz, cxy, collixy]
SA:
SE: [collixy, dz, bsy, li, cxy, cx, bsz]
DA: [li, bsz, bsy, cxy, cx, dz, collixy]
BL: [cxy, cx, dz, li, collixy, bsz, bsy]
DA:
SA: [bsz, li, bsy, cxy, cx, dz, collixy]
SE: [dz, collixy, bsz, bsy, cxy, cx, li]
BL:
SE: [cx, li, bsy, dz, bsz, cxy, collixy]
SA: [dz, cx, cxy, li, collixy, bsz, bsy]