wiki:Maschinen/CncFräse/JogBox

Version 2 (modified by roh, 15 years ago) (diff)

--

JogBox

this is a simple parallel port connected jog box with 6 axis and minimal cost.

Hardware

jogbox

Schematic

as pullups anything between 4.7k and 100k should be working. i think i used 10k

schematic jog box

the resistors can be soldered directly to the encoders after mounting these with a center-lock ring in the plastic case.

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.

Software

the software is only emc2 config:

HAL config

you need to enable the extra parport if not done yet!

in this config parport.2 is used (3rd port)

loadrt encoder num_chan=6
loadrt knob2float count=1

PyVCP config

add something like this to your custompanel.xml

<labelframe text="JogBox">
  <checkbutton>
    <halpin>"jogdevice-enable"</halpin>
    <text>"Enable"</text>
  </checkbutton>
  <hbox>
    <label>
      <text>"Stepsize"</text>
      <font>("Helvetica",12)</font>
    </label>
    <number>
      <halpin>"jogdevice-speed"</halpin>
      <font>("Helvetica",15)</font>
      <format>"1.3f"</format>
    </number>
  </hbox>
</labelframe>

Attachments (4)

Download all attachments as: .zip