You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "glcj (via GitHub)" <gi...@apache.org> on 2025/03/13 17:50:15 UTC

[I] [Bug]: System data reading (SZL) does not work when multiple packets are to be received.

glcj opened a new issue, #2037:
URL: https://github.com/apache/plc4x/issues/2037

   ### What happened?
   
   When reading system parameters (SZL) whose data structure is larger than the size of a single response (typically 400 bytes), subsequent packets are not processed, freezing the driver.
   
   Target device: S7-300/S7-400/Vipa
   
   Reference code:
   
   1. https://github.com/apache/plc4x-extras/blob/develop/plc4j/examples/plc4j-s7event/src/main/java/org/apache/plc4x/examples/plc4j/s7event/PlcSzlRequestS7400H.java
   
   ### Version
   
   v0.13.0-SNAPSHOT
   
   ### Programming Languages
   
   - [ ] plc4c
   - [ ] plc4go
   - [ ] plc4j
   - [ ] plc4net
   - [ ] plc4py
   
   ### Protocols
   
   - [ ] AB-Ethernet
   - [ ] ADS /AMS
   - [ ] BACnet/IP
   - [ ] C-Bus
   - [ ] CANopen
   - [ ] EtherNet/IP
   - [ ] Firmata
   - [ ] IEC-69870
   - [ ] KNXnet/IP
   - [ ] Modbus
   - [ ] OPC-UA
   - [ ] Profinet
   - [ ] S7


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: System data reading (SZL) does not work when multiple packets are to be received.

Posted by "glcj (via GitHub)" <gi...@apache.org>.
glcj closed issue #2037: [Bug]: System data reading (SZL) does not work when multiple packets are to be received.
URL: https://github.com/apache/plc4x/issues/2037


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: System data reading (SZL) does not work when multiple packets are to be received.

Posted by "glcj (via GitHub)" <gi...@apache.org>.
glcj commented on issue #2037:
URL: https://github.com/apache/plc4x/issues/2037#issuecomment-2728075055

   This bug not only affected the reading of data from the system, but also the alarm system.
   
   Response decoding must run on its own thread, which prevents the flow of events from freezing in the pipeline and allows requests to be sent to the PLC from S7 ProtocolLogic.
   
   _Improvement point:_ How to handle exceptions within internal calls?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org