pic microcontroller discussion list <> wrote on Thursday, June 26, 2003 2:59 PM: > of the components provide control via a MODBUS interface. We wish to > make use of this feature but we have no experience in programming the > MODBUS protocol. The physical interface is half duplex RS485, 9600 > baud, 8E1. > > Can any one guide us to some sample code, in either VB, VC++ or Delphi > which we could use as a starting point. I have scoured the Web but I'm guessing that you are looking for modbus master code? Is that correct? I've implemented modbus slave code using modbus ASCII, with only the help of the modbus protocol document. Do you have that document? Is there a specific problem that you are trying to solve? Sorry, it might not seem very helpful, but modbus seems quite straightforward. I can't send you code (because it's not mine to send!), but I can maybe try to point you in the right direction if you have a specific question. Nigel -- Nigel Orr, Design Engineer nigel@axoninstruments.co.uk Axon Instruments Ltd., Wardes Road,Inverurie,Aberdeenshire,UK,AB51 3TT Tel:+44 1467 622332 Fax:+44 1467 625235 http://www.axoninstruments.co.uk -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads