SmarthomeJohn
Member
It varies +- 2 seconds randomly it seems during the day.....Its a very small and insignificant amount but I do not understand what is going on. ?
I agree that plus or minus two seconds is pretty insignifant. What happens in the PLC is that at the top of every minute, it "runs through" the programming code to "see" if anything needs to be done, like sending a command. Depending on the if-then and all that other programming stuff, the time it takes to run the program could vary slightly resulting in the few seconds difference you are noticeing.
Also, the interface will first "look" for traffic on the powerline before transmitting. If their are signals or noise, the PLC will hold the transmission until the line clears. In some cases, this could contribute to delays, but the first expalination above it more likely.
WHERE does it get its time reference between RTC updates ?
The interface will transfer of the time from the RTC to the processor clock at 12:01 or 12:02 (something like that) daily so that the time in the processor is (hopefully) more accurate.
SJ
I agree that plus or minus two seconds is pretty insignifant. What happens in the PLC is that at the top of every minute, it "runs through" the programming code to "see" if anything needs to be done, like sending a command. Depending on the if-then and all that other programming stuff, the time it takes to run the program could vary slightly resulting in the few seconds difference you are noticeing.
Also, the interface will first "look" for traffic on the powerline before transmitting. If their are signals or noise, the PLC will hold the transmission until the line clears. In some cases, this could contribute to delays, but the first expalination above it more likely.
WHERE does it get its time reference between RTC updates ?
The interface will transfer of the time from the RTC to the processor clock at 12:01 or 12:02 (something like that) daily so that the time in the processor is (hopefully) more accurate.
SJ