??? 09/29/06 03:16 Read: times |
#125337 - Thanks anyway Responding to: ???'s previous message |
I'm sure the code would've been easier for you if it was in 'c' - but as I said, I'd have to polish it a bit and that would take some time. Most of my code is used in commercial applications I understand. You still haven't told me what flavour of Modbus you're intending to use. I am planning to use the RTU which seems to be the most popular, but I have now got the ASCII version working, my microcontroller card is now receiving modbus frames from the PC. Modbus is a stop gap arrangement, my ultimate goal is to implement the BACnet protocol, since I am into manufacture of building automation products, I have purchased the BACnet standard, it is almost 700 pages and going to take a lot of time to study, understand and implement. modbus rtu - rtu uses time to frame the packet so then you have the question of how do you flag this with a circular buffer? I know about this 3.5 character times at the begenning and the end of the modbus frames, I think this has to be timed in the interrupt and stuffed into the buffers in the interrupt. The problem is I have chosen a completely new microcontroller the Renesas R8C/25, which has too many timers, now I have to study both, if only it was the 8051... John, if you do want 'c' code and support, I'm sure we can come to a commercial agreement. I'm sure my extensive experience will save you a lot of time. Thank you for the offer, I will consider this and contact you if the need arises. Regards, John. |
Topic | Author | Date |
Modubus code... Russell Bull | 01/01/70 00:00 | |
Life's like that! | 01/01/70 00:00 | |
Tell me more... | 01/01/70 00:00 | |
commercial application... Yes! | 01/01/70 00:00 | |
Modbus code | 01/01/70 00:00 | |
Would have been great if it was in C | 01/01/70 00:00 | |
Free is what free gets | 01/01/70 00:00 | |
Thanks anyway | 01/01/70 00:00 | |
modbus in c | 01/01/70 00:00 | |
Read the above. | 01/01/70 00:00 | |
yes, but | 01/01/70 00:00 | |
I dont mind... | 01/01/70 00:00 | |
Happiness | 01/01/70 00:00 | |
Oh! yes great joy..... | 01/01/70 00:00 |