[ 
https://issues.apache.org/jira/browse/PLC4X-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17293494#comment-17293494
 ] 

Christofer Dutz commented on PLC4X-285:
---------------------------------------

Unfortunately I can't see the connection-request in this capture so I don't 
know that the negotiated PDU size is. I can see the last packet is a request to 
read one item of an array of 220 bytes. The PLC is just not responding here ... 
Is this a genuine S7? Cause these usually do respond to illegal requests. The 
problem might be that I haven't implemented the code to split up too large 
items into multiple ones if the item itself already exceeds the max PDU size. 
It's on my TODO list (Or happy if anyone else does it) ... It doesn't solve 
your problem, but it might help avoid the problem ... limit the size of the 
arrays you are requesting.

> [S7]  after hours will appear error
> -----------------------------------
>
>                 Key: PLC4X-285
>                 URL: https://issues.apache.org/jira/browse/PLC4X-285
>             Project: Apache PLC4X
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>         Environment:  java11.win10 
>            Reporter: liuqiang
>            Priority: Major
>         Attachments: image-2021-03-02-15-22-30-412.png, wiresharkfile.pcapng
>
>
> 2021-03-02 10:54:36.639  WARN 184336 --- [scrape-thread-5] 
> c.c.p.c.job.JobExecutionInfluxdb         : Unable to scrape from 
> s7://10.32.137.31?remote-rack=0&remote-slot=2 in job bp
> java.util.concurrent.TimeoutException: null
>       at 
> java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)
>       at 
> java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)
>       at 
> cn.cisdi.plc.communication.job.JobExecutionInfluxdb.run(JobExecutionInfluxdb.java:65)
>       at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>       at 
> java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
>       at 
> java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
>       at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>       at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>       at java.base/java.lang.Thread.run(Thread.java:834)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to