You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by "pquiring (via GitHub)" <gi...@apache.org> on 2025/01/09 20:25:13 UTC
[D] Do reads with large number of tags generate multiple packets?
GitHub user pquiring created a discussion: Do reads with large number of tags generate multiple packets?
If you add many tags to PlcReadRequest, does the logic automatically generate enough packets as needed?
I write my own PLC logic but only support a few PLC types and currently my logic does not handle ethernet packet overflow.
Testing out switching to PLC4J.
Would also like to add the OPC server to a project which is a SCADA type system : https://sourceforge.net/projects/jfcontrols/ (something similar to Ignition).
I have access to Siemens and AllenBradley PLCs.
Thanks,
GitHub link: https://github.com/apache/plc4x/discussions/1969
----
This is an automatically sent email for dev@plc4x.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@plc4x.apache.org
Re: [D] Do reads with large number of tags generate multiple packets?
Posted by "glcj (via GitHub)" <gi...@apache.org>.
GitHub user glcj added a comment to the discussion: Do reads with large number of tags generate multiple packets?
Hi,
In the case of the S7, it has an optimization layer for handling requests that exceed the size of the PDU (this depends on the PLC model).
If you have any response time restrictions, you should take this into account, since they are basically independent requests that are then returned to the client.
What model and firmware version of your S7 equipment?
Regards
GitHub link: https://github.com/apache/plc4x/discussions/1969#discussioncomment-11791505
----
This is an automatically sent email for dev@plc4x.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@plc4x.apache.org
Re: [D] Do reads with large number of tags generate multiple packets?
Posted by "pquiring (via GitHub)" <gi...@apache.org>.
GitHub user pquiring added a comment to the discussion: Do reads with large number of tags generate multiple packets?
My Siemens PLCs are S7-300 series (various models)
GitHub link: https://github.com/apache/plc4x/discussions/1969#discussioncomment-11802158
----
This is an automatically sent email for dev@plc4x.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@plc4x.apache.org
Re: [D] Do reads with large number of tags generate multiple packets?
Posted by "pquiring (via GitHub)" <gi...@apache.org>.
GitHub user pquiring edited a discussion: Do reads with large number of tags generate multiple packets?
If you add many tags to PlcReadRequest, does the logic automatically generate enough packets as needed?
I write my own PLC logic but only support a few PLC types and currently my logic does not handle ethernet packet overflow if you add too many tags.
Testing out switching to PLC4J.
Would also like to add the OPC server to a project which is a SCADA type system : https://sourceforge.net/projects/jfcontrols/ (something similar to Ignition).
I have access to Siemens and AllenBradley PLCs.
Thanks,
GitHub link: https://github.com/apache/plc4x/discussions/1969
----
This is an automatically sent email for dev@plc4x.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@plc4x.apache.org
Re: [D] Do reads with large number of tags generate multiple packets?
Posted by "chrisdutz (via GitHub)" <gi...@apache.org>.
GitHub user chrisdutz added a comment to the discussion: Do reads with large number of tags generate multiple packets?
Yes some of our drivers automatically aggregate multiple requests, even if the protocol doesn't gracefully support that. For example does the latest snapshot version of the modbus driver support this. As Cesar said, the s7 has an optimizer, that tries to fill up the size to the maximum supported packet size. Others are opcua (I think) and Ads that support multi-item-reads.
GitHub link: https://github.com/apache/plc4x/discussions/1969#discussioncomment-11794964
----
This is an automatically sent email for dev@plc4x.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@plc4x.apache.org