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

   ### What would you like to happen?
   
   It would be useful if the Plc4XConsumer would be able to poll the state of 
tags every x seconds/milliseconds. There is the possibility of adding a 
"trigger" with a period (I believe in milliseconds). I couldn't figure out 
exactly how this works from the documentation, but it seems that a plc tag 
needs to trigger the polling instead of it being solely time-based.
   Right now I'm using a work-around in my own code by using a PollingConsumer 
that stops and starts the Plc4XConsumer for every request. But this isn't ideal.
   So, I wanted to add the possibility to poll plc tags every x 
seconds/milliseconds.
   
   I have two possibilities in mind for configuring this:
   - The polling is activated if a period is configured without a trigger
   - Add a new field for activating the polling, I could call it 
"pollingInterval" for example
   
   I would appreciate some input for what is preferred.
   
   ### 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
   - [ ] 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]

Reply via email to