Basic jog physical buttons

More
27 May 2021 18:54 #210461 by robin36mac
Hello,

I'm looking to build a front panel for my CNC little Emco lathe, and would like to get some increment and continuous jog buttons.
I'm new at tweaking HAL config files, and I'm struggling to get the jog work from the buttons.

I've added a second parralel port to get more inputs, and that works well as I can control (start/stop) the spindle.
However, I'm not finding anything that works to get anything to move from that command...

I expected this to do the job, but it isn't, likely somthing is missing or wrong around halui command
In the debut halui window I can see that my button does well affect the True/False state.
net z-plus halui.axis.z.plus <= parport.1.pin-02-in

I'm using LinuxCNC 2.8

Thanks for your help !

Please Log in or Create an account to join the conversation.

More
28 May 2021 00:58 - 28 May 2021 00:59 #210485 by cmorley
Replied by cmorley on topic Basic jog physical buttons
until the machine is homed - you must jog joints, which use different named pins.
Last edit: 28 May 2021 00:59 by cmorley.

Please Log in or Create an account to join the conversation.

More
28 May 2021 20:50 #210562 by andypugh
Replied by andypugh on topic Basic jog physical buttons

In the debut halui window I can see that my button does well affect the True/False state.
net z-plus halui.axis.z.plus <= parport.1.pin-02-in


Are you setting halui.axis.jog-speed to a non-zero value?

Is the DRO showing XYZ rather than 0,1,2? I would imagine that a lathe would be using identity kins, so probably goes straight to XYZ mode?

Please Log in or Create an account to join the conversation.

More
01 Jun 2021 20:25 #210910 by robin36mac
Hello,

Yes, I've set the halui.axis.jog-speed, but doing too much testing, I missed to home properly at the end, hence... this

I've been able to jog before homing using joint pins

Thanks for your help ! I now have all the tools I need to code my interface.

Please Log in or Create an account to join the conversation.

Time to create page: 0.176 seconds
Powered by Kunena Forum