- Posts: 31
- Thank you received: 0
gmoccapy plasma with DIY thc (KGplasma)
I am building a plasma for my university. I have made so far :
a thc with arduino, an encoder and a 1.8 tft screen
3 rotary switches. One 16 position (lorlin BCK1004) four output for feed override. One 6 position with 3 output(with a MM74HC148N binary encoder). One 16 position (lorlin BCK1004) four output for the mode switch. For the last one i have written a hal component to encode this four outputs to 16 hal pins(each time only one is true). I have intentions to make this mode switch like a fanuc mode switch. more on that later
tweaked the gmoccapy interface to get rid of the unwanted buttons and reorder some things.
Now i am trying to make a user tab that is showing the g code quick reference for the operator. I am not a programmer and python seems very difficult for me so my approach is to find the offline html documents of linuxcnc so i can embed a browser in the user tab. Help is welcomed !
Link: Thc Video
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
I also like the switches and i would like to see how you did the HAL for them, i am way to busy but i have planed to do a nice control pannel with similar switches.
Keep up the good work, Greece .
Please Log in to join the conversation.
I need some help with the glade vcp. I have attached the files. My problem is that if i run
it seems somehow that it dont load the python file along with the glade file.
Do i overlook something ?
Please Log in to join the conversation.
tommylight wrote: Nice, i like the Gmoccapy and i have never done anything with arduino, but i have 2 that i made with PIC16F886 and they work quite good and fast.
I also like the switches and i would like to see how you did the HAL for them, i am way to busy but i have planed to do a nice control pannel with similar switches.
Keep up the good work, Greece .
i have attached the component i wrote.
Thank you!
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
Please Log in to join the conversation.
you need to change the python file to edit the paths for the html's folder location.
Now i must make a gladevcp that reads the sim.var file. looks for parameters 100-1100 and reads their values. In the panel i will have a table with 3 colums. One colum the description (this will be a separate file ) one columm will be the number of the parameter and one colum will be the value of the parameter. I think i will take the offsetpage glade and modify it to my needs. We will see. I am not a programmer at all...
Thank you for your help.
Giorgos
Link: This is a link
Please Log in to join the conversation.
I have done it by my own because the default offset widget has too many things i dont need. I took parts of the offsetcode and made my own.
You can find and test it here. Rename parameters.txt to parameters.py. Embeded in gmoccapy with
in the ini file. Place this 3 files except the sim.var in your config directory. You need to have your sim.var file in this directory too and you need to add the lines starting from 100 to 1100 like the sim.var provided. Dont replace the sim.var file unless you know what you are doing. Only edit or replace sim.var file when linuxcnc is not running.
Thank you.
Please Log in to join the conversation.
I was planning to make a user tab for the gcode reference as well, but have not goten around to it yet. I would like to try yours but the link appears broken.
I'm off to try your parameters user tab now! Thanks for sharing.
Kurt
Please Log in to join the conversation.
I hope you enjoy !
Please Log in to join the conversation.
Your parameters tab works great and I'm enjoining it. Thanks!
Kurt
Please Log in to join the conversation.
