radius/diameter programming and hal

More
07 Feb 2024 19:46 #292780 by bobwolf
ok I use 2.8... maybe that's why
I will try to search for the 'gcodes' file on my PC to understand this functionality a little better

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

More
07 Feb 2024 19:56 - 07 Feb 2024 19:57 #292781 by Aciera
Documentation for the python interface:
linuxcnc.org/docs/2.8/html/config/python-interface.html

As I said, start your config from the console and check for error messages.
Last edit: 07 Feb 2024 19:57 by Aciera. Reason: change link to 2.8
The following user(s) said Thank You: bobwolf

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

More
07 Feb 2024 22:39 #292793 by tcoleman978
As of the 2.9.2 update the gmoccapy.py file has disappeared. I can't find it anywhere. Have things been changed? It still loads up...sooo?
What happened? Or am I missing something simple?

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

More
08 Feb 2024 01:13 - 08 Feb 2024 01:18 #292806 by Aciera
open a terminal and see what this command reports:

find ./ -type f -name gmoccapy.py

[edit]

If you have not built LinuxCNC on your computer then you may need to search in the root directory:

cd /
sudo find ./ -type f -name gmoccapy.py

 
Last edit: 08 Feb 2024 01:18 by Aciera.

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

More
08 Feb 2024 10:42 - 08 Feb 2024 10:48 #292836 by bobwolf
after a night of rest for the machine, this morning it works... mysteries of faith... ;-)
I did some testing by opening linuxcnc from the terminal and tried to understand what's in gcodes and made a small table:
[0] -> I don't know
[1] -> modal group G0 - G3 and G80 - G89
[2] -> modal commands, -1 when called modal command
[3] -> modal group G17 G18
[4] -> modal group G40 - G42.1
[5] -> modal group G20,G21
[6] -> modal group G90 G91
[7] -> modal group G93 - G95
[8] -> modal group G54 - G59.3
[9] -> modal group G43 - G49
[10] -> modal group G98 G99
[11] -> modal group G61 - G64
[12] -> I don't know
[13] -> modal group G96 G97
[14] -> modal group G90.1 G91.1
[15] -> modal group G7 G8
Last edit: 08 Feb 2024 10:48 by bobwolf.
The following user(s) said Thank You: Aciera

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

More
08 Feb 2024 20:58 #292882 by tcoleman978
Aciera:
I get the following:

/ $ sudo find ./ -type f -name gmoccapy.py
find: '/run/user/1000/doc': Permission denied
find: '/run/user/1000/gvfs': Permission denied
/ $ cd run/user/1000/gvfs
/ $ /run/user/1000/gvfs dir (seems to do nothing)
/ $ /run/user/1000/gvfs sudo dir
dir: cannot open directory '.': Permission denied

previously it wasn't this hidden
Is something screwed up?

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

More
08 Feb 2024 23:23 #292894 by tommylight

/ $ sudo find ./ -type f -name gmoccapy.py
find: '/run/user/1000/doc': Permission denied

user ID 1000 on Linux is usually the Live user, is this on an installed system?

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

More
09 Feb 2024 00:06 #292896 by tcoleman978
I believe so. Downloaded, burned to a card, then installed linuxcnc. Everything was fine until the beginning of January when the desktop said Updates available...I said ok, and everything went to ....well not a happy place.
I come from dos, so linux has me at a disadvantage.

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

More
09 Feb 2024 08:24 #292916 by Aciera
This is normal, It's just telling you that it could not look for the file (ie gmoccapy.py) on the network drives.
Try this (note the removed '.py'):

/ $ sudo find ./ -type f -name gmoccapy

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

More
09 Feb 2024 11:32 #292929 by tcoleman978
It finds a number of gmoccapy's but not .py . (a lot of .mo 's what ever they are)
So just what directory is it SUPPOSED to be in?
and....network drives.....where did they come from? In an RPI4?

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

Time to create page: 0.108 seconds
Powered by Kunena Forum