LinuxCNC-PrintNC/printnc/vfd.xml

43 lines
1.2 KiB
XML
Raw Normal View History

2024-07-11 12:12:44 +02:00
<pyvcp>
<labelframe text="config">
<meter>
<halpin>"rpm-out"</halpin>
<text>"Spindle"</text>
<subtext>"rpm"</subtext>
<size>250</size>
<min_>0</min_>
<max_>24000</max_>
<majorscale>3000</majorscale>
<minorscale>1000</minorscale>
<region1>(0,4000,"yellow")</region1>
<region2>(4001,23000,"green")</region2>
<region3>(23000,24000,"red")</region3>
</meter>
<table flexible_rows="[1]" flexible_columns="[2]">
<tablerow/>
<label text="Spindle at speed"/>
<led halpin="at-speed" size="12" on_color="green" off_color="red"/>
<tablerow/>
<label text="'\nParameters:'"/>
<tablerow/>
<label text="Acc time in s"/>
<scale>
<font>("Helvetica",10)</font>
<width>"20"</width>
<halpin>"acc"</halpin>
<resolution>0.1</resolution>
<orient>HORIZONTAL</orient>
<initval>5</initval>
<min_>3</min_>
<max_>15</max_>
<param_pin>0</param_pin>
</scale>
<tablerow/>
<label text="'\nRS485:'"/>
<tablerow/>
<label text="Is connected"/>
<led halpin="is-connected" size="12" on_color="green" off_color="red"/>
</table>
</labelframe>
</pyvcp>