AdvancedHMI Software
General Category => Support Questions => Topic started by: Rox on May 27, 2016, 02:50:18 AM
-
Hi,
I would like to read my controller time in Hour, minutes,secs on click of the button, but I observed the AHMI continously sending the request from start up and then every ~ 3 secs, i wil use small 8 pin microcontroller for this, for a 24 hour timer. i have the code below for the mentioned button:
Private Sub ReadContlrTimeBtn_Click(sender As Object, e As EventArgs) Handles ReadContlrTimeBtn.Click
ModbusRTUCom1.Read("40004", 3)
End Sub
-
Is the ~3 seconds too fast or too slow? You can adjust the refresh rate with the PollRateOverride property of the driver.