- Posts: 1003
- Thank you received: 0
Bash M1## how to use the P word
- my1987toyota
- Topic Author
- Offline
- Platinum Member
-
Less
More
5 years 1 month ago #220791
by my1987toyota
Replied by my1987toyota on topic Bash M1## how to use the P word
Please Log in to join the conversation.
5 years 1 month ago #220794
by Aciera
Replied by Aciera on topic Bash M1## how to use the P word
No objections whatsoever.
Please Log in to join the conversation.
5 years 1 month ago #220797
by anfänger
Replied by anfänger on topic Bash M1## how to use the P word
Good to hear its running!
Please share the more examples are out there the easier it gets f other to find their way around.
And sorry for having my blog in German, but it is more or less a documentation for me and German is my native language.
This whole machining stuff is just a hobby, so when I am not at home I have no access to my scripts.
one last thing what and wahre is ist pick and place section?
Please share the more examples are out there the easier it gets f other to find their way around.
And sorry for having my blog in German, but it is more or less a documentation for me and German is my native language.
This whole machining stuff is just a hobby, so when I am not at home I have no access to my scripts.
one last thing what and wahre is ist pick and place section?
Please Log in to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1003
- Thank you received: 0
5 years 1 month ago #220830
by my1987toyota
Replied by my1987toyota on topic Bash M1## how to use the P word
anfanger no need to apologize for your blog being in your native language .
The pick and place section is here forum.linuxcnc.org/pnp
The Pick and Place stuff has been more of a self challenge. Just to
see if I can do it and to see how much I can learn in the processes .
The pick and place section is here forum.linuxcnc.org/pnp
The Pick and Place stuff has been more of a self challenge. Just to
see if I can do it and to see how much I can learn in the processes .
Please Log in to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1003
- Thank you received: 0
5 years 1 month ago #220832
by my1987toyota
Replied by my1987toyota on topic Bash M1## how to use the P word
The PnP Topics connected to this topic.
forum.linuxcnc.org/pnp/39408-pnp-feeder
and
forum.linuxcnc.org/25-classicladder/4331...-to-linucnc-possible
forum.linuxcnc.org/pnp/39408-pnp-feeder
and
forum.linuxcnc.org/25-classicladder/4331...-to-linucnc-possible
Please Log in to join the conversation.
5 years 1 month ago #220858
by anfänger
Replied by anfänger on topic Bash M1## how to use the P word
Please Log in to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1003
- Thank you received: 0
5 years 1 month ago #220879
by my1987toyota
Replied by my1987toyota on topic Bash M1## how to use the P word
I washed the name through a translator anfänger = beginner correct?
That's a very interesting machine you got there . I have never seen an ATC like that.
That's a very interesting machine you got there . I have never seen an ATC like that.
Please Log in to join the conversation.
5 years 1 month ago #220882
by anfänger
Replied by anfänger on topic Bash M1## how to use the P word
Yes,
I stumbled open the German Petz of the forum and registered there quite a while ago. Realizing later, that its an English forum. Otherwise I would have chosen another nick name.
I stumbled open the German Petz of the forum and registered there quite a while ago. Realizing later, that its an English forum. Otherwise I would have chosen another nick name.
Please Log in to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1003
- Thank you received: 0
5 years 1 month ago #220883
by my1987toyota
Replied by my1987toyota on topic Bash M1## how to use the P word
It's a great Avatar name . Everyone is a Beginner at some point .
How did you learn to program bin bash ?
How did you learn to program bin bash ?
Please Log in to join the conversation.
5 years 1 month ago #220885
by anfänger
Replied by anfänger on topic Bash M1## how to use the P word
used play around with Linux 20 years ago. My brother was working fo the Alcatel then and we played around with sip an telephone servers. I was also running my own Webserver and was doing some PERL programming..
In that time I picked up some bash skills, but forgot most of it till I started using linuxcnc, but it was much easier for me to pick up some skills again than learning Python. In the beginning I did everything in bash. Now I mainly use a mix of ngc files and bash. And very few python. I have there or four python scripts for controlling the shellys in my air compressor. The Estop functions of the basket tool changer.
The reminders for the maintenance cycles and something I forgot.
The benefit of bash is you can glue all the commandline tools linux has together.
My tool change is quite complex but nice. The first ngc script checks if the called tool is in the basket. It so a bash written Mcode changes the tool. If not the current tool is stored away (I it is in the basket). The machine drives to the door and calls a bash written Mcode for a manual tool change.
This script searches the tool table to the called tool, and bings a popup window with Tool number, Offset and description. And after you confirmed the change it clamps the tool and asks you if it’s secured correctly. And resumes if you confirm.
It’s just a few lines of code.
So you can control every program or part of Linux wich ich accessible by bash with an Mcode. You can also read Hal and Ini parameters in bash, this was quite useful before you were able to access them from gcode.
For example if you need to change some bolts during a program, you could stop, bring a browser with a corresponding video in the foreground and resume agitier you closed the browser.
Or you could update an website with a part counter. Make a call to your smartphone after 500 parts. I really like LinuxCNC
. I wish I had more time playing around with it
In that time I picked up some bash skills, but forgot most of it till I started using linuxcnc, but it was much easier for me to pick up some skills again than learning Python. In the beginning I did everything in bash. Now I mainly use a mix of ngc files and bash. And very few python. I have there or four python scripts for controlling the shellys in my air compressor. The Estop functions of the basket tool changer.
The reminders for the maintenance cycles and something I forgot.
The benefit of bash is you can glue all the commandline tools linux has together.
My tool change is quite complex but nice. The first ngc script checks if the called tool is in the basket. It so a bash written Mcode changes the tool. If not the current tool is stored away (I it is in the basket). The machine drives to the door and calls a bash written Mcode for a manual tool change.
This script searches the tool table to the called tool, and bings a popup window with Tool number, Offset and description. And after you confirmed the change it clamps the tool and asks you if it’s secured correctly. And resumes if you confirm.
It’s just a few lines of code.
So you can control every program or part of Linux wich ich accessible by bash with an Mcode. You can also read Hal and Ini parameters in bash, this was quite useful before you were able to access them from gcode.
For example if you need to change some bolts during a program, you could stop, bring a browser with a corresponding video in the foreground and resume agitier you closed the browser.
Or you could update an website with a part counter. Make a call to your smartphone after 500 parts. I really like LinuxCNC
. I wish I had more time playing around with it Please Log in to join the conversation.
Time to create page: 0.147 seconds
