7/18/2014 9:21 AM | |
Joined: 12/1/2009 Last visit: 9/5/2024 Posts: 672 Rating:
|
Dear Hopling,
I never needed a modbus rtu slave in my projects only masters. That's the reason there is no slave driver existing from me.
Your "positive feedback" is my reward, thanks.
I am sure that there issome very good user written code out there but these usersare not willing to share their "hard work" with us. Best Regards. |
Give us your feedback and show us your respect! |
|
7/18/2014 11:15 AM | |
Joined: 12/1/2009 Last visit: 9/5/2024 Posts: 672 Rating:
|
Dear Hopling, the driver does not support reading/writingon trigger! If there would be atriggerthe user would need to control the sequence by himself. I took this headache from the userby executing all requestssequentially and headache free. There is an advantage of cyclic transmission. In case of a transmission failure the values are written in the next cycle. This is not thecase when you write on trigger unless you handle it by yourself. I know, you lose a bit performance. What is your CPU cycle time with all 4 requests? Best Regards. |
Last edited by: TIBI68 at: 7/18/2014 11:35 AMLast edited by: TIBI68 at: 7/18/2014 11:33 AMGive us your feedback and show us your respect! |
|
7/18/2014 12:04 PM | |
Posts: 24 Rating:
|
del |
Last edited by: Hopling at: 7/18/2014 12:05 PM |
|
7/18/2014 12:39 PM | |
Joined: 12/1/2009 Last visit: 9/5/2024 Posts: 672 Rating:
|
Dear Hopling , this is just an idea and not tested but you can give it a try. At the write request blocks you use a free flag bit (trigger bit) on EN input and reset it withDONE or ERRORoutputs fromthat request block. I think you got what I mean From the var table you can set the trigger bit to check it out. Let me know your results. Best Regards. I forgot to mention that you will nee individual DONE and ERROR bits as well. |
Last edited by: TIBI68 at: 7/18/2014 12:44 PMGive us your feedback and show us your respect! |
|
This contribution was helpful to
1 thankful Users |
7/18/2014 1:40 PM | |
Joined: 12/1/2009 Last visit: 9/5/2024 Posts: 672 Rating:
|
Dear Hopling, I was very exitedso I check it out myself It works great for me as well! Thanks for your support! Best Regards. |
Give us your feedback and show us your respect! |
|
This contribution was helpful to
1 thankful Users |
Follow us on