Changes between Version 1 and Version 2 of Maschinen/CncFräse/JogBox
- Timestamp:
- Nov 15, 2009, 9:35:01 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Maschinen/CncFräse/JogBox
v1 v2 1 1 == JogBox == 2 3 this is a simple parallel port connected jog box with 6 axis and minimal cost. 2 4 3 5 === Hardware === 4 6 7 [[Image(blog:jogbox:jogbox.jpg)]] 8 5 9 ==== Schematic ==== 6 10 7 [[Image(jogbox_schem.png)]]11 as pullups anything between 4.7k and 100k should be working. i think i used 10k 8 12 9 10 13 [[Image(jogbox_schem.png, 500px)]] 14 15 the resistors can be soldered directly to the encoders after mounting these with a center-lock ring in the plastic case. 16 17 to make sure no fluids enter the case and strain-relief the cable mount use a proper cable fitting as shown in the first picture. 18 19 11 20 === Software === 12 21 22 the software is only emc2 config: 23 24 ==== HAL config ==== 25 26 you need to enable the extra parport if not done yet! 27 28 in this config parport.2 is used (3rd port) 29 30 {{{ 31 loadrt encoder num_chan=6 32 loadrt knob2float count=1 33 34 }}} 35 36 ==== PyVCP config ==== 37 38 add something like this to your custompanel.xml 39 40 41 {{{ 42 <labelframe text="JogBox"> 43 <checkbutton> 44 <halpin>"jogdevice-enable"</halpin> 45 <text>"Enable"</text> 46 </checkbutton> 47 <hbox> 48 <label> 49 <text>"Stepsize"</text> 50 <font>("Helvetica",12)</font> 51 </label> 52 <number> 53 <halpin>"jogdevice-speed"</halpin> 54 <font>("Helvetica",15)</font> 55 <format>"1.3f"</format> 56 </number> 57 </hbox> 58 </labelframe> 59 }}} 60