Member Login
member
passwd
remember me on
this computer.

- join now -
- forgot username or password? -

Search

Jump to a Date

Sponsored Communities
Cool stuff
Select a topic of interest:
...and press:
Neat Stuff
Control.com Stuff

Visit our shop for nerds in control lifestyle products.

Fortune
What sane person could live in this world and not be crazy?
-- Ursula K. LeGuin
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
advertisement
from the Automation List department...
PC industrial control
Computers in manufacturing; also hardware discussion. topic
Posted by Eduard on 19 August, 2008 - 12:40 am
I would like to know if there is any software out there that would allow me to use Ubuntu or any Linux distro to interface with I/O modules. By interfacing I mean to say I would like to be able to control say the starting of a motor, or the open/close state of valves. The programming I can do in any language supported by Linux distros, all I would like to know is if there is a program out there with an open source that I could modify at my leisure.

On a similar note, I am open to restrictions, such as, I am willing to receive input about examples of how others have interfaced with I/O modules via PC. It's best to follow others' examples as I'd be swimming charted waters right there.

Thank you in advance.


Posted by James Ingraham on 20 August, 2008 - 1:01 am
Yes. Lots. The most obvious is to connect to an I/O module over Ethernet.

Modbus/TCP is easiest. http://www.modbus.org Lots of I/O options including Wago, Aromat, Turck, etc.

EtherCAT is pretty cool. http://ethercatmaster.berlios.de There are fewer options for I/O, Beckhoff being your main choice.

I don't like Ethernet PowerLink (EPL) because it requires the use of hubs instead of switches, but at least they have an open source implementation. http://sourceforge.net/projects/openpowerlink B&R is the main I/O supplier, but Wago is also available.

There are other Ethernet modules, like Advantech's ADAM series, Elexol's Ether IO 24 R, Opto-22's SNAP I/O, etc.

You can use USB instead, with Advantech again, or National Instruments. You can even do Firewire with Wago.

There are PCI and even PCI Express plug-in cards. Advantech, National Instruments, Opto-22, and a host of others.

Virtually all of this stuff has Linux drivers, or documentation on how to implement in Linux. Essentially any language will work.

-James Ingraham
Sage Automation, Inc.


Posted by Michael Griffin on 20 August, 2008 - 1:26 am
I have a project at: http://sourceforge.net/projects/mblogic/

Go to http://sourceforge.net/project/showfiles.php?group_id=228414 to find the latest release. Have a look at the project web pages for documentation.
http://mblogic.sourceforge.net/

This project has a number of packages including servers (slaves), clients (masters), and libraries which you can incorporate into your own custom
applications. It also includes a soft logic library which will let you run programs written in IL (Instruction List). This will (within a month or so) be incorporated into MBServer to make a complete stand alone soft logic system.

It presently supports Modbus/TCP and a Modbus-like web service as well. Modbus/TCP is a very common Ethernet based industrial protocol, and of the
major protocols is the only non-proprietary one.

All the packages are written in Python and developed on Linux (they will also run on MS Windows though, and probably Mac OS/X as well). MBServer also needs Twisted, but Twisted is in the standard Ubuntu repositories so you can install it with Synaptic with a couple of mouse clicks.

If you have any more questions, let me know and I will be happy to answer them.


Posted by Curt Wuollet on 20 August, 2008 - 1:43 am
Google Comedi, it will let you use a DAQ card from various sources to control things. The only problem is most cards have ttl level outputs. I designed and built a card to give you 24V levels from a commodity DIO48 card. But you can get drivers for some relay cards and I think I heard about drivers for Opto-22 racks also. If you want a soft PLC on Linux check out the MAT/PLC project.

Regards
cww


Posted by pvbrowser on 20 August, 2008 - 1:55 am
You might have a look at http://pvbrowser.org

It is a HMI/SCADA framework.

Supported protocols:
- Modbus (Serial Line and TCP)
- Siemens TCP
- Siemens PPI
- Ethernet_IP
- EIBnet/KNX
- OPC XML-DA
- PROFIBUS
- CAN


Posted by Juan Jose Denis Corrales on 20 August, 2008 - 11:50 pm
We are engaged in building an easy way to control a plant with a Linux PC, Modbus/TCP modules and python. We call it likindoy-RTU.

We'll be testing and documenting our likindoy-RTU in September. Follow our efforts or join us if you wish at the project's web site: http://www.likindoy.org

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2009 Reed Business Information. Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2009 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.

Internet Explorer 6.0 Fix

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!