I aim to use the TRB245 to poll sensors connected over Modbus and send their readings to an MQTT broker on the cloud. The documentation on the TRB245 Modbus webpage is not clear regarding polling frequency. How frequently can the TRB245 poll the sensors? Can it do several times per second?
The period is defined in seconds and can take values from 1 to 99999 (seconds). This information is available on the wiki page that you have linked:
Please keep in mind that if you are using Modbus RTU (serial), the devices may not be able to respond to frequent Modbus requests. This depends on the serial device, the number of the devices, etc. In this case, the frequency should be decreased (period increased) for proper operation.
So it will not be possible to sample Modbus sensors quicker than 1Hz? Any way around this limitation? We were looking to sample at around 8Hz.
One second is the shortest polling period that can be configured.
This topic was automatically closed after 15 days. New replies are no longer allowed.