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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Communications Protocol

  • 27-11-2009 11:55am
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 5,401 ✭✭✭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, Registered Users 2 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