Control from a Festo valve terminal
09 Dec 2022 16:19 #259011
by mgm
Control from a Festo valve terminal was created by mgm
Some time ago I read something here in the forum about controlling FESTO valve terminals.
Who can tell me where I can find that?
Thanks!
Who can tell me where I can find that?
Thanks!
Please Log in or Create an account to join the conversation.
09 Dec 2022 16:39 #259012
by Aciera
Replied by Aciera on topic Control from a Festo valve terminal
If you are referring to the valve blocks connected by Profibus then this could be it:
forum.linuxcnc.org/10-advanced-configura...-and-profibus#223639
forum.linuxcnc.org/10-advanced-configura...-and-profibus#223639
The following user(s) said Thank You: mgm
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19150
- Thank you received: 6414
09 Dec 2022 17:50 #259022
by tommylight
Replied by tommylight on topic Control from a Festo valve terminal
Also, RotarySMP uses Festo valves on his lathe, but i think those are normal valves with on/off control, not serial or anything-bus.
Not sure though...
Not sure though...
The following user(s) said Thank You: mgm
Please Log in or Create an account to join the conversation.
11 Dec 2022 14:05 #259191
by mgm
Replied by mgm on topic Control from a Festo valve terminal
Thanks for the info ....
I have now downloaded the zip file for the Profibus and wanted to look with the demo, unfortunately without success ...
I have unzipped the zip and copied to my config folder and started via Linuxcnc the sim unfortunately I get an error message:
Can anyone help me?
I have now downloaded the zip file for the Profibus and wanted to look with the demo, unfortunately without success ...
I have unzipped the zip and copied to my config folder and started via Linuxcnc the sim unfortunately I get an error message:
Debug file information:
setup_kins: cmd=loadrt trivkins
Note: Using POSIX realtime
motion.c: Creating unlock hal pins for joint 4
./profibus.hal:17: execv(pyprofibus-linuxcnc-hal): No such file or directory
./profibus.hal:17: waitpid failed pyprofibus-linuxcnc-hal profibus
./profibus.hal:17: pyprofibus-linuxcnc-hal exited without becoming ready
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
8269
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Can anyone help me?
Please Log in or Create an account to join the conversation.
11 Dec 2022 14:34 #259193
by Aciera
Replied by Aciera on topic Control from a Festo valve terminal
seems that it can't find the file 'pyprofibus-linuxcnc-hal'. Are you sure the file is where you are telling it to look (ie the path set in 'profibus.hal') ?./profibus.hal:17: execv(pyprofibus-linuxcnc-hal): No such file or directory
Please Log in or Create an account to join the conversation.
11 Dec 2022 14:56 - 11 Dec 2022 15:25 #259194
by mgm
Replied by mgm on topic Control from a Festo valve terminal
yes the file "pyprofibus-linuxcnc-hal" is in the same place as the file "linuxcnc-demo.ini
this is the line 17 in the "profibus.hal"
this is the line 17 in the "profibus.hal"
loadusr -Wn profibus pyprofibus-linuxcnc-hal pyprofibus.conf
Last edit: 11 Dec 2022 15:25 by mgm.
Please Log in or Create an account to join the conversation.
12 Dec 2022 07:11 - 12 Dec 2022 07:11 #259244
by Aciera
Replied by Aciera on topic Control from a Festo valve terminal
Not sure, maybe try with absolute paths. ie /home/<your-path-here>/pyprofibus-linuxcnc-hal
Last edit: 12 Dec 2022 07:11 by Aciera.
Please Log in or Create an account to join the conversation.
14 Dec 2022 01:44 #259391
by andypugh
Replied by andypugh on topic Control from a Festo valve terminal
It's trying to execute pyprofibus-linuxcnc-hal. Is it an executable file?
Please Log in or Create an account to join the conversation.
15 Dec 2022 08:21 #259544
by mgm
Replied by mgm on topic Control from a Festo valve terminal
yes it is
I have now tried various ways to place the file without success!
I put this back for now!
I have now tried various ways to place the file without success!
I put this back for now!
Please Log in or Create an account to join the conversation.
17 Dec 2022 10:07 #259722
by Aciera
Replied by Aciera on topic Control from a Festo valve terminal
make sure that 'pyprofibus-linuxcnc-hal' is the actual file name (ie no extension)
If it got saved as pyprofibus-linuxcnc-hal.py (ie with extension) it won't be foundl.
I find it useful sometimes to use 'cat' in the terminal:
$ cat /home/<yourpathere>/pyprofibus-linuxcnc-hal
if it can't find the file then there is something wrong with the filename.
If it got saved as pyprofibus-linuxcnc-hal.py (ie with extension) it won't be foundl.
I find it useful sometimes to use 'cat' in the terminal:
$ cat /home/<yourpathere>/pyprofibus-linuxcnc-hal
if it can't find the file then there is something wrong with the filename.
Please Log in or Create an account to join the conversation.
Time to create page: 0.130 seconds