summaryrefslogtreecommitdiff
path: root/configs/common/configurable_options/pyvcp/xyzjog.xml
blob: c6eb4e2ebdb445e3d0c8d80ad6735b845952cfee (plain)
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<?xml version='1.0' encoding='UTF-8'?>
<pyvcp>
 <vbox>
 <relief>RIDGE</relief>         
 <bd>6</bd>
     <labelframe text="Set G92 Origon"> 
     <font>("Helvetica",20)</font>
        <hbox> 
                <label>
                <width>10</width>
                </label>
                <button>
                            <halpin>"MDI-zerox"</halpin>
                            <text>"  Zero X  "</text> 
                            <justify>"right"</justify>
                            
                       </button>
                
        </hbox>
                
        <hbox>
                <label>
                <width>10</width>
                </label>
                <button>
                            <halpin>"MDI-zeroy"</halpin>
                            <text>"  Zero Y  "</text> 
                       </button>
        </hbox>
                
        <hbox>
                <label>
                <width>10</width>
                </label>
                <button>
                            <halpin>"MDI-zeroz"</halpin>
                            <text>"  Zero Z  "</text> 
                       </button>
        </hbox>
        
        <hbox>
                <label>
                <width>6</width>
                </label>
                <button>
                            <halpin>"MDI-clear-offset"</halpin>
                            <text>"  Clear G92 offset  "</text> 
                </button>
        </hbox>
        </labelframe>
        <label>
                <width>1</width>
                </label>
         <labelframe text="Jog"> 
     <font>("Helvetica",20)</font>
        <hbox> 
                <label>
                <width>5</width>
                </label>
                <button>
                            <halpin>"jog-x+"</halpin>
                            <text>"  X +  "</text> 
                            <justify>"right"</justify>
                            
                       </button>
                <label>
                <width>5</width>
                </label>
                <button>
                            <halpin>"jog-x-"</halpin>
                            <text>"  X -  "</text> 
                            <justify>"right"</justify>
                            
                       </button>
        </hbox>
                
        <hbox>
                <label>
                <width>5</width>
                </label>
                <button>
                            <halpin>"jog-y+"</halpin>
                            <text>"  Y +  "</text> 
                       </button>
                <label>
                <width>5</width>
                </label>
                <button>
                            <halpin>"jog-y-"</halpin>
                            <text>"  Y -  "</text> 
                       </button>
        </hbox>
                
        <hbox>
                <label>
                <width>5</width>
                </label>
                <button>
                            <halpin>"jog-z+"</halpin>
                            <text>"  Z +  "</text> 
                       </button>
                <label>
                <width>5</width>
                </label>
                <button>
                            <halpin>"jog-z-"</halpin>
                            <text>"  Z -  "</text> 
                       </button>
        </hbox>
        <hbox>
                <label>
                <width>3</width>
                </label>
                <label>
                <text>"Jog Speed"</text>
                </label>
                <label>
                <width>1</width>
                </label>
                <spinbox>
                           <halpin>"jog-speed"</halpin>
                           <min_>0</min_>
                           <resolution>.5</resolution>
                           <format>"2.1f"</format>
                           <width>5</width>
                           <font>("Arial",30)</font>
                           <justify>RIGHT</justify>
                           <initval>20</initval>
                </spinbox>
        </hbox>
        
        </labelframe>
        <label>
                <width>1</width>
        </label>
        <labelframe text="MDI comands"> 
       <font>("Helvetica",20)</font>
		<hbox>
                     <button>
                          <halpin>"MDI-z_up"</halpin>
                          <text>"Goto Z Zero"</text> 
                     </button>
                     <button>
                           <halpin>"MDI-reference"</halpin>
                           <text>"Goto Reference"</text> 
                     </button>
		</hbox>
        </labelframe>
        <label>
                <width>1</width>
        </label>
        <labelframe text="Optional Stop"> 
        <font>("Helvetica",20)</font>
        <hbox>
			       <label>
                <width>1</width>
                </label>
                       <button>
                            <halpin>"ostop-on"</halpin>
                            <text>"  on  "</text> 
                       </button>
                       <label>
                <width>5</width>
                </label>
                       <led> 
	                    <halpin>"ostop-is-on"</halpin>  
			    <size>20</size>  
			    <on_color>"blue"</on_color> 
			    <off_color>"grey"</off_color> 
			</led>	
                        <label>
                <width>5</width>
                </label>
                       <button>
                             <halpin>"ostop-off"</halpin>
                             <text>"  off  "</text> 
                       </button>
		</hbox>
       </labelframe>
    <label>
                <width>1</width>
                </label>
    <labelframe text="Program Control"> 
    <font>("Helvetica",20)</font>
		<hbox>
		      <vbox>
			<button>
                            <halpin>"pause"</halpin>
                            <text>"Pause"</text> 
                            <bg>"red"</bg>
                       </button>
		       </vbox>
                       <button>
                            <halpin>"resume"</halpin>
                            <text>"Resume"</text>
                            <bg>"green"</bg> 
                       </button>
                       <button>
                             <halpin>"step"</halpin>
                             <text>"Single block"</text> 
                             <bg>"yellow"</bg>
                       </button>
			<vbox>
			</vbox>
		</hbox>
       </labelframe>
 </vbox>
 
</pyvcp>