1/14/2016 9:26 AM | |
Joined: 8/8/2014 Last visit: 6/14/2022 Posts: 52 Rating:
|
HI, thanks for answer, something with sreen capture tool...i checked screencast before uploading it was Ok. I changed code according to to my guesswork - now I'm testing this chunk. (see attachment ) Hope it is Ok and won't stuck. AttachmentModbus_test_print.pdf (406 Downloads) |
2/10/2016 10:20 AM | |
Joined: 8/8/2014 Last visit: 6/14/2022 Posts: 52 Rating:
|
Hi, I put off for a while MB_CLIENT issue, and now working further with it (still have errors ). I've looked thru the examples provided here, There a different method of timing is proposed . But those examples are for V12 of TIA and MB_CLIENT is of 2.0. version there. And mine - V13 has V3.0 . or 3.1 for V13 SP1 Please advise wether I can follow this sequence , start - wait for MB_CLIENT.CONNECTED & NOT BUSY then set ADDR data_1 and set REQ input - wati for DONE and read data_1 , set next ADDR for Data_2 - wait for DONE and read Data_2 , set next ADDR and so on end // so , they don't reset REQ for each ADDR they need to read, only upon reset or swtiching to another node. for errors handling - they offer timeout which is enough for polling all slaves in chain, if all slaves fit into this timeslot, this timeout just resets polling again, if there is some problem the same timeout lead to error handling networks, so they don't even analize errors codes Please lead to example of MB_CLIENT you mention so I could take a look at.
|
Follow us on