Classicladder sending M code back to Linucnc Possible ?

More
5 years 1 month ago #219630 by my1987toyota

Are you getting any error messages in the terminal?
 
The only warning I have seen is in linuxcnc " unknown M code used  ". Though I will say
I haven't look on terminal to see what it comes up with . Mainly because I don't know
what I am doing in that regard .

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

More
5 years 1 month ago #219631 by my1987toyota
here are a couple of my M codes. Maybe someone will see something I am missing.

File Attachment:

File Name: M100.txt
File Size:2 KB

File Attachment:

File Name: M101.txt
File Size:0 KB

File Attachment:

File Name: M102.txt
File Size:0 KB

File Attachment:

File Name: M103.txt
File Size:0 KB

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

More
5 years 1 month ago #219639 by my1987toyota
  So from one of my very recently acquired books (Linux Command Line and Shell Scripting Bible ) I went onto my 
home system to see if it would show if the files are executable . I cd to the linuxcnc file , cd to nc_files , cd to M_codes file
then ls -l the M codes. So far ( on my home system at least  ) they all read executable. I wonder if I will have to manually
set the M1## bash files on the system at work to executable.

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

More
5 years 1 month ago #219644 by tommylight
No need for terminal to set permissions, usually, all file explorers on Linux can do "right click>properties" and there should be a tab with permissions.
or
sudo chmod +x filename
:)
Quote from somewhere on the net:
Linux is very user friendly, it is just very picky who his friends are !
:)
The following user(s) said Thank You: my1987toyota

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

More
5 years 1 month ago #219666 by my1987toyota
Thanks tommylight. When I get a chance I will check that out.

it will probably boil down to my lack of experience.

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

More
5 years 1 month ago #219848 by my1987toyota
well I found my problem. Facepalm . I forgot to put the full M_code path in the ini section. Basically I
put in the path up to the folder but not to the files in the folder. I swear it's the smallest things that
get you in the end.
The following user(s) said Thank You: tommylight

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

Time to create page: 1.615 seconds
Powered by Kunena Forum