gmoccapy plasma with DIY thc (KGplasma)

More
10 years 2 months ago - 10 years 2 months ago #79341 by kagouraki
Hello,

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
Last edit: 10 years 2 months ago by kagouraki.

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

More
10 years 2 months ago #79342 by tommylight
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 .

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

More
10 years 2 months ago #79532 by kagouraki
Hello,

I need some help with the glade vcp. I have attached the files. My problem is that if i run
Code:
python gcode.py
from terminal it shows my gui as expected. No error in the terminal. If i open gmoccapy and run in terminal
Code:
gladevcp -u gcode.py gcode.glade
it opens but there is no browser. and i have this error in terminal.
Code:
/usr/bin/gladevcp:212: RuntimeWarning: missing handler 'on_window1_destroy' builder.connect_signals(handlers)

it seems somehow that it dont load the python file along with the glade file.
Do i overlook something ?

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

More
10 years 2 months ago #79538 by kagouraki

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!
The following user(s) said Thank You: tommylight

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

More
10 years 2 months ago #79541 by tommylight
I will give it a try, once i have some time. Thank you very much.

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

More
10 years 2 months ago - 10 years 2 months ago #79721 by kagouraki
I have made the gladevcp for the reference. You can download it from the link below. One think that must be done is to change the highlighting of the text founded from the search. Now it is not so clearly visible. I dont know how to do it. If someone can help me i would be gratefoul.
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
Last edit: 10 years 2 months ago by kagouraki.
The following user(s) said Thank You: tommylight, KCJ

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

Moderators: newbynobi, HansU
Time to create page: 0.086 seconds
Powered by Kunena Forum