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" <[email protected]>:

    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: [email protected]
    Enviados: 3 de enero de 2020 17:56
    Para: [email protected]
    Responder a: [email protected]
    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
    

Reply via email to