kostinkirill opened a new issue, #2335: URL: https://github.com/apache/plc4x/issues/2335
### What would you like to happen? PLC4j supports `CYCLIC`, `CHANGE_OF_STATE`, and `EVENT` subscription types. When we create a CYCLIC subscription we pass a parameter `pollingInterval` - interval, in which the tag should be polled. For CHANGE_OF_STATE we don't pass it as it's supposed that we will get the value as soon as it will be updated. But the problem is that the tag value might be updated too often, for example 100 times in a second, which creates a load on network and PLC. The idea of the improvement is to send `pollingInterval` when create `CHANGE_OF_STATE` to add an ability to limit the number of polling requests in case if PLC value is updated very frequently. I checked with ADS PLC, it works. Not sure if other PLCs supports it ### Programming Languages - [x] plc4j - [ ] plc4go - [ ] plc4c - [ ] plc4net ### Protocols - [ ] AB-Ethernet - [x] ADS /AMS - [ ] BACnet/IP - [ ] CANopen - [ ] DeltaV - [ ] DF1 - [ ] EtherNet/IP - [ ] Firmata - [ ] KNXnet/IP - [ ] Modbus - [ ] OPC-UA - [ ] 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
