- Posts: 2
- Thank you received: 0
Basic jog physical buttons
- robin36mac
- Topic Author
- Offline
- New Member
-
Less
More
5 years 5 months ago #210461
by robin36mac
Basic jog physical buttons was created 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.
I'm using LinuxCNC 2.8
Thanks for your help !
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.
Code:
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 to join the conversation.
5 years 5 months ago #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.
Please Log in to join the conversation.
5 years 5 months ago #210562
by andypugh
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?
Replied by andypugh on topic Basic jog physical buttons
robin36mac wrote: In the debut halui window I can see that my button does well affect the True/False state.
Code: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 to join the conversation.
- robin36mac
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
5 years 4 months ago #210910
by robin36mac
Replied by robin36mac on topic Basic jog physical buttons
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.
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 to join the conversation.
Time to create page: 0.081 seconds
