12/25/2017 10:48 AM | |
Joined: 4/28/2015 Last visit: 3/26/2025 Posts: 10837 Rating:
|
Hello, ok, but this is probably known from TCP protocol basic functionality as stream protocol not as directly Siemens problem so programmer has more options how to receive messages with some defined criteria. Using predefined end detection characters, send first one/two bytes as info about next send amount of data or set AdHoc dynamic length receive option. In case of AdHoc option I've asked you about version of your S7-1200 and firmware, look again to my post. With versions some other blocks exists with different AdHoc implementation, therefore you need to know what HW you have in your prj. All is documented in help, also system of dynamic receive message length exists for S7-300 (look here in Forum for this), but implementation in S7-1200/1500 looks to me better now in my opinion. Also in this case you don't need implement 10x filling your buffer to reach 100 byte full, you can also define 10 bytes long buffer if your messages are same in length or implement mentioned solutions. This working without problems. Update: here it is (link): S7-300 Dynamic recv length Example |
Last edited by: Duris_I at: 12/25/2017 10:57:04 AMWith best regards... |
|
Follow us on