- Posts: 3
- Thank you received: 0
Starting a new (first) project
1 year 8 months ago #321048
by matgraci
Starting a new (first) project was created by matgraci
Hello everyone and very glad to be a part of the community! This is my first post 
I am super new to the linuxcnc and I have actually been reading the forum for the last couple of months trying to get started by myself and trying not to bother everyone with the questions that could be found in the documentation and/or previous posts. However it seems that now I have hit the limit and it takes toooo much time to get unstuck. I would really appreciate some push in the right direction
Anyways, I am trying to build quite a complex machine that has a single motor to control something like a winch and pull some things up and down. I got myself a Delta ASDA-A2-E inverter running a 1.5kW motor and I managed to get it moving using the Ethercat driver and axis GUI. The control is running on the Raspberry Pi 4B and I managed to get the linux cnc installed and running and to spin the motor in a position control mode, even though, later on I will need to use the torque control. But all of this was mainly the learning curve to actually get started
So what I would like to do is a simple GUI (probably from scratch) that would allow me to set the needed torque. Torque control will be quite complex, so I will need a place to write my own controls (I would prefer c/c++, but probably I can survive also with python). There should be also other functions for safety, data collection, etc, but this I can add along the way. Can you guys please help me set the simplest Hello World project where I would be able to get started? I would really appreciate any help.
Up until now I have been trying on Linux raspberrypi 6.1.54-rt15 but I am willing to start from scratch if there is a better option.
Thanks in advance!
I am super new to the linuxcnc and I have actually been reading the forum for the last couple of months trying to get started by myself and trying not to bother everyone with the questions that could be found in the documentation and/or previous posts. However it seems that now I have hit the limit and it takes toooo much time to get unstuck. I would really appreciate some push in the right direction
Anyways, I am trying to build quite a complex machine that has a single motor to control something like a winch and pull some things up and down. I got myself a Delta ASDA-A2-E inverter running a 1.5kW motor and I managed to get it moving using the Ethercat driver and axis GUI. The control is running on the Raspberry Pi 4B and I managed to get the linux cnc installed and running and to spin the motor in a position control mode, even though, later on I will need to use the torque control. But all of this was mainly the learning curve to actually get started
So what I would like to do is a simple GUI (probably from scratch) that would allow me to set the needed torque. Torque control will be quite complex, so I will need a place to write my own controls (I would prefer c/c++, but probably I can survive also with python). There should be also other functions for safety, data collection, etc, but this I can add along the way. Can you guys please help me set the simplest Hello World project where I would be able to get started? I would really appreciate any help.
Up until now I have been trying on Linux raspberrypi 6.1.54-rt15 but I am willing to start from scratch if there is a better option.
Thanks in advance!
Please Log in to join the conversation.
1 year 8 months ago #321102
by andypugh
Replied by andypugh on topic Starting a new (first) project
You might find some useful ideas here;
forum.linuxcnc.org/30-cnc-machines/42100...up-questions?start=0
I wrote (most of) a special purpose system without any G-code for a press brake.
GladeVCP and Python is probably the well trodden path, but QT and C++ is certainly possible.
And you will need C for any realtime parts such as custom HAL components.
I wrote (most of) a special purpose system without any G-code for a press brake.
GladeVCP and Python is probably the well trodden path, but QT and C++ is certainly possible.
And you will need C for any realtime parts such as custom HAL components.
Please Log in to join the conversation.
1 year 8 months ago #321150
by matgraci
Replied by matgraci on topic Starting a new (first) project
Thanks for the reply!
I actually did go through it all already and actually started doing something in that direction, but I got stuck on trying to install the Glade. Since I already did a lot of mess trying to install Qt and playing with QtPyVCP, I decided to try setting the fresh instance of linuxcnc following all the steps that I documented when I did it first time. Then I figured out that they no longer work
and decided to actually ask for the help because it seems to be the endless loop of trials and error 
I am at work now, but when I come home this evening I'll try again and c/p the errors that I am getting.
I actually did go through it all already and actually started doing something in that direction, but I got stuck on trying to install the Glade. Since I already did a lot of mess trying to install Qt and playing with QtPyVCP, I decided to try setting the fresh instance of linuxcnc following all the steps that I documented when I did it first time. Then I figured out that they no longer work
and decided to actually ask for the help because it seems to be the endless loop of trials and error 
I am at work now, but when I come home this evening I'll try again and c/p the errors that I am getting.
Please Log in to join the conversation.
1 year 8 months ago #321155
by JT
Replied by JT on topic Starting a new (first) project
Please Log in to join the conversation.
1 year 8 months ago #321159
by cmorley
Replied by cmorley on topic Starting a new (first) project
Qtvcp is included with linuxcnc.
linuxcnc.org/docs/devel/html/gui/qtvcp.html
and Gladevcp
linuxcnc.org/docs/devel/html/gui/gladevcp.html
Both can be used for GUI building, Qtvcp is easier then Gladevcp I would say.
linuxcnc.org/docs/devel/html/gui/qtvcp.html
and Gladevcp
linuxcnc.org/docs/devel/html/gui/gladevcp.html
Both can be used for GUI building, Qtvcp is easier then Gladevcp I would say.
Please Log in to join the conversation.
1 year 8 months ago #321209
by matgraci
Replied by matgraci on topic Starting a new (first) project
Thanks JT, this might be exactly what I am looking for. And is very well documented with many youtube tutorials.
I did manage to get the demo up and running. Will keep you posted about the progress in the next few days.
Thanks all for the help!
I did manage to get the demo up and running. Will keep you posted about the progress in the next few days.
Thanks all for the help!
Please Log in to join the conversation.
Time to create page: 0.166 seconds
