- Posts: 4819
- Thank you received: 0
Linuxcnc and Profibus
3 years 10 months ago #259881
by Aciera
Note that this is a python implementation and as such is running in 'userspace' (ie non real time) which is fine for a lot of signals. If one would want to use linuxcnc with profibus for time critical applications then a profibus stack in C (or C++ I guess) would have to be written and a real time capable hardware serial port as mentioned above.
Replied by Aciera on topic Linuxcnc and Profibus
In the example configuration in the zipped folder the file 'pyprofibus.conf' contains a single configuration for 'SLAVE_0'. I presume one could configure more (ie SLAVE_1 ....) but I have not tried that.Is it possible to connect more slave on this stuff or have anybody any working example of that please?
Note that this is a python implementation and as such is running in 'userspace' (ie non real time) which is fine for a lot of signals. If one would want to use linuxcnc with profibus for time critical applications then a profibus stack in C (or C++ I guess) would have to be written and a real time capable hardware serial port as mentioned above.
Please Log in to join the conversation.
3 years 10 months ago #259882
by Aciera
Replied by Aciera on topic Linuxcnc and Profibus
Writing a profibus driver for linuxcnc is way beyond my capabilities but the python source code for the profibus stack can be found in the 'pyprofibus' folder in the zipped up config or on the authors github page linked in the original post.
Please Log in to join the conversation.
- blauerklappstuhl
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
3 years 10 months ago #259883
by blauerklappstuhl
Replied by blauerklappstuhl on topic Linuxcnc and Profibus
Yes, you can use multiple slaves. I have currently a wago 750 and a festo cp coupler with one valve Island and one input module and one output module running. Setting usb latency to 0 speeded up eveything.
Please Log in to join the conversation.
3 years 10 months ago #259887
by endian
Replied by endian on topic Linuxcnc and Profibus
profibus or anybus and realtime are pain at all... for real time we have done ethercat with DC
I think in many applications it should be great like pneumatic terminal, some decentralized sensor boxes etc... there it is posibility to run siemens PLC over native comunication protocol.. what should be cool
should you share most important stuff from your working configuration please?
I think in many applications it should be great like pneumatic terminal, some decentralized sensor boxes etc... there it is posibility to run siemens PLC over native comunication protocol.. what should be cool
should you share most important stuff from your working configuration please?
Please Log in to join the conversation.
3 years 10 months ago #259890
by Aciera
Replied by Aciera on topic Linuxcnc and Profibus
My config is here:
forum.linuxcnc.org/10-advanced-configura...fibus?start=0#223639
forum.linuxcnc.org/10-advanced-configura...fibus?start=0#223639
What does 'with DC' mean?for real time we have done ethercat with DC
Please Log in to join the conversation.
3 years 10 months ago #259891
by Aciera
Replied by Aciera on topic Linuxcnc and Profibus
I totally agree, that was my motivation to try it out. That and the fact that these profibus devices go for relatively cheap on the second hand market.I think in many applications it should be great like pneumatic terminal, some decentralized sensor boxes etc.
Please Log in to join the conversation.
3 years 10 months ago #259892
by endian
Replied by endian on topic Linuxcnc and Profibus
Yes there I saw, profibus stuff are pretty cheap in the comparasion with ethercat stuff. "ethercat with DC" means that communication protocol with ethercat format has feature called Distributed Clock or DC which gives a master piece of system knows which are delays on each slave which should be controlled. It is counting with each delay value for retain real time on each slave. It is most advanced opensource protocol from my point of view. ethercat is something like backbone or construction which can carry any other known protocol as CANopen (ethercat in format CANopen over Ethercat, ethernet over ethercat, sercos over ethercat,....etc)
lets check this - forum.linuxcnc.org/ethercat - there is plenty of stuff
lets check this - forum.linuxcnc.org/ethercat - there is plenty of stuff
Please Log in to join the conversation.
3 years 10 months ago #259893
by Aciera
Replied by Aciera on topic Linuxcnc and Profibus
Thanks, I have not had the opportunity to do anything with ethercat but I do believe that getting ethercat into linuxCNC was an important step forward.
Please Log in to join the conversation.
3 years 10 months ago #259895
by endian
Replied by endian on topic Linuxcnc and Profibus
I am recomending to start with them. I am working as automation engenier for a years but I can not see better stuff that not based on ethercat. but there is some trouble with supply on ethercat components nowdays. prices are crazy high and delivery terms equals infinities..
but I rocommending for beginning to buy Delta ASDA ethercat stuff which is areadly implemented in the linuxcnc ethercat... there is plenty of documentation and guys with working hardware.. delta are great but you have to use only their hardware and only TTL encoder for secondary feedback...
do no go my way, to configure older stuff... you will spend tons of time in the german manuals and mailing with supports which do not know about your stuff anything...
Then I can recommend this guys " acim.nidec.com/drives/control-techniques...tax-hd-m753-ethercat "... there is great documentation and fully configurable driver to non brand motors for complex purposes..
if you have any other questions you are welcome
but I rocommending for beginning to buy Delta ASDA ethercat stuff which is areadly implemented in the linuxcnc ethercat... there is plenty of documentation and guys with working hardware.. delta are great but you have to use only their hardware and only TTL encoder for secondary feedback...
do no go my way, to configure older stuff... you will spend tons of time in the german manuals and mailing with supports which do not know about your stuff anything...
Then I can recommend this guys " acim.nidec.com/drives/control-techniques...tax-hd-m753-ethercat "... there is great documentation and fully configurable driver to non brand motors for complex purposes..
if you have any other questions you are welcome
Please Log in to join the conversation.
3 years 10 months ago #259896
by endian
Replied by endian on topic Linuxcnc and Profibus
this guy is really great.. my ethercat idol
He did .iso of working debian with all stuff preinstalled ... this is the easiest way to get lcec
github.com/grotius-cnc/linux_rtos
He did .iso of working debian with all stuff preinstalled ... this is the easiest way to get lcec
github.com/grotius-cnc/linux_rtos
Please Log in to join the conversation.
Time to create page: 0.078 seconds
