ruscito / pycomm

pycomm is a package that includes a collection of modules used to communicate with PLCs
MIT License
139 stars 85 forks source link

SLC Driver to Read RTC:0 [YR, MON, DAY...] #69

Closed MJ-meo-dmt closed 4 years ago

MJ-meo-dmt commented 4 years ago

Hi. I have been trying to get hold of the RTC values via Pycomm. Doing - .read_tag('RTC:0.YR') result in a Parse Error. Making use of S:37 and so on result in 0. Thing is I can go and write logic to copy the RTC values into a Integer Data file and then access it from there... But that will mean having to make edits on 100+ devices... which is not really worth the effort.

So is there a way to read from the Function File/RTC?

MJ-meo-dmt commented 4 years ago

Nevermind I see now in the Docs... Can't be done it seems.
image