-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyvcp-panel.xml
166 lines (157 loc) · 3.82 KB
/
pyvcp-panel.xml
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?xml version='1.0' encoding='UTF-8'?>
<pyvcp>
<!--
Include your PyVCP panel here.
The contents of this file will not be overwritten when you run stepconf again.
-->
<labelframe text="Vacuum">
<font>("Helvetica",12)</font>
<bd>5</bd>
<relief>RAISED</relief>
<hbox>
<led>
<halpin>"led_Dammsugare"</halpin>
<size>40</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<multilabel>
<halpin>"DMultilabel"</halpin>
<legends>["On","400V required","Auto=Spindle","Off "]</legends>
<font>("Helvetica", 10)</font>
<disable_pin>True</disable_pin>
<initval>0</initval>
</multilabel>
</hbox>
<hbox>
<radiobutton>
<choices>["Auto","On","Off"]</choices>
<halpin>"ButtonDammsugare"</halpin>
<initval>0</initval>
<orient>HORIZONTAL</orient>
<relief>SUNKEN</relief>
</radiobutton>
</hbox>
</labelframe>
<labelframe text="Compressed air">
<font>("Helvetica",12)</font>
<bd>5</bd>
<relief>RAISED</relief>
<hbox>
<led>
<halpin>"led_Tryckluft"</halpin>
<size>40</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<multilabel>
<halpin>"TMultilabel"</halpin>
<legends>["On","400V required","Auto=Spindle","Off "]</legends>
<font>("Helvetica", 10)</font>
<disable_pin>True</disable_pin>
<initval>0</initval>
</multilabel>
</hbox>
<hbox>
<radiobutton>
<choices>["Auto","On","Off"]</choices>
<halpin>"ButtonTryckluft"</halpin>
<initval>2</initval>
<orient>HORIZONTAL</orient>
<relief>SUNKEN</relief>
</radiobutton>
</hbox>
</labelframe>
<labelframe text="Spindle">
<font>("Helvetica",12)</font>
<bd>5</bd>
<relief>RAISED</relief>
<hbox>
<led>
<halpin>"led_spindle"</halpin>
<size>40</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<multilabel>
<halpin>"SMultilabel"</halpin>
<legends>["","Spindle error! try turning 400v off for 20s"]</legends>
<font>("Helvetica", 10)</font>
<disable_pin>True</disable_pin>
<bg>"Yellow"</bg>
<initval>0</initval>
</multilabel>
</hbox>
<hbox>
<bar>
<halpin>"my-bar"</halpin>
<min_>0</min_>
<max_>24000</max_>
<bgcolor>"grey"</bgcolor>
<range1>(0,100,"green")</range1>
<range2>(101,129,"orange")</range2>
<range3>(130,150,"red")</range3>
<fillcolor>"green"</fillcolor>
<font>("Helvetica",1)</font>
</bar>
</hbox>
<!--
<hbox>
<label>
<text>"min "</text>
<font>("Helvetica",10)</font>
</label>
<number>
<halpin>"my-number-min"</halpin>
<font>("Helvetica",10)</font>
<format>"d"</format>
</number>
<label>
<text>"rpm "</text>
<font>("Helvetica",10)</font>
</label>
</hbox>
<hbox>
<label>
<text>"max "</text>
<font>("Helvetica",10)</font>
</label>
<number>
<halpin>"my-number-max"</halpin>
<font>("Helvetica",10)</font>
<format>"d"</format>
</number>
<label>
<text>"rpm "</text>
<font>("Helvetica",10)</font>
</label>
</hbox> -->
<hbox>
<label>
<text>"Requested speed"</text>
<font>("Helvetica",10)</font>
</label>
<number>
<halpin>"my-number-r"</halpin>
<font>("Helvetica",10)</font>
<format>"d"</format>
</number>
<label>
<text>"rpm "</text>
<font>("Helvetica",10)</font>
</label>
</hbox>
</labelframe>
<labelframe text="Automatic Z touch probe">
<font>("Helvetica",12)</font>
<bd>5</bd>
<relief>RAISED</relief>
<button>
<relief>RAISED</relief>
<bd>3</bd>
<halpin>"ztouch"</halpin>
<text>"Touch Off Z"</text>
<font>("Helvetica",16)</font>
</button>
</labelframe>
</pyvcp>