Control from a Festo valve terminal

More
3 years 10 months ago #259011 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!

Please Log in to join the conversation.

More
3 years 10 months ago #259012 by Aciera
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

Please Log in to join the conversation.

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

Please Log in to join the conversation.

More
3 years 10 months ago #259191 by mgm
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:
Code:
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 to join the conversation.

More
3 years 10 months ago #259193 by Aciera

./profibus.hal:17: execv(pyprofibus-linuxcnc-hal): No such file or directory

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') ?

Please Log in to join the conversation.

More
3 years 10 months ago #259194 by mgm
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"
Code:
loadusr -Wn profibus pyprofibus-linuxcnc-hal pyprofibus.conf  

Please Log in to join the conversation.

More
3 years 10 months ago #259244 by Aciera
Not sure, maybe try with absolute paths. ie /home/<your-path-here>/pyprofibus-linuxcnc-hal

Please Log in to join the conversation.

More
3 years 10 months ago #259391 by andypugh
It's trying to execute pyprofibus-linuxcnc-hal. Is it an executable file?

Please Log in to join the conversation.

More
3 years 10 months ago #259544 by mgm
yes it is

I have now tried various ways to place the file without success!

I put this back for now!

Please Log in to join the conversation.

More
3 years 10 months ago #259722 by Aciera
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.

Please Log in to join the conversation.

Time to create page: 0.183 seconds
Powered by Kunena Forum