Shop OBEX P1 Docs P2 Docs Learn Events
ProfiBus — Parallax Forums

ProfiBus

crgwbrcrgwbr Posts: 614
edited 2011-08-02 01:14 in Propeller 1
In the development of a Prop based PLC, I have come across many devices that use the Profibus communication bus. Unfortunately, I haven't found much information that helps with it's implementation on a micro-controller such as the Prop. The Wikipedia article provides a little incite, but not enough to write a driver. If anyone could help, please do.

Thanks,
Craig

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My system: 1.6 GHz AMD Turion64 X2, 4GB DDR2, 256MB ATI Radeon Graphics card, 15.4" Widescreen HD Screen

I have a duel boot of Ubuntu Linux and Windows Vista. Vista, because it came with the PC, Ubuntu because I like software that works.

"Failure is not an option -- it comes bundled with Windows."

Use The Best...
Linux for Servers
Mac for Graphics
Palm for Mobility
Windows for Solitaire

Comments

  • OzStampOzStamp Posts: 377
    edited 2008-02-13 07:48
    Hi Craig.

    check this link out..

    http://www.profichip.com/products/overviewasics/mpi12x/

    ProfiBus is fast. the error checking and all that stuff is difficult..
    These people make some really cool chips.. people like Festo and many other use them in their equipment.

    cheers ron mel oz..
  • StefanL38StefanL38 Posts: 2,292
    edited 2008-02-13 09:38
    Hello Craig,

    ProfiBus is very compliceted. And can be very fast: up to 12 MBit

    It is still in use and will stay for the next 10 Years.

    But the follower is ProfiNet. This is TCP-IP with deterministic specifications

    on a normal TCP/IP-connection in some cases you have to wait SECONDS for an answer
    ProfiNet defines three standards with different garanteed answering-times

    i estimate to do this on a propeller is not possible. Even "normal TCP-IP with the propeller uses special chips

    But there is a middlecost solution

    http://www.anybus.com/products/abc.shtml

    has modules for about 350 Euro to connect to a simple RS232

    if you do not plan to produce thousands of PLCs i think it would be better
    to buy such a module

    greetings

    Stefan
  • JoergJoerg Posts: 91
    edited 2008-02-13 10:23
    Or try the MODBUS in RTU mode or simpler in ASCII mode.
    This is not too complicated and VERY common.

    Saluti Joerg
  • crgwbrcrgwbr Posts: 614
    edited 2008-02-13 12:24
    Thanks for the information. I think I will start looking into Modbus rather Profibus, at least for the near future.

    Regards,
    Craig

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My system: 1.6 GHz AMD Turion64 X2, 4GB DDR2, 256MB ATI Radeon Graphics card, 15.4" Widescreen HD Screen

    I have a duel boot of Ubuntu Linux and Windows Vista. Vista, because it came with the PC, Ubuntu because I like software that works.

    "Failure is not an option -- it comes bundled with Windows."

    Use The Best...
    Linux for Servers
    Mac for Graphics
    Palm for Mobility
    Windows for Solitaire
  • AHMET AKSUAHMET AKSU Posts: 62
    edited 2008-02-14 17:05
    hi .do you have basic code that speaks with modbus ascii or rtu for the prop Joerg
  • JoergJoerg Posts: 91
    edited 2008-02-14 18:28
    Sorry the answer id no.

    I have begun writing a MODBUS interpreter (Slave) for my simple OS (EBS08 on my homepage) but it is written in Assembly for
    Freescale HC(S)08 MCU's! But i think it is not very difficult to implement a slave interpreter, since normally not all of the commands are used or useful.

    Anyhow if you need help let me know.

    Saluti Joerg
  • TubularTubular Posts: 4,718
    edited 2008-02-14 19:57
    HMS have an excellent range of modules for this, "Anybus" www.anybus.com

    They are effectively a dual-port ram, with the industrial bus side all taken care of. They use a compactflash connector interface. Once you have that sorted, you can swap in Profibus, Devicenet, Modbus, Lon, even Bluetooth etc

    On your side (prop) you can talk to the Anybus module using serial (great for pin count)
  • OnStageOnStage Posts: 1
    edited 2011-08-01 04:34
    Has anyone tried the HMS interfaces? Great thing!
  • StefanL38StefanL38 Posts: 2,292
    edited 2011-08-01 05:40
    I got the impression that HMS produce industrial standard.
    Industrial standard means highest possible reliablity.
    A device that has to be resetted every week would be thrown out and never used again, because not usable in industrial environments.

    I haven't used them but from that I expect if your code is obeying the rules specified in the manual of the anybus-device it will run flawlessly.

    keep the questions coming
    best regards

    Stefan
  • dMajodMajo Posts: 855
    edited 2011-08-01 09:30
    I have used the anybus product profibus/modbus/can variants ... good product ... reliable. I have more than 5 years experience and I have never changed one
  • TonyDTonyD Posts: 210
    edited 2011-08-02 01:14
    dMajo wrote: »
    I have used the anybus product profibus/modbus/can variants ... good product ... reliable. I have more than 5 years experience and I have never changed one

    I agree with dMajo. We've used AnyBus for about 18-months and found them pretty reliable. We've had a couple of failures but we operate them in a offshore environment. The biggest gripe we have with them is they are expensive for what essentially just a protocol converter.
Sign In or Register to comment.