1/4/2013 1:57 PM | |
Posts: 31 Rating: (0) |
Dear sir, please find here with attachment of source code. Warm Regards, Srinath AttachmentMODBUS_SEND_RCV.zip (534 Downloads) |
1/4/2013 7:44 PM | |
Posts: 3093 Rating: (322) |
Hello Srinath, Break on the receiving line is reported in the first cycle when calling P_SND_RK. So you won't get a positive edge to continue. I'd prefer a solution which has not got that amount of Start and Send bits. I copied thebitsof DB40 from the standard Modbus sample. Of course you can use flags instead. The suggestion is no complete program. It is just an idea how you could realise it. Some things are only comments, no code. Regards, Kaulquappe AttachmentD:\temp\suggestion.pdf (505 Downloads) |
Last edited by: Kaulquappe at: 1/4/2013 7:49 PM |
|
This contribution was helpful to1 thankful Users |
1/10/2013 10:47 PM | |
Posts: 3093 Rating: (322) |
Hello Srinath, just have a look at the attached picture. Regards, Kaulquappe |
1/30/2013 11:27 AM | |
Posts: 836 Rating: (99)
|
The resistor isto avoid undefined signal levels on the line due to electrical reflections. |
Follow us on