Originally Posted by
123CNC
Alan,
Are you using steppers and parallel port with EMC2 or servo's and third party hardware (e.g. pci PICO systems, etc.)?
Just curious about your hal files and interfacing the joystick.
A few of us may be further amused if you post a video of your joystick jogging and thumb trigger operation.
Nice work.
I am currently using steppers and parallel port. I have several servos but I don't have any servo drivers.
I just basically followed the directions in the wiki here. Then changed these lines in my custom_postgui.hal file:
Code:
net joy-x-jog halui.jog.0.analog <= input.0.abs-x-position
net joy-y-jog halui.jog.1.analog <= input.0.abs-y-position
net joy-z-jog halui.jog.2.analog <= input.0.abs-z-position
to this:
Code:
net joy-x-jog halui.jog.0.analog <= input.0.abs-y-position
net joy-y-jog halui.jog.1.analog <= input.0.abs-z-position
net joy-z-jog halui.jog.2.analog <= input.0.abs-x-position
Then I set the speeds to be 0.5, 5, and 50. Increasing by a factor of ten.
I will try to get a short video in the next few days. It is a little hard to take a video holding the camera in one hand, keeping it focused and use the other hand to jog the lathe. I'm not all that coordinated.
Alan