Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Communications Protocol

Options
  • 27-11-2009 12:55pm
    #1
    Registered Users Posts: 1,223 ✭✭✭


    Anyone here ever code a Communications Protocol like Modbus, IEC or DNP3?

    Have been looking into coding one and just wondering where to start


Comments

  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    Reading the rfc sites might be a good start.

    Modbus = http://www.modbus.org/tech.php links to their rfc site.

    IEC = http://www.faqs.org/rfcs/rfc3189.html <- I think that's IEC :confused:

    I can't find one for DNP3. I've never worked with these protocols, I don't even know what their for, but I've found reading RFCs a great starting place with other protocols.


  • Registered Users Posts: 1,223 ✭✭✭Macca07


    They're used for communicating between two devices, just doing it for fun as it would look good on my CV. Don't know enough about them to just start it, thanks Phil for the link


  • Registered Users Posts: 5,379 ✭✭✭DublinDilbert


    Modbus isn't too bad to get started with. You can even download software simulators to emulate modbus slaves and you can code the master to communicate with it.

    To talk to an actual modbus slave you'll need an RS232 to RS485 converter,to make the physical layer connection. You can get these on deal extreme for around $5.


  • Registered Users Posts: 1,223 ✭✭✭Macca07


    have the 2 converters already, well as good as anyway, and was looking into it a bit more and think I'm gonna try the DNP3


Advertisement