Making a thc with resume cut button using thcud
- phoenix
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 157
- Thank you received: 0
12 Jul 2019 03:44 #139136
by phoenix
Making a thc with resume cut button using thcud was created by phoenix
Greetings....
I am making a thc by using thcud component
Also i want to add a pyvcp button to resume the cut on plasma
Logic as follows
When torch turns off
Sample x and y coordinates...
#here problem arises.... I dont know if i can store a variable in hal
Or will sample and hold component work for me????
Then when we pressed resume cut button
It goes to x y positions we saved earlier
Goto cut height
And torch on
Run
It would be great if any of u guys can help me... As I'm total newbie to hal
Thanks.... ☺
I am making a thc by using thcud component
Also i want to add a pyvcp button to resume the cut on plasma
Logic as follows
When torch turns off
Sample x and y coordinates...
#here problem arises.... I dont know if i can store a variable in hal
Or will sample and hold component work for me????
Then when we pressed resume cut button
It goes to x y positions we saved earlier
Goto cut height
And torch on
Run
It would be great if any of u guys can help me... As I'm total newbie to hal
Thanks.... ☺
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 354
12 Jul 2019 07:05 #139149
by pl7i92
Replied by pl7i92 on topic Making a thc with resume cut button using thcud
hi
plasmac got this option alredy
But as you say you want it by button
first the action you like to have is on ARC-ok signal of the THC
if this goes of motion.stop -> programm pause
then you press a button that runs a ngc
the location is in the var <_x> <_y> that you store in your ngc
#<my_x> = <_x> ...
then you move away to a location to see what hapens
eighter in g-code ngc or manuell
YOU can do
M00
do somthing as offen dirt or water is the issue
Resume on the pendand or gui
the g-code ngc will restart and move to the point
g0 z #<free>
x#<my_x> y#<my_y>
G0 z#<pierce>
s112 m3
g4 p0.5
g1 z#<cutheight> f#<cutspeed>
(end Button G-code)
and then it will jump back to the original g-code
plasmac got this option alredy
But as you say you want it by button
first the action you like to have is on ARC-ok signal of the THC
if this goes of motion.stop -> programm pause
then you press a button that runs a ngc
the location is in the var <_x> <_y> that you store in your ngc
#<my_x> = <_x> ...
then you move away to a location to see what hapens
eighter in g-code ngc or manuell
YOU can do
M00
do somthing as offen dirt or water is the issue
Resume on the pendand or gui
the g-code ngc will restart and move to the point
g0 z #<free>
x#<my_x> y#<my_y>
G0 z#<pierce>
s112 m3
g4 p0.5
g1 z#<cutheight> f#<cutspeed>
(end Button G-code)
and then it will jump back to the original g-code
Please Log in or Create an account to join the conversation.
- phoenix
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 157
- Thank you received: 0
12 Jul 2019 07:19 #139154
by phoenix
Replied by phoenix on topic Making a thc with resume cut button using thcud
Do i need to do it in a mousepad and save as ngc
Also how can i call ngc from button. Pyvcp
Also how can i call ngc from button. Pyvcp
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 354
12 Jul 2019 07:23 #139156
by pl7i92
Replied by pl7i92 on topic Making a thc with resume cut button using thcud
in the postgui halfile
net thc-resume pyvcp.my_button halui.mdi−command−XX
in ini
[HALUI]
MDI_COMMAND = o<thcresume> call
net thc-resume pyvcp.my_button halui.mdi−command−XX
in ini
[HALUI]
MDI_COMMAND = o<thcresume> call
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10833
- Thank you received: 3574
12 Jul 2019 09:18 #139160
by rodw
Replied by rodw on topic Making a thc with resume cut button using thcud
I really am at a loss to understand your constant posting on all types of plasma posts, many of which are well and truly obsolete. Since you started, plasmac is now part of the Linuxcnc master (V2.9) distribution and also in V 2.8 so it will be in the next official release of Linuxcnc. It is fully documented if you follow your nose to the 2.9 docs from the main Linuxcnc.org website. There is also a plasma primer document as part of the V 2.8 and 2.9 branches that was updated today (pending buildbot processing)
Please note:
1, Installing V 2.9 is a trivial matter that does not require compiling from source and it has the reverse run that you crave for.
2. Plasmac has a complete configurator. Read the docs.
3. Plasmac is by far the most complete Linuxcnc config for a plasma machine and the only one which is embedded in any version of Linuxcnc.
4. Consider then that Plasmac is the only officially supported Linuxcnc plasma config.
5. Many of us have been very patient and given you good advice. Many of us are sick and tired of your posts.
So my final advice to you is to:
1. Read the Plasma Primer in the LinuxCNC docs. linuxcnc.org/docs/devel/html/plasma/plasma-cnc-primer.html
2.Read the plasmac manual in the Linuxcnc Docs linuxcnc.org/docs/devel/html/plasma/plasmac-user-guide.html
3. Study the buildbot and work out how to install V2.9 branch buildbot.linuxcnc.org/
4. Install Master (v 2.9) branch. Ask for help if you get stuck in the correct forum section about how to install master branch
5. Follow the Plasmac user manual in Item 3 and install and configure the Plasmac config..
I'm sorry, if you can't do that we cannot help you further. We have been very patient. It is disturbing to read posts from others that say they find you annoying. It is your turn to do the right thing and put the effort in. I am unable to help you further and I am sure others feel the same.
Please note:
1, Installing V 2.9 is a trivial matter that does not require compiling from source and it has the reverse run that you crave for.
2. Plasmac has a complete configurator. Read the docs.
3. Plasmac is by far the most complete Linuxcnc config for a plasma machine and the only one which is embedded in any version of Linuxcnc.
4. Consider then that Plasmac is the only officially supported Linuxcnc plasma config.
5. Many of us have been very patient and given you good advice. Many of us are sick and tired of your posts.
So my final advice to you is to:
1. Read the Plasma Primer in the LinuxCNC docs. linuxcnc.org/docs/devel/html/plasma/plasma-cnc-primer.html
2.Read the plasmac manual in the Linuxcnc Docs linuxcnc.org/docs/devel/html/plasma/plasmac-user-guide.html
3. Study the buildbot and work out how to install V2.9 branch buildbot.linuxcnc.org/
4. Install Master (v 2.9) branch. Ask for help if you get stuck in the correct forum section about how to install master branch
5. Follow the Plasmac user manual in Item 3 and install and configure the Plasmac config..
I'm sorry, if you can't do that we cannot help you further. We have been very patient. It is disturbing to read posts from others that say they find you annoying. It is your turn to do the right thing and put the effort in. I am unable to help you further and I am sure others feel the same.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 354
12 Jul 2019 11:09 #139162
by pl7i92
Replied by pl7i92 on topic Making a thc with resume cut button using thcud
im not
sick and tired of your posts.
as im also fighting with plasmac to get mashines transformed
there is as of me no time for all the new benefits to get solved
I will do plasmac shure when 2.8 is offical on the dvd and i will get a separeate hdd to get off
but on 1hr max saturday it is a way to go
change hdd install it
reconfigure to xhc-hb04 support
sick and tired of your posts.
as im also fighting with plasmac to get mashines transformed
there is as of me no time for all the new benefits to get solved
I will do plasmac shure when 2.8 is offical on the dvd and i will get a separeate hdd to get off
but on 1hr max saturday it is a way to go
change hdd install it
reconfigure to xhc-hb04 support
Attachments:
The following user(s) said Thank You: phoenix
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10833
- Thank you received: 3574
12 Jul 2019 12:26 #139168
by rodw
Replied by rodw on topic Making a thc with resume cut button using thcud
The simple fact of the matter is that there is no support of plasma for Linuxcnc before version 2.8
There are some configs on forum posts and private websites.
There is a Gmocappy screen set but there is no config behind it.
There are some components in Linuxcnc that may support some of those private configs.
So if you wish to persevere, and are unwilling to run the required version, you are really on your own.
The other thing is that the features requested in your initial post (eg. saving the X,Y position moving back to that position and resuming) is not possible in Linuxcnc. I actually discussed this off forum with another experienced member yesterday.
Some other plasma CNC controllers (such as UCCNC) support what you are looking for. But the fundamental difference is that they are not real time systems like Linuxcnc. We can sense loss of ArcOK in 1 millisecond. They can't. I worked out that my machine can coasts to a stop in 0.8mm on 2 mm steel. UCCNC needs to do what you wish to do because its not in real time like Linuxcnc. Its likely it travels a lot further on a fault. Reverse run and plasmac is your best bet. But you need to run version 2.9. (master branch).
There are some configs on forum posts and private websites.
There is a Gmocappy screen set but there is no config behind it.
There are some components in Linuxcnc that may support some of those private configs.
So if you wish to persevere, and are unwilling to run the required version, you are really on your own.
The other thing is that the features requested in your initial post (eg. saving the X,Y position moving back to that position and resuming) is not possible in Linuxcnc. I actually discussed this off forum with another experienced member yesterday.
Some other plasma CNC controllers (such as UCCNC) support what you are looking for. But the fundamental difference is that they are not real time systems like Linuxcnc. We can sense loss of ArcOK in 1 millisecond. They can't. I worked out that my machine can coasts to a stop in 0.8mm on 2 mm steel. UCCNC needs to do what you wish to do because its not in real time like Linuxcnc. Its likely it travels a lot further on a fault. Reverse run and plasmac is your best bet. But you need to run version 2.9. (master branch).
Please Log in or Create an account to join the conversation.
- phoenix
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 157
- Thank you received: 0
12 Jul 2019 15:58 #139181
by phoenix
Replied by phoenix on topic Making a thc with resume cut button using thcud
u are saying i do not need to compile plasmac
then how can i get it ???
or i have to wait for next release ??
then how can i get it ???
or i have to wait for next release ??
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10833
- Thank you received: 3574
12 Jul 2019 17:50 #139193
by rodw
You do not need to wait for the next release. Just follow what I've said earlier and install master branch without compilation from source. Plasmac will be there in the SIms.
Replied by rodw on topic Making a thc with resume cut button using thcud
u are saying i do not need to compile plasmac
then how can i get it ???
or i have to wait for next release ??
You do not need to wait for the next release. Just follow what I've said earlier and install master branch without compilation from source. Plasmac will be there in the SIms.
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 354
12 Jul 2019 18:05 #139196
by pl7i92
Replied by pl7i92 on topic Making a thc with resume cut button using thcud
thank you rod for all the work going in and also phil the main dev on this
it will be a huge plasma jump
it will be a huge plasma jump
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
Time to create page: 0.089 seconds