Hi Cesar, Could you please create a jira issue and attach the pcaps there? The mailinglist doesn't let attachments pass :-(
But thanks for creating them :-) Chris ________________________________ Von: César García <cesar.gar...@ceos.com.ve> Gesendet: Samstag, 4. Januar 2020 23:48:38 An: Apache PLC4X <dev@plc4x.apache.org> Betreff: Re: [Help Needed] A little help with some fact-checking for S7 write requests Hi, I attach the requested WireShark pcap. S7-1200 : 192.168.1.33 S7-300 : 192.168.1.23 S7-400 : 192.168.1.10 Write to DB17, DB85 and DB255. Write to EB0. I hope the information is useful. Best regards. Enviado mediante Bandeja de entrada de BlackBerry Hub+ para Android Mensaje original De: christofer.d...@c-ware.de Enviados: 4 de enero de 2020 12:54 Para: dev@plc4x.apache.org Responder a: dev@plc4x.apache.org Asunto: Re: [Help Needed] A little help with some fact-checking for S7 write requests Hi Cesar, you are officially my hero :-) Thanks, Chris Am 04.01.20, 17:47 schrieb "César García" <cesar.gar...@ceos.com.ve>: Hi Chris, I am currently testing with TIA Portal V15 and generated the request simulating a TP1200 panel. I will perform the tests you point out and send you the WireShark capture. I will perform the test battery against the S7-1200, S7-300 and S7-400. Best regards, Enviado mediante Bandeja de entrada de BlackBerry Hub+ para Android Mensaje original De: christofer.d...@c-ware.de Enviados: 4 de enero de 2020 12:24 Para: dev@plc4x.apache.org Responder a: dev@plc4x.apache.org Asunto: Re: [Help Needed] A little help with some fact-checking for S7 write requests Hi Cesar, with which tool are you writing to the S7? Well in general the patterns would be: - Writing multiple addresses in one request - Writing an array of elements in one request - Writing multiple arrays of elements in one request - Writing a byte to 8 boolean inputs (Instead of an array of 8 bits) Would also be perfect if you could provide us with a wireshark dump of the request and response packets in these cases. The current driver has the probably worst performance when writing as everything is broken down into single address, single element reuqests. Thanks, Chris Am 04.01.20, 16:16 schrieb "César García" <cesar.gar...@ceos.com.ve>: Hi Chris, I am testing what was requested with a cpu 1214C. The 1200 PLC can receive several items and confirm its writing of. Each item is confirmed individually as does the S7-300 / 400. If you have a specific writing pattern that you need to try, I am at your service. Best regards, Enviado mediante Bandeja de entrada de BlackBerry Hub+ para Android Mensaje original De: christofer.d...@c-ware.de Enviados: 3 de enero de 2020 17:56 Para: dev@plc4x.apache.org Responder a: dev@plc4x.apache.org Asunto: [Help Needed] A little help with some fact-checking for S7 write requests Hi all, I am currently porting the S7 query sanitizer to the new S7 driver. When implementing the initial S7 driver more than 3 years ago I noticed my S7 1200 would accept write requests with multiple addresses and with arrays, however I would only get a return code OK for the first element of the first address. So I implemented some code to split write requests into single address and single item write requests. A guy from the SPS forum confirmed that an S7 1200 would only accept single item write requests. I am however not 100% sure if this limitation is actually true and if it applies to all S7 devices the same way. I would be very happy if you could perhaps verify, confirm or falsify my knowledge on this. Being able to send arrays or multiple addresses would extremely speed up communication. Chris