Hi, thanks for using libplctag!
The library currently does not support getting all the data file definitions from a DF1/PCCC PLC like a Micrologix, SLC 500 or PLC/5. I am sure that there is a way to do it since RSLogix 5 and RSLogix 500 show all the data files, but I have not found any documentation of it.
The naming of data files is based on the file number as well as type. I probably should make the name parser figure out I and O but I have not done that yet.
In order to read a Timer data file, just use the T data type and the file number. For instance "T4:0". That will return 3 INT values. If you want to just get one of the parts of a timer, you can get the accumulator with "T4:0.acc" and the preset value with "T4:0.pre". If you want the control value, use "T4:0.con"
I hope that helps!
Best,
Kyle