Newbie need help, touch plate making.

More
2 years 11 months ago #284638 by chris@cnc
How would you like to start touching? with an M code? or a button in the pyvcp panel in gui axis?

Please Log in to join the conversation.

More
2 years 11 months ago #284639 by MaHa
If you have all the required files already, can you post this files, to check. (the probing will for shure not run, as is), just guessing the names:

If the folder masa/linuxcnc/config/my-machine ,   masa/linuxcnc/nc_files  ,  masa/linuxcnc/subroutines
are there, grab files from this folder.

touchplate.xml
touchplate.ngc
your machine.ini
your machine.hal

According the first post, there is kind of a mess in your config folder, which makes it easy to edit the wrong file.
Just stick to the  masa/linuxcnc   folder.

If this ever works, this setup is for  1 ngc file for each tool



 

Please Log in to join the conversation.

More
2 years 11 months ago #284640 by masawee
not start, not can run cnc, only come error MDI command =00 not found.
answer to M code replies.

Please Log in to join the conversation.

More
2 years 11 months ago #284642 by masawee
ok,i move all this files to masa/linuxcnc folder, and try start again.

answer to file location replies.

Please Log in to join the conversation.

More
2 years 11 months ago #284647 by MaHa
Sorry, seems there was a missunderstanding. I did not ask to move the files, just to be aware what files you use.
I asked, to post the 4 files i mentioned before,  as attachment, to have a look, how to make this setup running. Its impossible to solve, just by advise

Please Log in to join the conversation.

More
2 years 11 months ago #284651 by masawee
sorry my bad english, i zip my cnc folder masa/linuxcnc/config folder to zip, minun-kone =my-machine. language.

Please Log in to join the conversation.

More
2 years 11 months ago #284659 by chris@cnc
Well, your questions are really not so easy as you might. 
I guess your ini call minin-kone.ini
First, you want to try tool touch off with button in pyvcp panel. Useful information if you want that will someone help.
1. Create button and add xml file to Display Section in ini.
"PYVCP = Ztouch.xml"
2. Link the button in custom_postgui.hal file
3. link mdi command in ini File -> HALUI Section and link your touch program path in RS274NGC Section
I use different way and call my touch program 9000.ngc
I didn't get working with filenames like touching.ngc
I correct your config. There were some grammar errors. Give a try and check what happens and what i change. 

 

Please Log in to join the conversation.

More
2 years 11 months ago #284689 by masawee
thanks you try help, i not understand what need add ini file inside section, NO;2 what need do custom_postgui.hal
3. how link at MDI COMMAND to hal,ui section ?
link RS274ngc ????
thats all must do inside ini file ? i understand i need add "PYVCP = Ztouch,xml" under DISPLAY section.
but not understand what need add 2. custom:postgui
what need do MDI command
what do RS274NGC
need i copy - paste this new config folder to my linux old config folder replace all config folder new, ?
have you 9000.ngc code metric or imperial ? 
i use metric because live in north europe Finland. 
 

Please Log in to join the conversation.

More
2 years 11 months ago #284691 by masawee
i copy - paste new config folder to computer and "touch off Z" button come to display, BUT if bush button come error.

" EOF in file :/usr/share/axis/image axis.ngc seeking O-word: O <9000> from line O.
what this mean ?
my linux not found folder usr/share/axis/image anywere.
not has usr/share folder

edit: i found axis.ngc 1 hour search all linux, this folder but inside code i not understand any, what have wrong ?
geany show line numbers but not have line 0, start line 1,2,3,4,5,6 etc.

Please Log in to join the conversation.

More
2 years 11 months ago #284693 by chris@cnc
I do all that and save it in new configuration. Check the new ini and postgui file in zip folder. The only one missing is the path of 9000.ngc in your environment. I marked in ini file. If you start the new config you should get error 9000.ngc not found. In this case fix the path. Try it and we will see what error comes next. Try and error. Sometimes only way to learn. I will try tonight write a more clear example. On the mobile phone not possible. 

Please Log in to join the conversation.

Time to create page: 0.200 seconds
Powered by Kunena Forum