radius/diameter programming and hal
- bobwolf
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 4
07 Feb 2024 19:46 #292780
by bobwolf
Replied by bobwolf on topic radius/diameter programming and hal
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
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.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4092
- Thank you received: 1773
07 Feb 2024 19:56 - 07 Feb 2024 19:57 #292781
by Aciera
Replied by Aciera on topic radius/diameter programming and hal
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.
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.
- tcoleman978
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 1
07 Feb 2024 22:39 #292793
by tcoleman978
Replied by tcoleman978 on topic radius/diameter programming and hal
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?
What happened? Or am I missing something simple?
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4092
- Thank you received: 1773
08 Feb 2024 01:13 - 08 Feb 2024 01:18 #292806
by Aciera
Replied by Aciera on topic radius/diameter programming and hal
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
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.
- bobwolf
- Offline
- Senior Member
-
Less
More
- Posts: 49
- Thank you received: 4
08 Feb 2024 10:42 - 08 Feb 2024 10:48 #292836
by bobwolf
Replied by bobwolf on topic radius/diameter programming and hal
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

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.
- tcoleman978
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 1
08 Feb 2024 20:58 #292882
by tcoleman978
Replied by tcoleman978 on topic radius/diameter programming and hal
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?
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.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 19631
- Thank you received: 6618
08 Feb 2024 23:23 #292894
by tommylight
Replied by tommylight on topic radius/diameter programming and hal
user ID 1000 on Linux is usually the Live user, is this on an installed system?/ $ sudo find ./ -type f -name gmoccapy.py
find: '/run/user/1000/doc': Permission denied
Please Log in or Create an account to join the conversation.
- tcoleman978
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 1
09 Feb 2024 00:06 #292896
by tcoleman978
Replied by tcoleman978 on topic radius/diameter programming and hal
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.
I come from dos, so linux has me at a disadvantage.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4092
- Thank you received: 1773
09 Feb 2024 08:24 #292916
by Aciera
Replied by Aciera on topic radius/diameter programming and hal
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
Try this (note the removed '.py'):
/ $ sudo find ./ -type f -name gmoccapy
Please Log in or Create an account to join the conversation.
- tcoleman978
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 1
09 Feb 2024 11:32 #292929
by tcoleman978
Replied by tcoleman978 on topic radius/diameter programming and hal
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?
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.266 seconds