Change jog arrows direction?

More
19 Aug 2014 21:06 #50067 by jeeybee
I want the coordinates for the Y axis to go to the negative direction when I press the up arrow, how can that be acomplished?
The motor turns in the right direction but in this particular application I want it to be the way explained above.
GEOMETRY = X -Y Z does not help.

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

More
More
20 Aug 2014 00:30 #50072 by jeeybee
Thanks.

But I cant find the axis.py nor does gedit .axisrc open any existing file, where can I find them?

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

More
20 Aug 2014 00:45 #50074 by ArcEye
Replied by ArcEye on topic Change jog arrows direction?
The file .axisrc only exists if you have it, you may have to create it.
By default gedit will not show or open hidden files beginning with a dot anyway.

You may need to install a decent editor / filemanager like mc to check properly if it exists and create it if it doesn't.

axis is in /usr/bin/axis without the .py extension, but you don't need to do anything to that

regards

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

More
20 Aug 2014 15:28 #50091 by jeeybee
Ok thanks.

I didnt belive it was this complicated to just switch the direction of the arrows vs the screen :dry:

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

More
20 Aug 2014 16:19 #50092 by ArcEye
Replied by ArcEye on topic Change jog arrows direction?

I didnt belive it was this complicated to just switch the direction of the arrows vs the screen :dry:


They should be correct if your scale signs are correct from the outset

When you move an X or Y jog button, the spindle should move in that direction, NOT the table.

If you change the sign in front of the SCALE= figure for the axes you require, that will do the same thing,
but the axis may not be travelling in the correct direction, even if it co-incides with your notion of where you want it to go.

In the zip is an .axisrc that will cover a mill.


File Attachment:

File Name: axisrc.zip
File Size:0 KB



unzip it and copy the file into your home dir

If the axes do not move the way they should, change which button has the minus sign in front of 'get-jog-speed(n)'

regards
Attachments:

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

More
25 Aug 2014 14:03 #50257 by jeeybee
Great thank you very much it worked like a charm.

Does this replace all keyboard shortcuts now?

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

More
25 Aug 2014 14:52 #50259 by ArcEye
Replied by ArcEye on topic Change jog arrows direction?
No, that bit of code just overrides the default key bindings in Axis for jogging

You can modify other key bindings.
See this for one way of doing it.

www.linuxcnc.org/index.php/english/forum...-editor?limitstart=0

regards

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

Time to create page: 0.076 seconds
Powered by Kunena Forum