plc4x icon indicating copy to clipboard operation
plc4x copied to clipboard

[Bug]: Multi-Item writes don't seem to work on S7 devices

Open chrisdutz opened this issue 10 months ago • 1 comments

What happened?

When running the updated ManualTest against my S7 device, which now also does multi-item write requests against the device, the test fails on the first multi-item write.

Version

v0.13.0-SNAPSHOT

Programming Languages

  • [X] plc4j
  • [ ] plc4go
  • [ ] plc4c
  • [ ] plc4net

Protocols

  • [ ] AB-Ethernet
  • [ ] ADS /AMS
  • [ ] BACnet/IP
  • [ ] CANopen
  • [ ] DeltaV
  • [ ] DF1
  • [ ] EtherNet/IP
  • [ ] Firmata
  • [ ] KNXnet/IP
  • [ ] Modbus
  • [ ] OPC-UA
  • [X] S7

chrisdutz avatar Apr 12 '24 14:04 chrisdutz

Capture of the rest only testing multi item writes.

s7-driver-multi-item-write-error.pcapng.zip

chrisdutz avatar Apr 12 '24 14:04 chrisdutz

Investigating into this issue shows that it's probably a problem related to the optimzizer building too large PDUs

chrisdutz avatar May 17 '24 11:05 chrisdutz