Shop OBEX P1 Docs P2 Docs Learn Events
Modbus protocol on Propeller — Parallax Forums

Modbus protocol on Propeller

cimplexcimplex Posts: 11
edited 2008-10-14 00:58 in Propeller 1
Does anyone know of an implementation of the Modbus protocol on the Propeller? Thanks.

Comments

  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2008-10-13 05:38
    I hadn't heard of any, but I wouldn't be surprised if someone has done it already.· What is your application?·

    From a glance at wikipedia about the topic it doesn't look too hard to do:· http://en.wikipedia.org/wiki/Modbus

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.

    www.brilldea.com·- Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto fo SunSPOT, BitScope
    www.sxmicro.com - a blog·exploring the SX micro
    www.tdswieter.com
  • cimplexcimplex Posts: 11
    edited 2008-10-13 14:14
    Timothy,

    Thanks for the reference to Wikipedia...I had forgotten that its almost the universal reference guide now. There appear to be some good links on adaptable implementations if I can't find a Prop one aleady done.

    From working with modbus at Square D/Modicon many years ago, I remember that it is not a straight forward async protocol, but has some critical inter-byte timing issues to keep the data flowing, although a lot of the implementations try to ignore them, creating non-standard "standard" implementations.

    This project is a video display panel for a battery monitoring system, for which the Prop seems to be a good fit.

    -Joe
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2008-10-13 23:06
    Your application sounds neat. Why not try and program a modbus protocol yourself with the Propeller?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.

    www.brilldea.com·- Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto fo SunSPOT, BitScope
    www.sxmicro.com - a blog·exploring the SX micro
    www.tdswieter.com
  • RinksCustomsRinksCustoms Posts: 531
    edited 2008-10-14 00:58
    I'm tooling with a hybrid serial/parallel protocol right now. more of a rough draft... Semi synchronous, scalable 4/8/12/16 bit wide + Strobe. Commands are bidirectional (send/receive), traditional control bus for parallel interface is integrated on databus, CRC checksum disable feature, Auto baud rate feature. Ping/pong timing for sync (no standard timing). It's designed as a high speed bidirectional interface between two or more props.

    Post Edited By Moderator (Chris Savage (Parallax)) : 10/14/2008 3:55:44 PM GMT
Sign In or Register to comment.